-
Notifications
You must be signed in to change notification settings - Fork 136
More flexible configuration and small bonuses #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
946e014
Open ports for remote IDA debugging
obilodeau fb25dc9
Added -d (--debug) flag which is passed to packer as -debug
obilodeau 7346eb5
packer build: Changing directory to AppDirs' cache
obilodeau ddf345c
Debugging aid: Flags to skip packer build and vagrant box add
obilodeau 43a8418
Testing JSON profiles in `make test`
obilodeau a8d3856
IDA Remote Debugger and Tools directory uploaded to box
obilodeau dce739f
Compose JSON packer templates out of smaller files and use a JS config
obilodeau 16c5bb4
doc: added requirement to README
obilodeau 68a32dd
Packer Templates now built using Jinja2 template engine
obilodeau a3e7a8a
Travis fix: Converted Python test to unittest framework
obilodeau 4fb5f88
Debug: More logging and don't remove temporary files
obilodeau 9c6478e
Windows fix: packer generated template uses forward slashes on Windows
obilodeau 0bb0393
Added Windows path warning in example configuration
obilodeau 7db6f0e
Fixed debug mode (DEBUG global value not retained)
obilodeau e74695f
Fixed debug mode: Got rid of duplicated main()
obilodeau b20c21f
Profile refactoring via jinja includes
obilodeau 68ed936
Fixup for bug in `spin` introduced in 68a32dda8
obilodeau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| include LICENSE README.adoc TODO.adoc | ||
|
|
||
| # Include the data files | ||
| include config-example.json | ||
| include config-example.js | ||
| graft docs | ||
| prune docs/presentation/ | ||
| graft malboxes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| test: | ||
| pylint malboxes | ||
| ./tests/config_example_valid.sh | ||
| python -m unittest discover | ||
|
|
||
| pkg_clean: | ||
| rm -r build/ dist/ malboxes.egg-info/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| /* | ||
| * Malboxes Example Configuration File | ||
| * | ||
| * Uncomment a specific section of the file to trigger a particular feature. | ||
| * | ||
| * Paths should be written using forward slashes even on Windows. | ||
| * For ex: C:/Tools | ||
| */ | ||
|
|
||
| // This allows you to use a local filestore for ISOs. | ||
| // For all versions of Windows except Windows 10 you will need this. | ||
| // "iso_path": "/path/to/your/windows/isos/", | ||
|
|
||
| // Trial or registered version? | ||
| // If using a registered product update the product_key and set trial to 'false'. | ||
| // See https://github.com/GoSecure/malboxes/blob/master/docs/windows-licenses.adoc for more information. | ||
| "trial": "true", | ||
| //"trial": "false", | ||
| //"product_key": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX", | ||
|
|
||
| // VM username and password | ||
| // TODO. It doesn't work now. | ||
| //"username": "vagrant", | ||
| //"password": "vagrant", | ||
|
|
||
| // Setting the IDA Path will copy the IDA remote debugging tools into the guest | ||
| //"ida_path": "/path/to/your/ida", | ||
|
|
||
| // Setting Tools Path will copy all the files under the given path into the guest. | ||
| // Useful to copy proprietary or unpackaged tools. | ||
| //"tools_path": "/path/to/your/tools", | ||
|
|
||
| "_comment": "last line must finish without a comma for file to be valid json" | ||
| } | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird indent ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, tab vs spaces issue... It's fixed in the other branch I'm about to push so I won't fix it here in order to avoid conflicts.