Commit Graph

1873 Commits (4d70cd085fe035e20376940427e647dbca2c3c49)

Author SHA1 Message Date
Alexander Neff 4d70cd085f Add "-v" tag to version cli 2023-04-15 13:43:47 +02:00
Alexander Neff 4e5daefcfb Add indication on which target an error occured 2023-04-15 13:13:57 +02:00
Alexander Neff 632a19fcaf Update poetry.lock file 2023-04-15 13:12:09 +02:00
Marshall Hallenbeck 10ac9d22d2 fix(logging): fix logger assignment 2023-04-14 15:15:23 -04:00
Marshall Hallenbeck 9bec78ac53 fix(modules): properly error out if module isnt supported under the protocol 2023-04-14 15:12:32 -04:00
Marshall Hallenbeck e7bb581eb0 remove unnecessary import 2023-04-14 15:12:10 -04:00
Marshall Hallenbeck 13302234cc fix(smb): fix f-string for rid-brute 2023-04-14 15:11:43 -04:00
Marshall Hallenbeck bb5df5160d fix(samruser): properly set logger 2023-04-14 15:11:12 -04:00
Marshall Hallenbeck cfbeeda0ba define logger before setting it 2023-04-14 11:55:06 -04:00
Marshall Hallenbeck 763a4f72ed fix(cmedb): cherry pick adding NoSuchTableError 2023-04-14 11:49:05 -04:00
Marshall Hallenbeck 2f333bde0f
Merge branch 'master' into console_marshall 2023-04-14 10:19:31 -04:00
Marshall Hallenbeck b0f44f0b41 feat(logging): add rich tracebacks with locals for exceptions 2023-04-12 16:34:32 -04:00
Marshall Hallenbeck 02d6ad938d fix: catch exceptions from proto_flow() and throw them higher 2023-04-12 16:33:58 -04:00
Marshall Hallenbeck 14bc33b866 more PEP8 and formatting fixes, also fix connection's kerberos_auth function definition 2023-04-12 12:37:19 -04:00
Marshall Hallenbeck e386d3852d quotation update and formatting 2023-04-12 12:12:51 -04:00
Marshall Hallenbeck ce6253fe10 feat(kcache): check if KRB5CCNAME is set when specifying the 'use kcache' option 2023-04-12 12:10:38 -04:00
Marshall Hallenbeck aac704937d fix(ldap): remove setting smb fileshare property that doesnt exist, crashing ldap module on run 2023-04-12 11:28:46 -04:00
Marshall Hallenbeck e6079e4ddf convert format() to f-string, update single quote to double, and some PEP8 fixes 2023-04-12 00:25:38 -04:00
Marshall Hallenbeck 18c20f116a more f-string conversion 2023-04-11 23:55:11 -04:00
Marshall Hallenbeck 291c68c700 update format to f-strings 2023-04-11 23:49:04 -04:00
Marshall Hallenbeck 87d60671af update first_run_setup() not requiring log to be passed in and fix checking configuration section. also add in process_secret function. 2023-04-11 22:17:23 -04:00
Marshall Hallenbeck de35fc5abd finalize double quote normalization and f-string conversion 2023-04-11 20:03:58 -04:00
Marshall Hallenbeck 15f8e25f23 normalize to double quotes for params 2023-04-11 19:53:20 -04:00
Marshall Hallenbeck f804ec7059 f-string conversions and PEP8 fixes 2023-04-11 19:43:15 -04:00
Marshall Hallenbeck 6cde0a2dbb f-string conversions and PEP8 fixes 2023-04-11 19:40:35 -04:00
Marshall Hallenbeck a0880742a3 more formatting fixes 2023-04-11 11:54:06 -04:00
Marshall Hallenbeck 47ab04b178 clean up logging statements in smb.py 2023-04-11 11:48:45 -04:00
Marshall Hallenbeck e4005c6095 PEP8 work 2023-04-11 11:37:44 -04:00
Marshall Hallenbeck 0b46d28459 complete doc string for TermEscapeCodeFormatter 2023-04-10 10:06:15 -04:00
Marshall Hallenbeck 9f1388971f update lsassy module to be OPSEC unsafe, as it writes temporary files to disk 2023-04-08 15:12:33 -04:00
Marshall Hallenbeck 37cc981a2c docs(met_inject): update met_inject options to specify that more handlers are supported, and set RAND to optional 2023-04-08 15:10:39 -04:00
Marshall Hallenbeck b945d51312 feat(opsec): allow configuration to disable opsec prompts. If this option is set and an opsec unsafe module is loaded, a display and log message are created; resolves #213 2023-04-08 14:39:33 -04:00
Marshall Hallenbeck 1ae3c828de fix(cmedb): remove winrm db functionality trying to get groups, since that does not exist for winrm 2023-04-08 14:16:50 -04:00
Marshall Hallenbeck 8c3b6e8add update lsassy to 3.1.8 2023-04-08 14:06:18 -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 ed1916e348 PEP8 formatting & commenting fixes 2023-04-08 13:24:25 -04:00
Marshall Hallenbeck 150a13889f PEP8 formatting 2023-04-08 13:09:41 -04:00
Marshall Hallenbeck 04df9211b7 display failure if bloodhound is not enabled in config 2023-04-08 13:04:25 -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 b013e303b9 formatting 2023-04-08 12:35:41 -04:00
Marshall Hallenbeck af880a0119 remove commented out try/except - the removal of these allows exceptions to be thrown from where they occur 2023-04-08 12:33:58 -04:00
Marshall Hallenbeck 3f92c8bbe7 fix logger reference 2023-04-08 12:24:42 -04:00
Marshall Hallenbeck 61f4e67f6b fix(tests): fix wmi query 2023-04-07 18:24:45 -04:00
Marshall Hallenbeck 474aeedce9 remove unneeded print 2023-04-07 16:44:09 -04:00
Marshall Hallenbeck 184a9d1871 feat(logging): use specific cme logger adapter, log printed information to log files if needed 2023-04-07 15:33:10 -04:00
Marshall Hallenbeck aa51102d82 remove debugging and unnecessary logs 2023-04-07 15:32:07 -04:00
Marshall Hallenbeck f565b33143 fix(logging): remove redundant file logging call 2023-04-07 15:31:15 -04:00
Marshall Hallenbeck 713f4bcd9d clean up imports 2023-04-07 13:12:56 -04:00
Marshall Hallenbeck a9b7529796 fix(docs): replace single quote doc strings with double quote 2023-04-07 12:40:48 -04:00