Project

binaryedge

0.0
No commit activity in last 3 years
No release in over 3 years
BinaryEdge API wrapper for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 0.8
~> 13.0
~> 3.9
~> 5.0
~> 3.7
 Project Readme

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("test@example.com")
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.