Commit Graph

747 Commits

Author SHA1 Message Date
Caleb Stewart 37f04d4e16 Merge branch 'master' of github.com:calebstewart/pwncat 2022-03-21 16:35:00 -04:00
Caleb Stewart 778899a7ae Fixed escalation shell tracking 2022-03-21 16:34:44 -04:00
Caleb Stewart 5b8c8465d4
Merge pull request #246 from Mitul16/master
Fixes #245 and minor patches
2022-02-20 17:39:43 -05:00
Mitul16 8549ca3694
fix: 'except' the parent class at last
We were catching 'ModuleFailed' in './pwncat/commands/run.py' first.
But there are other *child* / *derived* exception classes - ModuleNotFound, MissingArgument, ...; which were caught after their parent class.
This will simply prevent them from being ever caught as the parent class will always be matched with 'except ParentClass:' before 'except ChildClass:'

# before
(local) pwncat$ run implant.pam
[00:00:00] error: module failed: password

# after
(local) pwncat$ run implant.pam
[00:00:00] error: missing argument: password
2022-02-17 13:10:09 +05:30
Mitul16 ab87581c39
typo: Corrected a minor typo with the color
This may cause 'rich' module to raise some exception :p
2022-02-16 16:39:48 +05:30
Mitul16 d878f09100
chore: Updated CHANGELOG.md
The CHANGELOG.md was missing the [Unreleased] section, I added it back ^^
2022-02-16 16:25:43 +05:30
Mitul16 0632beb992
chore: Pre-merge tasks completed
Oops, I missed the import for PlatformError :p
2022-02-16 16:19:35 +05:30
Mitul16 1f6c82026e
fix: Catch PlatformError for none gtfobins writers
See ./pwncat/platform/linux.py:[1307,1336], raise PlatformError("no available gtfobins writers")
2022-02-16 16:05:31 +05:30
Mitul16 0e79b87f56
fix: Minor colored output fix to comply with rest of the code 2022-02-16 15:57:18 +05:30
Mitul16 03456e51cb
fix: Fixes 'set' command usage for incorrect keys
The key wasn't being checked before accessing the value from the 'manager.config' dictionary
2022-02-16 15:57:06 +05:30
Mitul16 9d1aff43fc
fix: Fixes issue #245, incorrect 'shlex.join' usage
The issue was being caused by the `args` list containing non-str type objects (e.g. RemotePath(...))
2022-02-16 15:50:19 +05:30
Caleb Stewart 49b23fd8bc Version bump to 0.5.4 2022-01-27 21:43:06 -05:00
Caleb Stewart 100024f4c1
Merge pull request #237 from calebstewart/fix-load-command
Fixed load command path argument
2022-01-27 21:39:47 -05:00
Caleb Stewart 408dc24e48 Fixed load command path argument 2022-01-27 21:34:29 -05:00
Caleb Stewart d67865bdaa Bumped version to 0.5.3. 2022-01-09 12:53:46 -05:00
Caleb Stewart 3a48308ee4
Merge pull request #232 from calebstewart/fix/231/ssl-parsing
Fixed ssl parsing in entrypoint/connect command
2022-01-09 12:51:00 -05:00
Caleb Stewart 7376c8788c Fixed ssl parsing in entrypoint/connect command 2022-01-09 12:44:17 -05:00
Caleb Stewart a53fe8f699 Release version 0.5.2 2021-12-31 18:03:49 -05:00
Caleb Stewart f18130e182
Merge pull request #230 from calebstewart/docs-updates
Update Documentation Theme
2021-12-31 17:57:20 -05:00
Caleb Stewart 7257a48f5e Updated changelog and remove docs/requirements.txt 2021-12-31 17:54:56 -05:00
Caleb Stewart fe25624c8e Added docs extra to manage docs dependencies 2021-12-31 17:45:18 -05:00
Caleb Stewart 71755bb5a0 Updated enum-tools and moved to furo theme 2021-12-31 17:12:31 -05:00
Caleb Stewart d621880324 Fixed SSL argument parsing for bind channels 2021-12-26 15:29:48 -05:00
Caleb Stewart ab7f0a5322
Merge pull request #228 from calebstewart/issue-224-implant-list
Added implant module list subcommand
2021-12-26 03:59:04 -05:00
Caleb Stewart a952923b7d Added implant module list subcommand
Also updated documentation to clarify implant reconnection process.
2021-12-26 03:57:13 -05:00
Caleb Stewart 6a913f0fb3
Merge pull request #227 from calebstewart/issue-91-paramiko-ng
Add support for SSHAgent and Key Types outside of RSA
2021-12-26 03:21:14 -05:00
Caleb Stewart f858441ea6 Moved to paramiko-ng to provide ssh-agent support
This also provides support for key types aside from RSA
2021-12-26 03:11:19 -05:00
Caleb Stewart effbe78416 Replaced paramiko with paramiko-ng 2021-12-26 02:43:24 -05:00
Caleb Stewart 7c1eb982aa
Merge pull request #226 from calebstewart/issue-225-ssl-parsing
Issue 225 ssl parsing
2021-12-26 02:42:50 -05:00
Caleb Stewart b931f945c1 Fixed flake8 warning 2021-12-26 02:36:48 -05:00
Caleb Stewart 875939f4c8 Added changelog for ssl fixes 2021-12-26 02:35:16 -05:00
Caleb Stewart e735c40acb Fixed --ssl argument processing in main entrypoint 2021-12-26 02:33:03 -05:00
Caleb Stewart f8f9598268 Bumped version number 2021-12-07 11:12:11 -05:00
Caleb Stewart 182483ed33 Fixed typo in installation docs 2021-12-07 11:10:19 -05:00
Caleb Stewart 28ece616c5 Removed requirements not related to docs 2021-12-07 10:59:58 -05:00
Caleb Stewart 35cc9214db Added readthedocs config 2021-12-07 10:48:14 -05:00
Caleb Stewart 8b35834f78 Fixed readme typo 2021-12-01 11:39:48 -05:00
Caleb Stewart b8d7876a97 Fix `--version` output
As noted by @DanaEpp in #217, `--version` is outputting the wrong
version number. This is due to it passing the old package name to
``importlib.metadata.version()``. This actually causes an unhandled
exception if you don't also have the `pwncat` package installed.
2021-11-28 21:19:03 -05:00
Caleb Stewart 0cd9a9b64f Fixed Dockerfile and README typos 2021-11-28 19:58:09 -05:00
Caleb Stewart 473c70ecc8 Added unreleased section to changelog 2021-11-28 17:47:32 -05:00
Caleb Stewart dbbad8906d Merge branch 'release-v0.5.0' 2021-11-28 17:45:26 -05:00
Caleb Stewart a95ef3c1f6 Merge branch 'master' into release-v0.5.0
Prepping to release v0.5.0. Fixed some obvious errors in workflow and
updated documentation to refer to `pwncat-cs` instead of `pwncat`
entrypoint.
2021-11-28 17:35:14 -05:00
Caleb Stewart 5fbda72272 updated changelog for version bump 2021-11-28 16:33:34 -05:00
Caleb Stewart 1edde63ade bumped minor version to 0.4.4 2021-11-28 16:31:05 -05:00
Caleb Stewart 13eeeefa36 fixed handling of None results in run command 2021-11-28 16:27:58 -05:00
Caleb Stewart 54a46521c1
Merge pull request #220 from calebstewart/fix/216/remove-busybox-bruteforce
Removed busybox and bruteforce commands from docs
2021-11-28 16:02:40 -05:00
Caleb Stewart d8c192e291 Removed busybox and bruteforce commands from docs
These were legacy commands which no longer exist. They may be
re-implemented as modules in the future, but currently do not exist.
2021-11-28 15:59:46 -05:00
Caleb Stewart 9ad580ed32
Merge pull request #219 from calebstewart/feature/218/local-working-directory
Added lpwd and lcd commands for local cwd changes
2021-11-28 15:56:54 -05:00
Caleb Stewart 9db70d10ed Added lpwd and lcd commands for local cwd changes
Also updated the documentation to reflect the new commands. Ran tests
and formatting requirements. Fixes #218.
2021-11-28 15:52:07 -05:00
Caleb Stewart 7f8531f7ed
Merge pull request #203 from calebstewart/issue-179-fix-euid-handling
Fix EUID handling in Popen and Shell Detection
2021-11-28 15:12:51 -05:00