---
# System prepended metadata

title: BASIC WEB CHALLENGES FROM hackthissite.org

---

hello guys my name is alienkeric and today were going to proceed with our series(day 4)


**STEP 1:** login to your account of HTS and migrate to mission 4 for day 4

**STEP 2:** as the challenge description says "This time Sam hardcoded the password into the script. However, the password is long and complex, and Sam is often forgetful. So he wrote a script that would email his password to him automatically in case he forgot. Here is the script:
" lets go straight in solving the  challenge

![](https://hackmd.io/_uploads/Bk1lQzcjn.png)


**STEP 3:** use developer tool to highlight the script that send the password to sam as below
![](https://hackmd.io/_uploads/rJAbQMci3.png)


As you can see, above the problem here is that, sam forgotten to input his email in the script he wrote, so we need to change the email of sam to our email and make sure that the email we input in the source code is the same email we registered with oky hackers

![](https://hackmd.io/_uploads/H1fXEMqoh.png)



**STEP 4:** And finally the password email was sent to us , so lets go inbox and check the password send to us, and copy it and submit it.

![](https://hackmd.io/_uploads/B1t54fqi2.png)

**STEP 5:** finall we managed to solve the challenge thank u hackers lets meet another day oky

![](https://hackmd.io/_uploads/Bk81Uf5o2.png)

**WORD OF THE DAY!!**
Never let your computer know that your in a hurry,computers can smell fear.They slow down if they know your running out of time dude
