DINGA DINGA
article thumbnail
Published 2021. 6. 27. 01:31
[XSS Challenges] Stage 15 WEB/XSS Challenges
728x90

https://xss-quiz.int21h.jp/stage__15.php?sid=1fbd3663a6f332b4b05bcb0db0905de919c4b97e 

Hint: document.write();

 

document.write 부분에 test를 입력해보았다.

검은 부분에 test가 출력된 모습을 볼 수 있다.

 

<script>alert(document.domain);</script>를 입력하고 소스코드를 살펴보았다.

 

 

<와 >가 필터링 된다는 것을 알 수 있다.

document.write에서는 \x3c, \x3e를 각각 <와 >로 인식한다.

 

따라서 <와 >를 대체해 아래와 같이 입력했다.

\\x3cscript\\x3ealert(document.domain);\\x3c/script\\x3e

 

 

Clear!

728x90

'WEB > XSS Challenges' 카테고리의 다른 글

[XSS Challenges] Stage 14  (0) 2021.05.29
[XSS Challenges] Stage 13  (0) 2021.05.29
[XSS Challenges] Stage 12  (0) 2021.05.20
[XSS Challenges] Stage 10  (0) 2021.05.13
[XSS Challenges] Stage 9  (1) 2021.05.13