|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
Offzip & Packzip log
C:\Offzip>offzip.exe -a config.bin . 0
Offset file unzipper 0.3.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
- open input file: config.bin
- enter in directory: .
- zip data to check: 32 bytes
- zip windowBits: 15
- seek offset: 0x00000000 (0)
+------------+-------------+-------------------------+
| hex_offset | blocks_dots | zip_size --> unzip_size |
+------------+-------------+-------------------------+
0x000000d8 .. 3600 --> 24214
- 1 valid zip blocks found
C:\Offzip>
注:第一行是命令,其中config.bin 是光猫导出的配置文件
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Offzip & Packzip usage
C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>
默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe
Offset file unzipper 0.3.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>
Options:
-s search for possible zip/gzip data in the input file, the scan starts
from the specified offset and finishs when something is found
the output field is ignored so you can use any name you want
-S as above but continues the scan (just like -a but without extraction)
-a unzip all the possible zip data found in the file. the output
directory where are unzipped the files is identified by <output>
all the output filenames contain the offset where they have been found
-A as above but without unzipping data, the output files will contain the
same original zipped data, just like a simple data dumper
-1 related to -a/-A, generates one unique output file instead of many
-m SIZE lets you to decide the length of the zip block to check if it is a
valid zip data. default is 32. use a higher value to reduce the number
of false positive or a smaller one (eg 16) to see small zip data too
-z NUM this option is needed to specify a windowBits value. If you don't find
zip data in a file (like a classical zip file) try to set it to -15
valid values go from -8 to -15 and from 8 to 15. Default is 15
-q quiet, all the verbose error messages will be suppressed
-r don't remove the invalid uncompressed files generated with -a and -A
Note: offset is a decimal number or a hex number if you add a 0x before it
examples: 1234 or 0x4d2
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe
PackZip 0.1.1
by Luigi Auriemma
e-mail: aluigi@autistici.org
web: aluigi.org
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>
Options:
-o OFF offset of the output file where storing the raw zipped data
-c recreate from scratch the output file if already exists
-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15
by default this tool "injects" the new compressed data in the output file if
already exists, useful for modifying archives of unknown format replacing only
the data which has been modified without touching the rest |
|