Commit Graph

29 Commits (823f9cadf26efd1fd83c5503028bfcb09c4b3cbf)

Author SHA1 Message Date
mpgn f28d98e315 add traceback for debug 2023-08-18 04:34:07 -04:00
mpgn b036c83ae8 continue module run if one module fail 2023-08-18 04:11:47 -04:00
Alexander Neff fa63bbfec6 Format changes as suggested by marshall 2023-05-29 16:40:29 +02:00
Alexander Neff 2d86234d67 Update some changes from Master branch 2023-05-28 15:16:10 +02:00
Alexander Neff 72435fce7f Fix Merge issue 2023-05-28 14:33:44 +02:00
Alexander Neff 98e12fd374 Merge branch 'login_neff' into neff_speed_improv 2023-05-28 14:33:18 +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
Marshall Hallenbeck e5d997fb88 refactor(perflint): improve imports, specifically in forloops 2023-05-05 14:44:11 -04:00
mpgn 2be85b5da7 black formating 2023-05-02 11:17:59 -04:00
mpgn 45effc625a core switch to fail instead of error function 2023-04-21 06:20:47 -04:00
Marshall Hallenbeck d1a22e8c98 fix(modules): only display modules for the protocol requested 2023-04-19 14:02:36 -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 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 64743b07af fix(modules): refactor how modules are loaded, not initializing all objects before loading 2023-04-04 09:39:54 -04:00
Marshall Hallenbeck fec7a667d2 fix(logging): update logging to use cme_logger and fix some formatting 2023-03-30 16:36:58 -04:00
Marshall Hallenbeck ea7a70bc40 remove logging import 2023-03-30 14:23:25 -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 82e3dad5af Merge branch 'tests_marshall' into modules_marshall
# Conflicts:
#	cme/loaders/module_loader.py
2023-03-26 22:46:20 -04:00
Marshall Hallenbeck 5c96b0b17d fix: undo imp deprecation for module_loader. will revisit this later. 2023-03-26 10:25:03 -04:00
Marshall Hallenbeck 0a03c80e66 fix(loaders): use modern module loader 2023-03-26 02:45:16 -04:00
Marshall Hallenbeck 63a6df6763 replace deprecated imp with importlib 2023-03-24 14:25:17 -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 84e239c139 fix(modules): return and compare lowercase modules names, since case should not matter 2023-03-23 13:52:36 -04:00
Wlayzz b57ba767f8 Adding shebang and encoding utf-8 for all python files 2022-07-19 01:59:14 +02:00
byt3bl33d3r 751f209cd7 Initial 4.0 pre-release 2017-03-27 15:09:36 -06:00
byt3bl33d3r 8e6cc4e899 DB schema for the smb protocol is now final!
- added two more attributes to use in modules:opsec_safe and multiple_hosts

- renamed db function names

- Added the python_injector module and it's necessary files as a reminder
2016-12-20 00:23:40 -07: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