저장소

[webhacking.kr] 17번 풀이 본문

IT/웹 해킹

[webhacking.kr] 17번 풀이

huiu 2021. 8. 9. 02:02

https://webhacking.kr/

 

Webhacking.kr

Index Welcome Stranger! Chatting Notice(en) [2021-04-16] Score of old challenges has been adjusted to 1/10. For a while now, new challenges will be added "without" notice. [2020-08-12] Replace chat feature with Discord. Please do not cause inconvenience to

webhacking.kr

17번 문제에 들어가면 처음으로 나오는 화면이다.

어떤 내용을 입력하고 제출할 수 있게 되어있다.

 

크롬 기준 단축키 F12를 사용해서 페이지 소스코드를 확인했다.

login 폼을 통해 제출된 pw 값이 unlock과 같을 때 URL의 끝에 ?+unlock/10이 추가되도록 되어있다.

 

잘못된 값을 입력하면 Wrong이라는 메시지가 팝업된다.

 

소스코드에 alert(unlock);을 추가하여 unlock 값을 표시하도록 했다.

 

7809297.1을 입력해주자 문제 풀이에 성공했다는 메시지가 팝업되었다.

 

 

 

'IT > 웹 해킹' 카테고리의 다른 글

[webhacking.kr] 35번 풀이  (0) 2021.08.20
[webhacking.kr] 3번 풀이  (0) 2021.08.20
[webhacking.kr] 54번 풀이  (0) 2021.08.13
[webhacking.kr] 34번 풀이  (0) 2021.08.12
[webhacking.kr] 16번 풀이  (0) 2021.08.09
Comments