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

155 Commits

Author SHA1 Message Date
Caleb Stewart
0145a48357 Added privesc output 2020-05-09 22:08:05 -04:00
John Hammond
b6a926033d Fixed errata from merge 2020-05-09 22:07:16 -04:00
John Hammond
ac568f271f Fixed errata from merge 2020-05-09 22:06:45 -04:00
John Hammond
010d09d795 Merge branch 'master' of https://github.com/calebstewart/pwncat 2020-05-09 21:42:47 -04:00
John Hammond
a78c7926c0 Merge branch 'readwrite' of https://github.com/calebstewart/pwncat into readwrite 2020-05-09 21:41:41 -04:00
John Hammond
64fc44bdae Added more gtfobins! 2020-05-09 21:40:37 -04:00
Caleb Stewart
b21761ff6f Working /etc/passwd overwrite to root. 2020-05-09 21:38:24 -04:00
John Hammond
2d65544b77 Added new GTFObins entries 2020-05-09 19:00:15 -04:00
John Hammond
bebe20dcfb Added "safe" property to gtfobins and started to add more GTFObins 2020-05-09 18:36:51 -04:00
Caleb Stewart
86e6397702 Possibly fixed readinto for RemoteFilePipe 2020-05-09 17:25:09 -04:00
Caleb Stewart
3692566a45 Added some improved setuid stuff 2020-05-09 17:19:14 -04:00
John Hammond
3b7bf075d5 Added privesc read capability! Only somewhat tested... 2020-05-09 17:05:18 -04:00
Caleb Stewart
068c55f868 Added sudo awareness to gtfobins and updated privesc/sudo to understand the new interface. Sudo now supports wildcard listings and can intelligently parse whether a privesc is possible. 2020-05-09 15:02:04 -04:00
John Hammond
1b54ade0fb Added lots of dirty sudo privesc code. It works! 2020-05-09 03:28:58 -04:00
John Hammond
8e1971d3c1 Merge branch 'master' of https://github.com/calebstewart/pwncat 2020-05-09 01:37:23 -04:00
Caleb Stewart
f28b03a482 Added ability to find out what shell is running, and reuse this information. Also, fixed which to not include a newline in its output 2020-05-09 01:02:41 -04:00
John Hammond
b4aae032a0 Merge branch 'master' of https://github.com/calebstewart/pwncat 2020-05-09 00:52:00 -04:00
John Hammond
6f38b92e89 Started SudoMethod for privesc 2020-05-09 00:51:42 -04:00
Caleb Stewart
0ea0ef2546 Added abstract gtfobins interface 2020-05-09 00:49:38 -04:00
Caleb Stewart
2d8c101712 Semi-working privesc framework 2020-05-08 21:49:51 -04:00
Caleb Stewart
e5867df0a0 Removed accidental passwd file push 2020-05-08 19:48:17 -04:00
Caleb Stewart
af2040aa49 Added an unset for PROMPT_COMMAND and removed check for some weird bash stuff caused by PROMPT_COMMAND 2020-05-08 19:47:57 -04:00
Caleb Stewart
dfdbb92eb6 Fixed other downloaders for the new command return value 2020-05-08 19:42:09 -04:00
Caleb Stewart
09a071b6e6 Accounted for wordwrap in remote prompt input, which caused indefinite hangs for long commands 2020-05-08 19:40:47 -04:00
Caleb Stewart
7e1aa8ca28 Fixed merge conflict in imports for pty.py 2020-05-08 15:17:36 -04:00
Caleb Stewart
df336d1081 Added subprocess option to get file-like access to command output, and a downloader that reuses the open socket connection for fast downloads 2020-05-08 15:16:32 -04:00
John Hammond
5c7f1b22b9 Used monokai pygments theme as it looks nicer. Can be customized if we need. 2020-05-08 13:29:06 -04:00
Caleb Stewart
69346b9395 Added a lexer for syntax highlighting of local command input. Not complete yet. 2020-05-08 03:21:36 -04:00
Caleb Stewart
a9c178d98e Got local files to tab complete finally. Still need to implement tab completion for the rest of the commands. 2020-05-08 02:59:14 -04:00
Caleb Stewart
887fef91a3 Fixed merge issues 2020-05-08 02:29:23 -04:00
Caleb Stewart
cc3de93b67 Added bashtcp uploader/downloader and wget uploader 2020-05-08 02:24:51 -04:00
John Hammond
68b05146b8 Added privesc functionality, includes setuid tests 2020-05-08 02:17:07 -04:00
Caleb Stewart
b4ea3593b9 Added beginnings of highlighting/tab completions 2020-05-08 01:24:50 -04:00
John Hammond
283d313abe Changed colors for prompts and corrected sync command to run on all one line 2020-05-07 22:08:17 -04:00
John Hammond
b29dcde252 Added support for a remote command to be run in the local context with at @ prefix 2020-05-07 21:46:47 -04:00
Caleb Stewart
a3e1469085 Improved initial state processing to account for different types of terminals. 2020-05-07 21:32:03 -04:00
Caleb Stewart
c01476f7ae Fixed HTTPDownloader 2020-05-07 18:41:33 -04:00
John Hammond
f205d83b3c Merge branch 'framework' of https://github.com/calebstewart/pwncat into framework 2020-05-07 17:35:52 -04:00
John Hammond
f4e7e2ddb2 Added colors to upload and download feature 2020-05-07 17:35:41 -04:00
Caleb Stewart
9c2811b24e Fixed merge issues 2020-05-07 17:35:00 -04:00
Caleb Stewart
830907d1a5 Added automatic IP address checks for 'lhost' 2020-05-07 17:33:22 -04:00
John Hammond
b0ab851140 Merge branch 'framework' of https://github.com/calebstewart/pwncat into framework 2020-05-07 17:20:11 -04:00
John Hammond
4567e457d7 Added colors to remote prompt. Corrected nc uploader to use -w instead of -q 2020-05-07 17:18:53 -04:00
Caleb Stewart
be2da59710 Added pwncat prompt colors 2020-05-07 17:06:46 -04:00
Caleb Stewart
1c022ce401 Removed dist folder 2020-05-07 16:51:23 -04:00
Caleb Stewart
4067122ba9 Merge branch 'framework' of github.com:calebstewart/pwncat into framework 2020-05-07 16:50:49 -04:00
Caleb Stewart
edf478b93d Added working uploader framework 2020-05-07 16:50:46 -04:00
John Hammond
e939490d93 Forced reset of PS1 after invoking the PTY. Set dim colors for status and a success message 2020-05-07 16:29:07 -04:00
Caleb Stewart
dfb5b26157 Working downloaders for netcat and shell. 2020-05-07 15:59:34 -04:00
Caleb Stewart
5801895cba Initial framework for downloaders present 2020-05-07 14:51:18 -04:00