Imported Upstream version 1.2.1
[packages/binwalk.git] / binwalk / config / extract.conf
index 06888e7..3de0aab 100644 (file)
@@ -7,20 +7,23 @@
 #################################################################################################################
 
 # Assumes these utilities are installed in $PATH.
-gzip compressed data:gz:gzip -d -f '%e'
-lzma compressed data:7z:7zr e -y '%e'
-bzip2 compressed data:bz2:bzip2 -d -f '%e'
-zip archive data:zip:jar xf '%e' # jar does a better job of unzipping than unzip does...
-posix tar archive:tar:tar xvf '%e'
+^gzip compressed data:gz:gzip -d -f '%e'
+^lzma compressed data:7z:7zr e -y '%e'
+^bzip2 compressed data:bz2:bzip2 -d -f '%e'
+^zip archive data:zip:jar xf '%e' # jar does a better job of unzipping than unzip does...
+^posix tar archive:tar:tar xvf '%e'
+^rar archive data:rar:unrar e '%e'
+^arj archive data.*comment header:arj:arj e '%e'
 
 # These assume the firmware-mod-kit is installed to /opt/firmware-mod-kit.
 # If not, change the file paths appropriately.
-squashfs filesystem:squashfs:/opt/firmware-mod-kit/trunk/unsquashfs_all.sh '%e'
-jffs2 filesystem:jffs2:/opt/firmware-mod-kit/trunk/src/jffs2/unjffs2 '%e' # requires root
-cpio archive:cpio:/opt/firmware-mod-kit/trunk/uncpio.sh '%e'
+^squashfs filesystem:squashfs:/opt/firmware-mod-kit/trunk/unsquashfs_all.sh '%e'
+^jffs2 filesystem:jffs2:/opt/firmware-mod-kit/trunk/src/jffs2/unjffs2 '%e' # requires root
+^ascii cpio archive:cpio:/opt/firmware-mod-kit/trunk/uncpio.sh '%e'
+^cramfs filesystem:cramfs:/opt/firmware-mod-kit/trunk/uncramfs_all.sh '%e'
+^bff volume entry:bff:/opt/firmware-mod-kit/trunk/src/bff/bffxtractor.py '%e'
 
 # Extract, but don't run anything
-ext2 filesystem:ext2
-romfs filesystem:romfs
-cramfs filesystem:cramfs
-private key:key
+^ext2 filesystem:ext2
+^romfs filesystem:romfs
+^private key:key