👨‍🏫 Tutorial Binwalk v3 written in rust | firmware reverse engineering

xiv3r

Fanatic
Binwalk v3 Installation for Linux

• Tested
  • Debian bullseye
  • Kali rolling
  • arm64 debian bullseye (termux 👉 proot-distro install debian)

## Step 1

Install the Rust compiler:

Code:
sudo apt update && sudo apt install curl cargo -y
Code:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. $HOME/.cargo/env

## Step 2

Download binwalk:

Code:
sudo apt install git -y && git clone https://github.com/ReFirmLabs/binwalk
## Step 3

Install dependencies:

Code:
sudo ./binwalk/dependencies/ubuntu.sh

[!TIP]
• To only install build dependencies, skip the above script and instead:

Code:
sudo apt install build-essential libfontconfig1-dev liblzma-dev

## Step 4

Compile Binwalk:

Code:
cd binwalk
cargo build --release
## Step 5

Copy the Binwalk to /bin:
Code:
sudo cp binwalk/target/release/binwalk /bin
## Testing

Code:
binwalk DIR-890L_AxFW110b07.bin
Screenshot_20241102_181850.webp
 

About this Thread

  • 0
    Replies
  • 275
    Views
  • 1
    Participants
Last reply from:
xiv3r

Online now

Members online
1,129
Guests online
1,624
Total visitors
2,753

Forum statistics

Threads
2,291,860
Posts
29,073,190
Members
1,210,093
Latest member
aggagagaga
Back
Top