arjitc / SecurityTrails-PHP-Wrapper

A PHP based wrapper for SecurityTrails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SecurityTrails-PHP-Wrapper

A PHP based wrapper for SecurityTrails

Based off https://docs.securitytrails.com/reference

API Wrapper Function Documentation: https://github.com/arjitc/SecurityTrails-PHP-Wrapper/wiki

Usage examples

getDomain Details

<?php
require 'securitytrails.php';
$securitytrails = new SecurityTrails("YOUR_API_KEY_HERE");
$output = $securitytrails->getDomain("github.com");
var_dump($output);
?>

getDNSHistory Details

<?php
require 'securitytrails.php';
$securitytrails = new SecurityTrails("YOUR_API_KEY_HERE");
$output = $securitytrails->getSubDomain("github.com", "a");
//eg #2: $output = $securitytrails->getSubDomain("github.com", "txt");
var_dump($output);
?>

Implemented methods

General

  • Ping
  • Usage

Company

  • Details
  • Associated IPs

Domain

  • Details
  • Subdomains
  • Tags
  • WHOIS
  • Search
  • Statistics
  • Associated domains
  • SSL Certificates (Pages)
  • SSL Certificates (Stream)

History

  • DNS History
  • WHOIS History

IPs

  • Neighbors
  • Search with DSL
  • Statistics
  • Whois
  • Useragents

Feeds

  • Domains
  • DMARC
  • Subdomains

Firehose

  • Certificate Transparency

About

A PHP based wrapper for SecurityTrails


Languages

Language:PHP 100.0%