0.0
No commit activity in last 3 years
No release in over 3 years
PassiveTotal 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

passivetotalx

Gem Version Build Status Coverage Status CodeFactor

Yet another PassiveTotal API wrapper for Ruby.

Why I created this

There is an official PassiveTotal API wrapper for Ruby.

But I don't like that in several reasons.

  • A lack of proxy support.
  • Not well structured (IMHO).
  • Not tested with Ruby >= 2.6.

Installation

gem install passivetotalx

Usage

require "passivetotal"

# when given nothing, it tries to load your usernamem & API key via ENV["PASSIVETOTAL_USERNAME"] and ENV["PASSIVETOTAL_API_KEY"]
api = PassiveTotal::API.new
# or you can set them manually
api = PassiveTotal::API.new(username: "USERNAME", api_key: "API_KEY")

query =  "passivetotal.org"

api.dns.passive(query)
api.dns.passive_unique(query)
api.dns.search(query)

License

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