Skip to content
/ scoper Public

Small, fast, simple tool for cleaning other tool output (IPs, URLs, hostnames) to only in-scope IPs

License

Notifications You must be signed in to change notification settings

Mirabis/scoper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Action Status Go Report Card

scoper

Small, fast, simple tool for cleaning other tool output (IPs, URLs, hostnames) to only in-scope IPs

You feed SCOPER IPs, URLs or Hostnames and it returns them only if they are inside the defined scope

This can be a useful way of finding usernames belonging to a company using Azure Directories from their e-mail addresses.

Installation

go get github.com/mirabis/scoper

Usage

The most basic usage is to simply pipe a list of hosts, ips or urls into the tool, for example:

mirabis~$ cat osint-domains-and-ips.txt | scoper -c scope.txt -v
20.contoso.com, resolved to 13.145.37.129 ([13.145.37.129]) which is within scope of 13.145.37.0/24
20.contoso.info, resolved to 13.145.37.129 ([13.145.37.129]) which is within scope of 13.145.37.0/24
20.contoso.nl, resolved to 13.145.37.129 ([13.145.37.129]) which is within scope of 13.145.37.0/24
20.contoso.nl, resolved to 13.145.37.129 ([13.145.37.129]) which is within scope of 13.145.37.0/24
20.contoso.nl, resolved to 13.145.37.129 ([13.145.37.129,13.145.37.137]) which is within scope of 13.145.37.0/24
...

Parameters

mirabis~$ scoper -h

Usage:
  scoper [OPTIONS]

███████╗ ██████╗ ██████╗ ██████╗ ███████╗██████╗ 
██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔══██╗
███████╗██║     ██║   ██║██████╔╝█████╗  ██████╔╝d
╚════██║██║     ██║   ██║██╔═══╝ ██╔══╝  ██╔══██╗
███████║╚██████╗╚██████╔╝██║     ███████╗██║  ██║

Application Options: (/* windows, -* Unix)
  /c, /cidrs:    CIDRS to match with, line separated
  /t, /threads:  Number of concurrent threads (default: 20)

Help Options:
  /?             Show this help message
  /h, /help      Show this help message

Credits

  • tomnomnom my inspiration for the tool and the switch to golang

Contribution & License

You can contribute in following ways:

  • Report bugs
  • Give suggestions to make it better (I'm new to golang)
  • Fix issues & submit a pull request

Do you want to have a conversation in private? Hit me up on my twitter, inbox is open :)

scoper is licensed under GPL v3.0 license

About

Small, fast, simple tool for cleaning other tool output (IPs, URLs, hostnames) to only in-scope IPs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages