[+] Initial extractor of different archive types via patools



==> Patool filesystem extractor

fwinfo.bin
info.json
boot.img
rootfs.img
sums.bin
sign.bin
patool: Testing /firmware ...
patool: running /usr/bin/tar --list -z --file /firmware
patool: ... tested ok.

[*] Valid compressed file detected - extraction process via patool started
patool: Extracting /firmware ...
patool: running /usr/bin/tar --extract -z --file /firmware --directory /logs/firmware/patool_extraction/
patool: ... /firmware extracted to `/logs/firmware/patool_extraction/'.

[*] Using the following firmware directory (/logs/firmware/patool_extraction/) as base directory:
 23494883      4 drwxr-xr-x   2 root     root         4096 Jul 22 15:42 /logs/firmware/patool_extraction/
 23494887   2048 -rw-r--r--   1 root     root      2097152 Jun 13 12:16 /logs/firmware/patool_extraction/boot.img
 23494890      4 -rw-r--r--   1 root     root          328 Jun 13 12:16 /logs/firmware/patool_extraction/sign.bin
 23494885      4 -rw-r--r--   1 root     root          672 Jun 13 12:16 /logs/firmware/patool_extraction/fwinfo.bin
 23494889      4 -rw-r--r--   1 root     root          256 Jun 13 12:16 /logs/firmware/patool_extraction/sums.bin
 23494886      4 -rw-r--r--   1 root     root          366 Jun 13 12:16 /logs/firmware/patool_extraction/info.json
 23494888  79120 -rw-r--r--   1 root     root     81015552 Jun 13 12:16 /logs/firmware/patool_extraction/rootfs.img

[*] Extracted 6 files and 1 directories from the firmware image.