网上很多网页解题
这里学习pyhton解题
多练手python
熟悉库
import requests
import base64
S = requests.session()
req = S.get(url='http://123.206.87.240:8002/web6/')
flagInHeader = req.headers['flag']
flag_decode = base64.b64decode(flagInHeader).decode()
print(flag_decode)
flag_data = base64.b64decode(flag_decode.split(':')[1][1:])
print(flag_data)
post_data = {'margin':flag_data}
get_flag = S.post(url='http://123.206.87.240:8002/web6/',data=post_data)
print(get_flag.text)