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

508 Commits

Author SHA1 Message Date
Caleb Stewart
e7bf7383f4 Fixed channel send typo 2021-06-13 15:43:22 -04:00
Caleb Stewart
b9f20ecd74 Checked for SHELL pointing to nologin
I'm not sure why this would happen, but it should fix #116
2021-06-12 19:29:47 -04:00
Caleb Stewart
f74510afb6
Merge pull request #119 from calebstewart/feature-reflective-dotnet
- Updated documentation for Plugin API
- Updated README with notes on Windows support
- Added plugin API to Windows C2
- Added GitHub Action to package Windows plugins and attach to releases automatically.
- Added early support for BadPotato supported by [pwncat-badpotato](https://github.com/calebstewart/pwncat-badpotato) plugin (step toward #106)
2021-06-12 17:45:39 -04:00
Caleb Stewart
44aff46d93 Added documentation and workflow for plugin packaging 2021-06-12 17:38:30 -04:00
Caleb Stewart
7ec0d22194 Added ability to prestage plugin downloads
Added entrypoint option `--download-plugins` to pull down all windows
plugins automatically and stage on the attacking machine
2021-06-12 16:04:33 -04:00
Caleb Stewart
39cd6aca94 Protected Windows C2 from KeyboardInterrupts 2021-06-12 15:12:04 -04:00
Caleb Stewart
ac74c3d013 Cleaned up plugin system
- Added builtin plugin resolver
- Rolled base c2 dlls into plugin resolver
- Changed plugin location configuration from `windows_c2_dir` to `plugin_path`
2021-06-12 03:10:14 -04:00
Caleb Stewart
274c4b6cab
Merge pull request #115 from calebstewart/issue-114-windows-comms
Windows C2 Protocol Update
2021-06-09 23:04:23 -04:00
Caleb Stewart
58668d35d7 fixed processing output from run_method 2021-06-09 23:03:49 -04:00
Caleb Stewart
04587bffb1 Updated windows platform for new C2 comms 2021-06-09 20:57:25 -04:00
Caleb Stewart
00c6e13c39 Merge branch 'issue-100-arrow-keys' 2021-06-09 14:33:01 -04:00
Caleb Stewart
6d41178753 Removed ssh:// protocol requirement from --identity argument 2021-06-09 14:24:45 -04:00
Caleb Stewart
0c47c9deca
Merge pull request #112 from calebstewart/issue-110-windows-upload
Updated C2 version and Windows.abspath
2021-06-09 01:10:23 -04:00
Caleb Stewart
3fddb23d58 Updated C2 version and Windows.abspath
Windows.abspath used to cause a FileNotFoundError when the file did not
exist. It now correctly resolves relative paths for files which don't
yet exist.
2021-06-08 14:33:14 -04:00
Caleb Stewart
c1ab54567d Ensured that a shell was used even if SHELL not set 2021-06-08 04:04:13 -04:00
Caleb Stewart
420626868c Added small sleep to account for latency 2021-06-08 03:45:15 -04:00
Caleb Stewart
36435fabb8 Removed the sync command 2021-06-08 02:58:06 -04:00
Caleb Stewart
0a6904d2cd Ensured domain enums check domain status 2021-06-08 00:27:38 -04:00
Caleb Stewart
72563b97cf Merge branch 'master' of github.com:calebstewart/pwncat 2021-06-08 00:20:16 -04:00
Caleb Stewart
ee416660ed Fixed caching issue when gathering facts
Hard to describe, but basically, enumerate.gather wouldn't return facts
enumerated via module recursion. It now does this properly.
2021-06-08 00:18:52 -04:00
Caleb Stewart
e2175fa3d5
Merge pull request #108 from calebstewart/issue-107-port-ssh-not-working
Fix protocol parsing
2021-06-07 22:41:13 -04:00
Caleb Stewart
6182cbbd14 Added updated connect logic to the connect command
Also added expanduser to ssh connection so `~` works in identity paths.
2021-06-07 16:27:52 -04:00
Caleb Stewart
f0ab2a024a Fixed case when protocol was None 2021-06-07 16:22:06 -04:00
Caleb Stewart
91aba56195 Fix protocol parsing
The :// suffix wasn't being removed from the protocol and the host was
being parsed as an empty string instead of None when it wasn't
specified. This should fix #107.
2021-06-07 16:17:58 -04:00
Caleb Stewart
2e0969ce8c Added better documentation for implants 2021-06-06 23:57:54 -04:00
Caleb Stewart
9c7ccdad81
Merge pull request #105 from calebstewart/powershell-utilities
Windows Enumeration Modules
2021-06-06 23:07:05 -04:00
Caleb Stewart
7ca5d93c96 Added Schedule.NOSAVE enumeration schedule 2021-06-06 23:04:23 -04:00
Caleb Stewart
c03d6aaba5 Added wait and kill methods for enumerated processes 2021-06-06 22:18:12 -04:00
Caleb Stewart
95ba763202 Replaced tasklist with Get-WmiObject
This should speed up process enumeration from absolutely horrid to
mildly annoying.
2021-06-06 22:05:25 -04:00
Caleb Stewart
6c09643e74
Merge pull request #104 from calebstewart/issue-103-linux-enumerate-services
Replaced systemd service enumeration. Older systemd versions didn't support the arguments being used.
2021-06-05 16:39:52 -04:00
Caleb Stewart
377f948a93 Replaced systemd service enumeration
This version is compatible with update-to-date and older systemd as seen
in CentOS 7.9. Fixes #103.
2021-06-05 16:10:07 -04:00
Caleb Stewart
1dcd58208b Added user resoltion to group output 2021-06-05 14:57:02 -04:00
Caleb Stewart
2de02baee9 Added version tracking to c2 download 2021-06-05 14:10:20 -04:00
Caleb Stewart
111a3d2717 Merge branch 'master' into powershell-utilities 2021-06-05 04:38:01 -04:00
Caleb Stewart
0152ee6523 Ensured Individual Module Doesn't Break Enumeration
Fixes #102
2021-06-05 04:17:36 -04:00
John Hammond
23bead2220 Added installed programs enumeration and TODO's to fix csvreader parsing 2021-06-05 02:34:50 -04:00
Caleb Stewart
1c5bd273c5 Merge branch 'powershell-utilities' of github.com:calebstewart/pwncat into powershell-utilities 2021-06-05 02:13:33 -04:00
Caleb Stewart
b29f1adbe5 Added PowerSploit to source tree 2021-06-05 02:13:08 -04:00
Caleb Stewart
9670fa0fc3 Merge branch 'powershell-utilities' of github.com:calebstewart/pwncat into powershell-utilities 2021-06-05 01:55:45 -04:00
Caleb Stewart
686caba900 Added separate domain user and group enumerations 2021-06-05 01:55:22 -04:00
John Hammond
6d20153679 Added LSA protection enumeration module for Windows 2021-06-05 01:55:13 -04:00
John Hammond
37fdde3f69 Added Windows services enumeration module 2021-06-05 01:46:20 -04:00
Caleb Stewart
9c522b6997 Merge branch 'powershell-utilities' of github.com:calebstewart/pwncat into powershell-utilities 2021-06-05 01:32:24 -04:00
Caleb Stewart
5f0e4bb1c0 Added domain site and group enumerations 2021-06-05 01:32:05 -04:00
John Hammond
0ce37fbed7 Added environment variable enumeration module for Windows 2021-06-05 01:07:05 -04:00
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