ts
c3e420fceb
Fix: relative project/path when loading projects now converts to absolute path using ROOT_DIR
2018-10-17 13:18:48 +01:00
ts
e2187f3a9f
Fix: secgen.rb --project projects/asdf v now works again with oVirt + VBox
2018-10-17 13:18:48 +01:00
ts
4438fb9dad
authz fix
2018-10-05 17:33:32 +01:00
ts
7bbeb8a2fa
ovirt authz now passed as a parameter, added to example.conf
2018-10-05 17:27:12 +01:00
ts
a99195f889
fix for build_vms
2018-10-05 17:27:12 +01:00
ts
ff75b56c6b
Testing script, stretch fixes + code review
2018-10-05 17:27:12 +01:00
Z. Cliffe Schreuders
fc3bd92d8b
oVirt snapshots
2018-10-05 17:27:11 +01:00
Z. Cliffe Schreuders
ac1936cbee
updates to metadata
2018-10-05 17:27:05 +01:00
ts
d2fa7944c6
wip: testing $operatingsystemversion output...
2018-10-05 17:27:05 +01:00
ts
9d66ea9215
Squashed WNS + IRI DL work
2018-10-05 17:27:05 +01:00
Z. Cliffe Schreuders
f7a707a20c
option to create snapshots
2018-08-23 15:12:12 +01:00
thomashaw
9b4dd9cc2b
post-merge bugfix
2018-03-20 13:50:24 +00:00
Z. Cliffe Schreuders
4219937aa3
improved error handling and cleanup
2018-02-19 23:39:23 +00:00
thomashaw
6045c1f187
hackerbot merge - includes lots of other changes
2018-02-08 13:14:22 +00:00
Cliffe
60767030b9
Date bump
2018-01-23 19:09:59 +00:00
thomashaw
cef610bf04
oVirt now uses VM memory allocation based on command line options. Added missing options to usage. Added default memory allocations for oVirt VMs based on base type.
2017-09-28 15:32:47 +01:00
thomashaw
662a82353d
updated usage and added to readme
2017-09-21 15:44:23 +01:00
thomashaw
a96c249e63
ovirt integration: removed usage comment as we're using .conf files with arguments instead of setting default values within Vagrantfile.erb
2017-09-21 15:44:23 +01:00
thomashaw
abc7e28893
ovirt integration: removed ovirt-vmname option + build the vm name based on prefix and <system_name>
2017-09-21 15:44:23 +01:00
thomashaw
2a1658da85
secgen.conf: stored arguments which are added to ARGV
2017-09-21 15:44:23 +01:00
thomashaw
f2e31f6da6
secgen.rb: corrected mistake in usage
2017-09-21 15:44:23 +01:00
thomashaw
f42555350b
secgen.rb: adding --network-ranges
2017-09-21 15:44:23 +01:00
thomashaw
f58fb0d2b4
WIP: ovirt templates -> bases
2017-09-21 15:44:23 +01:00
Gajendra
e30d4b007c
oVirt Help Update
2017-09-21 15:44:23 +01:00
Gajendra
4ac2cd3ddc
oVirt provider spinup with multiple options - ovirturl, ovirtpass, ovirtuser, ovirt-vmname, ovirtcluster, ovirttemplate etc
2017-09-21 15:44:23 +01:00
thomashaw
1a611e230b
SecGen batch processing script (requires postgresql).
...
secgen.rb: added --shutdown flag for shutting down vm's after provisioning
2017-09-15 15:54:50 +01:00
thomashaw
328c526df7
Added error message with exit code 1 from SecGen if VM creation fails
2017-08-19 16:48:02 +01:00
thomashaw
013fb58c5f
Minor changes to Jason's PR_89: add_ability_to_generate_forensics images
2017-06-30 14:57:32 +01:00
Jjk422
032de3f7d8
Merge branch 'master' into forensic_image_creation
2017-05-20 10:50:29 +01:00
Mihai Ordean
cb0f6ac289
Merge https://github.com/cliffe/SecGen
2017-03-16 14:04:00 +00:00
Z. Cliffe Schreuders
6a14c417c6
marker.xml for marking CTF flags and providing hints (which have IDs so we don't have to give the same hint twice), also updated organisation of scenarios
2017-03-14 17:30:33 +00:00
Jjk422
4820f11275
secgen.rb:
...
17-33: Standardised help menu, added forgotten delete-all-projects command.
229: Removed --build-from-iso, merged accidentally from a different branch.
2017-03-13 18:55:30 +00:00
Jjk422
adf9fa965d
Added ability to generate forensic images from virtual machines, either in the ewf or raw formats.
...
Note: the ewf format requires the FTK Imager command line utility to be installed and added to the path.
README.md:
42-47:Added Optional software requirements section to readme, placed in FTK imager command line for EWF forensic image creation.
551: Grammatical error.
SecGen.rb:
22, 29-30, 32: Added extra options to help menu.
37-53: Added helper methods to display current version and to delete all projects in the current project directory.
111: Added return systems from build_config() method, so the information on the systems can be gathered after the configuration module
122-185: Added multiple helper methods for the make_forensic_image() method and the make_forensic_image() method, the delete_virtualbox_vm() method is currently not used as the vm_name needs to be gathered from the earlier config methods as efficiently as possible, this will be done in a later patch, although the delete_virtualbox_vm() method is fully working. Allows for the creation of raw/DD and EWF/E01 (EWF/E01 requires FTK Imager command line installation) forensic images.
203-209: Added method to list all project paths in the projects directory.
228-230: Added new options to getoptslong.
273-284: Added --delete-vm-after-image-creation, currently needs to be linked to the delete_virtualbox_vm() method. Also added --forensic-image-type option (accepts raw/dd and EWF/E01) with the default being raw.
311-324: Added create-forensic-image command which creates forensic images from either a given project directory or from scratch (scenario file).
327- 337 Added list-projects and delete-all-projects commands, all basic SecGen functions should now be doable from the command line. Changed exit code to 0 for clean exit.
2017-03-13 18:45:02 +00:00
Mihai Ordean
ad869c82dc
added options to customize VirtualBox hw support from command line
2017-03-13 10:41:54 +00:00
thomashaw
733c871072
Additional parameterisation. New modules: parameterised_accounts, generators and an account_encoder. Added plenty of parameters/default_inputs to currently existing vulnerability modules.
2016-11-30 18:09:22 +00:00
Z. Cliffe Schreuders
d68f98e0da
code cleanup
2016-10-18 22:38:22 +01:00
Z. Cliffe Schreuders
e282dde855
Merge branch 'master' of https://github.com/cliffe/SecGen
2016-10-18 21:23:02 +01:00
Jjk422
133f5ee7d0
Corrected all mentioned changes:
...
Added a line into the 'usage' method's commands section (at secgen.rb:23-27).
Extracted lines 191-195 into a method called list_scenarios.
2016-09-13 14:24:08 +01:00
Jjk422
bbf4ce1ed2
Added command line option to list all SecGen scenarios in scenarios directory.
2016-09-08 13:24:37 +01:00
Z. Cliffe Schreuders
8bbdc885a3
Merge branches 'master' and 'parameterisation' of https://github.com/cliffe/SecGen
2016-09-05 08:56:59 +01:00
Jjk422
f9b2cd548f
Correcting pull request errors, only one out of --total-memory or --memory-per-vm is selected (first to be inputted) and shows error message if both inputted.
...
Also removed defaults so that vms automatically decide on values if not specified.
2016-08-31 09:37:01 +01:00
Jjk422
42adbcb853
Added extra command line options to modify generated vms, need to be separated into a ruby class to ensure max values are not set (max ram larger then system ram) and to make sure that large ruby blocks are not in Vagrantfile.erb.
...
Options added are:
--memory-per-vm
--total-memory
--max-cpu-cores
--max-cpu-usage
2016-08-19 19:35:47 +01:00
Z. Cliffe Schreuders
edc1e28d68
Parameterisation
2016-08-17 23:11:53 +01:00
egg82
d9325395d2
Update secgen.rb
2016-08-17 13:36:33 -06:00
Z. Cliffe Schreuders
0185837c7b
Module dependencies
2016-08-16 23:44:44 +01:00
thomashaw
8b32a8dc62
Feature: Utilities - extracted services which do not run on a network socket e.g. package manager update, firewall rules, java etc. into utilities
2016-08-01 18:55:50 +01:00
Z. Cliffe Schreuders
6e6df008b9
Module dependencies
2016-07-27 09:51:13 +01:00
aviio
0f96cc5caa
Changes output of build_config to output correct information about networks, was previously displaying all_availiable_services count instead of all_availiable_networks
2016-06-14 15:50:05 +01:00
Z. Cliffe Schreuders
b5b19fe1c5
Major overhaul of code base!
2016-06-09 00:03:04 +01:00
Jjk422
7da182c7ee
Added Yard doc generator, rake files to generate docs, commented most methods only managers and helpers need to be documented for ruby files
2016-04-04 12:29:01 +01:00