Skip to content

Commit

Permalink
fix dependencies + unpacking firmware only documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric Halbronn authored and Cedric Halbronn committed Aug 17, 2018
1 parent 1e05a35 commit 6026586
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ keep the right permissions.
## Requirements

* Python3 only
* apt install binwalk
* Heavily tested on Linux (but could work on OS X to)

You initially need to modify `asafw/env.sh` to match your environment. It will
Expand Down Expand Up @@ -86,10 +87,11 @@ asa924-k8.bin asa981-smp-k8.bin
If you only want to extract firmware, e.g. to debug them with
[asadbg](https://github.com/nccgroup/asadbg), you can use `-u` to unpack only
and `-k` to only keep the rootfs and delete other files extracted by binwalk
that you don't need:
that you don't need. Note that the output folder is the same as the input folder
as we rely on binwalk for this:

```
~/fw$ unpack_repack_bin.sh -i . -o . -k -u
~/fw$ unpack_repack_bin.sh -i . -k -u
[unpack_repack_bin] Directory of firmware detected: .
[unpack_repack_bin] extract_one: asa924-k8.bin
Expand Down

0 comments on commit 6026586

Please sign in to comment.