18-WEB-BugkuCTF之速度要快

2018-06-30  本文已影响266人  evil_ice

一,题目--速度要快

image.png

二,分析

# coding:utf-8
import requests
import base64
url = 'http://120.24.86.145:8002/web6/'
session = requests.Session()
req = session.get(url)
header_flag = req.headers['flag']
header_flag_decode = base64.decodestring(header_flag)
margin_value = header_flag_decode.split(": ")[1]
print(margin_value)
post_page = session.post(url,{"margin":base64.decodestring(margin_value)})
print(post_page.text)

三,知识点

上一篇下一篇

猜你喜欢

热点阅读