Challenge
Pay employee r-conner and remove the evidence from CrappySoft’s logs.
Solution
1. Log in as the employee
The challenge provides:
Username: r-conner@crappysoft.comPassword: ilovemyworkThe login response sets the employee cookies. The employee page exposes a Private Message link and Pay Salaries link, but the latter requires administrator privileges.
2. Use the simulated XSS step
Send a JavaScript payload to m-crap through Private Messages. The challenge explicitly supplies the simulated administrator cookie afterward:
strUsername=m-crap%40crappysoft.comstrPassword=94a35a3b7befff5eb2a8415af04aa16cintID=1Replace the three challenge cookies with these values. Then open payday.php and submit the Pay form. The server displayed the employee’s thank-you message and marked the payment transaction complete.
3. Clear the logs
The mailing-list form contains:
<input type="hidden" name="strFilename" value="./files/mailinglist/addresses.txt"/>The log is publicly listed at ./files/logs/logs.txt. Submit the mailing form with the hidden path changed to:
./files/logs/logs.txtUse an address without @ so the cleanup logic removes it.