|
|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
1 |) Z; d4 W, k4 X) ^" J( gOffzip & Packzip log
) k4 B* e' p) @1 |1 `9 i# f7 v
0 r; L3 l- A4 S/ r4 L% j
" a1 O$ L. K; c; X3 ~C:\Offzip>offzip.exe -a config.bin . 0: {# i* }% I3 ?3 s
, ^7 N" ^* V9 U3 F9 P; OOffset file unzipper 0.3.3. _, c* u6 S0 e. X* s
by Luigi Auriemma
2 X% D8 u' C) `e-mail: aluigi@autistici.org" q3 i3 [2 y% `8 s
web: aluigi.org
, H3 I& g( u" z% f: C, Y- b2 s; ~
9 ^+ `1 s! j! ?- open input file: config.bin$ A0 H. ~) K. g, M& O' x% K
- enter in directory: .$ }7 ]% I2 m9 {2 P7 g& L2 E
- zip data to check: 32 bytes4 s. t; \5 s3 J. s
- zip windowBits: 15
; ]# k, c, K( N3 D7 p0 e8 G- seek offset: 0x00000000 (0)
' m* E/ C# s1 ^4 h- g; F: I2 U5 T
+------------+-------------+-------------------------+
$ D9 u+ W7 ^) _ F4 C5 f4 \/ i, y3 A| hex_offset | blocks_dots | zip_size --> unzip_size |4 }& D6 y9 j! v) Y# i# L- o
+------------+-------------+-------------------------+
) I& X/ g7 E' p- s( W 0x000000d8 .. 3600 --> 24214: q" u8 r! ~* m! R5 N$ ?
$ P y- f0 \/ ?+ d. f
4 l. p. O1 Y& J! C" f. c2 F- 1 valid zip blocks found
& { ]- ]& t. Z. P
+ o3 D/ q# ?7 c# E8 W. E9 OC:\Offzip>
2 C& Z/ }- B1 [ H注:第一行是命令,其中config.bin 是光猫导出的配置文件
0 h! z- I C0 L- ~
# \, M* w& P2 k, |' C------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4 Q) c4 h: o# T \& O: COffzip & Packzip usage
) l+ T; V6 Y6 Z4 _$ g/ O+ n& k* k! D9 G6 H5 Z
C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>
* A) C: p* j1 T2 u
1 {$ Q. _ |& c9 J1 p2 a默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
% ^- A- }1 n0 ~" _PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe
( k% B" p0 T/ n+ f8 u* }3 U% }3 M6 |
Offset file unzipper 0.3.3
! V! L2 P: j8 V9 n6 {, xby Luigi Auriemma; u, Y. T) f; L- n
e-mail: aluigi@autistici.org" \/ O7 a9 ^# x. h6 _2 Z- C( V) a
web: aluigi.org
' H; f% A' b8 d5 W: q: A
" ^( ]: e( ?. a, w! i# w2 }
! o0 H, J, z0 o* P2 K8 n4 ]Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>
( L* s8 t! S$ @% w6 ]! W$ p0 ~9 M) D, S7 m
Options:+ ?+ p4 [$ e% N( X% ^5 P( t& \% c
-s search for possible zip/gzip data in the input file, the scan starts
* m5 T& f1 S8 K$ r* Q1 { D: ~ from the specified offset and finishs when something is found
- O K" z7 n! V3 M$ W& T+ X the output field is ignored so you can use any name you want
0 H9 }# O) }2 o6 O: L& h2 H-S as above but continues the scan (just like -a but without extraction)) Z9 J W# ^2 ^( C( D o
-a unzip all the possible zip data found in the file. the output7 W: O$ m. r! Z `% M
directory where are unzipped the files is identified by <output>
6 H7 V# a: p, Q: z1 y! @ all the output filenames contain the offset where they have been found
" J$ p- n6 _0 d" k& L- T-A as above but without unzipping data, the output files will contain the
4 d% q+ g, [- x$ t8 V1 R" x* \! v same original zipped data, just like a simple data dumper
: q5 y, S# J$ m-1 related to -a/-A, generates one unique output file instead of many
% D! p, @5 d/ K5 N$ z-m SIZE lets you to decide the length of the zip block to check if it is a
$ Z1 L3 c4 L: H5 g. w valid zip data. default is 32. use a higher value to reduce the number
: p: c8 U. ^! O/ i% x0 p of false positive or a smaller one (eg 16) to see small zip data too+ Q3 f: w$ C1 p, H8 G6 t: `
-z NUM this option is needed to specify a windowBits value. If you don't find
7 n- V1 N9 Q. r( [* ~) P y' i zip data in a file (like a classical zip file) try to set it to -15
$ ]( j2 W7 v2 C8 k valid values go from -8 to -15 and from 8 to 15. Default is 15. q$ `& c) p# S+ l
-q quiet, all the verbose error messages will be suppressed
$ ]. I# s; p- H/ z- x! W-r don't remove the invalid uncompressed files generated with -a and -A, y# Z7 F$ N$ ^- E; r2 b
+ F) U; p) O6 a( s4 t- pNote: offset is a decimal number or a hex number if you add a 0x before it0 B1 E9 b# l; ^
examples: 1234 or 0x4d2
; _6 X- Z4 B+ M7 S1 N# A1 s* G
" N/ R/ e5 ^8 g/ U2 ~+ @
+ J2 d; X4 Y& E4 L KPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe1 G+ Z! |& n g) W
Z0 ~# y, B9 tPackZip 0.1.1) ?* b* O5 }/ K
by Luigi Auriemma' Q+ Q/ n6 H5 }( L
e-mail: aluigi@autistici.org: m/ M6 p/ `' w) r3 m& `
web: aluigi.org0 M: F" k) U5 d& L
9 j+ g1 V7 [! Z& O& E9 p( l$ I
- h7 t$ F& c' ^* F/ I$ H( B6 O i% HUsage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>
1 u7 ^; N" g: ]- u m: x# V/ \. w* o
$ b2 z7 J* i4 H4 xOptions:/ E7 U! p6 T! T* m ]
-o OFF offset of the output file where storing the raw zipped data
: ]* d% U; _$ T+ a4 k-c recreate from scratch the output file if already exists
8 @7 Y% G% v% j-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15
& r; z7 R' ^! j+ Q8 i {6 w: j
5 L2 _ O' w. Q, L. hby default this tool "injects" the new compressed data in the output file if
% s; m9 _' g @9 g, i2 x; y$ b2 ^already exists, useful for modifying archives of unknown format replacing only
$ j6 c( w9 U% v4 ~the data which has been modified without touching the rest |
|