Page cover

Binwalk v3

Deploy = Docker:

Nếu bạn chưa cài Docker thì hãy cài nó trước tiên:

sudo apt install docker.io

Download Binwalk:

sudo apt install git
git clone https://github.com/ReFirmLabs/binwalk
cd binwalk
sudo docker build -t binwalkv3 .

Sử dụng:

Tôi muốn mount 1 thư mục hiện tại (current directory) nó tại /analysis trên container và sử dụng image name như command:

sudo docker run -t -v.:/analysis binwalkv3 -Me firmware.bin

Lệnh trên sẽ mount các file từ thư mục hiện tại vào trong container tại path: /analysis và thực hiện Recursive Scan + Extract firmware firmware.bin

[Optional]

Đầu tiên cần cài đặt các Package bổ sung:

sudo apt install liblzo2-dev python3-pip python3-setuptools python3-wheel python3-dev

Cài đặt JFFS2 support cho binwalk

Màn hình như này là done:

Bạn có thể thử với firmware sau:

Ra như này là done nhé:

Cài đặt cramfsprogs support cho binwalk

Sau khi cài đặt thành công ta có thể sử dụng:

Last updated

Was this helpful?