old-42

· Wargame/Web
https://webhacking.kr/challenge/web-20/ Challenge 42 webhacking.kr [문제] [풀이] flag.docx를 다운로드 받아 열면 Flag를 주는 문제이다. test.txt를 다운로드 받으면 정상적으로 다운로드 된다. flag.docx를 다운로드 받으려 하면 Access Denied라는 경고창이 뜬다. 소스코드를 뜯어보자. nosubjectfile 2testtest.txt [download] 1read meflag.docx [download] 위 코드를 보면 a태그로 감싸져있는 Download가 있고 test.txt의 경우 ?down=dGVzdC50eHQ= 경로로 이동하여 다운로드 되는 것을 확인할 수 있다. flag.docx는 js로 경고창을 띄우는 코드가..
d3vh4cks
'old-42' 태그의 글 목록