Skip to content

Commit

Permalink
Various
Browse files Browse the repository at this point in the history
  • Loading branch information
lennyzeltser committed Oct 6, 2017
1 parent 9a61f8d commit 3d0d4b0
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 11 deletions.
10 changes: 2 additions & 8 deletions remnux/packages/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ include:
- remnux.packages.python-balbuzard
- remnux.packages.python-capstone
- remnux.packages.python-crypto
- remnux.packages.python-dev
- remnux.packages.python-dnspython
- remnux.packages.python-hachoir-core
- remnux.packages.python-hachoir-metadata
Expand All @@ -62,8 +61,6 @@ include:
- remnux.packages.python-setuptools
- remnux.packages.python-virtualenv
- remnux.packages.python-volatility
- remnux.packages.python-yara
- remnux.packages.python
- remnux.packages.qpdf
- remnux.packages.radare2
- remnux.packages.rhino
Expand Down Expand Up @@ -91,8 +88,8 @@ include:
- remnux.packages.wxhexeditor
- remnux.packages.xmlstarlet
- remnux.packages.xpdf
- remnux.packages.xterm
- remnux.packages.yara
- remnux.packages.libolecf-utils

remnux-packages:
test.nop:
Expand Down Expand Up @@ -138,7 +135,6 @@ remnux-packages:
- sls: remnux.packages.python-balbuzard
- sls: remnux.packages.python-capstone
- sls: remnux.packages.python-crypto
- sls: remnux.packages.python-dev
- sls: remnux.packages.python-dnspython
- sls: remnux.packages.python-gtk2
- sls: remnux.packages.python-gtksourceview2
Expand All @@ -163,8 +159,6 @@ remnux-packages:
- sls: remnux.packages.python-setuptools
- sls: remnux.packages.python-virtualenv
- sls: remnux.packages.python-volatility
- sls: remnux.packages.python-yara
- sls: remnux.packages.python
- sls: remnux.packages.qpdf
- sls: remnux.packages.radare2
- sls: remnux.packages.rhino
Expand Down Expand Up @@ -192,6 +186,6 @@ remnux-packages:
- sls: remnux.packages.wxhexeditor
- sls: remnux.packages.xmlstarlet
- sls: remnux.packages.xpdf
- sls: remnux.packages.xterm
- sls: remnux.packages.yara
- sls: remnux.packages.libolecf-utils

2 changes: 2 additions & 0 deletions remnux/packages/libolecf-utils.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
libolecf-utils:
pkg.installed
2 changes: 0 additions & 2 deletions remnux/packages/python-yara.sls

This file was deleted.

2 changes: 2 additions & 0 deletions remnux/python-packages/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ include:
- remnux.python-packages.mitmproxy
- remnux.python-packages.ndg-httpsclient
- remnux.python-packages.olefile
- remnux.python-packages.oletools
- remnux.python-packages.passivetotal
- remnux.python-packages.peframe
- remnux.python-packages.pydeep
Expand Down Expand Up @@ -50,6 +51,7 @@ remnux-python-packages:
- sls: remnux.python-packages.mitmproxy
- sls: remnux.python-packages.ndg-httpsclient
- sls: remnux.python-packages.olefile
- sls: remnux.python-packages.oletools
- sls: remnux.python-packages.passivetotal
- sls: remnux.python-packages.peframe
- sls: remnux.python-packages.pydeep
Expand Down
2 changes: 1 addition & 1 deletion remnux/python-packages/olefile.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ include:
olefile:
pip.installed:
- require:
- pip: pip
- sls: remnux.packages.python-pip
7 changes: 7 additions & 0 deletions remnux/python-packages/oletools.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include:
- remnux.python-packages.pip

oletools:
pip.installed:
- require:
- sls: remnux.packages.python-pip
2 changes: 2 additions & 0 deletions remnux/scripts/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ include:
- remnux.scripts.pdf-parser
- remnux.scripts.pdfobjflow
- remnux.scripts.pdfid
- remnux.scripts.oledump

remnux-scripts:
test.nop:
- require:
- sls: remnux.scripts.pdf-parser
- sls: remnux.scripts.pdfobjflow
- sls: remnux.scripts.pdfid
- sls: remnux.scripts.oledump
29 changes: 29 additions & 0 deletions remnux/scripts/oledump.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
include:
- remnux.packages.python-yara
- remnux.python-packages.olefile

remnux-scripts-oledump-source:
file.managed:
- name: /usr/local/src/remnux/files/oledump_V0_0_28.zip
- source: http://didierstevens.com/files/software/oledump_V0_0_28.zip
- source_hash: sha256=58f44b68bc997c2a7f329978e13dc50e406ccccd2017c0375aa144712f029bfb
- makedirs: True

remnux-scripts-oledump-archive:
archive.extracted:
- name: /usr/local/src/remnux/oledump-0.0.28
- source: /usr/local/src/remnux/files/oledump_V0_0_28.zip
- enforce_toplevel: False
- watch:
- file: remnux-scripts-oledump-source

remnux-scripts-oledump-binary:
file.managed:
- name: /usr/local/bin/oledump.py
- source: /usr/local/src/remnux/oledump-0.0.28/oledump.py
- mode: 755
- require:
- sls: remnux.packages.python-yara
- sls: remnux.python-packages.olefile
- watch:
- archive: remnux-scripts-oledump-archive

0 comments on commit 3d0d4b0

Please sign in to comment.