This is a lab for demonstrating a common bypass to SSRF mitigations using HTTP redirects.
Only run this lab in an isolated, controlled environment (VM, container, or isolated network). Do not run on production or public-facing hosts.
- Linux system (Debian/Ubuntu/Kali recommended for examples)
- Docker
- Python3
- Understand common SSRF mitigations
- Getting familiar with HTTP redirects as a useful bypass
-
Clone this repository:
git clone https://github.com/r3dpower/Follow-SSRF.git cd LocalFunInclusion -
Build and run the Docker image:
sudo docker build -t ssrf-lab . sudo docker run --rm -p 3000:3000 --name ssrf-lab ssrf-lab -
Run redirect_server.py:
python3 redirect_server.py
-
In the browser go to http://127.0.0.1:3000 and start the lab!
Happy hacking! 🐱💻