zsteg 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -7
- data/Gemfile.lock +2 -4
- data/README.md +72 -1
- data/README.md.tpl +23 -0
- data/Rakefile +5 -3
- data/TODO +5 -2
- data/VERSION +1 -1
- data/bin/zsteg-mask +7 -0
- data/lib/zsteg/checker/wbstego.rb +69 -14
- data/lib/zsteg/checker.rb +137 -34
- data/lib/zsteg/cli.rb +92 -35
- data/lib/zsteg/extractor/byte_extractor.rb +36 -21
- data/lib/zsteg/extractor/color_extractor.rb +68 -34
- data/lib/zsteg/extractor.rb +36 -1
- data/lib/zsteg/file_cmd.rb +64 -1
- data/lib/zsteg/mask_cli.rb +268 -0
- data/lib/zsteg/masker.rb +52 -0
- data/lib/zsteg/result.rb +27 -32
- data/lib/zsteg.rb +2 -0
- data/samples/hackquest/crypt.bmp +0 -0
- data/samples/hackquest/square.bmp +0 -0
- data/samples/wbstego/wbsteg_blowfish_pass_1.bmp +0 -0
- data/samples/wbstego/wbsteg_cast128_pass_1.bmp +0 -0
- data/samples/wbstego/wbsteg_enc_pass_pass.bmp +0 -0
- data/samples/wbstego/wbsteg_enc_pass_pass_even.bmp +0 -0
- data/samples/wbstego/wbsteg_mix_pass_1.bmp +0 -0
- data/samples/wbstego/wbsteg_mix_pass_1_even.bmp +0 -0
- data/samples/wbstego/wbsteg_mix_pass_foobar.bmp +0 -0
- data/samples/wbstego/wbsteg_mix_pass_pass.bmp +0 -0
- data/samples/wbstego/wbsteg_mixenc_pass_pass_even.bmp +0 -0
- data/samples/{wbsteg_noenc.bmp → wbstego/wbsteg_noenc.bmp} +0 -0
- data/samples/wbstego/wbsteg_noenc.png +0 -0
- data/samples/wbstego/wbsteg_noenc_.bmp +0 -0
- data/samples/{wbsteg_noenc_17.bmp → wbstego/wbsteg_noenc_17.bmp} +0 -0
- data/samples/wbstego/wbsteg_noenc__.bmp +0 -0
- data/samples/{wbsteg_noenc_even.bmp → wbstego/wbsteg_noenc_even.bmp} +0 -0
- data/samples/wbstego/wbsteg_noenc_even2.bmp +0 -0
- data/samples/{wbsteg_noenc_even_17.bmp → wbstego/wbsteg_noenc_even_17.bmp} +0 -0
- data/samples/wbstego/wbsteg_noenc_even_17_.bmp +0 -0
- data/samples/wbstego/wbsteg_noenc_ext_ABC.bmp +0 -0
- data/samples/wbstego/wbsteg_rijndael_pass_1.bmp +0 -0
- data/samples/wbstego/wbsteg_rijndael_pass_pass.bmp +0 -0
- data/samples/wbstego/wbsteg_rijndael_pass_pass_even.bmp +0 -0
- data/samples/wbstego/wbsteg_twofish_pass_1.bmp +0 -0
- data/samples/wechall/5ZMGcCLxpcpsru03.g00000010.png +0 -0
- data/samples/wechall/5ZMGcCLxpcpsru03.png +0 -0
- data/samples/wechall/stegano1.bmp +0 -0
- data/spec/checker_spec.rb +47 -0
- data/spec/easybmp_spec.rb +9 -0
- data/spec/hackquest_spec.rb +18 -0
- data/spec/mask_spec.rb +14 -0
- data/spec/polictf2012_spec.rb +48 -0
- data/spec/prime_spec.rb +9 -0
- data/spec/r3g2b3_spec.rb +9 -0
- data/spec/spec_helper.rb +21 -4
- data/spec/wbstego_spec.rb +21 -3
- data/spec/wechall_spec.rb +26 -0
- data/tmp/.keep +0 -0
- data/zsteg.gemspec +121 -0
- metadata +47 -43
- data/samples/06_enc.png +0 -0
- data/samples/Code.png +0 -0
- data/samples/README +0 -4
- data/samples/camouflage-password.png +0 -0
- data/samples/camouflage.png +0 -0
- data/samples/cats.png +0 -0
- data/samples/flower.png +0 -0
- data/samples/flower_rgb1.png +0 -0
- data/samples/flower_rgb2.png +0 -0
- data/samples/flower_rgb3.png +0 -0
- data/samples/flower_rgb4.png +0 -0
- data/samples/flower_rgb5.png +0 -0
- data/samples/flower_rgb6.png +0 -0
- data/samples/montenach-enc.png +0 -0
- data/samples/ndh2k12_sp113.bmp.7z +0 -0
- data/samples/openstego_q2.png +0 -0
- data/samples/openstego_send.png +0 -0
- data/samples/stg300.png +0 -0
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: zsteg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
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-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
prerelease: false
|
@@ -19,29 +19,13 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.2.
|
22
|
+
version: 0.2.2
|
23
23
|
none: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ! '>='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.2.
|
29
|
-
none: false
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
prerelease: false
|
32
|
-
type: :runtime
|
33
|
-
name: awesome_print
|
34
|
-
requirement: !ruby/object:Gem::Requirement
|
35
|
-
requirements:
|
36
|
-
- - ! '>='
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: '0'
|
39
|
-
none: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
requirements:
|
42
|
-
- - ! '>='
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '0'
|
28
|
+
version: 0.2.2
|
45
29
|
none: false
|
46
30
|
- !ruby/object:Gem::Dependency
|
47
31
|
prerelease: false
|
@@ -111,6 +95,7 @@ description:
|
|
111
95
|
email: zed.0xff@gmail.com
|
112
96
|
executables:
|
113
97
|
- zsteg
|
98
|
+
- zsteg-mask
|
114
99
|
extensions: []
|
115
100
|
extra_rdoc_files:
|
116
101
|
- README.md
|
@@ -125,6 +110,7 @@ files:
|
|
125
110
|
- TODO
|
126
111
|
- VERSION
|
127
112
|
- bin/zsteg
|
113
|
+
- bin/zsteg-mask
|
128
114
|
- cmp_bmp.rb
|
129
115
|
- cmp_png.rb
|
130
116
|
- lib/zsteg.rb
|
@@ -135,38 +121,56 @@ files:
|
|
135
121
|
- lib/zsteg/extractor/byte_extractor.rb
|
136
122
|
- lib/zsteg/extractor/color_extractor.rb
|
137
123
|
- lib/zsteg/file_cmd.rb
|
124
|
+
- lib/zsteg/mask_cli.rb
|
125
|
+
- lib/zsteg/masker.rb
|
138
126
|
- lib/zsteg/result.rb
|
139
127
|
- pngsteg.gemspec
|
140
|
-
- samples/
|
141
|
-
- samples/
|
142
|
-
- samples/
|
143
|
-
- samples/
|
144
|
-
- samples/
|
145
|
-
- samples/
|
146
|
-
- samples/
|
147
|
-
- samples/
|
148
|
-
- samples/
|
149
|
-
- samples/
|
150
|
-
- samples/
|
151
|
-
- samples/
|
152
|
-
- samples/
|
153
|
-
- samples/
|
154
|
-
- samples/
|
155
|
-
- samples/
|
156
|
-
- samples/
|
157
|
-
- samples/
|
158
|
-
- samples/
|
159
|
-
- samples/
|
160
|
-
- samples/
|
161
|
-
- samples/
|
128
|
+
- samples/hackquest/crypt.bmp
|
129
|
+
- samples/hackquest/square.bmp
|
130
|
+
- samples/wbstego/wbsteg_blowfish_pass_1.bmp
|
131
|
+
- samples/wbstego/wbsteg_cast128_pass_1.bmp
|
132
|
+
- samples/wbstego/wbsteg_enc_pass_pass.bmp
|
133
|
+
- samples/wbstego/wbsteg_enc_pass_pass_even.bmp
|
134
|
+
- samples/wbstego/wbsteg_mix_pass_1.bmp
|
135
|
+
- samples/wbstego/wbsteg_mix_pass_1_even.bmp
|
136
|
+
- samples/wbstego/wbsteg_mix_pass_foobar.bmp
|
137
|
+
- samples/wbstego/wbsteg_mix_pass_pass.bmp
|
138
|
+
- samples/wbstego/wbsteg_mixenc_pass_pass_even.bmp
|
139
|
+
- samples/wbstego/wbsteg_noenc.bmp
|
140
|
+
- samples/wbstego/wbsteg_noenc.png
|
141
|
+
- samples/wbstego/wbsteg_noenc_.bmp
|
142
|
+
- samples/wbstego/wbsteg_noenc_17.bmp
|
143
|
+
- samples/wbstego/wbsteg_noenc__.bmp
|
144
|
+
- samples/wbstego/wbsteg_noenc_even.bmp
|
145
|
+
- samples/wbstego/wbsteg_noenc_even2.bmp
|
146
|
+
- samples/wbstego/wbsteg_noenc_even_17.bmp
|
147
|
+
- samples/wbstego/wbsteg_noenc_even_17_.bmp
|
148
|
+
- samples/wbstego/wbsteg_noenc_ext_ABC.bmp
|
149
|
+
- samples/wbstego/wbsteg_rijndael_pass_1.bmp
|
150
|
+
- samples/wbstego/wbsteg_rijndael_pass_pass.bmp
|
151
|
+
- samples/wbstego/wbsteg_rijndael_pass_pass_even.bmp
|
152
|
+
- samples/wbstego/wbsteg_twofish_pass_1.bmp
|
153
|
+
- samples/wechall/5ZMGcCLxpcpsru03.g00000010.png
|
154
|
+
- samples/wechall/5ZMGcCLxpcpsru03.png
|
155
|
+
- samples/wechall/stegano1.bmp
|
162
156
|
- spec/camouflage_spec.rb
|
163
157
|
- spec/cats_spec.rb
|
158
|
+
- spec/checker_spec.rb
|
159
|
+
- spec/easybmp_spec.rb
|
164
160
|
- spec/flowers_spec.rb
|
161
|
+
- spec/hackquest_spec.rb
|
162
|
+
- spec/mask_spec.rb
|
165
163
|
- spec/openstego_spec.rb
|
164
|
+
- spec/polictf2012_spec.rb
|
165
|
+
- spec/prime_spec.rb
|
166
|
+
- spec/r3g2b3_spec.rb
|
166
167
|
- spec/simple_spec.rb
|
167
168
|
- spec/spec_helper.rb
|
168
169
|
- spec/wbstego_spec.rb
|
170
|
+
- spec/wechall_spec.rb
|
169
171
|
- spec/zlib_spec.rb
|
172
|
+
- tmp/.keep
|
173
|
+
- zsteg.gemspec
|
170
174
|
homepage: http://github.com/zed-0xff/zsteg
|
171
175
|
licenses:
|
172
176
|
- MIT
|
@@ -181,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
185
|
version: '0'
|
182
186
|
segments:
|
183
187
|
- 0
|
184
|
-
hash:
|
188
|
+
hash: -4446382556191797471
|
185
189
|
none: false
|
186
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
191
|
requirements:
|
data/samples/06_enc.png
DELETED
Binary file
|
data/samples/Code.png
DELETED
Binary file
|
data/samples/README
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
flower*.png - http://punkroy.drque.net/PNG_Steganography/Steganography3.php
|
2
|
-
cats.png - RuCTF2012 - steg400 - http://darkbyte.ru/2012/46/ructf-2012-quals-writeup-cats/
|
3
|
-
opensteg*.png - http://openstego.sourceforge.net/
|
4
|
-
Code.png - http://blog.secoverflow.org/gchq-can-you-crack-it-writeup/
|
Binary file
|
data/samples/camouflage.png
DELETED
Binary file
|
data/samples/cats.png
DELETED
Binary file
|
data/samples/flower.png
DELETED
Binary file
|
data/samples/flower_rgb1.png
DELETED
Binary file
|
data/samples/flower_rgb2.png
DELETED
Binary file
|
data/samples/flower_rgb3.png
DELETED
Binary file
|
data/samples/flower_rgb4.png
DELETED
Binary file
|
data/samples/flower_rgb5.png
DELETED
Binary file
|
data/samples/flower_rgb6.png
DELETED
Binary file
|
data/samples/montenach-enc.png
DELETED
Binary file
|
Binary file
|
data/samples/openstego_q2.png
DELETED
Binary file
|
data/samples/openstego_send.png
DELETED
Binary file
|
data/samples/stg300.png
DELETED
Binary file
|