bugku web post

post传参。

用python写一个脚本

import requests

s = requests.Session()
r = s.get("http://123.206.87.240:8002/post/")
values = {'what':'flag'}
r = s.post("http://123.206.87.240:8002/post/",values)
print(r.text)

得到:

$what=$_POST['what'];

echo $what;

if($what=='flag')

echo 'flag{****}';


flagflag{bugku_get_ssseint67se}

flag找到了qwq

 

你可能感兴趣的:(信息安全)