DES加密
#python3import pyDesimport base64# https://github.com/twhiteman/pyDes# For Python3, you'll need to use bytes, i.e.:# data = b"Please encrypt my data"# k = pyDes.des(b"DESCRYPT", pyDes.CBC, b"\0\0\0\0\0\0\0\0", pad=None, padmode=pyDes.PAD_PKCS5)data = "123456"k = pyDes.des("d@f%s^x&", pyDes.ECB, padmode=pyDes.PAD_PKCS5)d = k.encrypt(data)d = base64.b64encode(d);print(d)
字典组合排列
import itertoolsdictory = "1234567890qwertyuiopasdfghjklzxcvbnm"def getbit(length,dictory):a = list(dictory)print(a)b = list(itertools.permutations(a, length))f = open('mima.txt', 'a')for i in b:f.write("".join(i)+'\n')f.close()length=len(dictory)for i in range(1, 6):getbit(i, dictory)
cobalt strike教程
https://blog.csdn.net/weixin_40412037/article/details/115552975
https://skewwg.github.io/2020/11/27/cobalstrike-sao-mang/
