当前位置:网站首页>[GXYCTF2019]StrongestMind
[GXYCTF2019]StrongestMind
2022-07-28 17:06:00 【茶经新读.】
[GXYCTF2019]StrongestMind

进入页面,说答对一千次给flag,脚本小子火速出击:
import re
import requests
from time import sleep
def count():
s = requests.session()
url = 'http://af42a67c-c7e4-45f2-961d-30c8591b3c30.node4.buuoj.cn:81/'
match = re.compile(r"[0-9]+ [+|-] [0-9]+")
r = s.get(url)
for i in range(1001):
sleep(0.1)
str = match.findall(r.text)[0]
# print(eval(str))
data = {"answer" : eval(str)}
r = s.post(url, data=data)
r.encoding = "utf-8"
#print('{} : {}'.format(i,eval(str)))
# print(r.text)
print(r.text)
if __name__ == '__main__':
count()这里我省略了过程,长时间不动不是卡了,如果想要看过程直接去掉#print('{} : {}'.format(i,eval(str)))前面的注释就行,得到flag

边栏推荐
猜你喜欢
随机推荐
2022-07-27 第四小组 修身课 学习笔记(every day)
Cout.write learning
Mingde biology: no products of the company have been listed in the WHO recommended list
Record your interview experience in Xiamen for two years -- Conclusion
1.2、队列
UE5 GAS 学习笔记 1.4属性集
.net WCF wf4.5 state machine, bookmark and persistence
Mqtt over quic: the next generation Internet of things standard protocol injects new impetus into the message transmission scenario
haproxy实现灰度发布
MYSQL入门与进阶(九)
UE5 GAS 学习笔记 1.9 技能系统全局类(AbilitySystemGlobals)
UE5 GAS 学习笔记 1.7 任务Ability Tasks
当Golang遇到高并发秒杀
It is said that software testing is the worst in the IT industry. Is that so?
Ue5 gas learning notes 1.10 prediction
Wired: who owns the art of the future? Openai allows dall-e users to commercialize their works. At present
数字化转型中的DevOps——弹性合作
Go exe generates icon version information
Six countries in Europe and the United States launched an express line product to optimize the "end-to-end" performance service on the 5th
Ue5 gas learning notes 1.2 game Tags








