ctfhub---SSRF

1. Intranet access

Directly access 127.0.0.1/flag.php
Insert picture description here

2. Pseudo protocol to read files

You can use the file protocol in the php pseudo protocol to
construct the payload: file:///var/www/html/flag.php
Insert picture description here
flag in the source code
Insert picture description here

3. Port scan

The dict protocol can be used to detect open ports.
Construct payload dict: //127.0.0.1: port number.
Use burpsuite for blasting. The
Insert picture description here
Insert picture description here
open port is 8666
for access.

Insert picture description here
Get flag

Guess you like

Origin blog.csdn.net/tansty_zh/article/details/108524815