|
|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
9 r/ Y) w2 X; }
Offzip & Packzip log9 \0 P9 D4 [8 K7 }
/ y0 |- _/ w" t+ w" S% d6 C. p: }- |; e- {& G: H3 K. `
C:\Offzip>offzip.exe -a config.bin . 04 ?. M9 O% t4 V1 x8 J! ~
5 R4 @2 R- J* {, e( jOffset file unzipper 0.3.36 i4 Z$ o5 T+ H4 g% M
by Luigi Auriemma( W1 ]1 [3 [; {# ~8 d* r
e-mail: aluigi@autistici.org
# a/ h, E7 H# q7 M) D$ ?web: aluigi.org# @1 F/ K9 |% E. \4 Q' X3 |
- r' [/ v! v1 A% ^2 R
- open input file: config.bin
3 j- X+ O7 b0 @$ t" j; y- enter in directory: .
+ L" Y9 ]+ N( a6 z* g; U: S- zip data to check: 32 bytes7 s1 c, u" B1 q9 g& J0 J' D3 m5 [
- zip windowBits: 155 ~ G1 `# y, C' I3 S" k D3 h
- seek offset: 0x00000000 (0); v" h% I# j% L& E/ J6 J
/ p% o. H _% C
+------------+-------------+-------------------------+' r( ]( }# \7 r" C: I6 ]0 M
| hex_offset | blocks_dots | zip_size --> unzip_size |
% ?# s$ [# E( W+ o3 y# p2 Y$ X: ^5 {+------------+-------------+-------------------------+
; f/ S! F! J7 D. G% S+ ? 0x000000d8 .. 3600 --> 24214* O6 k4 i S/ ^
5 w% l. |2 i) H- _" h; [6 S1 q
$ R, i% a. \$ _+ w6 I6 E; \7 Q- 1 valid zip blocks found
( `! c0 n7 K. C4 F$ t# B. K" P! h$ S. p
C:\Offzip>
* L4 y) u, a; ~注:第一行是命令,其中config.bin 是光猫导出的配置文件
8 Y* Z. i" G# V, ~' [, B* O- ^+ @* e* l) C* o1 x: [
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------5 r# c, N9 J% O7 @0 _. [0 `9 P" Q0 x
Offzip & Packzip usage
, D7 \1 x9 L# p$ K2 n4 W- P4 A2 G. { [ q
C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>: O5 Z( m; k# E6 \
' r6 f8 Y! N' M8 B, X/ t
默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。
h. j% r5 s2 F, O, X5 u; ^PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe
8 q" Y( W7 H# U# o; _* c
; P# i' C; T' {& @Offset file unzipper 0.3.30 c" h# v3 |$ ]0 r& ]
by Luigi Auriemma; p6 G2 P5 H; ~( n) a) K) H
e-mail: aluigi@autistici.org6 p. }5 ^6 u: M
web: aluigi.org
9 j1 s' V1 L: a4 R* O8 h. f7 F* k3 A* p3 i$ z8 J* w) A! L
# k8 R* D& I3 G- K, F! A/ m* T
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>
) ?" H4 [* j6 L4 a! ~
3 f5 v `6 w3 S" K- g) yOptions:5 d% w9 j* }% j" f
-s search for possible zip/gzip data in the input file, the scan starts! N4 f W' h" Y& }! r0 N
from the specified offset and finishs when something is found$ Q* g l7 z1 K! Z( P! u
the output field is ignored so you can use any name you want
: I+ c# k j$ Q4 G+ i-S as above but continues the scan (just like -a but without extraction)
. o2 _) ?0 V l+ `9 P# G-a unzip all the possible zip data found in the file. the output
2 g0 J" x$ c: E4 W8 O4 ]# g directory where are unzipped the files is identified by <output>
) U0 b. M; [8 O$ I. a2 g2 b all the output filenames contain the offset where they have been found
# ? O( x- ? t1 H-A as above but without unzipping data, the output files will contain the3 z; w9 m; [% M2 F8 ?4 T
same original zipped data, just like a simple data dumper" V2 T: b3 F7 Z4 _. t F
-1 related to -a/-A, generates one unique output file instead of many
* s/ |( w$ ~# K3 O- J9 q-m SIZE lets you to decide the length of the zip block to check if it is a. e4 w0 H% v9 C
valid zip data. default is 32. use a higher value to reduce the number6 [: [1 z( O* M, L5 G; y+ _, i
of false positive or a smaller one (eg 16) to see small zip data too1 H, W8 `+ \# [" \& t( X
-z NUM this option is needed to specify a windowBits value. If you don't find# J4 ]7 T6 y6 I. t8 e
zip data in a file (like a classical zip file) try to set it to -150 K" _/ a6 K; ^6 a- P1 a. V9 |
valid values go from -8 to -15 and from 8 to 15. Default is 15* [% y) }7 b1 |5 i' c0 X
-q quiet, all the verbose error messages will be suppressed
& S$ V, d0 ~: V4 h) R1 o-r don't remove the invalid uncompressed files generated with -a and -A
0 X- }9 Z* n4 N5 M8 m" }+ J
# [( g7 o% y' ^: d7 `2 aNote: offset is a decimal number or a hex number if you add a 0x before it
; ?( Q+ p% Q- l3 }" H! J ^' X examples: 1234 or 0x4d2
1 B7 b* f3 `# g1 |4 l4 f
$ j7 u/ [* k. I0 I9 o
5 v P0 z/ S4 JPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe
9 N) E- I; L# x) O) K+ |; j! N5 \# s* j# ?+ d/ d8 P9 V, z- g/ O
PackZip 0.1.1, g8 E+ M8 X* Y! x
by Luigi Auriemma3 w7 g3 _3 ^ J6 S( A# R- X
e-mail: aluigi@autistici.org
$ H- r) V% R$ l2 U: r, W7 Q" j; Dweb: aluigi.org% b# @5 `' }" u
( g. {: R+ c% g: Z& Z5 p a& K/ w6 N/ c- d/ l' I, }/ H
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>
+ A3 u. m! p- V9 C; d; |
3 B8 x9 t" j3 ZOptions:
, ?: E7 V; D- j+ e* f) B. m3 v-o OFF offset of the output file where storing the raw zipped data# B* W- Y) ^8 H R; D& S$ X
-c recreate from scratch the output file if already exists0 j+ z3 G; G6 g0 g z* P
-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15 @# E' @; B2 h
' G8 S# C, E; {+ X2 F
by default this tool "injects" the new compressed data in the output file if% k7 W5 X3 W" y) \) y9 W
already exists, useful for modifying archives of unknown format replacing only
6 [2 p0 U; a. Y/ a8 tthe data which has been modified without touching the rest |
|