Commit Graph

74 Commits (a3c41a389c9354ef1ceb1ec91e1845a7b59c389d)

Author SHA1 Message Date
mpgn b83bedb106
Update mssqlexec.py 2023-06-30 15:29:59 +02:00
Marshall Hallenbeck 82ffe72528 Merge branch 'master' into protocol_db_marshall
# Conflicts:
#	cme/cli.py
#	cme/protocols/ftp.py
#	cme/protocols/ldap.py
#	cme/protocols/smb.py
2023-05-31 09:51:03 -04: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
Marshall Hallenbeck fb874a06ed update protocol db schema mismatch error 2023-05-15 21:58:08 -04:00
mpgn 5a16e8956d always use fqdn for domain in db #40wq 2023-05-10 16:36:23 -04:00
mpgn a0d6e64f8f black v2 formating 2023-05-08 14:39:36 -04:00
Marshall Hallenbeck 1f1ddedf34 redo black 2023-05-04 09:21:17 -04:00
Marshall Hallenbeck f4401182bd refactor: remove unnecessary variable declaration 2023-05-03 16:48:05 -04:00
Marshall Hallenbeck d6608ab018 mssql db_navigator format fix 2023-05-03 16:43:44 -04:00
mpgn 2be85b5da7 black formating 2023-05-02 11:17:59 -04:00
Marshall Hallenbeck 5a25d83be1 fix(mssql): fix command execution for MSSQL 2023-04-30 17:47:52 -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 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 763a4f72ed fix(cmedb): cherry pick adding NoSuchTableError 2023-04-14 11:49:05 -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 fec7a667d2 fix(logging): update logging to use cme_logger and fix some formatting 2023-03-30 16:36:58 -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 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 3cdb3cdf0b fix(cmedb): update error message to instruct user to only delete the workspaces folder 2023-03-22 11:58:49 -04:00
Marshall Hallenbeck 772986c0fa fix(cmedb): display error if DB reflection fails for new schema and tell user how to fix it 2023-03-22 11:51:24 -04:00
Marshall Hallenbeck b69e070674 fix(mssql): remove group references since mssql db doesnt have groups 2023-03-17 13:03:13 -04:00
Marshall Hallenbeck 1a71bb2e0b fix(sqlite): remove all RETURNING clauses from queries due to sqlite not supporting until 3.35 2023-03-16 18:02:20 -04:00
Marshall Hallenbeck cc3a42ab00 chore(mssqldb): remove unnecessary debug prints 2023-03-13 16:12:44 -04:00
Marshall Hallenbeck 4891750af7 refactor: standardize nomenclature to uses 'hosts' instead of 'computers' 2023-03-13 16:12:30 -04:00
Marshall Hallenbeck 4b4e2126cd fix: catch BrokenPipeErrors when connecting via SMB 2023-03-13 16:10:59 -04:00
Marshall Hallenbeck 137a7c7283 fix(cmedb): add func.lower() calls back into certain columns that need it 2023-03-13 16:10:07 -04:00
Marshall Hallenbeck a955a7d7ab fix(cmedb): fix LIKE queries to properly work 2023-03-13 16:10:07 -04:00
Marshall Hallenbeck e9b353d645 feat(dbs): add help string and confirmation for all database clear_database functions 2023-03-13 16:08:18 -04:00
Marshall Hallenbeck ec58fb7f7e fix(db): fix update columns reference for Upsert queries to properly update columns 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck b368b2ca85 fix(mssqldb): properly apply filters for sqlalchemy queries 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 7a43382c7b chore: remove unnecessary commented code 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 9c48638733 chore(mssqldb): remove unnecessary import and add SAWarning ignore 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 99d041684a feat(mssqldb): update clear_database to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 16f0fe5b35 feat(mssqldb): update get_computers to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck e170f839f7 feat(mssqldb): update is_computer_valid to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck c38117a8dd feat(mssqldb): update get_credentials to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 608304d5d5 feat(mssqldb): update is_credential_valid to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 75fcf0e666 feat(mssqldb): update remove_admin_relations to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 051a7c0e4b feat(mssqldb): update get_admin_relations to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 3b86e8c1fa feat(mssqldb): update add_admin_user to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 38854a59e4 feat(mssqldb): update remove_credentials to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck f9ff7cef7a feat(mssqldb): update add_credential to be the same as smbdb 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 0eb20ff3a2 feat(mssqldb): update add_computer to proper sqlalchemny syntax 2023-03-13 16:07:07 -04:00
Marshall Hallenbeck 8463829b5b feat(database): working on making database operations more async, reducing write concurrency issues, and fixing sqlalchemy query formats 2023-03-13 16:05:57 -04:00
Marshall Hallenbeck bdc887ccae feat(mssqldb): update get_computers to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 4b5dfbb025 feat(mssqldb): update is_computer_valid to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck da1e788f23 feat(mssqldb): update get_credentials to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck b70cdc58e1 feat(mssqldb): update is_credential_valid to use sqlalchemy 2023-03-13 16:05:05 -04:00
Marshall Hallenbeck 9e1b8fbe88 feat(mssqldb): update remove_admin_relations to use sqlalchemy 2023-03-13 16:05:05 -04:00