https://fishpi.cn/article/1647579118689?p=1&m=0的写的比较好用个人感觉
import requests #//引入request库 import re #//引入re库 url = '''http://114.67.175.224:17902/''' s = requests.session() #//用session会话保持表达式是同一个 retuen = s.get(url) equation = re.search(r'(\d+[+\-*])
环境打不开啊,退钱。
已修复,金币退了
真逆天,如果不留session就连脚本都跑不过
import requests import re req=requests.session() url = "" r= req.get(url) mat=re.search(r"<div>(.*)=\?;</div>",r.text) total=eval(mat.group(1)) key={'value':tota
import requests import re url="http://114.67.175.224:17849/" session=requests.Session() html=session.get(url) print(html.text) pattern=re.compile('<div>.+=\?;</div>')
flag{341e6b6a035e07bde397a59b218857db}
import httpx headers = {'Cookie': 'PHPSESSID=hfkhacgjeb1ldq8mgmtisd0df3; Timeout=alive'} r = httpx.get('http://114.67.175.224:17961/', headers=headers) print(r.text) m = r.text.split('=')[0]
环境都不一样 退钱
headers = {"Cookie": "PHPSESSID=4fe93d1cb95f9d5c86674087f85d7463; Timeout=alive"} res = requests.get("http://114.67.175.224:10651",headers=headers) # eval(); # 用于执行字符