1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-23 17:15:38 +01:00
Commit Graph

338 Commits

Author SHA1 Message Date
John Hammond
9dda88c91c Added ZODB 5.6.0 to requirements.txt 2021-05-02 14:07:40 -04:00
Caleb Stewart
148c0ba450 Implemented User enumeration 2021-05-02 14:03:52 -04:00
Caleb Stewart
81e000504a Merge branch 'platforms' of github.com:calebstewart/pwncat into platforms 2021-04-30 22:32:51 -04:00
Caleb Stewart
59a694619a Removed sqlalchemy from mananager and session. Changed pwncatrc to memory uri. Added ZODB. 2021-04-30 22:32:47 -04:00
John Hammond
d85dbdd0b4 Made changes to db/ and enumerate module __init__ to prep for ZODB transition 2021-04-30 21:34:30 -04:00
Caleb Stewart
81697fe773 Beginning move to ZODB 2021-04-30 18:33:54 -04:00
Caleb Stewart
9ca96e9b06 Initial work on automated testing 2021-04-10 15:52:47 -04:00
Caleb Stewart
56e73a6c37 Fixed config argument processing 2021-02-15 14:20:06 -05:00
Caleb Stewart
64a5cdd06c Mostly Working Windows Support
The windows support is mostly working and the command line interface is
functioning. I still need to test all the modules on Linux again to make
sure architecture changes haven't broken anything there. Also, more work
is needed on the Windows C2 to solidify the API, but it is working at
it's core.
2021-02-14 23:32:05 -05:00
Caleb Stewart
b34b04132e More work toward full windows platform 2021-01-22 15:52:25 -05:00
Caleb Stewart
00a5d64256 Updated loader/stagetwo for windows platform 2021-01-12 00:46:40 -05:00
Caleb Stewart
ca72bf7371 Windows loader and stagetwo working. 2021-01-10 18:01:08 -05:00
Caleb Stewart
d6a7c41487 Semi-working windows C2 2021-01-03 18:22:17 -05:00
Caleb Stewart
274611263e Added proper stagetwo source with basic C# and powershell commands 2021-01-01 18:53:13 -05:00
Caleb Stewart
96292b17d4 Preliminary windows platform support. 2020-12-30 00:36:54 -05:00
Caleb Stewart
1a2030e599 More module modifications for the move 2020-11-15 14:08:43 -05:00
Caleb Stewart
c1068ad567 Most of enumerate modules are working with platforms/sessions/managers 2020-11-13 12:05:08 -05:00
Caleb Stewart
f80d6b65ee Finished up path abstraction
I believe the path and platform abstraction is more or less complete.
You are able to abstractly run processes and interactive with the remote
FS in the same way as the local one (mimicked pathlib and subprocess).
I now need to convert the modules and the rest of the commands to work
with the new manager/session architecture. 😭
2020-11-09 00:45:56 -05:00
Caleb Stewart
5072b01340 Multiple things 2020-11-06 00:19:52 -05:00
Caleb Stewart
97d329365f Semi-working interactive prompt
- Added ability to exit w/ C-q shortcut from local prompt.
- Multiple sessions are at least supported (no option to switch atm).
- Active session show in bottom toolbar at local prompt.
2020-10-31 03:16:34 -04:00
Caleb Stewart
ee95381c4e Working on getting interactive working 2020-10-29 21:16:57 -04:00
Caleb Stewart
4ded56a067 Working on db session management 2020-10-24 21:05:19 -04:00
Caleb Stewart
a90f524f83 Working on db session management 2020-10-24 14:08:51 -04:00
Caleb Stewart
bb8d374d82 I should have made more incremental commits 2020-10-23 19:42:24 -04:00
Caleb Stewart
b6aad3e710 Mostly working linux open 2020-10-17 14:46:11 -04:00
Caleb Stewart
ee1d5f7c16 A lot of changes moving toward platforms. Added initial structure for Linux platform and Popen 2020-10-13 15:13:59 -04:00
Caleb Stewart
33003592ab Incremental changes mostly moving command parser out of victim 2020-10-09 18:15:02 -04:00
Caleb Stewart
f69542f0b4 Added documentation notes about the configuration object 2020-10-08 13:53:31 -04:00
Caleb Stewart
e658f9a592 Completely moved pwncat.victim.config to pwncat.config 2020-10-08 13:39:51 -04:00
Caleb Stewart
83852e3d67 Made some initial moves toward central config 2020-10-08 13:35:28 -04:00
Caleb Stewart
a825d00da2 Initial modifications to make configuration refactoring work 2020-10-08 13:22:41 -04:00
Caleb Stewart
fa18ae68fd Updated readme to clarify video 2020-10-06 11:07:33 -04:00
trevorbryant
b5ce7f52a4 fix sudo timeout, fix set-password login, other exceptions 2020-10-05 15:25:38 -04:00
Caleb Stewart
c2c83ca058 Fixed module search docstring and enumeration filter 2020-10-05 14:32:57 -04:00
Caleb Stewart
797a9831d7 Added docstrings to last of enumerate modules 2020-10-05 11:16:10 -04:00
Caleb Stewart
5c24ad26fb I'm dumb. I'm sorry. 2020-10-04 20:56:50 -04:00
Caleb Stewart
06515ff7f4 Added traceback option for run 2020-10-04 20:48:59 -04:00
Caleb Stewart
0d8e634cab Fixed EscalateResult.extend
It was overwriting instead of extending in some cases.
2020-10-04 20:36:30 -04:00
Caleb Stewart
8a2a0e638e Fixed escalation file write
- Also added /etc/passwd escalation path w/ root file write
2020-10-04 19:19:09 -04:00
Caleb Stewart
d329e8882a Fixed escalate.auto file read 2020-10-04 18:15:38 -04:00
Caleb Stewart
de70dd04b6 Fixed search command 2020-10-04 18:00:58 -04:00
Caleb Stewart
44069b34ef Ensured help was printed with no arguments 2020-10-04 17:48:37 -04:00
Caleb Stewart
c04bc9634a Added packaging to setup.py requirements 2020-10-04 17:20:49 -04:00
Caleb Stewart
e612a3395d
Merge pull request #62 from calebstewart/modules
Modules Framework
2020-10-03 00:52:39 -04:00
Caleb Stewart
f92aa48947 Removed old modules, updated README.md
- Updated readme for new module interface
- Removed old enumerate, persist, privesc code
2020-10-03 00:41:28 -04:00
Caleb Stewart
ca60cfc356 Added message indicating persistence used 2020-10-02 23:54:08 -04:00
Caleb Stewart
427861e0c2 Added better protocol handling
The connect command now handles reconnections properly.
2020-10-02 23:48:19 -04:00
Caleb Stewart
bcb1f77606 Updated documentation
- Added some last touches to module system.
- Modified connect syntax to allow more flexible parameters
- Still need to update enumeration API docs and connect command docs
2020-10-02 22:28:47 -04:00
Caleb Stewart
5d7c334644 Final touches on converted modules
- Got the pam persistence module working
- Added persistence escalation module to utilize installed persistence
- Added escalation module priorities (EscalateModule.PRIORITY)
  - Should be > 0.
  - Default is 100.
  - Persistence escalation has priority of -1 to ensure it runs first.
- Added enumeration module for passwords retrieved from pam persistence.
- Removed version specifier for python-rich (it was very old for some reason).
2020-09-23 19:31:09 -04:00
Caleb Stewart
f0fbb9851f Merge branch 'master' into modules 2020-09-23 15:29:27 -04:00