A Local File Inclusion (LFI) practice game designed to help learn about PHP file inclusion vulnerabilities and security.
- PHP 7.0 or higher
- Python 3.6 or higher
- Web browser
- Clone or download this repository
- Navigate to the
lfi_game
directory - Run the launcher:
./start.sh
- The game will open in your default browser at http://localhost:5555
Contains 5 practice flags to learn basic LFI techniques:
- Flag 1: Basic file inclusion
- Flag 2: Directory traversal
- Flag 3: PHP wrapper usage
- Flag 4: Configuration file access
- Flag 5: Hidden directory access
Contains 3 challenging levels:
- Level 1: Basic LFI challenge
- Level 2: PHP wrapper challenge
- Level 3: Advanced bypass techniques
- Understanding Local File Inclusion vulnerabilities
- Learning about PHP wrappers and their usage
- Practicing file inclusion techniques
- Understanding security measures and bypasses
This game is designed for educational purposes only. Do not use these techniques on systems you don't own or have permission to test.
Any suggestions, bug reports or comments are welcome. Contact d.johnston@lthcybersecurity