1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-24 01:25:37 +01:00
Commit Graph

513 Commits

Author SHA1 Message Date
John Hammond
f78dd52500 Merge branch 'powershell-utilities' of github.com:calebstewart/pwncat into powershell-utilities 2021-06-05 00:58:19 -04:00
John Hammond
2f1165bd06 Added AlwaysInstallElevated check in Windows enumeration 2021-06-05 00:57:56 -04:00
Caleb Stewart
063eecbbf8 Merge branch 'powershell-utilities' of github.com:calebstewart/pwncat into powershell-utilities 2021-06-05 00:44:49 -04:00
Caleb Stewart
bf5c1fd6cd Added computer and file server enumerations 2021-06-05 00:43:47 -04:00
John Hammond
436c6616df Added network shares as an enumeration module for Windows 2021-06-05 00:37:24 -04:00
John Hammond
95d7e393bc Added processes enumeration for Windows 2021-06-05 00:10:23 -04:00
Caleb Stewart
895744a6bd Added domain details enumeration 2021-06-04 23:16:38 -04:00
John Hammond
b6681a9d56 Added an antivirus enumeration for Windows 2021-06-04 23:09:56 -04:00
John Hammond
500138569c Added hotfixes and mounted drives enuemration modules 2021-06-04 22:50:37 -04:00
John Hammond
3f360149e6 Added a Windows UAC enumeration module 2021-06-04 21:55:07 -04:00
Caleb Stewart
97cf14d314 Fixed windows interactive exit failures 2021-06-04 21:48:43 -04:00
John Hammond
5bcb7e04fc Merge branch 'master' into powershell-utilities 2021-06-04 21:17:37 -04:00
John Hammond
6cce810855 Started windows UAC enumeration 2021-06-04 21:16:24 -04:00
Caleb Stewart
084c98744d Added Domain User Enumeration
Fixed PowerShell error catching also
2021-06-04 21:12:05 -04:00
Caleb Stewart
96b26f6f23
Merge pull request #101 from calebstewart/powershell-utilities
Powershell utilities

- bloodhound module
- defender status enumeration
2021-06-04 20:26:29 -04:00
John Hammond
b545943523 Added a "protections" enumeration folder for Windows Defender 2021-06-04 20:22:21 -04:00
John Hammond
0b3dd372c8 Added convenience functions in Windows to check "is_admin" or "is_system" 2021-06-04 19:08:53 -04:00
Caleb Stewart
4709bfb513 Fixed output path for bloodhound
Tested on domain-joined Windows 10 machine. Requires Defender to be
switched off.
2021-06-04 17:17:18 -04:00
Caleb Stewart
98ede71bf8 Removed info tag; looks better during initializing 2021-06-04 15:16:29 -04:00
Caleb Stewart
e456b2c1e1 Added upgrading from sh to bash
Also added color removal if we end up on a raw /bin/sh due to
lack of /bin/bash.
2021-06-04 15:15:05 -04:00
Caleb Stewart
69ce7d0d4f updated bloodhound module 2021-06-04 15:10:23 -04:00
Caleb Stewart
5d0c8c390d Fixed formatting of docstring because i big dum 2021-06-03 23:15:30 -04:00
Caleb Stewart
ac4a522a44 Added bloodhound module
NOTE: updated pwncat-windows-c2 address due to changes in powershell
command API. You must updated your C2 before using this change.
2021-06-03 23:12:22 -04:00
Caleb Stewart
b787772c68 Added powersploit module
This should cover all of the powersploit PowerShell scripts available on
the Github repository. They're loaded in groups, but individual scripts
could still be loaded by URL w/ `manage.powershell.import` if needed.
2021-06-03 21:58:16 -04:00
Caleb Stewart
8773c64afb
Merge pull request #99 from calebstewart/issue-98-sudo-version
Fixed sudo version enumeration
2021-06-03 14:55:51 -04:00
Caleb Stewart
5cbe311229 Fixed sudo version enumeration
The root of this problem was a typo: missing square braces around
enumeration. However, it also shouldn't have been raising a module
failed error in that case.

After fixing that problem, I found a few more bugs while testing
with Metasploitable2, so I fixed those:

- Added small sleeps in escalation to let the shell keep up
- stat behaves oddly, so added a loop to retry on parsing failure
- Fixed the **syntax** of the mtr gtfobins payload
- Fixed the nmap gtfobins payload

The mtr gtfobins payload is still not right, as it is unable to
read files as it should, but I'll work on that moving forward.
For now, there are no exceptions and escalation is working properly
through `nmap`.
2021-06-03 13:21:42 -04:00
Caleb Stewart
7263f81c0f
Added asciinema to readme... correctly... 2021-06-03 01:29:09 -04:00
Caleb Stewart
2f4bfc18a3
Added screenshot and asciinema recording to README 2021-06-02 21:14:24 -04:00
Caleb Stewart
25b9d0a6ba Updated readme with notes on versions 2021-06-02 20:05:15 -04:00
Caleb Stewart
4b8116cce9 Merge branch 'master' of github.com:calebstewart/pwncat
Had some missining remote commits 🤦
2021-06-02 19:53:55 -04:00
Caleb Stewart
3f799dd3bd Merge branch 'platforms'
This marks a huge step in pwncat. We're finally merging
the platforms branch. The API has completely changed at
this point. I've bumped the version number in setup.py
and tagged the old version appropriately. The
readthedocs stable page will still point to the old
API while latest should provide documentation on the
updated API.
2021-06-02 19:49:31 -04:00
Caleb Stewart
dc79ec407c Updated documentation; added default platform 2021-06-02 19:19:25 -04:00
Caleb Stewart
d1bb4b0b72 Fixed rich progress so we can remove version lock 2021-06-02 18:56:39 -04:00
Caleb Stewart
6179d72795 Once again, fixing docs requirements 2021-06-02 18:43:20 -04:00
Caleb Stewart
91828f0042 Fixed documentation requirements 2021-06-02 18:42:05 -04:00
Caleb Stewart
cd163045be Added a lot of API documentation
Very close to API documentation complete for #95
2021-06-02 18:23:49 -04:00
Caleb Stewart
0a3a787870 Started updating documentation
Another step toward #95
2021-06-01 22:24:18 -04:00
Caleb Stewart
5d80d1b8e8 Cleaned up requirements in requirements.txt and setup.py 2021-05-31 17:27:44 -04:00
Caleb Stewart
87c4f6ee77 Added CVE-2019-14287 and CVE-2017-5618 modules 2021-05-31 17:10:34 -04:00
Caleb Stewart
2212be9751 Fixed linux su; added more tests 2021-05-31 15:11:26 -04:00
Caleb Stewart
86a0515342 mirrored package requirements to docs requirements 2021-05-30 21:32:12 -04:00
Caleb Stewart
4ae446ed32 cleaned up requirements.txt 2021-05-30 21:14:46 -04:00
Caleb Stewart
8dccfdff77 Added/improved unit tests 2021-05-30 21:01:57 -04:00
Caleb Stewart
a0e6e2c073 Fixed typo in socket channel recv 2021-05-30 15:07:53 -04:00
Caleb Stewart
db9e7ed9cf Fixed host address in tests 2021-05-30 00:57:59 -04:00
Caleb Stewart
c04b494322 Added manual port bindings 2021-05-30 00:55:27 -04:00
Caleb Stewart
8853e8f4e5 Added service containers
This will probably fail
2021-05-30 00:52:51 -04:00
Caleb Stewart
5090c6e6c9 Workfow install as user 2021-05-30 00:47:23 -04:00
Caleb Stewart
698de90fae Workflow changes happen here apparently? 2021-05-30 00:43:20 -04:00
Caleb Stewart
0f341b4707 Trying to force this thing to work 2021-05-30 00:42:02 -04:00