|
楼主 |
发表于 2018-4-29 23:45:41
|
显示全部楼层
# d8 m4 V: I, z5 g: w$ l/ w9 bOffzip & Packzip log
1 w& D& S, {& f1 Z1 R( U6 b8 j. D5 |: u: M
$ T1 A& V: k' u# C/ F
C:\Offzip>offzip.exe -a config.bin . 0
# |% C2 N: l) S5 J% H: q X
* [- y \8 r" v& q: p% J) P% t6 s pOffset file unzipper 0.3.3& ^: y# A @6 B
by Luigi Auriemma
4 f, M- m8 k2 Je-mail: aluigi@autistici.org
1 z x. L! E' ~; K/ jweb: aluigi.org* L2 L* Z0 x) f" e
, I3 V3 @& Y/ e3 m3 {& j ?2 O- open input file: config.bin
6 N% I9 [. x9 c# o0 u% J6 u: P# }- enter in directory: .+ U# |" G- S, k ?" ]% [
- zip data to check: 32 bytes* [* P* P; H B! ]/ X; `0 x) L
- zip windowBits: 15" J# F# R* F4 A! t: X
- seek offset: 0x00000000 (0)
- K6 t+ G- p9 i% t; u- j% }
+ c- H+ I. o v% \+------------+-------------+-------------------------+/ {1 z3 z& A9 W- d7 C& E
| hex_offset | blocks_dots | zip_size --> unzip_size |- c0 p# e/ E. N) h3 a8 H
+------------+-------------+-------------------------+& E2 L' E- X7 b+ T: y# _; C8 Q# Z
0x000000d8 .. 3600 --> 242142 J2 |; ^3 i. _, H
" M9 s8 ^ Z0 E% E* m) `( k
, ~5 v, z1 }( ^# Z+ m' B6 m- 1 valid zip blocks found
* k# X1 V" P, w3 ]' t' k& Y" B6 l) Y9 r' E* M5 m% c5 k% g
C:\Offzip>/ ^! W! @% p8 I# I& a1 i
注:第一行是命令,其中config.bin 是光猫导出的配置文件: n; }2 b5 X; N' x6 ]
4 t _6 I8 e! G z6 P
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
' d( c: B. W" W+ iOffzip & Packzip usage% l( T) Z$ I4 m: F9 }% O- E+ [8 v
2 ~8 D; C5 G) b2 c b2 F6 m& J
C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI># D6 z: F5 L/ I3 B* T3 H
; @2 L% N% o+ _" ^+ v
默认情况下,Windows PowerShell 不会从当前位置加载命令。如果信任此命令,请改为键入“.\offzip.exe”。有关详细信息,请参阅 "get-help about_Command_Precedence"。" ] d8 y4 p: u
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\offzip.exe* {& k6 W9 K6 |5 ~
& E5 V! ~7 @# m/ S. j4 `
Offset file unzipper 0.3.3
% E/ l" O, t% j( ~2 ^: oby Luigi Auriemma
; c+ R5 x$ q% j& g9 l. Ae-mail: aluigi@autistici.org& n! b) ?! w, Y! ~ B2 a$ n
web: aluigi.org8 E* {; J" O2 Q
' v% g4 o0 B* @8 a
$ U5 U* F4 x+ j4 t: X' d xUsage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\offzip.exe [options] <input> <output/dir> <offset>
: B5 ]9 L$ G( ^7 D! B2 g1 }- g9 r5 m! k$ c; ~4 @) v+ L
Options:
( |: M1 \7 b& k; \+ C0 X-s search for possible zip/gzip data in the input file, the scan starts2 b8 l3 e2 a* F U/ z8 N
from the specified offset and finishs when something is found
* C: n2 g9 {' y$ B/ S the output field is ignored so you can use any name you want
( |) h1 |4 e( E0 a-S as above but continues the scan (just like -a but without extraction)! h" @2 g3 n' x+ u- t: L
-a unzip all the possible zip data found in the file. the output0 \; D6 A& ]( I7 F" q- O, a6 q
directory where are unzipped the files is identified by <output>
/ h8 t/ a4 `+ T. O2 C, n all the output filenames contain the offset where they have been found/ M) G8 }. C4 T1 i7 H9 Y; Z2 `. S
-A as above but without unzipping data, the output files will contain the9 T$ x- T( w$ W7 e
same original zipped data, just like a simple data dumper- F* M' | T, b: o* C3 x
-1 related to -a/-A, generates one unique output file instead of many! V6 D; M/ E9 [
-m SIZE lets you to decide the length of the zip block to check if it is a! X* ^* u5 y) C2 a# f* O9 g
valid zip data. default is 32. use a higher value to reduce the number
3 o/ J* c# F" f, w. c! G( p of false positive or a smaller one (eg 16) to see small zip data too9 Z$ a+ i. ~1 s/ A" h A* p @7 [
-z NUM this option is needed to specify a windowBits value. If you don't find1 a+ ^( P. o" z& L
zip data in a file (like a classical zip file) try to set it to -15
, b) e8 V4 f2 D* {: F% n valid values go from -8 to -15 and from 8 to 15. Default is 15
5 G/ l4 G% D2 k) l! k; e4 f- k-q quiet, all the verbose error messages will be suppressed
" Z3 J' O8 E+ i3 t; R-r don't remove the invalid uncompressed files generated with -a and -A( H. n8 ^! o1 B& A. {6 [
0 F# o6 h- K2 B+ D
Note: offset is a decimal number or a hex number if you add a 0x before it
! \. a5 Z7 M! S) h2 c1 G examples: 1234 or 0x4d2
) p" d) m5 ^- ^ c! k) n7 x' S
' ^% C" m$ x8 m" ]8 z, o8 Y& N# [# i6 {
PS C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI> .\packzip.exe5 u: z) V: j' x" U s( W( X( H
* r' F" n$ O+ B
PackZip 0.1.1
! I# _( _" e Y% f G! k# mby Luigi Auriemma
; n8 g& T! Q5 ^" Le-mail: aluigi@autistici.org& r3 a6 _# j/ n4 u9 f: m/ E
web: aluigi.org
; K5 L( Q* e0 p( _$ Z7 K
, f* {0 L7 \5 O1 `- z; y- i* U3 y+ v9 h! o9 [
Usage: C:\Users\li\Desktop\Offzip & Packzip UI\Offzip & Packzip UI\packzip.exe [options] <input> <output>% n& v" w. F: i& F& X3 I$ d
/ L) p, [( x; R( l
Options:
6 x9 b* A& X' \/ n1 L+ j-o OFF offset of the output file where storing the raw zipped data: x3 p( m/ L9 q! Z
-c recreate from scratch the output file if already exists7 I( d; m$ b5 B1 \$ R/ v# T
-w BITS windowBits value (usually -15 to -8 and 8 to 15), default is 15 `( n) W0 [+ U8 ^
+ T+ w. |6 m* B5 q9 z3 Sby default this tool "injects" the new compressed data in the output file if
7 B2 l S. Z; g! ~: ~7 ~# ^already exists, useful for modifying archives of unknown format replacing only
+ n4 N9 o- o X J. k m- M' `the data which has been modified without touching the rest |
|