|
|
楼主 |
发表于 2018-4-29 23:45:41
|山东|
显示全部楼层
- ^' _2 X7 r% J
Offzip & Packzip log% P5 y6 I7 S/ q# k: Q5 l9 C
0 ^% V* a* r3 G1 j: V
- ~5 B3 a0 e- G1 R$ p3 ?% |C:\Offzip>offzip.exe -a config.bin . 0
4 I' `. N! S* |: t2 s$ W- ^' o4 S% ~7 q
Offset file unzipper 0.3.3
% P1 G7 t- e; M; H8 X! m" E, R9 X- y$ Dby Luigi Auriemma: q9 L- K# P3 I: P9 u
e-mail: aluigi@autistici.org" a, o2 ~# Z% S2 Q" ^
web: aluigi.org8 |* U3 m! N, m8 }
( [. K3 X8 z2 U- open input file: config.bin% P% D1 B7 Q# M9 o; F" w6 P
- enter in directory: .* C. v0 s! f6 e* U. r
- zip data to check: 32 bytes
s$ e/ {' J4 I5 x( Q# m7 _- zip windowBits: 15
+ C2 G4 L- M7 r3 C- seek offset: 0x00000000 (0)
3 k- L. E$ x5 `' X0 o3 h" v$ s$ ?! m5 ~7 ?& S
+------------+-------------+-------------------------+
: O6 |! U7 V) k( H3 A| hex_offset | blocks_dots | zip_size --> unzip_size |2 Z7 u8 I6 P5 e, l
+------------+-------------+-------------------------+
8 w) S4 ^2 S- `+ T8 S. A Q 0x000000d8 .. 3600 --> 24214. n# R+ b6 o" a
6 T+ y8 T+ Q _1 Z7 h, ~
, J, e1 ?& l% p4 c- 1 valid zip blocks found
% B( q7 W8 \! `+ B# p$ m I8 J E F5 J, V- E$ W0 L$ `1 o
C:\Offzip>9 J1 @2 X1 s( S% y# f6 o
注:第一行是命令,其中config.bin 是光猫导出的配置文件- n/ X6 h" E6 K' e! } {
+ n" U0 o9 i; `" @( [8 e2 l) ^
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------5 h6 e& P- ]0 e' D+ `. k9 P6 [! R8 s
Offzip & Packzip usage
4 {0 w1 c$ g- F7 S6 f1 H- \
2 y: I* u6 Y- ]6 ?2 KC:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI>
$ f4 ~6 R- t# u; e
) F6 b* L0 Y2 h# Y默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。5 p$ T) \% w3 r, v5 R8 w
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe V, M9 v$ y( k
8 v9 k9 N5 f1 r8 \! R9 [( h6 }
Offset file unzipper 0.3.3: E9 b- a8 J8 Q+ f
by Luigi Auriemma7 b' |$ w: }% P8 S- r2 F
e-mail: aluigi@autistici.org+ w# ^0 W( e7 W G, H' R5 B N9 F
web: aluigi.org( N# G7 H. X: j$ N) w1 I' N
9 W: F6 N( e" F+ R
5 S9 a6 J6 H. {1 \8 V; C6 _3 sUsage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>
; m [/ w- {! y7 K: s0 h
6 D" |, }( y! y* @; m6 G* }Options:
4 i" {6 l1 H+ B, W X-s search for possible zip/gzip data in the input file, the scan starts
! z# P& R4 O/ ~ ?8 R from the specified offset and finishs when something is found
( W* B0 ^& v7 d the output field is ignored so you can use any name you want
2 @1 B& w3 @" M9 R2 C$ ]! T4 l-S as above but continues the scan (just like -a but without extraction)
3 \/ _& G0 C/ ~, W5 h-a unzip all the possible zip data found in the file. the output# }& Z$ y0 p+ z4 ^6 t: I
directory where are unzipped the files is identified by <output>
- k. Z0 F1 k0 W3 Y all the output filenames contain the offset where they have been found+ q$ I* i0 [% P! T
-A as above but without unzipping data, the output files will contain the
3 r6 p& }) N$ B. X5 I4 G/ n same original zipped data, just like a simple data dumper
, y# M/ \* O% D1 M-1 related to -a/-A, generates one unique output file instead of many
8 w; ]; R9 C v8 P' V-m SIZE lets you to decide the length of the zip block to check if it is a
8 E+ `- A. V$ J- E% ] valid zip data. default is 32. use a higher value to reduce the number9 I, j" D3 k3 I# K
of false positive or a smaller one (eg 16) to see small zip data too) ]# O6 O; l5 ~! D; ^6 a# D7 ]1 ~
-z NUM this option is needed to specify a windowBits value. If you don't find
: U3 s# k( E/ y: I zip data in a file (like a classical zip file) try to set it to -15
$ p. B9 r3 T+ V valid values go from -8 to -15 and from 8 to 15. Default is 15
/ t0 ]/ y' G0 c9 m% l+ a* b-q quiet, all the verbose error messages will be suppressed4 U5 D- N4 I% ]/ g ^2 W: j: G
-r don't remove the invalid uncompressed files generated with -a and -A6 ^7 v3 K( D9 a4 J# i8 A
; l* T E2 k, t: vNote: offset is a decimal number or a hex number if you add a 0x before it; r0 J7 Y. C" b& _0 u, e9 [6 Y4 i9 z
examples: 1234 or 0x4d2+ h2 O: F" ^5 D2 m
/ \9 w, \/ }0 J. T& r4 c' L9 y
2 f' l4 `( f8 p# BPS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe! b# }# u' f+ a( c! ]$ ~+ h+ _
4 }8 L$ Q" `8 k6 v% NPackZip 0.1.1
) C; X$ t8 m9 b- A& q6 Uby Luigi Auriemma$ n% \- I W2 y; q' G
e-mail: aluigi@autistici.org% G! i1 T1 j w8 ^+ A4 Y' k6 L
web: aluigi.org( l6 L/ ]7 D, Q' }8 b' M
* J7 W" u. D+ n G7 J
" I7 F, |, X/ y/ {; r( R
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>' n) }8 h2 n: Z, E: t8 [
# n4 e$ D% y- ?8 @+ N) F7 |Options:
1 M7 R3 _3 m$ Y4 u3 j0 i-o OFF offset of the output file where storing the raw zipped data* M0 E1 D- ?4 n
-c recreate from scratch the output file if already exists
) L6 o( L" x* L5 H$ }, @1 C-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15
; {# J; g A. ?& d4 X' m6 @) ^: q4 M* X
by default this tool "injects" the new compressed data in the output file if
' m }6 a$ V: H0 h) i( v$ qalready exists, useful for modifying archives of unknown format replacing only: h* C! V- ]+ k
the data which has been modified without touching the rest |
|