分类: misc

3 篇文章

MISC脚本收集——爆破篇
生成密码字典的脚本 import itertools as its # words = 'abcdefghijklmnopqrstuvwxyz1234567890' words='1234567890' r = its.product(words, repeat=6) # repeat要生成多少位的字典 with open("pwd.txt", "a")as f: for i in r: f.write("".join(i)) f.write("".join("\r")) print("已保存为…
MISC初探——图像篇
BUUCTF:[SWPU2019]神奇的二维码 用到的工具:QR research——二维码检测 binwalk——分离文件 Audacity——音频处理 BUUCTF:[SWPU2019]神奇的二维码_buuctf [swpu2019]神奇的二维码-CSDN博客 题目是一个二维码,扫描之后是flag_is_not_here,binwalk看一下发现藏了好几个zip,没有加密的zip存放了base64加密过的密码,其中一个用base64加密了20次,解出来以后是一个摩斯密码音频 BUUCTF:金…
MISC脚本收集——编码篇
多次base64过的密文解码脚本 import base64 def decode(f): n = 0 while True: try: f = base64.b64decode(f) n += 1 except: print('[+]Base64共decode了{0}次,最终解码结果如下:'.format(n)) print(str(f,'utf-8')) break if __name__ == '__main__': f = open('./flag.doc','r').read(…