Commit Graph

1582 Commits (b9f0b259380aa9eb4c01b28f25f04763f4cca8fc)

Author SHA1 Message Date
famos0 b9f0b25938 update ntdsutil db interactions 2023-03-23 23:51:49 -04:00
famos0 f9f87b1cc4 finish ntdsutil.py module 2023-03-23 23:51:49 -04:00
famos0 7840d0050e add random outputdir 2023-03-23 23:51:49 -04:00
famos0 13ae941d34 add ntdsutil module 2023-03-23 23:51:49 -04:00
Marshall Hallenbeck 66c9c5ee13 replace deprecated imp with importlib 2023-03-23 23:31:49 -04:00
Marshall Hallenbeck b6f54b4ad7 refactor(modules): fix some code reuse and formatting 2023-03-23 23:25:26 -04:00
Marshall Hallenbeck ddb5d54c95 update nopac module to catch error connecting to Kerberos and fix formatting 2023-03-23 23:21:43 -04:00
Marshall Hallenbeck 89cd804e10 update install_elevated module to catch login cleanup and fix formatting 2023-03-23 23:21:16 -04:00
Marshall Hallenbeck 84e239c139 fix(modules): return and compare lowercase modules names, since case should not matter 2023-03-23 13:52:36 -04:00
Marshall Hallenbeck e7fcea0851 feat(modules): allow multiple modules to be ran 2023-03-22 16:51:08 -04:00
Marshall Hallenbeck 2c762989eb fix: check if ntds attribute exists properly 2023-03-22 12:10:00 -04:00
Marshall Hallenbeck 3cdb3cdf0b fix(cmedb): update error message to instruct user to only delete the workspaces folder 2023-03-22 11:58:49 -04:00
Marshall Hallenbeck 772986c0fa fix(cmedb): display error if DB reflection fails for new schema and tell user how to fix it 2023-03-22 11:51:24 -04:00
mpgn 5c5a9bb3c9
Update context.py 2023-03-22 12:23:20 +01:00
mpgn d79cb7d62b
Merge branch 'master' into cmedb_marshall 2023-03-22 12:22:33 +01:00
mpgn 0a06696daf
Merge pull request #14 from mpgn/fix_log
fix log for modules
2023-03-22 10:49:07 +01:00
famos0 8545e76f04 fix log for modules 2023-03-22 10:36:08 +01:00
mpgn e4cc4974a2
Merge branch 'master' into cmedb_marshall 2023-03-21 23:09:18 +01:00
mpgn 7af90207a8 add warning when dumping ntds 2023-03-21 17:07:18 -04:00
mpgn 66c996e0d6 Update aardwolf/asyauth/minikerberos/pypykatz 2023-03-21 17:02:58 -04:00
mpgn 6f9512e420 Update aardwolf to 0.2.7 2023-03-21 17:00:04 -04:00
famos0 ab5b85e7ad add dpapi export option + handle wrong args 2023-03-21 11:17:44 +01:00
famos0 a2fa196cc8 fix pool error when exit 2023-03-21 10:42:14 +01:00
famos0 3980362dd1 add helper for cmedb dpapi 2023-03-21 10:41:10 +01:00
Marshall Hallenbeck 9b16a5bd4e feat(cmedb): add ability to export IPs of hosts with signing disabled, different implementation from pull #758 2023-03-20 22:03:23 -04:00
Marshall Hallenbeck 301652c8c1 Merge branch 'cmedb_marshall' of https://github.com/mpgn/cme into cmedb_marshall 2023-03-20 17:14:23 -04:00
Marshall Hallenbeck 928d26a428 feat(cmedb): add exit command 2023-03-20 17:14:07 -04:00
Marshall Hallenbeck ff0be34c7c feat(cmedb): add exit command 2023-03-20 17:08:22 -04:00
Marshall Hallenbeck c60cc1ec38 feat(cmedb): update vnc protocol to match updated cmedb database loading 2023-03-18 18:15:30 -04:00
Marshall Hallenbeck 4adb335a58 fix(smb): update add_share() to ignore if the share already exists 2023-03-17 20:33:03 -04:00
Marshall Hallenbeck 119677364c fix(zerologon): remove old debug logging format that isnt supported in newer Python versions 2023-03-17 20:19:24 -04:00
Marshall Hallenbeck f6ff5ec37c fix(dpapi): do nothing if dpapi secret is already in database 2023-03-17 14:36:19 -04:00
Marshall Hallenbeck b69e070674 fix(mssql): remove group references since mssql db doesnt have groups 2023-03-17 13:03:13 -04:00
Marshall Hallenbeck d59c107350 return updated host ids if any were updated 2023-03-17 13:02:46 -04:00
Marshall Hallenbeck 915062b420 fix(smb): groups functionality again returns inserted or updated group ids 2023-03-17 12:56:20 -04:00
mpgn 4879895a02 add version option 2023-03-17 11:19:06 -04:00
Marshall Hallenbeck 192203972e chore(imports): remove unused imports 2023-03-17 10:52:30 -04:00
Marshall Hallenbeck b5493295c8 fix(smb): readd functionality to add loggedin_relation to db without RETURNING clause 2023-03-17 09:58:12 -04:00
Marshall Hallenbeck 10efcc9d42 fix: remove remaining returned ids from sqlalchemy queries due to RETURNING clause 2023-03-17 09:13:16 -04:00
famos0 3e4ce963ee fix dfscoerce 2023-03-17 12:03:41 +01:00
Marshall Hallenbeck 9a15dfce28 fix(cmedb): fix group display columns 2023-03-16 18:02:48 -04:00
Marshall Hallenbeck 1a71bb2e0b fix(sqlite): remove all RETURNING clauses from queries due to sqlite not supporting until 3.35 2023-03-16 18:02:20 -04:00
Marshall Hallenbeck c52a8566eb fix(dpapi): revert my 'fix', properly connect to DC via domain query 2023-03-16 08:34:52 -04:00
Marshall Hallenbeck 63c1e03a1d fix(kerberos): add back in kerberos for Petitpotam and samrfunc 2023-03-16 08:34:07 -04:00
Marshall Hallenbeck 5d6a4e28f1 Merge remote-tracking branch 'remote/cmedb_marshall' into cmedb_marshall
# Conflicts:
#	cme/crackmapexec.py
#	cme/modules/petitpotam.py
#	cme/protocols/smb.py
#	cme/protocols/smb/database.py
#	cme/protocols/smb/db_navigator.py
#	cme/protocols/winrm.py
#	poetry.lock
2023-03-14 13:57:28 -04:00
Marshall Hallenbeck d7162c3bbe chore(connection): fix formatting 2023-03-14 13:13:28 -04:00
Marshall Hallenbeck 97d9f62803 fix(context): move where args are set to context so log/etc isnt overwritten 2023-03-14 13:03:09 -04:00
Marshall Hallenbeck 941efd353a fix(dpapi): update target to be the host instead of domain 2023-03-14 01:26:08 -04:00
Marshall Hallenbeck da99886ca8 fix(dpapi): update dpapi feature to sqlalchmey and update formatting 2023-03-14 01:25:20 -04:00
Marshall Hallenbeck 4f3759cdce feat(smb): add functionality to query SAMR for local groups if DC query fails; closes #687 2023-03-13 16:12:44 -04:00