php-rest-sql
php-rest-sql copied to clipboard
Direct access to phprestsql.ini
You can display phprestsql.ini config in the browser http://example.com/phprestsql.ini
One of the solution is to add:
RewriteRule phprestsql.ini !^$
to .htaccess
Not sure why would anyone wants to do this, definitely a vulnerability as far as OWASP (https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project) is concerned.