Data-Praetor
758ebe9c08
Explicit check as file for argument
...
Use case:
"cme smb 10.10.10.10" when a subdirectory of the name "10.10.10.10" exists in the parent folder.
CrackMapExec throws a "IsADirectoryError: [Errno 21]" error in the above case.
2023-08-10 09:24:58 +05:30
Alexander Neff
442a9a48cc
Only increase ulimit if not running on windows
2023-07-05 06:20:12 -04:00
Alexander Neff
483dc69a2a
Increase ulimit to prevent error "Too many open files"
2023-07-05 05:57:21 -04:00
Alex
40a6da4f3e
prevent execution when no protocol is used
2023-06-16 10:14:55 +02:00
Marshall Hallenbeck
67ed83a30c
RIP Harambe memes for Darrell
2023-05-31 10:08:38 -04:00
Alexander Neff
5a6bacdb35
Minor improvement
2023-05-28 17:37:03 +02:00
Alexander Neff
98e12fd374
Merge branch 'login_neff' into neff_speed_improv
2023-05-28 14:33:18 +02:00
Alexander Neff
c7ddbd9028
Reduced big request import and load modules only when necessary
2023-05-28 00:24:40 +02:00
Alexander Neff
271ff922e3
Improve initial execution time by extruding cli_args
2023-05-27 20:52:28 +02:00
mpgn
a0d6e64f8f
black v2 formating
2023-05-08 14:39:36 -04:00
mpgn
af5bd859d8
display output to help user to disable opsec option
2023-05-07 08:24:19 -04:00
Marshall Hallenbeck
1f1ddedf34
redo black
2023-05-04 09:21:17 -04:00
Marshall Hallenbeck
593b9090c9
refactor(linting): initial perflint linting
2023-05-03 16:31:54 -04:00
mpgn
2be85b5da7
black formating
2023-05-02 11:17:59 -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
Alexander Neff
b3b2cde392
Resolve merge conflicts
2023-04-20 13:07:59 +02:00
Marshall Hallenbeck
d1a22e8c98
fix(modules): only display modules for the protocol requested
2023-04-19 14:02:36 -04:00
Alexander Neff
58c0bd0d2d
Remove if statement that is always true and fix indent
2023-04-15 15:01:03 +02:00
Alexander Neff
a2e56f1b24
Small bugfix for --darrell
2023-04-15 14:45:00 +02:00
Alexander Neff
7250f63b67
Fix option --darrell :D
2023-04-15 14:32:57 +02: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
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
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
aa51102d82
remove debugging and unnecessary logs
2023-04-07 15:32:07 -04:00
Marshall Hallenbeck
e30d629d73
WIP: issue with logging to --log file (it doesnt output to console as well)
2023-04-07 12:32:43 -04:00
Marshall Hallenbeck
5c90e8cc07
add config.py, update logging, and more
2023-04-05 20:09:07 -04:00
Marshall Hallenbeck
f53b23138d
readd not showing progress bar for single targets
2023-04-04 09:56:50 -04:00
Marshall Hallenbeck
64743b07af
fix(modules): refactor how modules are loaded, not initializing all objects before loading
2023-04-04 09:39:54 -04:00
Marshall Hallenbeck
ede18e2a79
fix(logging): set root logger level
2023-03-31 13:02:22 -04:00
Marshall Hallenbeck
4e49a4e11f
fix indentation
2023-03-31 11:51:02 -04:00
famos0
1e3cf8f986
add --no-progress to disable progress bar
2023-03-30 18:37:11 +02:00
Marshall Hallenbeck
8ee82e7847
fix: run the first run cme setup before cli arg parse since it requires protocol dir
2023-03-30 11:59:26 -04:00
famos0
47707011ed
typo when only one target fixed
2023-03-30 17:44:42 +02:00
Marshall Hallenbeck
17dc2aeabd
feat(console): complete log overhaul, allowing more granular debug messages, and logging to console
2023-03-30 09:20:26 -04:00
Marshall Hallenbeck
aef6c65a9e
feat(console): progress on dropping in console logging while keeping everything else the same
2023-03-30 09:19:20 -04:00
mpgn
8aefa68279
fix conflict
2023-03-30 06:33:12 -04:00
famos0
388f4798c2
display options for every modules
2023-03-30 11:09:47 +02: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
c42f9bcd3d
feat(console): progress on dropping in console logging while keeping everything else the same
2023-03-29 14:19:31 -04:00
Marshall Hallenbeck
1ade25cc10
feat(console): initial console implementation with progress bar
2023-03-27 12:18:29 -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
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
a6463c60ff
feat(modules): allow multiple modules to be ran
2023-03-24 15:21:10 -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
Marshall Hallenbeck
5ffedc821d
fix: check if ntds attribute exists properly
2023-03-24 15:19:18 -04:00