Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What tool is Decoder++?

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain what kind of tool Decoder++ is for you in detail. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Decoder++

Decoder++ is a multi-data format encoding and decoding tool dedicated to penetration testing. It is an extensible tool designed for penetration testers and software developers to encode / decode target data into a variety of different data formats.

Function introduction

User interface: graphical user interface and command line interface

Pre-install scripts and codecs:

Supported encoding / decoding formats: Base16, Base32, Base64, Binary, Gzip, Hex, Html, JWT, HTTP64, Octal, Url, Url+, Zlib

Hash: 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

Scripts: 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

Intelligent decoding

Plug-in system

Load & Save the current session

Supported platforms: Windows, Linux, macOS

Tool installation

Decoder++ supports installation using the pip command, as follows:

# Install using pippip3 install decoder-plus-plus

In addition, the majority of researchers can directly clone the source code of the project directly from their GitHub home page to local:

Using the git clone https://github.com/bytebutcher/decoder-plus-plus.git tool

Next, we'll show you how to use and interact with Decoder++,.

Graphical user interface

If you prefer to use a graphical user interface for data conversion, Decoder++ gives us two options, the main window mode (main-window-mode) and the dialog mode (dialog-mode).

The main window mode supports page tags, while the dialog mode can return the converted data content to stdout for subsequent analysis and processing. This is convenient if you want to call Decoder++ in a tool like BurpSuite or other scripts.

Command line interface

If you do not want to use a graphical interface and want to use more data conversion methods provided by Decoder++, it is recommended to use the command line interface of Decoder++:

$python3 dpp.py-e base64-h sha1 "Hello, world!" e52d74c6d046c390345ae4343406b99587f2af0d

The command line interface allows us to use all available codec schemes in a simpler way. First, we can use the-l parameter to view the supported codec formats:

$dpp-l base encCodec Type--base16 encoderbase32 encoderbase64 encoder

Decoder++ can distinguish between encoders, decoders, hashes, and scripts. Similar to the graphical user interface, the command line interface allows us to use one line of commands to encode and decode in multiple formats:

$dpp "H4sIAAXmeVsC//NIzcnJ11Eozy/KSVEEAObG5usNAAAA"-d base64-d gzipHello, world!

To see all the options available for a specific script, you can use the help parameter:

$dpp "Hello World! "- s split_and_rejoin helpSplit & Rejoin=Name Value Group Required Description---- split_by_chars split_behaviour yes the chars used at which to split the textsplit_by_length 0 split_behaviour yes the length used at which to split the textrejoin_with_chars Yes the chars used to join the splitted text

To configure a specific script, we also need to provide separate options in the form of key-value pairs:

$dpp "Hello, world!"-s search_and_replace search_term= "Hello" replace_term= "Hey" Hey, world! Plug-in development

To add a custom codec, simply copy it to the $HOME/.config/dpp/plugins/ folder under the home directory of the project:

From dpp.core.plugin.abstract_plugin import DecoderPluginclass 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... This is the end of the return urllib.parse.unquote (text) article on "what is Decoder++?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report