PhpDev.App
paralax/lfi-labs

paralax/lfi-labs

Stars: 296

Forks: 81

Pull Requests: 6

Issues: 8

Watchers: 14

Last Updated: 2020-10-01 06:53:11

small set of PHP scripts to practice exploiting LFI, RFI and CMD injection vulns

License: MIT License

Languages: PHP, Makefile, Shell

lfi-labs

small set of PHP scripts to practice exploiting LFI, RFI and CMD injection vulns

why?

for training and testing purposes. you can test detection products (e.g. vulnerability scanners), exploit tools, etc.

these are NOT intended for evaluating appsec testing tools.

the idea is that you'd add these to an Apache VirtualHost directive for testing purposes. if you need to do some quick and dirty testing, fire up php -S 0.0.0.0:8080 or something and go to town.

how?

three big options.

  1. UN*X + Apache + PHP, install lfi-labs under somewhere and get to work.
  2. run a Docker instance using the Dockerfile. docker-compose up
  3. run a Vagrant instance using the Vagrantfile. vagrant up

who?

jose nazario @jnazario

inspired by

https://github.com/AUDI-1/sqli-labs

useful links

LFI/RFI/CMD injection background

walkthrough

RELEASES

See all