目录
工具集成
- http://ctf.ssleye.com/
- https://tool.bugku.com/
- http://www.atoolbox.net/
- https://www.qqxiuzi.cn/daohang.htm
- https://www.online-toolz.com/(国外)
- https://www.dcode.fr/(国外)
- https://github.com/guyoung/CaptfEncoder(离线工具)
编码
ASCII编码对照表
- http://ascii.911cha.com/
- https://tool.oschina.net/commons?type=4
- https://tool.ip138.com/ascii_code/
- http://www.51hei.com/mcu/4342.html
- http://c.biancheng.net/c/ascii/
Base家族
Base64
-
https://the-x.cn/zh-cn/base64/
这个站可根据解码出来的内容进行内容识别,识别成功可直接下载识别后的文件,有时候很方便 -
https://www.qqxiuzi.cn/bianma/base64.htm
千千秀字的很多在线工具感觉都做得挺好的 -
http://www.atoolbox.net/Tool.php?Id=681
Atoolbox也是个挺好的在线工具网站,在线工具很多 - https://tool.chinaz.com/tools/base64.aspx
- https://tool.ip138.com/base64/
- http://ctf.ssleye.com/base64.html
Base64编码是使用64个可打印ASCII字符,范围为
A-Z
、a-z
、0-9
以及+
、/
Base32
- https://www.qqxiuzi.cn/bianma/base.php
- http://ctf.ssleye.com/base64.html(可切换Base32)
- http://www.atoolbox.net/Tool.php?Id=931
- http://www.cha128.com/archives/189/
Base32编码是使用32个可打印字符,范围为字母
A-Z
和数字2-7
Base16
- https://www.qqxiuzi.cn/bianma/base.php?type=16
- http://ctf.ssleye.com/base64.html(可切换Base16)
- http://www.atoolbox.net/Tool.php?Id=930
Base16编码使用16个ASCII可打印字符,范围为数字
0-9
和字母A-F
Base58
Base58在Base64的基础上去除了几个看上去有容易产生歧义的字符:数字
0
、大写字母O
、大写字母I
、小写字母l
,以及+
、/
。所以Base58字符范围是9
个数字、24
个大写字母、25
个小写字母
Base85
Base91
Url编码
- https://tool.chinaz.com/tools/urlencode.aspx
- https://www.qqxiuzi.cn/bianma/URL%E5%AD%97%E7%AC%A6%E7%BC%96%E7%A0%81%E8%A7%A3%E7%A0%81.htm
- http://www.jsons.cn/urlencode
- https://www.bejson.com/enc/urlencode/
编码所有字符脚本如下:
def urlencode(encodestr):
codestr = ''
for i in encodestr:
i = '%' + hex(ord(i))[2:]
codestr += i
return codestr
if __name__ == '__main__':
encodestr = 'https://mochu.blog.csdn.net/'#需要编码的字符
print(urlencode(encodestr))#如需多次编码循环嵌套即可,例如编码两次urlencode(urlencode(encodestr))
Hex编码
- http://ctf.ssleye.com/hex.html
- http://string-functions.com/hex-string.aspx
- https://www.bejson.com/convert/ox2str/
- https://www.sojson.com/hexadecimal.html
- https://zixuephp.net/tool-str-hex.html
- https://www.online-toolz.com/tools/text-hex-convertor.php
字符串&十六进制转换脚本如下:
def str2hex(string):
resstr = ''
for char in string:
hexstr = hex(int(ord(char)))[2:]
resstr += hexstr
print('[+]Text To Hex: {}'.format(resstr))
def hex2str(string):
resstr = ''
for i in range(0,len(string),2):
strnum = int(string[i:i+2],16)
if strnum<128:
resstr += chr(strnum)
else:
resstr += hex(strnum)
print('[+]Hex To Text: {}'.format(resstr))
if __name__ == '__main__':
string = "flag{mochu7_No_Girlfriend}"
#str2hex(string)#字符串转十六进制
#hex2str(string)#十六进制转字符
Unicode编码
摩尔斯电码
- http://www.zhongguosou.com/zonghe/moErSiCodeConverter.aspx
- https://www.bejson.com/enc/morse/
- https://www.qqxiuzi.cn/bianma/dianbao.php
- http://www.all-tool.cn/Tools/morse/
- http://www.jsons.cn/morse/
敲击码
- https://www.boxentriq.com/code-breaking/tap-code
- https://cryptii.com/pipes/tap-code
- http://ctf.ssleye.com/tapcode.html
AAencode
- http://www.atoolbox.net/Tool.php?Id=703(编码&解码)
- http://ctf.ssleye.com/aaencode.html(编码&解码)
- https://qqe2.com/ed/aaencode(编码)
- https://www.qtool.net/decode(解码)
JJencode
- http://www.atoolbox.net/Tool.php?Id=704
- http://hechaocheng.cn/tools/jjencode.html
- https://www.tooleyes.com/app/jjencode.html
注意:JJencode是不可逆的
XXencode
- http://web.chacuo.net/charsetxxencode
- http://www.atoolbox.net/Tool.php?Id=780
- http://ctf.ssleye.com/xxencode.html
UUencode
- http://web.chacuo.net/charsetuuencode
- http://www.atoolbox.net/Tool.php?Id=731
- https://www.qqxiuzi.cn/bianma/uuencode.php
- http://ctf.ssleye.com/uu.html
PPencode
Brainfuck
- http://ctf.ssleye.com/brain.html
- https://www.dcode.fr/langage-brainfuck
- https://www.splitbrain.org/services/ook
- https://tool.bugku.com/brainfuck/
- http://bf.doleczek.pl/(只能解码)
Ook!
- https://www.dcode.fr/langage-ook
- https://www.splitbrain.org/services/ook
- https://tool.bugku.com/brainfuck/
Ook!
和Short Ook!
看上去并不太相同,Short Ook!
是以!
、.
、?
组成
Jsfuck
Emoji编码
- http://www.atoolbox.net/Tool.php?Id=937
- https://github.com/pavelvodrazka/ctf-writeups/tree/master/hackyeaster2018/challenges/egg17/files/cracker(上面解不出来可以尝试这个)
BubbleBabble
*价值观编码
- http://www.atoolbox.net/Tool.php?Id=850
- http://ctf.ssleye.com/cvencode.html
- https://atool.vip/corevalue/
- https://sym233.github.io/core-values-encoder/
与佛论禅编码
Quoted-printable编码
- http://web.chacuo.net/charsetquotedprintable
- http://ctf.ssleye.com/quoted.html
- https://mothereff.in/quoted-printable
Escape编码
- https://www.w3xue.com/tools/escape/
- http://ctf.ssleye.com/escape.html
- https://tool.chinaz.com/tools/escape.aspx
Handycode
- http://kryptografie.de/kryptografie/chiffre/handy.htm
- http://ctf.ssleye.com/handycode.html
- https://gc.de/gc/handy/
Punycode
盲文编码
- https://www.qqxiuzi.cn/bianma/wenbenjiami.php?s=mangwen
- http://www.atoolbox.net/Tool.php?Id=837
- http://www.atoolbox.net/Tool.php?Id=839
- https://www.dcode.fr/braille-alphabet
音符编码
密码
MD5
AES
- http://tool.chacuo.net/cryptaes
- https://www.sojson.com/encrypt_aes.html
- http://ctf.ssleye.com/caes.html
- https://tool.lmeee.com/jiami/aes
- https://oktools.net/aes
DES
- http://tool.chacuo.net/cryptdes
- https://www.sojson.com/encrypt_des.html
- https://oktools.net/des
- http://ctf.ssleye.com/cdes.html
- https://tool.lmeee.com/jiami/des
3DES
RSA
- http://tool.chacuo.net/cryptrsapubkey(公钥)
- http://tool.chacuo.net/cryptrsaprikey(私钥)
- https://www.devglan.com/online-tools/rsa-encryption-decryption
栅栏密码
- https://www.qqxiuzi.cn/bianma/zhalanmima.php
- http://www.atoolbox.net/Tool.php?Id=777
- http://ctf.ssleye.com/railfence.html
Rot13密码
- https://rot13.com/(Rot1-25)
- https://www.qqxiuzi.cn/bianma/ROT5-13-18-47.php(ROT5/13/18/47)
- http://ctf.ssleye.com/rot13.html
- http://www.mxcz.net/tools/rot13.aspx
凯撒密码
- https://www.qqxiuzi.cn/bianma/kaisamima.php
- http://ctf.ssleye.com/caesar.html
- http://www.atoolbox.net/Tool.php?Id=778
def change(c,i):
num=ord(c)
if(num>=33 and num<=126):
num=33+(num+i-33)%(94)#126-33=93
return chr(num)
def kaisa_jiAmi(string,i):
string_new=''
for s in string:
string_new+=change(s,i)
print(string_new)
return string_new
#本题有种暴力解密感觉
def kaisa_jiEmi(string):
for i in range(0,94):
print('第'+str(i+1)+'种可能:',end=' ')
#区别在于 string 是该对象原本就是字符串类型, 而 str()则是将该对象转换成字符串类型。
kaisa_jiAmi(string,i)
#你要知道input输入的数据类型都是string
def main():
print('请输入操作,注意不是平常26种:')
choice=input('1:恺撒加密,2:凯撒穷举解密.请输入1或2:')
if choice=='1':
string=input('请输入需要加密字符串: ')
num=int(input('请输入需要加密的KEY: '))
kaisa_jiAmi(string,num)
elif choice=='2':
string=input('请输入需要解密字符串: ')
kaisa_jiEmi(string)
else:
print('输入错误,请重试')
main()
if __name__=='__main__':
main()
维吉尼亚密码
- https://www.qqxiuzi.cn/bianma/weijiniyamima.php
- http://ctf.ssleye.com/vigenere.html
- http://www.atoolbox.net/Tool.php?Id=856
- https://www.dcode.fr/vigenere-cipher
猪圈密码
- http://ctf.ssleye.com/pigpen.html
- http://www.metools.info/code/c90.html(解密)
- http://www.metools.info/code/c89.html(加密)
培根密码
关键字密码
- http://rumkin.com/tools/cipher/caesar-keyed.php(大小写精确)
- http://ctf.ssleye.com/keyword.html(大小写不精确)
- https://www.secretcodebreaker.com/keyword.html(大小写不精确)
希尔密码
A1z26密码
仿射密码
- http://www.atoolbox.net/Tool.php?Id=911
- http://ctf.ssleye.com/affine.html
- https://www.dcode.fr/affine-cipher
- https://www.tooleyes.com/app/affine_encode.html
自动密钥密码
- https://www.dcode.fr/autoclave-cipher
- http://www.atoolbox.net/Tool.php?Id=920
- http://ctf.ssleye.com/autokey.html
隐写&其他
Snow隐写
零宽度字符隐写
- https://yuanfux.github.io/zero-width-web/(范围更广)
- https://330k.github.io/misc_tools/unicode_steganography.html
- https://offdev.net/demos/zwsp-steg-js
OCR图片文字识别
二维码修补
Pyc反编译
歌曲识别
逆序&大小写转换
- https://www.qqxiuzi.cn/zh/daoxu/(逆序)
- http://www.atoolbox.net/Tool.php?Id=831(逆序)
- https://www.iamwawa.cn/daxiaoxie.html(大小写转换)
- https://bigtosmall.bmcx.com/(大小写转换)