LFI scanner tool made for PentestCloud.io tested on macOS and Debian using python 3.6
cd LFI-scanner
pip3 install -r requirements.txt
python3 LFIscanner.py --help
python3 LFIscanner.py -u http://10.0.8.105/dvwa/vulnerabilities/fi/?page=include.php --cookie="security=low; PHPSESSID=lsrhcih3fnktbu1nlad6flba34" -w -v
-
(Required) -u URL, --url URL Target URL to scan, example http://localhost/index.php?page=about
-
(Optional) -w, --windows (optional) Use if server is windows
-
(Optional) -v, --verbose (optional) display every request
-
(Optional) -c COOKIE, --cookie COOKIE (optional) HTTP request cookie