Skip to content
This script uses grep to search for code level vulenrabilities in PHP source code like XSS SQLi LFI/RFI.
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
Screen Shot 2018-05-27 at 10.02.37 AM.png
php_cheatsheet.sh

README.md

PHP-Cheatsheet-Script

Use this bash script to search for code level vulenrabilities in PHP source code leveraging Grep.

Thus far it checks for:

  • INFORMATION LEAKAGE

  • COMMAND EXECUTION

  • CODE EXECUTION

  • SQL

  • LFI/RFI

Most of the searches were created by @dustyfresh he gets all the credit for compiling them! I just automated the entire thing into this script

Usage: edit the path to point to the root of the project you want to inspect. (/var/www/html/cms/)

chmod +x <script>

./script

Sample Output

alt text

You can’t perform that action at this time.