|
|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
0 l; N% e# S! S" d
Offzip & Packzip log( C# ?% x: j. g9 ~
4 N* `/ G$ }, B' v2 t3 w
* O" [; a. {( w! RC:\Offzip>offzip.exe -a config.bin . 0; b0 I8 P2 F" e3 i
2 C' d) f, y! q' c! r
Offset file unzipper 0.3.3* }2 D& l: J/ ^% N" C6 L) k0 q
by Luigi Auriemma9 \! Y& }/ x) C9 n; f0 J0 [
e-mail: aluigi@autistici.org$ o1 l5 H6 C, A' |( t
web: aluigi.org' j* C5 ~2 [. |! P; T, R
/ v, `! c- @* s. ^5 |) Y6 K
- open input file: config.bin
9 u1 d0 W+ U9 i) i2 A1 L/ @- enter in directory: .: [' R5 g5 x+ j b
- zip data to check: 32 bytes; y3 }; T$ @ b; n3 X
- zip windowBits: 15
- {* {( S) P- ^; L7 n- seek offset: 0x00000000 (0)
( ]4 ?/ F0 e j$ L0 S7 T$ N/ _3 G6 G" X
+------------+-------------+-------------------------+
" i. |5 t6 V, u7 H| hex_offset | blocks_dots | zip_size --> unzip_size |. s( E; D) ?7 T. f
+------------+-------------+-------------------------+
, o {) `. _8 t& t6 n 0x000000d8 .. 3600 --> 24214" ~. [- e9 O' C, I' w
2 O! M, o( [9 B. @! N3 _
9 i* n* _' F- p
- 1 valid zip blocks found
) w4 A+ c: S" S$ n: K: X8 k8 O
% n, w8 q1 B: |9 b! o0 FC:\Offzip>6 w. h; y' N! n! ^/ P
注:第一行是命令,其中config.bin 是光猫导出的配置文件
+ Z9 m+ E" t' ~3 }
% r5 g1 i+ J* w------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
: M Y- G$ L6 l( y) Z4 \, q6 h" JOffzip & Packzip usage4 i6 A# M4 C0 S% I3 n9 k3 [
2 z: {! a% X) e: p- ]3 Q h) uC:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>
# }4 \& m+ F P0 Q8 ]$ h- V7 M' _% _; e+ w
默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
4 C# m6 }/ d3 w7 b) Q4 CPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe" p J) M6 k8 o% g
% @5 J; O. y2 S0 d: S3 O* I
Offset file unzipper 0.3.3' ~" R! C3 ], P9 J
by Luigi Auriemma, J3 q* ^ g: q' ] R8 K& `' M" A# ]2 K
e-mail: aluigi@autistici.org" R( a3 w2 _# G
web: aluigi.org" V" d1 M2 t+ R* p3 x$ D
+ s. `8 y6 ^1 E7 R( K- C& A/ p; Z, V7 C( ]6 Z# v( s2 H( ^
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>+ r5 X. V& z; |: e4 O1 V+ c
1 z- Y8 E% f# P' S
Options:
: ^: ^4 W. W; \ {! ~+ B-s search for possible zip/gzip data in the input file, the scan starts
3 }: v/ K1 b) M: X/ m from the specified offset and finishs when something is found
: T1 F" \ }* r the output field is ignored so you can use any name you want/ y, }( v2 C; O R6 R& r
-S as above but continues the scan (just like -a but without extraction)% N) P: |% G2 m
-a unzip all the possible zip data found in the file. the output( C. U" f$ T5 p% f( z* U
directory where are unzipped the files is identified by <output>/ _ f& t4 @: x8 B* d
all the output filenames contain the offset where they have been found8 V' D! S% N, _$ {
-A as above but without unzipping data, the output files will contain the, x3 l% e: V+ v5 J5 H
same original zipped data, just like a simple data dumper
& ]% }1 m! Z4 B& k5 K1 ~-1 related to -a/-A, generates one unique output file instead of many
+ M+ `! g1 [% B-m SIZE lets you to decide the length of the zip block to check if it is a
- @' _* N# {$ r. v9 u. d. @' t valid zip data. default is 32. use a higher value to reduce the number' [0 ^9 P, a, @8 z! Y
of false positive or a smaller one (eg 16) to see small zip data too7 K% Z& f7 K+ V$ g' C8 J+ S% P
-z NUM this option is needed to specify a windowBits value. If you don't find: U8 f7 Z& H) U- ^
zip data in a file (like a classical zip file) try to set it to -15
9 X! L# [: U$ ]$ r9 v7 w: Y valid values go from -8 to -15 and from 8 to 15. Default is 15
! Z2 a: s I1 _" c6 o, U-q quiet, all the verbose error messages will be suppressed9 f. o: @/ w( X: X8 W( X# f$ S
-r don't remove the invalid uncompressed files generated with -a and -A6 i. o3 I/ T! C
9 D6 h' r$ C0 s1 H
Note: offset is a decimal number or a hex number if you add a 0x before it3 K" c6 p" M! [1 M
examples: 1234 or 0x4d2( R2 L, H3 {/ N5 u7 e2 ~: m0 ]
6 a5 b; F7 H2 L" y: J" Z
; {/ [& U1 I1 R; r, t |7 i
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe
3 p( }) d% g9 m( u" i9 O _" c4 l0 e2 I
PackZip 0.1.1
* m0 \* i3 ~+ w' eby Luigi Auriemma
! W' T4 Y; A/ C' Y/ Z7 de-mail: aluigi@autistici.org
d r% n6 W( R3 ~1 jweb: aluigi.org
# N8 z: T Q8 E4 x7 K' Q
8 M+ `* m, t3 d; r) L7 w- @! |: ]) c3 ^7 W/ x; t) I% \
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>
$ v% V+ a6 A' C$ |; z7 E7 A! h/ D+ K( J( t1 X
Options:. h$ Z3 y5 i }5 Y% Y/ E6 i4 t
-o OFF offset of the output file where storing the raw zipped data
, Q3 S. N& r" G: a+ C! i-c recreate from scratch the output file if already exists
( ^% J2 J k# ?1 p* q* l& A+ Q f6 u/ d-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15
6 m ~+ F" L2 }* {: O! B- s$ X/ @0 i( h# q
by default this tool "injects" the new compressed data in the output file if
: C) V2 M7 \2 u [already exists, useful for modifying archives of unknown format replacing only5 ]" }- n! D6 l1 @
the data which has been modified without touching the rest |
|