falconz 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e76c6d1b9897e0c01e5a9dbfe8e717f1220b9e24e77fcde3efa4578dd51c1a94
4
- data.tar.gz: 8ba5eaf7e216f0c9010775382debfd11667d0415bfc7ee97d296f0d33ad1d67b
3
+ metadata.gz: 70bee5cbfcb32007fe9a56fa95bb9a9921c54d45c015d96d7e10acbfa9b6f705
4
+ data.tar.gz: 7b03ae60f5ec1bd495ffe19f7287fc03d92288cd3e60be1fc524b79d861f694a
5
5
  SHA512:
6
- metadata.gz: afcc9ffd3d7378575bef4ae4e01d61681e15f5744285a8183f8ad13ac2360549b5150c4d0ee7de5fb9e29392f91ce92ed486cad4fe7e01982a357a2a2727d78e
7
- data.tar.gz: e96d2a429e161a6b0b37292a9f18e0f07016fa25d9059c612e0187ac05b9292b688325dfb2058abecdc137ff2fff8e67a3c1005abf18e665a4a8e8b73e1a86ef
6
+ metadata.gz: 4ad1c44ce0c39d5216fa27d053500e098c4d85bc9d8553d5f9af0d702a56e17fc36c8c91480139355023fe789a6e89ecce580c0487cb7fb9821346c5207ed520
7
+ data.tar.gz: 962dd96307ef510396bbd7115d3d38fe7b884ed9d5ef3d3a2bd7fd27e55971e79569854dc1429db4254cf527f110aaaa7ae56eb03eb1084a4d4c17bd60a409f4
@@ -0,0 +1,12 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "10:00"
8
+ open-pull-requests-limit: 10
9
+ ignore:
10
+ - dependency-name: pry
11
+ versions:
12
+ - 0.14.0
data/Gemfile.lock CHANGED
@@ -1,45 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falconz (1.0.2)
5
- httparty (~> 0.16.2)
4
+ falconz (1.1.0)
5
+ httparty (>= 0.16.2, < 0.19.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  coderay (1.1.2)
11
11
  diff-lcs (1.3)
12
- httparty (0.16.2)
12
+ httparty (0.18.1)
13
+ mime-types (~> 3.0)
13
14
  multi_xml (>= 0.5.2)
14
- method_source (0.9.0)
15
+ method_source (1.0.0)
16
+ mime-types (3.4.1)
17
+ mime-types-data (~> 3.2015)
18
+ mime-types-data (3.2021.1115)
15
19
  multi_xml (0.6.0)
16
- pry (0.11.3)
17
- coderay (~> 1.1.0)
18
- method_source (~> 0.9.0)
19
- rake (10.5.0)
20
- rspec (3.7.0)
21
- rspec-core (~> 3.7.0)
22
- rspec-expectations (~> 3.7.0)
23
- rspec-mocks (~> 3.7.0)
24
- rspec-core (3.7.1)
25
- rspec-support (~> 3.7.0)
26
- rspec-expectations (3.7.0)
20
+ pry (0.13.1)
21
+ coderay (~> 1.1)
22
+ method_source (~> 1.0)
23
+ rake (13.0.6)
24
+ rspec (3.9.0)
25
+ rspec-core (~> 3.9.0)
26
+ rspec-expectations (~> 3.9.0)
27
+ rspec-mocks (~> 3.9.0)
28
+ rspec-core (3.9.0)
29
+ rspec-support (~> 3.9.0)
30
+ rspec-expectations (3.9.0)
27
31
  diff-lcs (>= 1.2.0, < 2.0)
28
- rspec-support (~> 3.7.0)
29
- rspec-mocks (3.7.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-mocks (3.9.0)
30
34
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.7.0)
32
- rspec-support (3.7.1)
35
+ rspec-support (~> 3.9.0)
36
+ rspec-support (3.9.0)
33
37
 
34
38
  PLATFORMS
35
39
  ruby
36
40
 
37
41
  DEPENDENCIES
38
- bundler (~> 1.16)
42
+ bundler (~> 2.0)
39
43
  falconz!
40
44
  pry
41
- rake (~> 10.0)
45
+ rake (~> 13.0)
42
46
  rspec (~> 3.0)
43
47
 
44
48
  BUNDLED WITH
45
- 1.16.1
49
+ 2.2.22
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  > Falcon Malware Sandbox APIv2 Connector
3
3
 
4
4
  <p align="center">
5
- <img alt="i like birds" src="falcon.jpg"/>
5
+ <img alt="i like birds" src="https://github.com/picatz/falconz/blob/master/falcon.jpg"/>
6
6
  <p>
7
7
 
8
8
  [Falcon Sandbox](https://www.hybrid-analysis.com/docs/api/v2) has a powerful and simple API that can be used to submit files/URLs for analysis, pull report data, but also perform advanced search queries. The API is open and free to the entire IT-security community.
data/falconz.gemspec CHANGED
@@ -14,6 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/picatz/falconz"
15
15
  spec.license = "MIT"
16
16
 
17
+ spec.required_ruby_version = '>= 2.0'
18
+
17
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
20
  f.match(%r{^(test|spec|features)/})
19
21
  end
@@ -21,10 +23,10 @@ Gem::Specification.new do |spec|
21
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
24
  spec.require_paths = ["lib"]
23
25
 
24
- spec.add_dependency "httparty", "~> 0.16.2"
26
+ spec.add_dependency "httparty", ">= 0.16.2", "< 0.19.0"
25
27
 
26
28
  spec.add_development_dependency "pry"
27
- spec.add_development_dependency "bundler", "~> 1.16"
28
- spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "bundler", "~> 2.0"
30
+ spec.add_development_dependency "rake", "~> 13.0"
29
31
  spec.add_development_dependency "rspec", "~> 3.0"
30
32
  end
@@ -17,7 +17,7 @@ module Falconz
17
17
  options = {}
18
18
  options[:hash] = string unless string.nil?
19
19
  raise "Requires a MD5, SHA1 or SHA256 hash" if options[:hash].nil?
20
- post_request("/search/hash", options)
20
+ post_request("/search/hash", **options)
21
21
  end
22
22
 
23
23
  # Get a summaries for any amount of given hashes.
@@ -42,7 +42,7 @@ module Falconz
42
42
  options = {}
43
43
  options[:hashes] = strings unless strings.nil? or strings.empty?
44
44
  raise "Requires MD5, SHA1 or SHA256 hashes" if options[:hashes].nil?
45
- post_request("/search/hashes", options)
45
+ post_request("/search/hashes", **options)
46
46
  end
47
47
 
48
48
  # Search the database using search terms.
@@ -1,3 +1,3 @@
1
1
  module Falconz
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falconz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent 'picat' Gruber
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-04 00:00:00.000000000 Z
11
+ date: 2021-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.16.2
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 0.19.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.16.2
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 0.19.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: pry
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +50,28 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '1.16'
53
+ version: '2.0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '1.16'
60
+ version: '2.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rake
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '10.0'
67
+ version: '13.0'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '10.0'
74
+ version: '13.0'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rspec
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -80,13 +86,14 @@ dependencies:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
88
  version: '3.0'
83
- description:
89
+ description:
84
90
  email:
85
91
  - kgruber1@emich.edu
86
92
  executables: []
87
93
  extensions: []
88
94
  extra_rdoc_files: []
89
95
  files:
96
+ - ".github/dependabot.yml"
90
97
  - ".gitignore"
91
98
  - ".rspec"
92
99
  - ".travis.yml"
@@ -116,7 +123,7 @@ homepage: https://github.com/picatz/falconz
116
123
  licenses:
117
124
  - MIT
118
125
  metadata: {}
119
- post_install_message:
126
+ post_install_message:
120
127
  rdoc_options: []
121
128
  require_paths:
122
129
  - lib
@@ -124,16 +131,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
131
  requirements:
125
132
  - - ">="
126
133
  - !ruby/object:Gem::Version
127
- version: '0'
134
+ version: '2.0'
128
135
  required_rubygems_version: !ruby/object:Gem::Requirement
129
136
  requirements:
130
137
  - - ">="
131
138
  - !ruby/object:Gem::Version
132
139
  version: '0'
133
140
  requirements: []
134
- rubyforge_project:
135
- rubygems_version: 2.7.6
136
- signing_key:
141
+ rubygems_version: 3.0.6
142
+ signing_key:
137
143
  specification_version: 4
138
144
  summary: Falcon Malware Sandbox APIv2 Connector
139
145
  test_files: []