Skip to content

This script uses grep to search for code level vulenrabilities in PHP source code like XSS SQLi LFI/RFI.

Notifications You must be signed in to change notification settings

s7acktrac3/PHP-Cheatsheet-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

About

This script uses grep to search for code level vulenrabilities in PHP source code like XSS SQLi LFI/RFI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages