Commit Graph

1929 Commits (87ff0d071594c2112b22e5a47b117d7ef9fa3346)

Author SHA1 Message Date
mpgn 87ff0d0715 revert opsec flag for various modules 2023-05-02 03:58:23 -04:00
Marshall Hallenbeck 2559f0846f
Merge pull request #27 from mpgn/ssh_marshall
MSSQL & SSH Fixes/Updates
2023-05-01 15:12:42 -04:00
Marshall Hallenbeck f25d83a510
fix(cme): check if proto is ssh before checking for keyfile arg 2023-05-01 11:52:10 -04:00
Marshall Hallenbeck 05ed2b8746 fix(ssh): require the -p parameter, even if a keyfile is used - properly tell the user about this issue and exit 2023-05-01 10:04:08 -04:00
Marshall Hallenbeck 01d62904d4 fix(ssh): add imports to ssh from connection 2023-05-01 09:56:03 -04:00
Marshall Hallenbeck ce45763cf7 fix(connection): remove unused imports 2023-05-01 09:55:08 -04:00
Marshall Hallenbeck 1de0f1ee8c ftp: update ftp to use process_secret() 2023-04-30 23:12:31 -04:00
Marshall Hallenbeck f651abfd68 fix(ssh): read in keyfile and pass it to paramiko due to bug in paramiko looping through key types on failure; closes #454 2023-04-30 21:49:45 -04:00
Marshall Hallenbeck 35a45d5f4f fix(arguments): require at least 1 target to be defined; also update quote formatting 2023-04-30 21:00:55 -04:00
Marshall Hallenbeck 5a25d83be1 fix(mssql): fix command execution for MSSQL 2023-04-30 17:47:52 -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 1260751194 fix(mssql): change how mssql returns results, bypassing impacket/tds jank logging and fix handlekatz/nanodump modules 2023-04-30 17:24:18 -04:00
Marshall Hallenbeck bf77a28014 feat(ssh): add ability to properly use SSH keys via -cred 2023-04-30 17:23:29 -04:00
Marshall Hallenbeck 79eacf9dea format update 2023-04-30 17:21:24 -04:00
Marshall Hallenbeck a9294e7b36 feat(ssh): add shell access tracking to DB and display it in cmedb 2023-04-29 16:33:16 -04:00
Marshall Hallenbeck d4ac3aded1
Merge pull request #26 from mpgn/ssh_marshall
Fix SSH protocol to use CMEDB & allow viewing creds/export keys
2023-04-29 15:58:14 -04:00
Marshall Hallenbeck e6100d4675 fix(ssh): fix username and password display for ssh creds 2023-04-27 14:20:19 -04:00
Marshall Hallenbeck 5d56614ef2 note TODO on commented out code so it is not removed 2023-04-27 00:44:36 -04:00
Marshall Hallenbeck 362dab0393 remove commented code 2023-04-27 00:44:23 -04:00
Marshall Hallenbeck 2fbe55294f feat(ssh): add keys to database and update cmedb to display and export keys 2023-04-27 00:36:30 -04:00
Marshall Hallenbeck 1e36200a6b feat(ssh): display if there is shell access for ssh logins 2023-04-26 20:36:36 -04:00
Marshall Hallenbeck 29c812fdf3 fix(ssh): add ConnectionResetError to login exceptions 2023-04-26 12:50:00 -04:00
Marshall Hallenbeck 0cd56fcfb2 feat(ssh): add total logins when displaying creds 2023-04-26 12:08:59 -04:00
Marshall Hallenbeck 5d2ae44deb fix(ssh): add NoValidConnectionsError to auth check 2023-04-26 11:53:44 -04:00
Marshall Hallenbeck 8b57cdef25 feat(ssh): update SSH protocol to use the CMEDB and add some additional functionality for determining total logins for SSH users 2023-04-26 11:43:49 -04:00
Marshall Hallenbeck 58c10bb11e feat(ssh): add additional check for root level access after login and update formatting 2023-04-25 19:45:56 -04:00
Marshall Hallenbeck 3a7f0305e0 feat(ssh): initial db update for SSH to properly add in hosts 2023-04-25 19:45:18 -04:00
Marshall Hallenbeck 3798682ed7 fix(mssql): fix hacky printing of admin check query and handle error if the domain is None for impacket 2023-04-25 13:54:49 -04:00
Marshall Hallenbeck c8c571cde4 Merge branch 'master' of github.com:mpgn/cme 2023-04-25 09:56:06 -04:00
Marshall Hallenbeck aaa5642338 fix(console): soft wrap and set tab size to 4 2023-04-25 09:49:44 -04:00
mpgn 4e4bb9d841 update daclread module 2023-04-25 09:47:33 -04:00
mpgn 603092134d update lsassy module 2023-04-25 09:29:14 -04:00
mpgn 41ebc9bba4 replace cme_logger by the real oneé 2023-04-25 06:58:01 -04:00
mpgn 5674c73094 Fix lsa MD4 error 2023-04-25 06:41:44 -04:00
Marshall Hallenbeck b2ec26a757 fix(ldap): fix string formatting 2023-04-23 19:20:09 -04:00
mpgn d66c77ed34
Merge pull request #21 from mpgn/console_marshall
Implement Console & Optimize Module Loading
2023-04-23 12:04:44 +02:00
Marshall Hallenbeck 6da074e73b update f-strings 2023-04-22 13:48:07 -04:00
Marshall Hallenbeck 88aeb3c04c
Merge branch 'master' into console_marshall 2023-04-22 13:45:10 -04:00
mpgn ab935b8c00 fix error with conf never set 2023-04-21 07:30:18 -04:00
mpgn 6c132af27b fix laps core option with winrm 2023-04-21 07:25:25 -04:00
mpgn 059c6af3c2 fix laps core option with smb 2023-04-21 07:23:15 -04:00
mpgn 45effc625a core switch to fail instead of error function 2023-04-21 06:20:47 -04:00
mpgn 7267aae73a module switch to fail instead of error function 2023-04-21 06:17:50 -04:00
mpgn d154627633 Add new Windows LAPS 2023-04-21 06:14:12 -04:00
mpgn 5a01ad25ae ldap switch to diplay 2023-04-21 06:10:11 -04:00
mpgn c72aeaffba add timeout rdp 2023-04-21 06:08:24 -04:00
Marshall Hallenbeck cd6d364f94
Merge pull request #22 from mpgn/console_neff
Console neff
2023-04-20 07:56:34 -04:00
Alexander Neff b3b2cde392 Resolve merge conflicts 2023-04-20 13:07:59 +02:00
Alex f0aee81400
Remove `-v` so everybody's happy 2023-04-19 20:37:32 +02:00
Marshall Hallenbeck d1a22e8c98 fix(modules): only display modules for the protocol requested 2023-04-19 14:02:36 -04:00