Commit Graph

513 Commits (c42f9bcd3de9a1ff77b44588d77e43fc8b1b72e2)

Author SHA1 Message Date
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 26db2ca3ed feat(console): properly print normal messages to console 2023-03-28 22:58:26 -04:00
Marshall Hallenbeck 1ade25cc10 feat(console): initial console implementation with progress bar 2023-03-27 12:18:29 -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
mpgn 51752f8e29 update wording on dump users function 2023-03-26 06:14:18 -04:00
mpgn 87e9fc4cce remove useless code from users function on smb proto 2023-03-26 06:08:52 -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
mpgn 118ee3a944 revert some changes on smb 2023-03-25 16:25:36 -04:00
mpgn c7679c7acf revert some changes on smb 2023-03-25 16:10:31 -04:00
Marshall Hallenbeck 4569a632cf fix(smb): handle SMB SessionErrors when enumerating local groups 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 9cad93fb3a fix(smb): handle ACCESS_DENIED issues when bruteforcing RIDs 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 4ad86cee0d fix(smb): handle additional SMB connection errors, including unknown nt errors that impacket doesnt have 2023-03-24 15:18:37 -04:00
Marshall Hallenbeck 67bc50ca44 fix(smb): handle SMB SessionErrors when enumerating local groups 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck 8be90461c7 fix(smb): handle ACCESS_DENIED issues when bruteforcing RIDs 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck d112bfcbfb fix(smb): handle additional SMB connection errors, including unknown nt errors that impacket doesnt have 2023-03-24 14:25:17 -04:00
Marshall Hallenbeck fcb5d972c5 update ldap formatting and error checking; LDAPS port can be open but not configured 2023-03-24 11:06:40 -04:00
Marshall Hallenbeck 1a4a887d4e chore(ldap): update formatting 2023-03-24 10:19:05 -04:00
Marshall Hallenbeck 08871f398e refactor(ldap): update some formatting 2023-03-24 09:48:40 -04:00
mpgn a55e49ee36 Update get-file output file 2023-03-23 23:51:50 -04:00
twosevenzero 8233c5bf48 Closes Issue #697. Added a flag to append self.host to the filename of the retrieved file from the get-file option. 2023-03-23 23:51:49 -04:00
mpgn e791c817f6 Update get-file output file 2023-03-23 07:13:18 -04:00
twosevenzero c725094bd9 Closes Issue #697. Added a flag to append self.host to the filename of the retrieved file from the get-file option. 2023-03-23 07:04:07 -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
famos0 3980362dd1 add helper for cmedb dpapi 2023-03-21 10:41:10 +01:00
Marshall Hallenbeck 9b16a5bd4e feat(cmedb): add ability to export IPs of hosts with signing disabled, different implementation from pull #758 2023-03-20 22:03:23 -04:00
Marshall Hallenbeck c60cc1ec38 feat(cmedb): update vnc protocol to match updated cmedb database loading 2023-03-18 18:15:30 -04:00
Marshall Hallenbeck 4adb335a58 fix(smb): update add_share() to ignore if the share already exists 2023-03-17 20:33:03 -04:00
Marshall Hallenbeck f6ff5ec37c fix(dpapi): do nothing if dpapi secret is already in database 2023-03-17 14:36:19 -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 d59c107350 return updated host ids if any were updated 2023-03-17 13:02:46 -04:00
Marshall Hallenbeck 915062b420 fix(smb): groups functionality again returns inserted or updated group ids 2023-03-17 12:56:20 -04:00
Marshall Hallenbeck 192203972e chore(imports): remove unused imports 2023-03-17 10:52:30 -04:00
Marshall Hallenbeck b5493295c8 fix(smb): readd functionality to add loggedin_relation to db without RETURNING clause 2023-03-17 09:58:12 -04:00
Marshall Hallenbeck 10efcc9d42 fix: remove remaining returned ids from sqlalchemy queries due to RETURNING clause 2023-03-17 09:13:16 -04:00
Marshall Hallenbeck 9a15dfce28 fix(cmedb): fix group display columns 2023-03-16 18:02:48 -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 c52a8566eb fix(dpapi): revert my 'fix', properly connect to DC via domain query 2023-03-16 08:34:52 -04:00
Marshall Hallenbeck 63c1e03a1d fix(kerberos): add back in kerberos for Petitpotam and samrfunc 2023-03-16 08:34:07 -04:00
Marshall Hallenbeck 941efd353a fix(dpapi): update target to be the host instead of domain 2023-03-14 01:26:08 -04:00
Marshall Hallenbeck da99886ca8 fix(dpapi): update dpapi feature to sqlalchmey and update formatting 2023-03-14 01:25:20 -04:00
Marshall Hallenbeck 4f3759cdce feat(smb): add functionality to query SAMR for local groups if DC query fails; closes #687 2023-03-13 16:12:44 -04:00
Marshall Hallenbeck 735e230945 fix(smb): update smb protocol to properly insert AdminRelations, GroupRelations, and LoggedinRelations to the database 2023-03-13 16:12:44 -04:00
Marshall Hallenbeck cc3a42ab00 chore(mssqldb): remove unnecessary debug prints 2023-03-13 16:12:44 -04:00
Marshall Hallenbeck b21e450f90 feat|fix(winrm): update winrm to use database to save hosts and credentials; closes #739 and closes #740 2023-03-13 16:12:42 -04:00
Marshall Hallenbeck 39502bc210 docs(rdpdb): add helpdoc for clear_database command 2023-03-13 16:12:32 -04:00
Marshall Hallenbeck 4891750af7 refactor: standardize nomenclature to uses 'hosts' instead of 'computers' 2023-03-13 16:12:30 -04:00
Marshall Hallenbeck ca0ab3b98c fix some major bugs and add in proper admin relations to the database functionality 2023-03-13 16:12:20 -04:00
Marshall Hallenbeck 1ce23664dc refactor(smbdb): move DB-related functions together 2023-03-13 16:11:08 -04:00