ht0ruial / tomatotools Goto Github PK
View Code? Open in Web Editor NEWTomatoTools 一款CTF杂项利器,支持36种常见编码和密码算法的加密和解密,31种密文的分析和识别,支持自动提取flag,自定义插件等。
License: GNU General Public License v2.0
TomatoTools 一款CTF杂项利器,支持36种常见编码和密码算法的加密和解密,31种密文的分析和识别,支持自动提取flag,自定义插件等。
License: GNU General Public License v2.0
XMZFSLDZ 的凯撒结果是
YNBGTMEB
AOCHUNFC
BPDIVOGD
CQEJWPHE
DRFKXQIF
ESGLYRJG
FTHMASKH
GUINBTLI
HVJOCUMJ
IWKPDVNK
JXLQEWOL
KYMRFXPM
LANSGYQN
MBOTHARO
NCPUIBSP
ODQVJCTQ
PERWKDUR
QFSXLEVS
RGTYMFWT
SHUANGXU
TIVBOHYV
UJWCPIAW
VKXDQJBX
WLYERKCY
XMAFSLDA
而其他软件计算结果是:
YNAGTMEA
ZOBHUNFB
APCIVOGC
BQDJWPHD
CREKXQIE
DSFLYRJF
ETGMZSKG
FUHNATLH
GVIOBUMI
HWJPCVNJ
IXKQDWOK
JYLREXPL
KZMSFYQM
LANTGZRN
MBOUHASO
NCPVIBTP
ODQWJCUQ
PERXKDVR
QFSYLEWS
RGTZMFXT
SHUANGYU
TIVBOHZV
UJWCPIAW
VKXDQJBX
WLYERKCY
python ./TomatoTools.py
出现以下报错:
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
牛逼
非常好的工具!终于不用手工一个一个跑解密脚本了,非常棒!
有一个小的点子,就是能不能加个指定分隔符的功能(对于一些编码算法(作者改了改版),有时候分隔符是自定义的,例如‘ ’、‘/’、'#'之类的)(虽然用notapad手工全局替换也行。。。但自动化总比手工强(笑))
简单的办法就是指定分隔符,然后写个正则把字符串替换下(例如将指定字符替换成空格),后面就是通用的了(替换完都是空格,那就处理空格就行了);复杂的办法就是直接把指定的字符带进算法里弄,那就麻烦些。。。
其实自己拉项目下来改py就行。。。但写这个issue其实是想麻烦作者大大帮助改改GUI版,怎么弄个按钮加个指定分隔符的窗口,这个我不会(苦笑)。。。
请问可以在linux里面运行吗?尝试了一下都失败了
你好,在使用过程中发现 摩斯解码 的bug,对于 / 分隔的密文解码错误,通过查看您的源码发现您的代码如下
Crypto_func.py 283行
def de_Morse(cryptostr):
Morse_dic = {
'-----': '0', '.----': '1', '..---': '2', '...--': '3', '....-': '4', '.....': '5',
'-....': '6', '--...': '7', '---..': '8', '----.': '9', '.-': 'a', '-...': 'b',
'-.-.': 'c', '-..': 'd', '.': 'e', '..-.': 'f', '--.': 'g', '....': 'h', '..': 'i',
'.---': 'j', '-.-': 'k', '.-..': 'l', '--': 'm', '-.': 'n', '---': 'o', '.--.': 'p',
'--.-': 'q', '.-.': 'r', '...': 's', '-': 't', '..-': 'u', '...-': 'v', '.--': 'w',
'-..-': 'x', '-.--': 'y', '--..': 'z', '--.....': '`', '------.': '~', '-.-.--': '!',
'.--.-.': '@', '-...--': '#', '.-...': '&', '...-..-': '$', '-..-.-': '%', '-.----.': '^',
'-.-.-.': ';', '-.--.': '(', '-.--.-': ')', '-....-': '-', '..--.-': '_', '-...-': '=',
'.-.-.': '+', '-.--.--': '[', '-.---.-': ']', '----.--': '{', '-----.-': '}',
'---...': ':', '.----.': "'", '.-..-.': '"', '--..--': ',', '.-.-.-': '.', '----..': '<',
'-----.': '>', '-..-.': '/', '..--..': '?'
}
if '/' in cryptostr:
cryptostr.replace('/', ' ') #这里的替换未生效
cc = []
for i in cryptostr.lower().split(' '):
cc.append(Morse_dic.get(i))
result = ''.join(cc).encode()
return result
其中需要修改的部分为:
if '/' in cryptostr:
cryptostr = cryptostr.replace('/', ' ') `
在linux下添加插件失败,调试发现是AddPlug.py的58行路径拼接用的是\,为了通用型,建议改成/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.