发布于2022年11月4日2年前 Decoder++:一款专用于渗透的多数据格式编码解码工具 Decoder++Decoder++是一款专用于浸透测验的多数据格局编码解码东西,该东西是一款可扩展的东西,专为浸透测验人员和软件开发人员设计,可以将方针数据编码/解码为各种不同的数据格局。功用介绍用户接口:图形化用户接口和指令行接口;预装置脚本和编码解码器:支撑的编码/解码格局:Base16、Base32、Base64、Binary、Gzip、Hex、Html、JWT、 HTTP64、Octal、Url、Url+、Zlib;哈希:Adler-32、Apache-Md5、CRC32、FreeBSD-NT、Keccak224、Keccak256、Keccak384、 Keccak512、LM、Md2、Md4、Md5、NT、PHPass、RipeMd160、Sha1、Sha3 224、Sha3 256、Sha3 384、Sha3 512、Sha224、Sha256、Sha348、Sha512、Sun Md5脚本:CSS-Minify、Caesar、Filter-Lines、Identify File Format、Identify Hash Format、 JS-Beautifier、JS-to-XML、HTML-Beautifier、Little/Big-Endian Transform、Reformat Text、 Remove Newlines、Remove Whitespaces、Search and Replace、Split and Rejoin、 Unescape/Escape String智能解码;插件体系;加载&存储当时会话;支撑的渠道:Windows、Linux、macOS;东西装置Decoder++支撑运用pip指令装置,装置指令如下:# Install using pip pip3 install decoder-plus-plus除此之外,广大研究人员可以直接将该项目源码直接从其GitHub主页上克隆至本地:git clone https://github.com/bytebutcher/decoder-plus-plus.git东西运用接下来,咱们将给咱们演示怎么运用Decoder++,并与其进行交互。图形化用户接口假如你更倾向于运用图形化用户接口来进行数据转化的话,Decoder++给咱们供给了两个选项,即主窗口形式(main-window-mode)和对话框形式(dialog-mode)。主窗口形式支撑页面标签,而对话框形式可以将转化后的数据内容回来至stdout以备后续剖析处理运用。假如你想要在类似BurpSuite这样的东西或其他脚本中来调用Decoder++的话,这种办法就十分方便了。指令行接口假如不想运用图形化界面,而且还想运用Decoder++所供给的更多数据转化办法的话,推荐咱们运用Decoder++的指令行接口:$ python3 dpp.py -e base64 -h sha1 "Hello, world!" e52d74c6d046c390345ae4343406b99587f2af0d指令行接口支撑咱们以一种更简单的办法来运用所有的可用编码解码方案。首先,咱们可以运用-l参数来查看支撑的编码解码格局:$ dpp -l base enc Codec Type ----- ---- base16 encoder base32 encoder base64 encoderDecoder++可以区别编码器、解码器、哈希器和脚本。跟图形化用户接口类似,指令行接口答应咱们运用一行指令来进行多种格局的编码解码:$ dpp "H4sIAAXmeVsC//NIzcnJ11Eozy/KSVEEAObG5usNAAAA" -d base64 -d gzip Hello, world!如需查看特定脚本的所有可用选项,可以运用help参数:$ dpp "Hello, world!" -s split_and_rejoin help Split & Rejoin ============== Name Value Group Required Description ---- ----- ----- -------- ----------- split_by_chars split_behaviour yes the chars used at which to split the text split_by_length 0 split_behaviour yes the length used at which to split the text rejoin_with_chars yes the chars used to join the splitted text如需装备特定脚本,咱们还需要以键值对的形式供给单独的选项:$ dpp "Hello, world!" -s search_and_replace search_term="Hello" replace_term="Hey" Hey, world!插件开发如需增加自定义的编码解码器,只需要将其复制至项目主目录下的$HOME/.config/dpp/plugins/文件夹中即可:from dpp.core.plugin.abstract_plugin import DecoderPlugin class Plugin(DecoderPlugin): """ Possible plugins are DecoderPlugin, EncoderPlugin, HasherPlugin or ScriptPlugin. See AbstractPlugin or it's implementations for more information. """ def __init__(self, context): plugin_name = "URL" plugin_author = "Your Name" # Python Libraries which are required to be able to execute the run method of this plugin. plugin_requirements = ["urllib"] super().__init__(plugin_name, plugin_author, plugin_requirements) def run(self, text): # Load the required libraries here ... import urllib.parse # Run your action ... return urllib.parse.unquote(text)项目地址Decoder++:【GitHub传送门】
创建帐户或登录后发表意见