9.Wechall-------------Training: Programming 1 by Gizmore(得分2个)

lumen超cute
本文链接: https://blog.csdn.net/qq_45555226/article/details/102735625

0x01:

题目 题目链接地址
Programming 1 http://www.wechall.net/challenge/training/encodings1/index.php

0x02:

提示 解题步骤
When you visit this link you receive a message.
Submit the same message back to http://www.wechall.net/challenge/training/programming1/index.php?answer=the_message,Your timelimit is 1.337 seconds 点击this link链接,进入后按f12(火狐浏览器)打开网络—点击document----找到cokkie的WC:12174325-50368-L8rI8dHok9XDhfkK—>最后把该cokkie输入到python代码中运行即可

在这里插入图片描述

import requests
url = 'http://www.wechall.net/challenge/training/programming1/index.php?action=request'
cookie = dict(WC='这里输入cokkie的WC的值')
x=requests.get(url,cookies = cookie)
key = x.text
sub = 'http://www.wechall.net/challenge/training/programming1/index.php?answer='
y = requests.get(sub+key,cookies = cookie)
#该代码为借鉴的!!!

在这里插入图片描述
在这里插入图片描述

0x03:
运行以上的解题步骤后,即可成功!!!

猜你喜欢

转载自blog.csdn.net/qq_45555226/article/details/102735625