Forrest logo
back to the rabin2 tool

rabin2:tldr:7b70e

rabin2: Display general information about a binary (architecture, type, endianness).
$ rabin2 -I ${path-to-binary}
try on your machine

The command "rabin2 -I ${path-to-binary}" is used to obtain information about a binary file using the rabin2 tool.

Here's a breakdown of the command components:

  • "rabin2" is the name of the executable command/tool. It is part of the r2 toolkit, a reverse engineering platform.
  • "-I" is the option/flag used with the rabin2 tool. In this case, it stands for "Inform" and instructs rabin2 to provide detailed information about the binary file.
  • ${path-to-binary} represents the path to the binary file you want to analyze. You need to replace it with the actual file path on your system, including the file name and extension.

When you run this command, rabin2 will read the specified binary file and display various information about it. This information may include the file format, architecture, entry point address, sections, symbols, imported functions, exported functions, and more.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the rabin2 tool