Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 449 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 449 Bytes

Usom Url Scanner

Scan usom blocked url list inside your ip masks.

Usage

go get -u github.com/netinternet/usom

Example

speed values is 1(highest speed) => 1000(lowest speed)

package main

import (
	"fmt"
	"github.com/netinternet/usom"
)

func main() {
	masks := []string{"89.43.28.0/22", "89.43.26.0/22"}
	speed := 10
	list := usom.Scan(masks, speed)
	for _, v := range list {
		fmt.Println(v.Hostname, v.IP)
	}
}