zsteg 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/TODO +6 -0
- data/VERSION +1 -1
- data/bin/zsteg +5 -4
- data/bin/zsteg-mask +5 -4
- data/bin/zsteg-reflow +8 -0
- data/lib/zsteg.rb +25 -0
- data/lib/zsteg/analyzer.rb +63 -0
- data/lib/zsteg/checker.rb +108 -38
- data/lib/zsteg/checker/scanline_checker.rb +82 -0
- data/lib/zsteg/checker/wbstego.rb +3 -0
- data/lib/zsteg/checker/zlib.rb +41 -0
- data/lib/zsteg/{cli.rb → cli/cli.rb} +63 -11
- data/lib/zsteg/{mask_cli.rb → cli/mask.rb} +6 -4
- data/lib/zsteg/cli/reflow.rb +241 -0
- data/lib/zsteg/extractor.rb +9 -9
- data/lib/zsteg/extractor/byte_extractor.rb +4 -4
- data/lib/zsteg/extractor/color_extractor.rb +10 -5
- data/lib/zsteg/result.rb +4 -9
- data/samples/newbiecontest/alph1-surprise.bmp.7z +0 -0
- data/spec/bin_spec.rb +10 -0
- data/spec/checker_spec.rb +3 -3
- data/spec/extradata_spec.rb +28 -0
- data/spec/mask_spec.rb +1 -1
- data/spec/newbiecontest_spec.rb +18 -0
- data/spec/spec_helper.rb +10 -5
- data/spec/wechall_spec.rb +1 -1
- data/writers/chunk_append.rb +48 -0
- data/writers/zlib_append.rb +64 -0
- data/zsteg.gemspec +19 -8
- metadata +41 -29
metadata
CHANGED
@@ -1,101 +1,102 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zsteg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Andrey "Zed" Zaikin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
prerelease: false
|
16
|
-
type: :runtime
|
17
15
|
name: zpng
|
18
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.2.
|
23
|
-
|
21
|
+
version: 0.2.3
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
25
26
|
requirements:
|
26
27
|
- - ! '>='
|
27
28
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.2.
|
29
|
-
none: false
|
29
|
+
version: 0.2.3
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
prerelease: false
|
32
|
-
type: :runtime
|
33
31
|
name: iostruct
|
34
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
35
34
|
requirements:
|
36
35
|
- - ! '>='
|
37
36
|
- !ruby/object:Gem::Version
|
38
37
|
version: '0'
|
39
|
-
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
41
42
|
requirements:
|
42
43
|
- - ! '>='
|
43
44
|
- !ruby/object:Gem::Version
|
44
45
|
version: '0'
|
45
|
-
none: false
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
-
prerelease: false
|
48
|
-
type: :development
|
49
47
|
name: rspec
|
50
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
51
50
|
requirements:
|
52
51
|
- - ! '>='
|
53
52
|
- !ruby/object:Gem::Version
|
54
53
|
version: 2.8.0
|
55
|
-
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
57
58
|
requirements:
|
58
59
|
- - ! '>='
|
59
60
|
- !ruby/object:Gem::Version
|
60
61
|
version: 2.8.0
|
61
|
-
none: false
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
prerelease: false
|
64
|
-
type: :development
|
65
63
|
name: bundler
|
66
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
67
66
|
requirements:
|
68
67
|
- - ! '>='
|
69
68
|
- !ruby/object:Gem::Version
|
70
69
|
version: 1.0.0
|
71
|
-
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
73
74
|
requirements:
|
74
75
|
- - ! '>='
|
75
76
|
- !ruby/object:Gem::Version
|
76
77
|
version: 1.0.0
|
77
|
-
none: false
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
|
-
prerelease: false
|
80
|
-
type: :development
|
81
79
|
name: jeweler
|
82
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
83
82
|
requirements:
|
84
83
|
- - ~>
|
85
84
|
- !ruby/object:Gem::Version
|
86
85
|
version: 1.8.4
|
87
|
-
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
89
90
|
requirements:
|
90
91
|
- - ~>
|
91
92
|
- !ruby/object:Gem::Version
|
92
93
|
version: 1.8.4
|
93
|
-
none: false
|
94
94
|
description:
|
95
95
|
email: zed.0xff@gmail.com
|
96
96
|
executables:
|
97
97
|
- zsteg
|
98
98
|
- zsteg-mask
|
99
|
+
- zsteg-reflow
|
99
100
|
extensions: []
|
100
101
|
extra_rdoc_files:
|
101
102
|
- README.md
|
@@ -111,22 +112,28 @@ files:
|
|
111
112
|
- VERSION
|
112
113
|
- bin/zsteg
|
113
114
|
- bin/zsteg-mask
|
115
|
+
- bin/zsteg-reflow
|
114
116
|
- cmp_bmp.rb
|
115
117
|
- cmp_png.rb
|
116
118
|
- lib/zsteg.rb
|
119
|
+
- lib/zsteg/analyzer.rb
|
117
120
|
- lib/zsteg/checker.rb
|
121
|
+
- lib/zsteg/checker/scanline_checker.rb
|
118
122
|
- lib/zsteg/checker/wbstego.rb
|
119
|
-
- lib/zsteg/
|
123
|
+
- lib/zsteg/checker/zlib.rb
|
124
|
+
- lib/zsteg/cli/cli.rb
|
125
|
+
- lib/zsteg/cli/mask.rb
|
126
|
+
- lib/zsteg/cli/reflow.rb
|
120
127
|
- lib/zsteg/extractor.rb
|
121
128
|
- lib/zsteg/extractor/byte_extractor.rb
|
122
129
|
- lib/zsteg/extractor/color_extractor.rb
|
123
130
|
- lib/zsteg/file_cmd.rb
|
124
|
-
- lib/zsteg/mask_cli.rb
|
125
131
|
- lib/zsteg/masker.rb
|
126
132
|
- lib/zsteg/result.rb
|
127
133
|
- pngsteg.gemspec
|
128
134
|
- samples/hackquest/crypt.bmp
|
129
135
|
- samples/hackquest/square.bmp
|
136
|
+
- samples/newbiecontest/alph1-surprise.bmp.7z
|
130
137
|
- samples/wbstego/wbsteg_blowfish_pass_1.bmp
|
131
138
|
- samples/wbstego/wbsteg_cast128_pass_1.bmp
|
132
139
|
- samples/wbstego/wbsteg_enc_pass_pass.bmp
|
@@ -153,13 +160,16 @@ files:
|
|
153
160
|
- samples/wechall/5ZMGcCLxpcpsru03.g00000010.png
|
154
161
|
- samples/wechall/5ZMGcCLxpcpsru03.png
|
155
162
|
- samples/wechall/stegano1.bmp
|
163
|
+
- spec/bin_spec.rb
|
156
164
|
- spec/camouflage_spec.rb
|
157
165
|
- spec/cats_spec.rb
|
158
166
|
- spec/checker_spec.rb
|
159
167
|
- spec/easybmp_spec.rb
|
168
|
+
- spec/extradata_spec.rb
|
160
169
|
- spec/flowers_spec.rb
|
161
170
|
- spec/hackquest_spec.rb
|
162
171
|
- spec/mask_spec.rb
|
172
|
+
- spec/newbiecontest_spec.rb
|
163
173
|
- spec/openstego_spec.rb
|
164
174
|
- spec/polictf2012_spec.rb
|
165
175
|
- spec/prime_spec.rb
|
@@ -170,6 +180,8 @@ files:
|
|
170
180
|
- spec/wechall_spec.rb
|
171
181
|
- spec/zlib_spec.rb
|
172
182
|
- tmp/.keep
|
183
|
+
- writers/chunk_append.rb
|
184
|
+
- writers/zlib_append.rb
|
173
185
|
- zsteg.gemspec
|
174
186
|
homepage: http://github.com/zed-0xff/zsteg
|
175
187
|
licenses:
|
@@ -179,20 +191,20 @@ rdoc_options: []
|
|
179
191
|
require_paths:
|
180
192
|
- lib
|
181
193
|
required_ruby_version: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
182
195
|
requirements:
|
183
196
|
- - ! '>='
|
184
197
|
- !ruby/object:Gem::Version
|
185
198
|
version: '0'
|
186
199
|
segments:
|
187
200
|
- 0
|
188
|
-
hash:
|
189
|
-
none: false
|
201
|
+
hash: 3696249918220171286
|
190
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
191
204
|
requirements:
|
192
205
|
- - ! '>='
|
193
206
|
- !ruby/object:Gem::Version
|
194
207
|
version: '0'
|
195
|
-
none: false
|
196
208
|
requirements: []
|
197
209
|
rubyforge_project:
|
198
210
|
rubygems_version: 1.8.24
|