Commit Graph

1755 Commits (1af578041601551d70dc4eb6e031754a9e652a87)

Author SHA1 Message Date
mpgn 1af5780416
Merge pull request #19 from mpgn/modules_marshall
Modules Update
2023-03-30 12:28:09 +02:00
famos0 388f4798c2 display options for every modules 2023-03-30 11:09:47 +02:00
famos0 e4388bd9b0 logging.error into self.logger.error 2023-03-30 11:04:45 +02:00
famos0 d0afcdc9b1 fixing winscp module for python <= 3.8 2023-03-30 11:02:54 +02:00
famos0 6a87589c55 add a try catch block to avoid crashing call_modules 2023-03-30 10:58:40 +02:00
mpgn 1e7689f8eb Create github actoin crackmapexec-test.yml 2023-03-28 07:30:00 -04:00
mpgn 15165d7918 update requierements file 2023-03-28 07:30:00 -04:00
mpgn ed8f6d83b5 update petitpotam module 2023-03-27 16:06:17 -04:00
mpgn 1b315e1c69
Merge pull request #17 from mpgn/test_gh_actions
Create github actoin crackmapexec-test.yml
2023-03-27 12:46:44 +02:00
mpgn b466365f33
Create github actoin crackmapexec-test.yml 2023-03-27 12:45:48 +02:00
mpgn f70fec6bd3 update requierements file 2023-03-27 06:40:21 -04:00
mpgn 6e9a62e954
Merge pull request #16 from mpgn/tests_marshall
Refactor Async, add e2e tests, add initial unit tests
2023-03-27 12:28:49 +02: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 d0811a70a3 simplify how module is loaded in main program 2023-03-27 01:50:03 -04:00
Marshall Hallenbeck a65d9e70d7 modules: remove remaining imp usage due to deprecation and update module name to be pythonic 2023-03-27 00:48:45 -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 5c96b0b17d fix: undo imp deprecation for module_loader. will revisit this later. 2023-03-26 10:25:03 -04:00
mpgn 51752f8e29 update wording on dump users function 2023-03-26 06:14:18 -04:00
mpgn 87e9fc4cce remove useless code from users function on smb proto 2023-03-26 06:08:52 -04:00
Marshall Hallenbeck 42737e2640 tests: automatically clear database after each function test 2023-03-26 02:56:15 -04:00
Marshall Hallenbeck 0a03c80e66 fix(loaders): use modern module loader 2023-03-26 02:45:16 -04:00
Marshall Hallenbeck 9100fbbd9a remove pytest-asyncio dependency 2023-03-26 02:31:56 -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 bfcc689acc refactor(async): update how tasks are created to new threads using proper ThreadPool; update functionality everywhere to match 2023-03-26 01:52:37 -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 f413d0b217 update confusing spooler log entry to specify its from that module 2023-03-26 00:49:31 -04:00
Marshall Hallenbeck d705290a09 tests: improvement on tests 2023-03-25 21:29:18 -04:00
mpgn 118ee3a944 revert some changes on smb 2023-03-25 16:25:36 -04:00
mpgn c7679c7acf revert some changes on smb 2023-03-25 16:10:31 -04:00
Marshall Hallenbeck f8b6add292 tests: add test to run multiple modules at once 2023-03-24 16:49:58 -04:00
Marshall Hallenbeck e7a7476c64 fix(petitpotam): move unneeded class to functions, which also fixes an error when calling 2023-03-24 16:35:40 -04:00
Marshall Hallenbeck 67d0d20dcc fix(install_elevated): update error handling 2023-03-24 16:34:23 -04:00
Marshall Hallenbeck 91bbc1101f fix(ntlmv1): fix error handling when remote registry cannot be accessed or registry entry doesnt exist 2023-03-24 16:33:59 -04:00
Marshall Hallenbeck a6463c60ff feat(modules): allow multiple modules to be ran 2023-03-24 15:21:10 -04:00
Marshall Hallenbeck 192cbb16c9 fix(cmedb): remove twice redundant functions that I messed up with rebase 2023-03-24 15:20:07 -04:00
Marshall Hallenbeck 813edd191a tests: remove unnecessary hardcoded parameters for e2e tests 2023-03-24 15:20:07 -04:00
Marshall Hallenbeck ac5bfb0b8b fix(context): fix the context because my rebase/merge messed it up 2023-03-24 15:20:07 -04:00
mpgn e690044b05 add exist function to cmedb 2023-03-24 15:19:57 -04:00
Marshall Hallenbeck a2daaae538 update how workspaces are created so tests can utilize functionality 2023-03-24 15:19:57 -04:00
mpgn d58a458803 add exist function to cmedb 2023-03-24 15:19:57 -04:00
famos0 9baf2f0840 fix log for modules 2023-03-24 15:19:57 -04:00
Marshall Hallenbeck 5b4693bfcc update how workspaces are created so tests can utilize functionality 2023-03-24 15:19:57 -04:00
Marshall Hallenbeck cd6a9cf8c1 update how workspaces are created so tests can utilize functionality 2023-03-24 15:19:57 -04:00
mpgn 4c2aefba2f add exist function to cmedb 2023-03-24 15:19:55 -04:00
mpgn 528b2c7db8 Update message and module for ntdsutil module 2023-03-24 15:19:18 -04:00
mpgn ea0b542c94 Update message and module for ntdsutil module 2023-03-24 15:19:18 -04:00