HTB(hack the box) Emdee five for life
接着上一次。
这道也是一个20points的web题目。
提示:
你能加密得足够快么?
进入网页:
让你进行MD5加密,然后加密提交:
提示你太慢了。。。。
所以,很明显让你写个爬虫来完成。
思路:得到源码->正则匹配加密字符串->MD5加密->post发送。
我的源码:
最后结果(因为网络延迟问题,我一直没得到flag,这是用其他人的结果):
<html>
<head>
<title>emdee five for life</title>
</head>
<body style="background-color:powderblue;">
<h1 align='center'>MD5 encrypt this string</h1><h3 align='center'>JBUxqcV4rWsw17043rxv</h3><p align='center'>HTB{N1c3_ScrIpt1nG_B0i!}</p><center><form action="" method="post">
<input type="text" name="hash" placeholder="MD5" align='center'></input>
</br>
<input type="submit" value="Submit"></input>
</form></center>
</body>
</html>
源码中就有flag。