Skip to content

tin3ga/urlscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urlscan

URLScan is a tool for scanning and analyzing URLs to detect potential security threats. It helps in identifying malicious URLs, phishing sites, and other online threats.

Installation

To install URLScan, clone the repository and install the dependencies:

go get -u github.com/tin3ga/urlscan

Usage

Register for a free account from metadefender to get an api key. Scan function expects an api key and a valid url.

To scan a URL

package main

import (
	"fmt"

	"github.com/tin3ga/urlscan"
)

func main() {
	results, err := urlscan.Scan("fd8a40d7b3662bf44ee711e4ac058b7b", "https://google.com")
	if err != nil {
		fmt.Print(err)
	}
	fmt.Println(results)
}

License

This project is licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages