Commit Graph

110 Commits

Author SHA1 Message Date
JD
5edf83b22f Fix iterations issue 2023-07-24 11:26:07 +01:00
JD
1788011d52 Move Iterations from Flag words to base class and other Misc 2023-07-24 10:55:45 +01:00
Cliffe
af4a41021b Merge pull request #239 from JBiggs610/bashhistory
Bash History File Generator
2023-04-18 10:51:56 +01:00
Jack Biggs
94e341585f new file: lib/resources/linelists/top_50_sudo_commands
new file:   lib/resources/linelists/top_90_linux_commands
	modified:   modules/generators/content/bash_history/secgen_local/local.rb
	modified:   modules/generators/content/bash_history/secgen_metadata.xml
Sudo commands are now randomly inputted and password is taken in from a parameter

	new file:   lib/resources/linelists/top_50_sudo_commands
	new file:   lib/resources/linelists/top_90_linux_commands
	modified:   modules/generators/content/bash_history/secgen_local/local.rb
	modified:   modules/generators/content/bash_history/secgen_metadata.xml
Sudo commands are now randomly entered into the commands array and the password is taken in as an input
2023-04-16 14:15:31 +01:00
Z. Cliffe Schreuders
79e78aa3c5 Output files -- admin passwords for vms, IP addresses, CyBOK per flag challenge and project, and simplified hints 2023-04-04 11:27:52 +01:00
Tom Harrison
1205a48397 Revert OpenSSL conversion for SHA1-based hashes
Update local_encoding_functions to avoid FrozenError on encoding modules
2023-01-10 10:33:21 +00:00
thomashaw
7c71c45d29 ELK merge - includes new Elastalert, Logstash, Kibana, Elastalert, Auditbeat, Filebeat modules and other misc changes. 2021-11-15 19:17:11 +00:00
Z. Cliffe Schreuders
6420cb9885 exit status on failures 2020-02-22 00:33:16 +00:00
thomashaw
5b7c79cc72 bugfix: some data was copied by reference rather than by value in the select_modules function, causing edits of the available_modules rather than a copy. Used duplicate() for a deep object copy instead of .clone. 2020-01-17 16:26:10 +00:00
Z. Cliffe Schreuders
7e88fd51ec Merge branch 'ff2' of https://github.com/cliffe/SecGen into ff2 2019-07-11 17:16:15 +01:00
Z. Cliffe Schreuders
2602d81e6a stop when modules fail to run, rather than failing silently 2019-07-11 17:07:40 +01:00
ts
fff2110558 post_provision_tests: fix for if the module name is in the path, we still get the correct json file. 2019-07-10 14:47:23 +01:00
Z. Cliffe Schreuders
c10a35691e Merge major changes from Semester 2 into master 2019-06-18 14:37:47 +01:00
Z. Cliffe Schreuders
531a04336b lab updates 2019-03-01 17:44:16 +00:00
Z. Cliffe Schreuders
53bba11133 lab updates (and related modules)
(cherry picked from commit 665b0589c8)
2019-02-14 14:59:50 +00:00
ts
d5adcf4cca added retry loop for test_service_up? and increased sleep time as some web applications were failing. 2019-02-05 18:53:10 +00:00
ts
1894847499 post_provision_test, replaced gem_exec with open3 2019-02-05 18:15:59 +00:00
ts
1a61db5b1f tests: net/http moved to superclass, updated website tests 2019-02-05 17:27:39 +00:00
ts
b0881938f0 fixed mysql tests + update parameterised_website tests 2019-02-05 16:28:51 +00:00
ts
9574ba5601 Tests: local software modules (chkrootkit / nmap) 2019-02-05 11:46:14 +00:00
ts
4c67181466 Test faiures read exit code instead of "FAILED" or "PASSED" strings 2019-02-04 17:38:00 +00:00
ts
714b2c7b66 Test faiures read exit code instead of "FAILED" or "PASSED" strings 2019-02-04 17:29:38 +00:00
ts
fcb2dc0e9b Added NTP test. Refactored html match from parameterised_website into the superclass 2019-02-04 16:52:31 +00:00
ts
db7a9daa8a popa3d and port check 2019-02-02 17:50:23 +00:00
ts
17ed03a327 Testing most service modules for open port [todo.. NTP and popa3d] 2019-02-02 17:22:50 +00:00
ts
3279c50637 Tests now working! Added for all ftp services and vulnerabilities. 2019-02-02 02:31:20 +00:00
ts
1fffa4b05c (WiP) Created proftpd_133c_backdoor testing script - Needs testing! 2019-02-02 01:27:50 +00:00
Z. Cliffe Schreuders
123e336de0 Merge branch 'stretch_kde_update' of https://github.com/cliffe/secgen 2019-01-31 14:49:12 +00:00
Z. Cliffe Schreuders
665b0589c8 lab updates (and related modules) 2019-01-26 20:11:17 +00:00
ts
cc73c3c48d Exit elegantly from local.rb generators that have no parameters with ctrl-d 2019-01-21 14:30:37 +00:00
ts
439d66d087 fixed negative regex match so we no longer need a conflict in parameterised_website for webapps (necessary for basic_narrative.xml) 2019-01-21 11:52:39 +00:00
ts
7c245d4c5b fix: recursive array encoding 2019-01-14 17:14:46 +00:00
ts
498bc87e9f Fix: the utf-8 encoding broke arrays of hashes (e.g. organisation['employees'=>[{...},{...},{...}]]) - now working again. 2019-01-14 16:54:17 +00:00
ts
a7a31b6e60 Added bundle exec local.rb script calls. Included require 'digest/sha3' explicitly. Removed duplicate Gemfile entries. 2018-11-19 13:14:48 +00:00
thomashaw
3adb90970e hashcat + johntheripper + fixes 2018-11-16 11:36:53 +00:00
ts
6cbd534db0 Enforce encoding utf-8 2018-11-16 11:33:32 +00:00
ts
cb09d5ab0f encoders/cipher/braille: local files parameters and outputs are enforced utf-8. 2018-11-16 11:33:32 +00:00
ts
ee1754c24f Fix so that we can still run gens / encoders as stand alone scripts 2018-11-16 11:33:32 +00:00
ts
6fd9ceab0c WiP: Working with scenario. 2018-11-16 11:33:31 +00:00
ts
5b30355b88 encoder/generator long args via stdin WIP 2018-11-16 11:33:31 +00:00
thomashaw
d2a04f8d43 ntlm and lm hashes 2018-11-16 10:19:10 +00:00
thomashaw
3e61f3ea3b Task 18 - modify difficulty file selection to be greedy (i.e. medium.*.rb) then randomise 2018-11-16 10:19:08 +00:00
thomashaw
e0057bd3d0 Task 18.2 - echo string challenge selecting based on difficulty. low.rb implemented. 2018-11-16 10:19:08 +00:00
ts
a37e1686d0 WiP 2018-11-16 10:19:08 +00:00
ts
69b0ea9100 xinetd module, updated setgid script wrapper, ruby script example + ruby challenge generator 2018-11-16 10:19:08 +00:00
ts
5e73435337 Superclass for script challenges, ruby and python2 examples 2018-11-16 10:19:08 +00:00
ts
23c3335eac Hash encoders and example scenarios 2018-11-16 10:19:08 +00:00
ts
927e878c4a Fix for duplicate received_inputs from module outputs on conflict resolution (2/2) 2018-09-26 15:43:32 +01:00
ts
e7adc14b02 Fix for duplicate received_inputs from module outputs on conflict resolution 2018-09-26 12:35:27 +01:00
ts
20c95167e8 revert: change from wns branch... 2018-09-26 09:32:48 +01:00