|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
, N* `! ?) P; u) pOffzip & Packzip log8 a. L |4 q m' O( w( \
- q/ d8 {8 ]9 f2 @! a. I
& |9 @$ }( R0 ~" j/ w4 G2 ?
C:\Offzip>offzip.exe -a config.bin . 0: K( z3 z0 o2 b9 X' ^8 C. L0 g" q! b
3 y' j5 f9 q0 d% c3 V: Q1 F
Offset file unzipper 0.3.38 G* j, q' m: e2 G: M+ I
by Luigi Auriemma( P: d) m2 k6 Y* a9 s" e
e-mail: aluigi@autistici.org! s2 z1 g$ W* }3 x
web: aluigi.org
$ J6 p2 S2 m$ s& Q$ e8 j
7 v5 L: o( n8 W1 n5 A- open input file: config.bin: _. C# i4 E" g+ D/ r% j: ?
- enter in directory: .
% k! F# z" V4 E9 K- zip data to check: 32 bytes
' X7 r' u1 h* Y6 n3 M- zip windowBits: 15" n, v$ ~& N" A* z4 a. ^: t
- seek offset: 0x00000000 (0), `" Z% F4 `# h. V8 |4 w( Z
: i9 Z: K0 \( c- n+------------+-------------+-------------------------+
( R' I. h- s# F0 O| hex_offset | blocks_dots | zip_size --> unzip_size |
/ J+ Z p" F- u- }) I+------------+-------------+-------------------------+$ Y |$ z/ c# h! H
0x000000d8 .. 3600 --> 242140 k- R1 H' V8 v& d6 z, K
: M" |$ Y5 F* ~2 D# c% s
6 C8 l- d; g+ ]3 U6 M3 V( b- 1 valid zip blocks found
& {/ S5 V& |1 ]* \9 \
9 R- S' Z1 p( ]% S( m4 gC:\Offzip>
8 i8 k) X' i. W0 i; } Y# ?注:第一行是命令,其中config.bin 是光猫导出的配置文件3 F8 X3 `- }- O4 `3 u+ c* q0 S- j
$ b5 G- x# l( M. X
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
( o$ P+ L, G! KOffzip & Packzip usage7 A7 H& k( O5 W0 `- s5 i: R
% q1 j; D: f' nC:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>
* u5 O7 |9 ^* {
3 ]8 Z6 t7 P4 e2 H8 a; Z5 J默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。, O: \+ Q( ~9 `# B
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe
% O! K7 ^# t7 C
S; `. I: r! v: J3 B. ROffset file unzipper 0.3.3
, x- C! e& N2 Oby Luigi Auriemma
. @4 |6 U, z3 S3 Q4 `e-mail: aluigi@autistici.org5 D# G+ A/ S5 i1 A" A- E g) q
web: aluigi.org7 @% k9 ~( |6 D" X: h, S) h
) N( f7 M* K( M4 X+ ?$ Z& Z' v" X5 M; p: ~
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>! t, O d+ L( q
0 O) J8 @8 {+ q* I0 Y* G
Options:
y" e$ g6 m w9 t* e$ S-s search for possible zip/gzip data in the input file, the scan starts
, a3 n. t# x9 u9 U3 t# s; V from the specified offset and finishs when something is found1 H. b& m, I: O
the output field is ignored so you can use any name you want
5 {& q2 x3 l: S# T, d# Q-S as above but continues the scan (just like -a but without extraction)
/ _. P- b1 m7 a* z8 U-a unzip all the possible zip data found in the file. the output
! \3 l! L7 W( ?4 j9 \! {: e: B directory where are unzipped the files is identified by <output>6 X: L1 v N1 D# R/ F; z
all the output filenames contain the offset where they have been found
! l0 o. ]. Z* V% u6 [$ o" Z3 Z4 q-A as above but without unzipping data, the output files will contain the3 O( h. y2 o* [5 b$ a+ t, `& M% N
same original zipped data, just like a simple data dumper
& }( S4 B" a" H-1 related to -a/-A, generates one unique output file instead of many
8 I! v z$ E2 o-m SIZE lets you to decide the length of the zip block to check if it is a7 L# b% l: Z# U* S
valid zip data. default is 32. use a higher value to reduce the number. i2 a ]! j4 O
of false positive or a smaller one (eg 16) to see small zip data too
6 Z2 h3 R) B0 t- I1 g9 ?4 X& A-z NUM this option is needed to specify a windowBits value. If you don't find7 c- M& Z9 n7 l& a# |4 L
zip data in a file (like a classical zip file) try to set it to -153 S3 l9 O% T8 b* k/ f/ J6 O" U3 S7 E% `
valid values go from -8 to -15 and from 8 to 15. Default is 15
% }, c) G+ x( B-q quiet, all the verbose error messages will be suppressed7 g. \& E6 }, G& S
-r don't remove the invalid uncompressed files generated with -a and -A
/ X* y% F$ B8 }9 G7 g* J! Q' F3 O ]9 @# {2 {8 a
Note: offset is a decimal number or a hex number if you add a 0x before it) y! E. I6 c6 ~$ J- J
examples: 1234 or 0x4d2
8 c$ Z, |2 s. z# G! P4 a' q; P3 u! C5 T5 Y' N- X4 B+ ~
( t: H6 M( S( u9 sPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe9 W% G5 {: p2 C; y3 T: t, Z
F# s8 k3 E; u' s
PackZip 0.1.1! x8 f! c8 z& @9 x& I
by Luigi Auriemma$ g3 x" W" ~- ?6 F2 b/ j5 K& G
e-mail: aluigi@autistici.org+ a z" U9 I- n5 \
web: aluigi.org$ s: y7 X- v& c6 ], v# S
0 ?% K- R6 v: D4 s- T1 T! @6 t( S5 C- f; D( |: X
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output># ]3 S- s2 z) G
# ^4 E/ @" a. p6 B0 [8 @* GOptions:8 K2 X9 l3 g+ m+ y! d. E# ~4 k! r; X
-o OFF offset of the output file where storing the raw zipped data- W9 j: ]5 o5 E. [8 |( q# r9 M6 v
-c recreate from scratch the output file if already exists) @* G& j7 S' H: j' {9 \4 T" Y/ S
-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15# l9 o: H/ K; u; W. f3 D, ?" z% b
: |" I9 n$ F! r/ M# iby default this tool "injects" the new compressed data in the output file if1 V. d* d; s! k0 R& H
already exists, useful for modifying archives of unknown format replacing only& v1 x1 r9 Y) v# H' y
the data which has been modified without touching the rest |
|