zsteg 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +37 -5
- data/VERSION +1 -1
- data/lib/zsteg/checker/zlib.rb +1 -1
- data/zsteg.gemspec +5 -4
- metadata +15 -30
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 68101c2a1131eef8343b68bc8176274d0d8d0a3e
|
4
|
+
data.tar.gz: 090dabdfd430f5ef61dd2f70c84610842bdfffea
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fa1a8dd3e81074ce70c3019d08f27d33a31b245b0f2ca12b7f28c2824a08fac1c0740b3bdcdcd86f83e38888267c6f0524a590b3dc1511ea62702468a308a76e
|
7
|
+
data.tar.gz: c0f4e62456de78b373695f2cbd0f8ae4ea1e9c13f959a5554f0472eb7d35847c039331a5c5ea724fcbcfed1c80db09903f17c6428bb08bafd7ad0b224d8eb202
|
data/Gemfile.lock
CHANGED
@@ -1,18 +1,50 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
addressable (2.3.5)
|
5
|
+
builder (3.2.2)
|
4
6
|
diff-lcs (1.1.3)
|
5
|
-
|
7
|
+
faraday (0.8.8)
|
8
|
+
multipart-post (~> 1.2.0)
|
9
|
+
git (1.2.6)
|
10
|
+
github_api (0.10.1)
|
11
|
+
addressable
|
12
|
+
faraday (~> 0.8.1)
|
13
|
+
hashie (>= 1.2)
|
14
|
+
multi_json (~> 1.4)
|
15
|
+
nokogiri (~> 1.5.2)
|
16
|
+
oauth2
|
17
|
+
hashie (2.0.5)
|
18
|
+
highline (1.6.19)
|
19
|
+
httpauth (0.2.0)
|
6
20
|
iostruct (0.0.1)
|
7
|
-
jeweler (1.8.
|
21
|
+
jeweler (1.8.7)
|
22
|
+
builder
|
8
23
|
bundler (~> 1.0)
|
9
24
|
git (>= 1.2.5)
|
25
|
+
github_api (= 0.10.1)
|
26
|
+
highline (>= 1.6.15)
|
27
|
+
nokogiri (= 1.5.10)
|
10
28
|
rake
|
11
29
|
rdoc
|
12
|
-
json (1.
|
30
|
+
json (1.8.0)
|
31
|
+
jwt (0.1.8)
|
32
|
+
multi_json (>= 1.5)
|
33
|
+
multi_json (1.8.0)
|
34
|
+
multi_xml (0.5.5)
|
35
|
+
multipart-post (1.2.0)
|
36
|
+
nokogiri (1.5.10)
|
37
|
+
oauth2 (0.9.2)
|
38
|
+
faraday (~> 0.8)
|
39
|
+
httpauth (~> 0.2)
|
40
|
+
jwt (~> 0.1.4)
|
41
|
+
multi_json (~> 1.0)
|
42
|
+
multi_xml (~> 0.5)
|
43
|
+
rack (~> 1.2)
|
44
|
+
rack (1.5.2)
|
13
45
|
rainbow (1.1.4)
|
14
|
-
rake (10.0
|
15
|
-
rdoc (
|
46
|
+
rake (10.1.0)
|
47
|
+
rdoc (4.0.1)
|
16
48
|
json (~> 1.4)
|
17
49
|
rspec (2.12.0)
|
18
50
|
rspec-core (~> 2.12.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/zsteg/checker/zlib.rb
CHANGED
@@ -21,7 +21,7 @@ module ZSteg
|
|
21
21
|
# http://blog.w3challs.com/index.php?post/2012/03/25/NDH2k12-Prequals-We-are-looking-for-a-real-hacker-Wallpaper-image
|
22
22
|
# http://blog.w3challs.com/public/ndh2k12_prequalls/sp113.bmp
|
23
23
|
def self.check_data data
|
24
|
-
return unless idx = data.index(/\x78[\x9c\xda\x01]/)
|
24
|
+
return unless idx = data.index(/\x78[\x9c\xda\x01]/n)
|
25
25
|
|
26
26
|
zi = ::Zlib::Inflate.new
|
27
27
|
x = zi.inflate data[idx..-1]
|
data/zsteg.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: zsteg 0.1.1 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "zsteg"
|
8
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.1"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Andrey \"Zed\" Zaikin"]
|
12
|
-
s.date = "2013-
|
13
|
+
s.date = "2013-09-20"
|
13
14
|
s.email = "zed.0xff@gmail.com"
|
14
15
|
s.executables = ["zsteg", "zsteg-mask", "zsteg-reflow"]
|
15
16
|
s.extra_rdoc_files = [
|
@@ -102,11 +103,11 @@ Gem::Specification.new do |s|
|
|
102
103
|
s.homepage = "http://github.com/zed-0xff/zsteg"
|
103
104
|
s.licenses = ["MIT"]
|
104
105
|
s.require_paths = ["lib"]
|
105
|
-
s.rubygems_version = "1.
|
106
|
+
s.rubygems_version = "2.1.4"
|
106
107
|
s.summary = "Detect stegano-hidden data in PNG & BMP files."
|
107
108
|
|
108
109
|
if s.respond_to? :specification_version then
|
109
|
-
s.specification_version =
|
110
|
+
s.specification_version = 4
|
110
111
|
|
111
112
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
112
113
|
s.add_runtime_dependency(%q<zpng>, [">= 0.2.3"])
|
metadata
CHANGED
@@ -1,84 +1,74 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zsteg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andrey "Zed" Zaikin
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: zpng
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.2.3
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.2.3
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: iostruct
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 2.8.0
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 2.8.0
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: bundler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 1.0.0
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 1.0.0
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: jeweler
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -186,29 +175,25 @@ files:
|
|
186
175
|
homepage: http://github.com/zed-0xff/zsteg
|
187
176
|
licenses:
|
188
177
|
- MIT
|
178
|
+
metadata: {}
|
189
179
|
post_install_message:
|
190
180
|
rdoc_options: []
|
191
181
|
require_paths:
|
192
182
|
- lib
|
193
183
|
required_ruby_version: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
184
|
requirements:
|
196
|
-
- -
|
185
|
+
- - '>='
|
197
186
|
- !ruby/object:Gem::Version
|
198
187
|
version: '0'
|
199
|
-
segments:
|
200
|
-
- 0
|
201
|
-
hash: 3696249918220171286
|
202
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
|
-
none: false
|
204
189
|
requirements:
|
205
|
-
- -
|
190
|
+
- - '>='
|
206
191
|
- !ruby/object:Gem::Version
|
207
192
|
version: '0'
|
208
193
|
requirements: []
|
209
194
|
rubyforge_project:
|
210
|
-
rubygems_version: 1.
|
195
|
+
rubygems_version: 2.1.4
|
211
196
|
signing_key:
|
212
|
-
specification_version:
|
197
|
+
specification_version: 4
|
213
198
|
summary: Detect stegano-hidden data in PNG & BMP files.
|
214
199
|
test_files: []
|