shodanz 1.0.5 → 1.0.6

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: 27e38f509164ad306e776ee41ba0c51c89a356faa14509624db69afedecded7f
4
- data.tar.gz: 71e6a66e3e5203dd03e8c5402698db4c3d48094d218227fc80f28f6466bdf3fa
3
+ metadata.gz: 30b41a97e4733cbc6a78b283019eb135fe36114768f7e032b6bc6df9f317e051
4
+ data.tar.gz: 7d4bc7144c8dad6dd37b7df896fa8cef8248c132f640d81ea86ae5dc4d5631c5
5
5
  SHA512:
6
- metadata.gz: 56811bcfb9af3c46b83d2cd871e78f5a93c74b5e21727b6a7e2b2551122193036695e8fbc1b01e3d89389b9d133de00db6721548b36795e0539dcab71fe644fb
7
- data.tar.gz: bcbe2fe02bcf4aa59a248a607a19e82e9a6c7db3e6a0b14ab762caf0d523dd1923b623e448d14b4aa6561e7fba7e3b10d0055617fe0dd561b668f6fa37e2e1a2
6
+ metadata.gz: 5ac1a82fc5b214b7b0e9f9add4f381d1aa52618dfbdc0ff1b8005417ff93752f8e48b1e2b0ed146893bc6db9bc04d56c5df8b6c104d3207ca4df28d19e6ba1ca
7
+ data.tar.gz: fa645b5ce29c8fc267a6398127b8c2a0fb67937a67d38a92d686c669175d39fd53c9c55db3546d07d655fadd108914bcdf381710dda5b62a3d6c26e777b43248
data/README.md CHANGED
@@ -271,7 +271,7 @@ This method behaves identical to the Exploits API `search` method with the diffe
271
271
  ```ruby
272
272
  client.exploits_api.count("python") # Count Snek vulns.
273
273
  client.exploits_api.count(port: 22) # Port number for the affected service if the exploit is remote.
274
- client.exploits_api.search(type: "shellcode") # A category of exploit to search for.
274
+ client.exploits_api.count(type: "shellcode") # A category of exploit to search for.
275
275
  client.exploits_api.count(osvdb: "100007") # Open Source Vulnerability Database ID for the exploit.
276
276
  ```
277
277
 
@@ -14,7 +14,7 @@ module Shodanz
14
14
  # @author Kent 'picat' Gruber
15
15
  class Streaming
16
16
  attr_accessor :key
17
-
17
+
18
18
  # The Streaming API is an HTTP-based service that returns
19
19
  # a real-time stream of data collected by Shodan.
20
20
  URL = "https://stream.shodan.io/"
@@ -1,7 +1,7 @@
1
1
  module Shodanz
2
2
  # General client container class for all three
3
- # of Shodan's available API endpoints in a
4
- # convient place to use.
3
+ # of the available API endpoints in a
4
+ # convenient place to use.
5
5
  #
6
6
  # @author Kent 'picat' Gruber
7
7
  class Client
@@ -14,7 +14,7 @@ module Shodanz
14
14
 
15
15
  # Create a new client to connect to any of the APIs.
16
16
  #
17
- # Optionally provide your shodan API key, or the environment
17
+ # Optionally provide your Shodan API key, or the environment
18
18
  # variable SHODAN_API_KEY will be used.
19
19
  def initialize(key: ENV['SHODAN_API_KEY'])
20
20
  raise "No API key has been found or provided! ( setup your SHODAN_API_KEY environment varialbe )" if key.nil?
@@ -1,3 +1,3 @@
1
1
  module Shodanz
2
- VERSION = '1.0.5'.freeze
2
+ VERSION = '1.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shodanz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent 'picatz' Gruber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-30 00:00:00.000000000 Z
11
+ date: 2018-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unirest