[HTB]“Emdee five for life“ wp

进入页面之后发现要让你MD5加密字符串并提交。

 加密以后发现刷新速度挺快的,所以得用脚本,这里我用的是py。

import requests
import re
import hashlib
url="http://178.128.160.242:30826/"
proxies={
    "http": 'http://127.0.0.1:8080',
    "https": 'http://127.0.0.1:8080'
}
r=requests.session()
p=r.get(url)
p=re.search("<h3 align='center'>(.)*</h3>",p.text)
p=re.search(">(.)*<",p[0])
t=p[0].replace("<re.Match object; span=(18, 40), match='>","").replace(">","").replace("<","")
t=hashlib.md5(t.encode('utf-8')).hexdigest()
d= {"hash" : t}
t=r.post(url=url,data=d)
print(t.text)

然后HTB开头的就是flag啦

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值