Commit Graph

54 Commits (39b0ca68a35ac013267daea3d463620184857a78)

Author SHA1 Message Date
Marshall Hallenbeck d8b29312b7 ruff: add flake8-simplify (SIM) and auto-fix 2023-10-14 15:56:22 -04:00
Marshall Hallenbeck 9a4dbf15cf tests: add --poetry parameter to prepend 'poetry run' before commands 2023-10-14 14:29:01 -04:00
Marshall Hallenbeck cdcde5a91b ruff: add flake8-return (RET) and auto-run 2023-10-14 14:16:28 -04:00
Marshall Hallenbeck 008b99a28b ruff: add flake8-pytest-style (PT) and auto-run 2023-10-13 15:25:36 -04:00
Marshall Hallenbeck 7edc28359c fix(tests): re-add mistakenly removed tests 2023-10-12 17:24:35 -04:00
Marshall Hallenbeck 4045bebd77 ruff: auto flake8-bugbear, see B006 mutable-argument-default for function param changes 2023-10-12 17:17:20 -04:00
Marshall Hallenbeck b24b9210e4 ruff: pyupgrade (UP) ruff changes 2023-10-12 17:06:04 -04:00
Marshall Hallenbeck 85335213da automatic ruff fixing 2023-09-20 11:59:16 -04:00
Marshall Hallenbeck 3a6b2492ee fix nxcdb capitalization 2023-09-14 17:41:23 -04:00
Marshall Hallenbeck 7886ac1612 rename folders, files, functions, classes, etc to NetExec/nxc 2023-09-14 17:07:15 -04:00
Marshall Hallenbeck 68a3d21c78 fix bug where socket would not exist and updated ftp/ssh-related tests to include file creds 2023-06-18 10:09:01 -04:00
Marshall Hallenbeck 5f66226f17 fix(tests): update create_workspace call 2023-06-12 10:46:15 -04:00
Marshall Hallenbeck efb789d890 tests: add ftp tests 2023-05-28 10:05:07 -04:00
Marshall Hallenbeck 6de4370a25 tests: add details about --errors options for e2e tests 2023-05-11 09:21:24 -04:00
mpgn a0d6e64f8f black v2 formating 2023-05-08 14:39:36 -04:00
Marshall Hallenbeck 4f634d6f9e fix(tests): update e2e tests regex/target name since some modules use TARGET as an option 2023-05-07 07:46:57 -04:00
Marshall Hallenbeck 08c98c17de fix(tests): update daclread test to include proper options 2023-05-07 07:46:53 -04:00
Marshall Hallenbeck 5119d7b59e fix(empire): update test to include listener and obfuscate test (still commented out) 2023-05-07 07:46:53 -04:00
Marshall Hallenbeck adbc0d9191 fix(e2e tests): make sure there is a space after KERBEROS for regex 2023-05-07 07:45:25 -04:00
mpgn 2be85b5da7 black formating 2023-05-02 11:17:59 -04:00
Marshall Hallenbeck c74130dbc7 tests: fix first line of e2e tests and comment out some long-running/hanging modules, and add in commented SSH tests 2023-04-30 17:25:13 -04:00
Marshall Hallenbeck c8fa1efb90 fix(tests): update masky command, but this requires setting the CA to the user's CA 2023-04-08 13:53:58 -04:00
Marshall Hallenbeck f350c2a89c fix(tests): update keepass_trigger command to reference default KeePass config 2023-04-08 13:28:58 -04:00
Marshall Hallenbeck 47c8c335d4 feat(tests): allow for printing errors from command ran. This allows us to view connection or other errors that arent fatal, but still lead to bugs 2023-04-08 12:39:49 -04:00
Marshall Hallenbeck 61f4e67f6b fix(tests): fix wmi query 2023-04-07 18:24:45 -04:00
Marshall Hallenbeck 7785505a19 feat(tests): allow specifying verbose option for tests to see results 2023-04-07 10:31:23 -04:00
Marshall Hallenbeck 180e87f44e tests: add module listing to e2e tests 2023-04-05 20:43:53 -04:00
Marshall Hallenbeck ee40d3c657 add space to regex so output doesnt have an extra space 2023-04-05 20:43:32 -04:00
Marshall Hallenbeck b0d7971aa4 fix(slinky): add NETLOGON to exclusions, update formatting, and add tests 2023-03-31 11:33:10 -04:00
Marshall Hallenbeck 7da0b71fa8 tests: update tests 2023-03-31 11:06:19 -04:00
Marshall Hallenbeck 26c026d003 feat(console): complete log overhaul, allowing more granular debug messages, and logging to console 2023-03-29 23:59:22 -04:00
Marshall Hallenbeck 2612c5931e tests: remove rdp test that requires option 2023-03-27 02:20:49 -04:00
Marshall Hallenbeck 29b6e77c9b tests: fix test command 2023-03-27 01:57:50 -04:00
Marshall Hallenbeck 7af49ce2b4 tests: update tests to include full module testing 2023-03-27 01:50:22 -04:00
Marshall Hallenbeck 82e3dad5af Merge branch 'tests_marshall' into modules_marshall
# Conflicts:
#	cme/loaders/module_loader.py
2023-03-26 22:46:20 -04:00
Marshall Hallenbeck 42737e2640 tests: automatically clear database after each function test 2023-03-26 02:56:15 -04:00
Marshall Hallenbeck 6dd7d1b744 fix merge text 2023-03-26 02:21:26 -04:00
Marshall Hallenbeck f187453525 Merge branch 'tests_marshall' into modules_marshall 2023-03-26 02:05:43 -04:00
Marshall Hallenbeck 4c76a30a4a tests: working tests for add and update hosts 2023-03-26 01:50:59 -04:00
Marshall Hallenbeck 93615972d0 tests: print out total tests and how many passed/failed at end 2023-03-26 01:20:08 -04:00
Marshall Hallenbeck d705290a09 tests: improvement on tests 2023-03-25 21:29:18 -04:00
Marshall Hallenbeck f8b6add292 tests: add test to run multiple modules at once 2023-03-24 16:49:58 -04:00
Marshall Hallenbeck 813edd191a tests: remove unnecessary hardcoded parameters for e2e tests 2023-03-24 15:20:07 -04:00
Marshall Hallenbeck f3debbe2ae working on getting tests to work 2023-03-24 15:19:00 -04:00
Marshall Hallenbeck ae4d64746a tests(smb): add setup, teardown, initial add_host test, and definitions for all smb function tests 2023-03-24 15:18:51 -04:00
Marshall Hallenbeck b85fdbcc8b tests: add e2e tests and README 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 9b8b3f2a29 fix(shadowcoerce): catch error on session disconnect 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 8b1e51dc96 working on getting tests to work 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 8b16233271 tests(smb): add setup, teardown, initial add_host test, and definitions for all smb function tests 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 4331671f91 tests: remove unnecessary hardcoded parameters for e2e tests 2023-03-24 14:38:44 -04:00