GitBook: [master] one page modified

This commit is contained in:
CPol 2021-01-22 11:04:57 +00:00 committed by gitbook-bot
parent 812b84171f
commit 28d815d927
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -46,6 +46,12 @@ echo fread(popen("/bin/ls /", "r"), 4096);
proc_close(proc_open("uname -a",array(),$something));
```
**preg\_replace**
```php
<?php preg_replace('/.*/e', 'system("whoami");', ''); ?>
```
**pcntl\_exec** - Executes a program \(by default in modern and not so modern PHP you need to load the `pcntl.so` module to use this function\)
```bash