|
|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
! U8 J, o" ^ }) _. {# VOffzip & Packzip log
; |: Y+ ]7 [0 w% H0 ?# [* Y* i( W; J& V8 |; E O
3 x a* Z g/ b; j9 L
C:\Offzip>offzip.exe -a config.bin . 01 U8 Y8 o7 y- W3 l& S# ?
" Z# ?& {; J) N) O7 ^8 L$ NOffset file unzipper 0.3.30 ` r+ k, Q7 i+ N3 y' t
by Luigi Auriemma
Q6 \3 `0 }/ b- z/ Re-mail: aluigi@autistici.org D, B2 E, O1 K( \% A6 V; e0 ^
web: aluigi.org
! X( G) m U$ a' v/ K0 A' ^9 b B: s! r8 k; r
- open input file: config.bin
/ z( w" O2 s$ f- enter in directory: .
7 d8 b" _# h! R3 f8 z- zip data to check: 32 bytes& r- l1 t1 R5 L( E, K" g' k' x6 k
- zip windowBits: 15: y4 I* y9 @& v! e) s
- seek offset: 0x00000000 (0)$ G5 Z) |( V: K( J
5 r0 g3 `! z; @/ s9 v, p
+------------+-------------+-------------------------+3 Y. p0 V' O$ Q$ {: ~
| hex_offset | blocks_dots | zip_size --> unzip_size |
3 e5 t9 s7 u0 b8 j# w3 i( P+------------+-------------+-------------------------+& b4 W( G! A. D) ^3 G2 e: g
0x000000d8 .. 3600 --> 24214
7 G4 U% W& S8 e' N3 Q& X- `: T" G
3 `3 a# @1 h7 Y l5 J, J
$ R" _; Q m' I7 L% {- 1 valid zip blocks found: L, o6 B: [2 z* z, q+ c* r G1 w
# Z- q8 z* v# e4 ZC:\Offzip>
8 ^9 c, V' r: Q( A0 R9 N' f注:第一行是命令,其中config.bin 是光猫导出的配置文件' p' K6 ~9 \# J* M+ e2 O; F* j
- D% I7 \: D: O- d' C; l------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------8 H- v' _. C4 T0 D* e- E/ R2 ^
Offzip & Packzip usage" Z o5 ^- N" H
1 X9 Z8 F! D/ N8 Y) Q' t3 `C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI># w& s* _: Q) t3 r. i
5 n; r3 J h/ q- i1 z6 `0 y
默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。 e8 r# D2 Q) r
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe( g5 C, }, B/ N! q! G, B
0 n/ n2 s. h0 B, j% ~. Z* M# ^; Y
Offset file unzipper 0.3.35 L' z1 b- h( j6 d' B
by Luigi Auriemma. J& T5 Z0 [+ ~+ C# W
e-mail: aluigi@autistici.org6 F& h& G: t0 p% z* t
web: aluigi.org* C8 b0 u1 {! G: W3 T' N8 {$ K
- P# Z A, |: I1 Y* S+ _! i! @1 x* k. J
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>( P& u/ m. V( c0 ] j
& ^& Y0 r6 w; s; q5 g6 [Options:; C) W+ H; r3 c& h, U9 U0 A
-s search for possible zip/gzip data in the input file, the scan starts
' m! f, j2 J' t' \# C) J- C from the specified offset and finishs when something is found
8 a- k" g# b% u r the output field is ignored so you can use any name you want
" ~0 ~/ R" e E( A0 E-S as above but continues the scan (just like -a but without extraction)2 Q# w+ ?. B" b; \* T, W
-a unzip all the possible zip data found in the file. the output8 ~( {3 g; b% G4 U- T; i
directory where are unzipped the files is identified by <output>
4 S4 f: x0 ~8 S4 G! Y' V% @. F4 o all the output filenames contain the offset where they have been found; \2 G1 p* h5 ^; r6 O
-A as above but without unzipping data, the output files will contain the
. j8 d! t) y1 ? same original zipped data, just like a simple data dumper
& l2 V/ j( Z# C2 R-1 related to -a/-A, generates one unique output file instead of many
5 p' t+ T' _7 v9 Z% k5 B$ z-m SIZE lets you to decide the length of the zip block to check if it is a
' C' z9 Q- K( g6 L. Q valid zip data. default is 32. use a higher value to reduce the number
% r/ G1 Z6 n% z/ T8 ?6 H/ f of false positive or a smaller one (eg 16) to see small zip data too
1 S3 S1 e" i- w1 q x. s-z NUM this option is needed to specify a windowBits value. If you don't find, V- ], V7 _$ w/ R# w' x" {9 Q( p$ p
zip data in a file (like a classical zip file) try to set it to -159 C# M) \% k2 ^% v% A
valid values go from -8 to -15 and from 8 to 15. Default is 15/ W: x( F. A' f! B. f3 Q& P! G
-q quiet, all the verbose error messages will be suppressed
+ n. Z1 T& h, i2 [-r don't remove the invalid uncompressed files generated with -a and -A5 a2 B- q. h. W8 g2 |
8 [$ Y, I! I& y [$ o' MNote: offset is a decimal number or a hex number if you add a 0x before it
9 J( E# M Z- Y5 ^+ ]) f examples: 1234 or 0x4d29 S# h4 x% D2 B
5 d3 R1 c3 A% R. D9 V( R& r
1 O; | X0 ?" X8 x# @: s4 }7 A9 BPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe/ v& B* ~5 R& `- Q" |) |1 m6 l1 P
M. d$ F6 ?: d8 Y9 ^/ a3 G. J: pPackZip 0.1.1
6 W$ T$ L& p3 W( X$ lby Luigi Auriemma
1 X6 R m# @8 {* N' Q3 Y- a/ he-mail: aluigi@autistici.org( ~ V( P% R) x) @
web: aluigi.org9 O3 c8 e7 }3 }# Y$ @$ [
* o7 C6 T" A# l& n I# J* z3 G% A7 b4 H9 h
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>; N6 u* ^6 m7 C2 f" [7 j
5 a: F1 J! D; B- y6 ~4 F+ O; t3 MOptions:
J4 L: Q) c$ x: j) A-o OFF offset of the output file where storing the raw zipped data
: E: N- ^) `' d-c recreate from scratch the output file if already exists
6 v: E" r( p1 Q+ W$ n( e-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15
. }' J- \0 u4 n* N' P$ \7 _8 M# M4 k
by default this tool "injects" the new compressed data in the output file if$ U% ]$ M& T; K' l* }; s$ i
already exists, useful for modifying archives of unknown format replacing only
$ Y& V( y+ s o7 O" @: `8 zthe data which has been modified without touching the rest |
|