Sh4dow's Blog

活了二十几年,从来没有人给过我一次意外感动或惊喜,也没有人在我生日的时候给过我特别的礼物,生病的时候得到的只是一些不在身边的语言安慰,也不见谁真正的照顾过自己,甚至有的时候自己蒙头睡一觉就好了,也有人喜欢过我,但是从没见谁坚持过。

basic认证字典生成python版

 

import os.path,sys,base64

userInfile = open(r"c:\3.md")
passInfile = open(r"c:\4.md")
outputfile = open("4.txt", "w")
userLines = userInfile.readlines()
passLines = passInfile.readlines()
for userLine in userLines:
for passLine in passLines:
  combinedLine = userLine.strip() + ':' + passLine.strip()
  print combinedLine
  outputfile.write(base64.b64encode(combinedLine) + '\n')
userInfile.close()
passInfile.close()
outputfile.close()

 

生成 admin:admin+base64的字典 。个人觉得这样编码+burpsuite灵活性会强很多。解决这样的各种编码。

svn密码http认证破解生成脚本.

评论

© Sh4dow's Blog | Powered by LOFTER