Caleb Stewart
02c75ea9f7
Fixed issue link
2020-09-16 12:32:28 -04:00
Caleb Stewart
e2cbe655e6
Added note about paramiko to the README
2020-09-16 12:30:47 -04:00
Caleb Stewart
0b2458462b
Added check for correct paramiko version at runtime to mitigate version problems.
2020-09-16 12:12:22 -04:00
Caleb Stewart
867bd66af7
Merge branch 'master' of github.com:calebstewart/pwncat into master
2020-09-15 21:58:27 -04:00
Caleb Stewart
b685c89634
Optimized gtfobins data loading w/ rapidjson and minification
2020-09-15 21:58:21 -04:00
Caleb Stewart
27e21097fe
Merge pull request #57 from jfunction/patch-1
...
Update setup.py
2020-09-15 11:02:50 -04:00
Jared
97818b7b5e
Update setup.py
...
Watched some youtube clips on this and though I'd try this software
I got an error soon after installing - the error was because `shlex.join` is being used:
5f12a12968/pwncat/__main__.py (L29)
Turns out this requires Python 3.8:
https://docs.python.org/3/library/shlex.html#shlex.join
I propose to explicitly require this at install time so a more appropriate error is thrown to the user.
Thoughts?
2020-09-15 07:28:58 +02:00
Caleb Stewart
fb6424bde1
Merge pull request #55 from pitust/master
...
Upgrade the prompt
2020-09-14 15:38:28 -04:00
Caleb Stewart
98706fb40e
Added escaping for the prompt command
2020-09-13 21:28:31 -04:00
Caleb Stewart
599b4133b6
Removed reference to remote_prefix and fixed escaping in prompt
2020-09-13 21:26:39 -04:00
pitust
be5f33e415
Update README.md to reflect prompt changes
2020-09-14 00:15:01 +01:00
pitust
13b690867d
Fixed prompt.py
2020-09-14 00:14:07 +01:00
pitust
75ad247712
Added a better prompt
2020-09-14 00:11:34 +01:00
Caleb Stewart
e6c86e614a
Added ability to detect a pty
...
This stops pwncat from attempting to spawn a pty when one is already
running on the shell.
2020-09-13 14:30:38 -04:00
Caleb Stewart
57809be2ee
Added try-except for processing grep output
...
Ensured that errors were handled properly during password enumeration.
2020-09-01 21:59:24 -04:00
Caleb Stewart
e76a741add
Fixed completion on commands with no arguments
...
Fixes #44
2020-09-01 21:55:41 -04:00
Caleb Stewart
30e084ab6e
Added check for /bin/sh and set appropriate prompt
...
/bin/sh doesn't support colored/dynamic prompts.
Set prompt to basic when connecting to a host running
/bin/sh.
2020-08-25 13:18:14 -04:00
Caleb Stewart
5f12a12968
Merge branch 'master' of github.com:calebstewart/pwncat into master
2020-08-25 13:08:56 -04:00
Caleb Stewart
6a7af17055
Removed non-blocking flag from stdio
...
This caused BlockingIOError exceptions on some OSs, and
doesn't appear to provide anything. Tested privesc and
enumeration w/out blocking flag, and everything appears
to be functioning properly.
2020-08-25 13:07:53 -04:00
Caleb Stewart
c5ab324648
Update issue templates
2020-07-20 16:07:17 -04:00
Caleb Stewart
e2e9c326f6
Update issue templates
2020-07-20 16:04:20 -04:00
Caleb Stewart
a9268b6f25
Fixed requirements
...
git requiremens accidentally stripped by `pip freeze`
2020-07-19 21:19:44 -04:00
Caleb Stewart
efa0ee8ba8
Updated requirements with versions
2020-07-19 21:16:30 -04:00
Caleb Stewart
ae47f85d67
Added chdir in privesc to prevent weird permission denied erros during privilege escalation
2020-07-19 14:51:13 -04:00
Caleb Stewart
f6a94254bb
Referenced presentation in README
2020-07-18 19:30:00 -04:00
Caleb Stewart
bd55c50c9b
Merge pull request #33 from cytopia-forked/docker
...
Use multi-stage build for the docker image to reduce size
2020-07-18 15:36:52 -04:00
Caleb Stewart
dd6695171f
Bumped version number
2020-07-18 14:28:04 -04:00
Caleb Stewart
c81d5fdbed
Fixed remaining colorama based output
2020-07-18 14:27:13 -04:00
cytopia
6cb6292c06
Use multi-stage build for the docker image to reduce size
2020-07-18 15:52:36 +02:00
Caleb Stewart
95877fa160
Added Dockerfile and updated euid_fix
...
Updated README to reflect new Dockerfile.
2020-07-17 02:48:29 -04:00
Caleb Stewart
93e39b9a47
Finished implementing new logging with python-rich
2020-07-06 22:40:14 -04:00
Caleb Stewart
40bfd7cb20
Merge branch 'master' into new-logging
2020-07-02 09:49:42 -04:00
Caleb Stewart
bdb5b5db56
Fixed pam persistence removal
...
Locating the pam directory was done differently in install and removal
routines, which caused discrepencies after installation. Should fix #21
2020-07-02 08:48:41 -04:00
Caleb Stewart
dfc86464fc
Fixed init system check
...
Tested with the Lame machine on HtB, and it is working.
Thanks to @CodeXTF2 for the heads up on this edge case.
Fixes #22 .
2020-06-29 21:55:58 -04:00
Caleb Stewart
f815ae315e
Added warning for SELinux mode
...
Should fix #20 . PAM persistence now shows warning for SELinux Permissive
mode and will not install for SELinux Enforcing mode.
2020-06-29 21:10:33 -04:00
Caleb Stewart
c6c194d1d3
More changed logging
2020-06-29 20:43:44 -04:00
Caleb Stewart
f1affd82c1
Removed old logging code in privesc command. Slow and steady. D:
2020-06-17 19:46:05 -04:00
Caleb Stewart
96e4688dae
Fixed privesc.Finder.escalate for new logging
...
Currently, this will break Finder.read_file and Finder.write_file.
Still need to finish removing old logging functions before merging
to master. `util.log` and `util.erase_progress` current are NOPs
and just return None.
2020-06-11 23:11:13 -04:00
Caleb Stewart
fbe93c0f4d
Fixed screen-version enumeration
...
Also, added a `victim.chdir` method which returns the
old cwd as well as changes working directories in one
command.
2020-06-11 01:56:20 -04:00
Caleb Stewart
fb6b7ad67a
Fixed enumerated-private-key privesc
...
No longer attempts to use passphrase-protected private keys.
2020-06-09 21:11:04 -04:00
Caleb Stewart
4874dbf8bc
Fixed typo in flush_output
2020-06-09 20:37:15 -04:00
Caleb Stewart
d5aa25f695
Added exclude option to privesc
...
Also added more formatting updates for the rich module.
2020-06-09 15:43:16 -04:00
Caleb Stewart
128b30f607
Started replacing util.log with python rich
...
Replaced loading messages w/ Python `rich` logging.
Will be replacing all other logging slowly with rich
as well.
2020-06-09 00:05:49 -04:00
Caleb Stewart
4c877f3a08
Shortened line in enumerate. Nothing big...
2020-06-06 00:00:37 -04:00
Caleb Stewart
3678e9fa66
Added the rich module
...
rich provides better progress bars and log output and exception tracebacks.
2020-06-05 21:32:24 -04:00
Caleb Stewart
cf5d809eda
Fixed system.service enumeration
...
Shell globbing was causing faulty enumeration data for system.service.
2020-06-04 20:12:50 -04:00
Caleb Stewart
bbf49e4c72
Updated password enumeration
2020-06-04 19:35:57 -04:00
Caleb Stewart
528088be77
Fixed password config and enumeration
2020-06-04 03:34:21 -04:00
Caleb Stewart
d3ac61c0f8
updated dirtycow to new API, but left disabled. DirtyCOW is expensive (time-wise) and unstable (cuases kernel panics). This is not a good candidate for automated exploitation.
2020-06-03 15:38:34 -04:00
Caleb Stewart
1a5825fd4a
Updated readme
2020-06-02 22:49:53 -04:00