wepawet 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/Rakefile +2 -0
- data/VERSION +1 -1
- data/lib/wepawet/wepawet.rb +1 -1
- data/wepawet.gemspec +4 -2
- metadata +27 -5
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
Binary file
|
data/Rakefile
CHANGED
@@ -22,6 +22,8 @@ Jeweler::Tasks.new do |gem|
|
|
22
22
|
gem.add_runtime_dependency "multipart-post", ">= 1.1.0"
|
23
23
|
gem.add_runtime_dependency "libxml-ruby", ">= 1.1.4"
|
24
24
|
gem.executables = ["wepawet"]
|
25
|
+
gem.signing_key = "#{File.dirname(__FILE__)}/../gem-private_key.pem"
|
26
|
+
gem.cert_chain = ["#{File.dirname(__FILE__)}/../gem-public_cert.pem"]
|
25
27
|
end
|
26
28
|
Jeweler::RubygemsDotOrgTasks.new
|
27
29
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/wepawet/wepawet.rb
CHANGED
@@ -28,7 +28,7 @@ module Wepawet
|
|
28
28
|
params['file'] = UploadIO.new(file, "application/octet-stream", File.basename(filename))
|
29
29
|
uri = URI.parse(@config['wepawetSubmitUrl'])
|
30
30
|
http = Net::HTTP.new(uri.host, uri.port)
|
31
|
-
http.use_ssl = (
|
31
|
+
http.use_ssl = (uri.scheme == 'https')
|
32
32
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
33
33
|
request = Net::HTTP::Post::Multipart.new(uri.path, params)
|
34
34
|
request.add_field("User-Agent", "Ruby/#{RUBY_VERSION} wepawet gem (https://github.com/chrislee35/wepawet)")
|
data/wepawet.gemspec
CHANGED
@@ -5,11 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{wepawet}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Chris Lee"]
|
12
|
-
s.
|
12
|
+
s.cert_chain = ["/Users/chris/Documents/projects/rubygems/wepawet/../gem-public_cert.pem"]
|
13
|
+
s.date = %q{2011-05-11}
|
13
14
|
s.description = %q{Wepawet is a service for detecting and analyzing web-based malware. It currently handles Flash, JavaScript, and PDF files. http://wepawet.cs.ucsb.edu}
|
14
15
|
s.email = %q{rubygems@chrislee.dhs.org}
|
15
16
|
s.executables = ["wepawet"]
|
@@ -36,6 +37,7 @@ Gem::Specification.new do |s|
|
|
36
37
|
s.licenses = ["MIT"]
|
37
38
|
s.require_paths = ["lib"]
|
38
39
|
s.rubygems_version = %q{1.7.2}
|
40
|
+
s.signing_key = %q{/Users/chris/Documents/projects/rubygems/wepawet/../gem-private_key.pem}
|
39
41
|
s.summary = %q{provides an interface to UCSB's wepawet malicious URL analysis project}
|
40
42
|
s.test_files = [
|
41
43
|
"test/helper.rb",
|
metadata
CHANGED
@@ -1,21 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wepawet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Lee
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
|
-
cert_chain:
|
16
|
+
cert_chain:
|
17
|
+
- |
|
18
|
+
-----BEGIN CERTIFICATE-----
|
19
|
+
MIIDYjCCAkqgAwIBAgIBADANBgkqhkiG9w0BAQUFADBXMREwDwYDVQQDDAhydWJ5
|
20
|
+
Z2VtczEYMBYGCgmSJomT8ixkARkWCGNocmlzbGVlMRMwEQYKCZImiZPyLGQBGRYD
|
21
|
+
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6pvr3qtZm8FidFZU91+rX/fwdyBU8RP
|
36
|
+
/5l8uLWXXNt1wEbtu4N1I66LwTK2iRrQZE8XtlgZGbxYDFUkiurq3OafF2YwRs6W
|
37
|
+
6yhklP75
|
38
|
+
-----END CERTIFICATE-----
|
17
39
|
|
18
|
-
date: 2011-
|
40
|
+
date: 2011-05-11 00:00:00 Z
|
19
41
|
dependencies:
|
20
42
|
- !ruby/object:Gem::Dependency
|
21
43
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
metadata.gz.sig
ADDED
Binary file
|