|
|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
" `# I& f- J% a2 y% Q3 Q
Offzip & Packzip log
: q) M3 E; ]/ o2 s6 c6 ^8 {9 b2 Z* m
- c0 _6 J+ [5 m' i2 p% Q# c/ a1 m/ }* P. X+ y/ d* `( V( i
C:\Offzip>offzip.exe -a config.bin . 0% E5 T) N9 ?4 h# j4 i3 c
1 V9 A5 ?- _- Y
Offset file unzipper 0.3.3" K: \# s+ M( U, W( }. i0 H
by Luigi Auriemma9 u z% J/ c, g1 B7 a) F
e-mail: aluigi@autistici.org ^0 m+ o; K9 m7 L' b: b
web: aluigi.org
- j( \; S4 t/ v D! r7 F$ d
: f; K; E1 k6 u6 K9 g7 M- open input file: config.bin
5 r% N# p: K( Q" z \+ M/ X- enter in directory: ./ E2 J; _; S+ X) f
- zip data to check: 32 bytes
$ }6 w: K# M4 l7 M- zip windowBits: 15+ Z( g$ C8 @6 Q* R
- seek offset: 0x00000000 (0)- R2 \ ]* Q' V- S* O
6 _' P! c& f" X5 k( q+------------+-------------+-------------------------+7 M2 g$ [% i2 o1 _' a9 _3 V. A
| hex_offset | blocks_dots | zip_size --> unzip_size |
" q) S8 R9 n! ], E+------------+-------------+-------------------------+; W+ R5 \- ?+ i2 z4 G+ p; _, }
0x000000d8 .. 3600 --> 24214
/ V& y3 T, m2 y6 ? V
+ Q4 l2 C, |5 R: ?9 [/ _) d1 B. ~7 G! P2 z
- 1 valid zip blocks found
! w( i3 V( J7 Z8 \ Z8 r
# y4 M7 ]8 x0 bC:\Offzip>
8 H9 E% J* F0 }6 @注:第一行是命令,其中config.bin 是光猫导出的配置文件
# {5 U! a& w5 \( d' `+ \' P6 @- o
& B, j! F: m8 r------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
) }$ ^1 a [& ?6 z+ E/ O2 _Offzip & Packzip usage
( P, _9 s: ~ w/ U& ?8 q, W! \. n% o
/ t% S6 m. X! m5 ~3 i( jC:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>
4 p9 z0 g# j( \7 i. w: `
5 k8 ?' D1 X8 O4 |8 J/ w4 x默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。9 R5 A" Q$ }/ q/ b" M' k7 F
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe9 |8 _' \9 ]# M$ j- q- [0 g
- R+ j1 y1 z' [" A1 ^Offset file unzipper 0.3.3
* H5 M' X; k3 B! Z5 wby Luigi Auriemma4 a7 o' w/ O6 L( ?% r' z$ z
e-mail: aluigi@autistici.org
' n8 Y/ E3 u# Y* L& Zweb: aluigi.org* g3 e h* ^4 U1 g
, H: ^" ?- E( D4 ~, u7 b
" J7 a7 {4 K$ ?+ p5 L" JUsage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>) B) n. s& l% K- Y* v' k
" Q3 V/ T. c( B4 W2 Q: l2 ]
Options:
/ n( p) D# G# `-s search for possible zip/gzip data in the input file, the scan starts9 ?! \+ p( j6 A1 k) R9 |
from the specified offset and finishs when something is found8 e O+ y; z0 g8 t
the output field is ignored so you can use any name you want
% C2 ]& L* ?" Z4 I-S as above but continues the scan (just like -a but without extraction)
. ?+ z) }2 s3 d4 r7 b- u-a unzip all the possible zip data found in the file. the output# u* P- h0 R `$ }! s2 t7 j
directory where are unzipped the files is identified by <output>1 I+ h0 ^* j3 X& o
all the output filenames contain the offset where they have been found1 b8 M0 c1 A% g1 i$ p z, _
-A as above but without unzipping data, the output files will contain the
" l# u4 Q5 ?# \$ K. y1 r same original zipped data, just like a simple data dumper
# p# X8 C; a5 G6 @$ ]-1 related to -a/-A, generates one unique output file instead of many
9 R) c; K" W, N6 S-m SIZE lets you to decide the length of the zip block to check if it is a( V9 y4 E4 V$ y9 _, G( [! g
valid zip data. default is 32. use a higher value to reduce the number) ^- m U- |2 o% c- Q0 G
of false positive or a smaller one (eg 16) to see small zip data too; e. t! u1 I" z5 b8 u) M7 M- q
-z NUM this option is needed to specify a windowBits value. If you don't find, b! }4 p# i' i, r' M' ?
zip data in a file (like a classical zip file) try to set it to -15- I& {9 q2 ]- Q q- p5 v
valid values go from -8 to -15 and from 8 to 15. Default is 15' C/ ^; I' c0 m
-q quiet, all the verbose error messages will be suppressed
& \- T: O" q( t# U' {/ W2 g8 W-r don't remove the invalid uncompressed files generated with -a and -A
( Z* q* b( s9 C
% p, L7 J, o+ v3 gNote: offset is a decimal number or a hex number if you add a 0x before it# U0 |8 b. ?- F
examples: 1234 or 0x4d2* }1 D* A* @3 G. r
; q* Y$ o2 Y* t5 ]$ N; {3 Z1 k/ Z0 T6 M7 x2 Y# M
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe
' | y) m2 R2 E) p7 _+ {6 z5 J6 d* B. r) Q7 t8 C! U
PackZip 0.1.14 e5 k$ T% n: r" T0 u
by Luigi Auriemma: Y- A6 I( W1 L S8 x3 s
e-mail: aluigi@autistici.org
9 A* R. Q' ?6 Nweb: aluigi.org
8 J4 P( x* d2 J3 P" K0 A+ e8 h/ b# m$ j: R" ^* S4 w
/ C& a( e! [: a; e' f( m
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>( [4 T+ D; K4 [
$ {0 M" d; v m( V0 k0 D5 w3 J' O$ D
Options:" @, L$ o; M$ F% ~2 z# h, c8 Q" k
-o OFF offset of the output file where storing the raw zipped data
- G, g/ @7 \; I-c recreate from scratch the output file if already exists" B) w. m- C. M0 R/ b* @9 z6 T% m
-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15' ?3 p+ e4 i/ ]
; @/ \$ S% }: d. ~, ?. Y
by default this tool "injects" the new compressed data in the output file if/ ^& l$ i" J; l" c9 f, A5 h
already exists, useful for modifying archives of unknown format replacing only$ g+ X/ d' n4 i9 j( W) n
the data which has been modified without touching the rest |
|