Yasdl.com: Password

$ curl -X POST -d "flag=YASDLp4ssw0rd_1s_h3r3" http://yasdl.com/submit.php The server replies:

$ gobuster dir -u http://yasdl.com -w /usr/share/wordlists/dirb/common.txt -x php,txt,html Result highlights: 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. $ curl -X POST -d "flag=YASDLp4ssw0rd_1s_h3r3" http://yasdl

/admin/.passwd (200) [size: 42] /admin/.htaccess (200) Fetching the hidden file: ), so we have found the password/flag

<!-- 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:

$ gobuster dir -u http://yasdl.com/admin/ -w /usr/share/wordlists/dirb/common.txt -x txt,php,conf,json Output of interest:

$ 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 :

About The Author

David S. Wills

David S. Wills is the author of Scientologist! William S. Burroughs and the 'Weird Cult' and the founder/editor of Beatdom literary journal. He lives and works in rural Cambodia and loves to travel. He has worked as an IELTS tutor since 2010, has completed both TEFL and CELTA courses, and has a certificate from Cambridge for Teaching Writing. David has worked in many different countries, and for several years designed a writing course for the University of Worcester. In 2018, he wrote the popular IELTS handbook, Grammar for IELTS Writing and he has since written two other books about IELTS. His other IELTS website is called IELTS Teaching.

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.