Skip to content

knezdusan/securitytrails-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SecurityTrails-GOlang-Wrapper

A GOlang based wrapper for SecurityTrails

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

Usage examples

checkPing: Test your authentication and access to the SecurityTrails API.

package main
import "fmt"

func main() {
  st := newST("YOUR_API_KEY_HERE")
  res := st.checkPing()
  fmt.Println(res)
}

getDomainWHOIS: Returns the current WHOIS data about a given hostname

package main
import "fmt"

func main() {
  st := newST("YOUR_API_KEY_HERE")

  // Get the json response from the API endpoint in the 'res' variable by simply calling the referring sdk method
  // res := st.sdkMethod(optional parametars), example:
  res := st.getDomainWHOIS("google.com")

  fmt.Println(res)
}

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

Firehose

  • Certificate Transparency

About

GOlang wrapper for the SecurityTrails API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages