Fork me on GitHub

base混合解密

Base64和Base32混合解密脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
import base64
file = open('base.txt','r')
st = file.read()
while True:
try:
st = base64.b16decode(st)
except:
try:
st = base64.b32decode(st)
except:
st = base64.b64decode(st)
if(st.find('flag') == 0):
print(st)

Your support will encourage me to continue to create!