본문 바로가기

Web Security/webhacking.kr

[Webhacking.kr] old-14

old-14

This problem is in webhacking.kr.
URL: https://webhacking.kr/challenge/js-1//

If you enter the URL, you can see the below photo.

 

First, View Source

If you look at the code, you can see this part.

if(ul==pw.input_pwd.value) { location.href="?"+ul*pw.input_pwd.value; }   

Thus, we can know that the value of "ul" through this method.

 

In conclusion, if you enter 540 in the input tag, you can solve the problem.

 

'Web Security > webhacking.kr' 카테고리의 다른 글

[Webhacking.kr] old-17  (0) 2021.08.01
[Webhacking.kr] old-16  (0) 2021.08.01
[Webhacking.kr] old-13  (0) 2021.08.01
[Webhacking.kr] old-11  (0) 2021.08.01
[Webhacking.kr] old-10  (0) 2021.08.01