Source code disclosure via backup files
This lab leaks its source code via backup files in a hidden directory. To solve the lab, identify and submit the database password, which is hard-coded in the leaked source code.
Upon thorough exploration of the website, no pertinent information was initially discovered. However, a breakthrough occurred when examining the contents of the /robots.txt file, which unveiled a previously undisclosed directory: /backup. Navigating to this directory, I observed that it openly disclosed its contents, consisting of a singular backup file with the extension .bak named ProductTemplate.java.bak.
Delving into the contents of this file, I unveiled the coveted database password. To successfully complete the lab, your next step is to extract and submit this password. Your successful submission will mark the resolution of the lab.
Last updated