Skip to content

bvighnesha/shodan

Repository files navigation

shodan

Build Status GitHub issues license

Example:

package main

import (
	"context"
	"fmt"
	"vighnesha.in/shodan"
)

func main() {
	s := shodan.Configure("API_KEY")
	str, err := s.RestAPI().Search().Ports(context.Background())
	fmt.Println(str, err)
}

refer https://vighnesh.org/shodan for Documentation and Examples.