Skip to content

ninoseki/binaryedge-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinaryEdge

Gem Version Build Status Coverage Status CodeFactor

BinaryEdge API (v2) wrapper for Ruby.

Installation

gem install binaryedge

Usage

# when given nothing, it tries to load your API key from ENV["BINARYEDGE_API_KEY"]
api = BinaryEdge::API.new
# or you can pass it manually
api = BinaryEdge::API.new("YOUR API KEY")

api.host.ip("1.1.1.1")
api.host.historical("1.1.1.1")
api.host.search("1.1.1.1")
api.host.stats("1.1.1.1", type: "ports", order: "desc")

# Image
api.image.ip("1.1.1.1")
api.image.search("1.1.1.1")
api.image.tags

# Risk score
api.risk_score.ip("1.1.1.1")
api.risk_score.cve("1.1.1.1")

# Sensors
api.sensors.ip("1.1.1.1"
api.sensors.search("1.1.1.1")
api.sensors.stats("1.1.1.1", type: "ports", order: "desc")
api.sensors.tag("MALICIOUS")

# Torrent
api.torrent.ip("139.162.190.235")
api.torrent.historical("1.1.1.1")
api.torrent.search("1.1.1.1")
api.torrent.stats("1.1.1.1", type: "ports", order: "desc")

# Domains
api.domains.ip("1.1.1.1")
api.domains.search("example.com")
api.domains.subdomain("example.com")
api.domains.dns("example.com")

# Data leaks
api.data_leaks.email("[email protected]")
api.data_leaks.organization("example.com")
api.data_leaks.info

License

The gem is available as open source under the terms of the MIT License.

About

BinaryEdge API wrapper for Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •