Bugku-秋名山车神
快速反弹 POST 请求,因为精度问题需要多次尝试
1 2 3 4 5 6 7 8 9
| import requests import re url = 'http://114.67.246.176:17516/' s = requests.Session() source = s.get(url) expression = re.search(r'(\d+[+\-*])+(\d+)', source.text).group() result = eval(expression) post = {'value': result} print(s.post(url, data = post).text)
|