Skip to content

A super simple interface for urlscan.io, written in Go.

Notifications You must be signed in to change notification settings

RiccardoAncarani/urlscango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urlscanGO

A super simple interface for urlscan.io, written in Go.

Usage

This example shows the main functionalities of this package:

package main

import (
	"github.com/RiccardoAncarani/urlscango"
)

func main() {
	apiKey := "<API KEY>" // the API key that you have to generate creating an account

    // URL submission
	r := urlscango.SubmitUrl(
		"https://www.google.it",
		"off",
		"",
		"",
		apiKey,
	)

    // This function will poll the server every 2 seconds to get the job result
    // This will return every info of the page such as subdomains, external requests and so on
	urlscango.FetchResults(
		r,
		apiKey,
	)

    // Once the job is completed we can extract screenshots
	urlscango.GetScreenshot(
		r.UUID,
		"google.png",
		apiKey,
	)

}

About

A super simple interface for urlscan.io, written in Go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages