Commit Graph

32 Commits (823f9cadf26efd1fd83c5503028bfcb09c4b3cbf)

Author SHA1 Message Date
Alex ec42e4b3ef Add config options from default config if it is missing in the users config file 2023-08-15 22:52:19 +02:00
mpgn a0d6e64f8f black v2 formating 2023-05-08 14:39:36 -04:00
Marshall Hallenbeck fcfebc21e2 clean and fix imports 2023-05-07 18:51:01 -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 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 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 5c90e8cc07 add config.py, update logging, and more 2023-04-05 20:09:07 -04: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
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 dce692833c fix: correct cmedb import 2023-03-13 15:58:07 -04:00
Marshall Hallenbeck 50a74951c8 refactor: centralize shared path variables and improve cmedb intialization 2023-03-13 15:58:04 -04:00
mpgn b16dca4054 Improve logging file 2023-02-21 14:40:52 -05:00
mpgn 2c6b982f7f Remove openssl requirement 2023-01-02 06:55:03 -05:00
Wlayzz b57ba767f8 Adding shebang and encoding utf-8 for all python files 2022-07-19 01:59:14 +02:00
mpgn 593062ecfb
Merge pull request #569 from T1erno/master
Added Termux support
2022-06-26 21:34:14 +02:00
T1erno 9393131de1 Added Termux support 2022-06-22 16:17:15 -05:00
mpgn bef7c4e172 Add screenshot option for RDP protocol 2022-03-13 08:01:04 -04:00
mpgn c3dec653d4 Add check for audit mode #523 2022-02-07 16:19:46 -05:00
mpgn e73348513d Fix initialisation when openssl not installed 2020-09-11 18:43:57 -04:00
mpgn ce8094045d Add more compatibility for windows exe
- decrease winrm timeout to 3 seconds so @IppSec 's videos
 tlast less time :)
 -- add ico to cme exe
 -- add option smb-server-port to make cme compatible with windows
2020-07-30 15:14:31 +02:00
mpgn 8931ec2300 Add Windows spec file to compile CME for Windows 2020-05-10 20:06:08 +02:00
mpgn c3c4b3192d start python3 migration 2019-11-10 22:42:04 +01:00
byt3bl33d3r f3465ef008 Fixed up @aj-cgtech changes 2018-03-01 12:36:17 -07:00
byt3bl33d3r 0b936def23 Takes care of issue #190 and #191, initial SSH protocol implementation
- Passing --ntds will automatically use the drsuapi method (DCSync)
- Initial implementation of the SSH protocol and the mimipenguin module
  (This is very much still not finished, lots of stuff missing)

- Added check to make sure existing config file is in the 4.x format
- Added splinter and paramiko to dep requirements
- Updated Impacket to latest commit
- HTTP protocol now also returns server version in output
2017-07-09 23:44:58 -06:00
byt3bl33d3r f0752f61b7 Re-wrote the HTTP protocol to use splinter and phantomjs
- All http connections are now concurrent
- Added a flag to take screenshots of webpages
- Minor Code cleanup
2017-04-30 12:54:35 -06:00
byt3bl33d3r 751f209cd7 Initial 4.0 pre-release 2017-03-27 15:09:36 -06:00
byt3bl33d3r 9fefd167b0 Initial commit for v4.0
Just fyi for anyone reading this, it's not even close to being
finished.

The amount of changes are pretty insane, this commit is to serve as a
refrence point for myself.

Highlights for v4.0:
- The whole codebase has been re-written from scratch
- Codebase has been cut around 2/4
- Protocols are now modular! In theory we could use CME for everything
- Module chaining has been removed for now, still trying to figure out a
more elegant solution
- Workspaces have implemented in cmedb
- The smb protocol's database schema has been changed to support storing users,
groups and computers with their respective memberships and relations.
- I'm in the process of re-writing most of the modules, will re-add them
once i've finished
2016-12-15 00:28:00 -07:00
byt3bl33d3r 07872985d7 This commit addresses a number of issues including #130 and #126 2016-09-21 13:40:59 -06:00
byt3bl33d3r db056d1ab4 Initial implementation of module chaining
Oook, this commit is basicallu just so I can start tracking (and
testing) all of the changes made so far:

- All execution methods are now completely fileless, all output and/or batch
  files get outputted/hosted locally on a SMB server that gets spun up on runtime

- Module structure has been modified for module chaining

- Module chaining implementation is currently very hacky, I definitly
  have to figure out something more elegant but for now it
  works. Module chaining is performed via the -MC flag and has it's own
  mini syntax (will be adding it to the wiki)

- You can now specify credential ID ranges using the -id flag
- Added the eventvwr_bypass and rundll32_exec modules
- Renamed a lot of the modules for naming consistency

TODO:

- Launchers/Payloads need to be escaped before being generated when
  module chaining

- Add check for modules 'required_server' attribute
- Finish modifying the functions in the Connection object so they return
  the results
2016-09-12 00:52:50 -06:00
byt3bl33d3r db223b583a Some code cleanup, bug fixes and re-added the config file
* For some reason the config file got lost in between version bumps, re-added it
* Improved the logic in first_run.py, it will now autodetect missing files and will copy/generate them accordinglu
* Code cleanup in cmedb.py and bug fixes in crackmapexec.py
2016-06-08 21:44:45 -06:00
byt3bl33d3r 68a908562a Second round of refactoring for packaging 2016-06-03 23:42:26 -06:00