Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Tags more
Archives
Today
Total
관리 메뉴

난 정말 최고야 멋있어

CTFLearn - POST Practice 본문

카테고리 없음

CTFLearn - POST Practice

n00bh4cker 2019. 12. 12. 17:31

Fiddler의 Composer 기능을 이용하면 쉽게 해결할 수 있다.

이때 주의할 점으로는 헤더에

Content-Type : application/x-www-form-urlencoded 

를 반드시 추가해줘야 한다..

아니면 정상적으로 POST 데이터를 보낼 수 없다

 

 

근데 피들러로만 풀면 멋있지 않으니까.... 파이썬으로도 풀어보자!

import requests

res = requests.post('http://165.227.106.113/post.php',data={'username':'admin','password':'71urlkufpsdnlkadsf'})

print(res.text)

ㅎㅎ;; 근데 더 결과가 초라한거 같다..

 

flag{p0st_d4t4_4ll_d4y}