|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
+ ?7 q2 q- k* m2 P/ N4 j w; {
Offzip & Packzip log" v" U9 ]7 C: J( w Q8 ]
5 o2 f% m: b6 J* p d" H, E3 Q
* q! i. o5 P* I& y- F( z! }6 {( UC:\Offzip>offzip.exe -a config.bin . 02 v; P! K/ M) B/ U8 e! O
, r7 Q- V; T, G( h6 l O
Offset file unzipper 0.3.31 v+ p# P8 \) J% S9 g2 m- d
by Luigi Auriemma
6 }% ~1 M1 Y0 t5 Z* Te-mail: aluigi@autistici.org0 z- f2 K5 x) @6 ?( L
web: aluigi.org
& o- N- T* x9 W) s( ^# V
$ K R* y3 r+ I9 Y3 d9 p- open input file: config.bin
' k; o8 _# ^, r5 J% j0 k% W- enter in directory: .
( a) A1 S' n: i$ [& z/ r9 l5 G- zip data to check: 32 bytes
9 O6 f8 z2 [" D6 m9 D; V- zip windowBits: 15
/ U0 n9 k& k8 U O) P- seek offset: 0x00000000 (0)2 p1 [# T/ K+ O- e% d! c9 p
1 J' E0 Z- X" @ H% I( j
+------------+-------------+-------------------------+0 f. L1 w' o2 z* v! I- e5 ?
| hex_offset | blocks_dots | zip_size --> unzip_size |
& J+ C+ a2 l( b$ [6 X7 G8 ~+------------+-------------+-------------------------+* S% R2 {" z& P5 K2 @1 F( I1 \
0x000000d8 .. 3600 --> 24214
4 s. ~# C/ Y, a% w5 W0 {/ Z6 V& N
* }- s! |2 {. ?* O9 q3 |% M0 u1 T+ r& T- _$ A
- 1 valid zip blocks found K3 V( Y# Y' ^3 M0 G Q
6 p0 h6 ]9 e, j$ E2 JC:\Offzip>
3 A3 w: [! h+ c3 I+ \注:第一行是命令,其中config.bin 是光猫导出的配置文件0 _ C8 }/ w* ^
/ f5 J! b' j3 \
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
! ]; A' v( }2 r4 \& O9 }Offzip & Packzip usage
" ] K T; @& T' Q* y2 l& C: t$ {
1 }; K) O1 @" Z: QC:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>9 v! {* N$ P( {. ^* [% e5 I9 y
% f: C. b% a9 a# g8 i1 w# `默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
* C: G# {" v8 J" V5 lPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe
1 [7 |8 i* K0 m# L ^5 H7 V* ]( n$ R7 n
Offset file unzipper 0.3.3: J- Y/ K( u2 u& ^1 |
by Luigi Auriemma2 q, s9 m4 B- v+ B; j! h" r
e-mail: aluigi@autistici.org
8 W6 Z$ f9 k. q V, ~$ Uweb: aluigi.org
5 f# o7 M3 S" y) A
" ?( k4 c9 Q! M* C: _4 ]
4 _( ]# y s, k' H; S; RUsage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>& F3 y% |( T; k* X0 y( r8 ] g b
+ a% m" J. x1 T9 O/ XOptions:
S$ _) O, z& X& G# L9 s-s search for possible zip/gzip data in the input file, the scan starts3 Z" R* A8 S) K4 F, s! b" f) n0 Q. s8 k* n
from the specified offset and finishs when something is found
5 l T( _3 y7 ^) m7 _2 m the output field is ignored so you can use any name you want
6 `5 \& u# Q; h ?+ J& U. R4 g-S as above but continues the scan (just like -a but without extraction)
8 ^- y' D( j( u$ I5 [-a unzip all the possible zip data found in the file. the output# W$ B) }9 V5 r; o
directory where are unzipped the files is identified by <output>
) @4 a2 w' G0 v; A* T8 b6 l all the output filenames contain the offset where they have been found+ S& C% p2 k+ _1 Y. D( B
-A as above but without unzipping data, the output files will contain the
) x* ~ \; E1 \; S same original zipped data, just like a simple data dumper% G) i- s( G: T/ A
-1 related to -a/-A, generates one unique output file instead of many% t, u: n# q" z
-m SIZE lets you to decide the length of the zip block to check if it is a
) }% } G. L% I; V/ ~+ j valid zip data. default is 32. use a higher value to reduce the number
0 g3 S+ x+ @% m! p, o of false positive or a smaller one (eg 16) to see small zip data too
- q- ^+ d8 C2 e-z NUM this option is needed to specify a windowBits value. If you don't find
8 C, y) |5 h3 K! S9 P zip data in a file (like a classical zip file) try to set it to -158 _; q i4 c1 O2 e: D- `' {7 m
valid values go from -8 to -15 and from 8 to 15. Default is 15
: s3 b) }2 \" |. x) S* Q-q quiet, all the verbose error messages will be suppressed
% v x; ^1 o7 {/ N; S-r don't remove the invalid uncompressed files generated with -a and -A" P5 Z- S9 I' u: M2 l# D
' l8 f# d) V- J7 e) G- f9 ^/ P
Note: offset is a decimal number or a hex number if you add a 0x before it6 d- v Q1 {5 M, q: x+ V, N$ w
examples: 1234 or 0x4d2% t8 ?. Z' G" G8 W# r
& r! g* f9 M8 o8 G% |& v
' J" ^* V- ^2 W: u1 KPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe7 B- O; ` [- h7 z0 U! D
0 I; p4 b: B/ B3 F/ W
PackZip 0.1.1
; W6 n) M" i4 xby Luigi Auriemma
/ X3 T4 O: B0 [) }1 ]e-mail: aluigi@autistici.org
& c+ B2 U/ H/ n& L& b( G5 M' Eweb: aluigi.org
- v, F0 t5 v. a! ?1 |* R7 {0 M N: U" u/ ~: e1 K8 ?6 `- m
* G6 S6 f7 U* e! r0 Q3 ]Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>
# _/ f% U z" v5 e0 [; ~6 c2 E& c- g+ r i% O( \: G' g+ {! f* k
Options:2 c1 a/ q2 r' u) A) t% Y6 A
-o OFF offset of the output file where storing the raw zipped data
6 H# I+ J# K. D( I) T% w. ?% g-c recreate from scratch the output file if already exists
4 L/ a& o7 A1 H-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15
8 R& J* L7 |6 q' ?7 y3 v' {+ F+ p7 N! E# _, [" C7 K( u7 ^* M4 t) Q
by default this tool "injects" the new compressed data in the output file if# e5 m# Z" Z8 C" n. ]9 Z
already exists, useful for modifying archives of unknown format replacing only0 S- B4 @8 ~$ r
the data which has been modified without touching the rest |
|