Forrest logo
tool overview
On this page you find all important commands for the CLI tool rabin2. If the command you are looking for is missing please ask our AI.

rabin2

Rabin2 is a command line tool that is part of the Radare2 framework, which is a powerful reverse engineering framework used for analyzing binary files. The primary purpose of rabin2 is to extract and display information from various file formats, including executables, shared libraries, object files, and more. It supports a wide range of architectures, including x86, ARM, MIPS, PowerPC, and many others, making it versatile for working with different binary formats. Rabin2 can provide valuable information about the input file, such as architecture details, entry points, and import/export symbols, which can help in understanding the binary's structure and functionality. It also includes capabilities to analyze and display strings, sections, relocations, and libraries used by the binary, providing comprehensive insight into its internal components. Rabin2 allows users to disassemble and decompile the binary, providing the ability to view and analyze the assembly instructions and the corresponding high-level code representation. Additionally, it offers features like hex-dumping, patching, and debugging capabilities, making it an indispensable tool for reverse engineers and security researchers. The user interface of rabin2 is command line-based, which allows for easy integration into scripts, automation, and workflows. Being part of the Radare2 framework, rabin2 benefits from the vast amount of functionality and community support, making it a preferred choice for binary analysis tasks. Overall, rabin2 is a versatile and powerful command line tool that provides comprehensive analysis and extraction capabilities for reverse engineering purposes.

List of commands for rabin2:

  • rabin2:tldr:042d4 rabin2: Display strings contained in the binary.
    $ rabin2 -z ${path-to-binary}
    try on your machine
    explain this command
  • rabin2:tldr:123fe rabin2: Display linked libraries.
    $ rabin2 -l ${path-to-binary}
    try on your machine
    explain this command
  • rabin2:tldr:2c621 rabin2: Display the output in JSON.
    $ rabin2 -j -I ${path-to-binary}
    try on your machine
    explain this command
  • rabin2:tldr:7b70e rabin2: Display general information about a binary (architecture, type, endianness).
    $ rabin2 -I ${path-to-binary}
    try on your machine
    explain this command
  • rabin2:tldr:9d3d6 rabin2: Display symbols imported from libraries.
    $ rabin2 -i ${path-to-binary}
    try on your machine
    explain this command
tool overview