| Follow @lancinimarco

Reading time ~1 minute

Robtex-Go: Go Client for the Robtex API

While automating some aspects of my OSINT (Open-source Intelligence) process, I realised there was no Go client for the Robtex API, so I decided to create one.

Robtex-Go is a library that provides a little wrapper over such APIs, and can be quickly integrated in any other Go codebase:

package main

import (
	"fmt"
	"github.com/marco-lancini/robtex-go/robtex"
)

func main() {

	client := robtex.NewClient("https://freeapi.robtex.com", "")

	ipInfo := client.IpQuery("8.8.8.8")
	fmt.Println(ipInfo)

	asn := client.AsQuery(1234)
	fmt.Println(asn)

	passiveDns := client.PassiveDNS("www.google.com")
	fmt.Println(passiveDns)
}

Installation and usage instructions can be found on Github.

Robtex-Go can be found on Github: https://github.com/marco-lancini/robtex-go.

Marco Lancini

Marco Lancini
Hi, I'm Marco Lancini. I'm a Security Engineer, previously Security Consultant, mainly interested in: cloud, devops, netsec, appsec...  

So I Heard You Want to Learn Kubernetes

In this post I will try to demystify the perception by which Kubernetes is believed to be too hard to even get started, by walking through the journey I undertook to get the basics first, and later to focus on the security aspects. Continue reading

GoScan v2

Published on September 03, 2018