Skip to content

pkgforge-security/scopeview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ℹ️ About

Slightly revamped vesion of TomNomNom's scopeview in bash.
Supports scope in any file, anywhere without any Installatiion / Deps
If you want a better tool, consider using Inscope directly.

🖳 Installation

  • This is single shell script, so it can be downloaded or piped to bash directly.

🧰 Usage

➼ cat inscope-domains.txt
       example.com
       example.org
       abc.example.com
➼ cat outscope-domains.txt
       oos.example.com
       oos.abc.example.org

Then,

➼ scopegen -t inscope-domains.txt -in && scopegen -t outscope-domains.txt -os | tee -a .scope
➼ cat .scope
      .*\.example\.com$
      .*\.example\.org$
      .*\.abc\.example\.com$
      !.*oos\.example\.com$
      !.*oos\.abc\.example\.org$
  • Once you have a .scope

!# Without using any options
!# This assumes there is a **`.scope`** file in your working directory or cwd's parent.
cat your-data-to-be-filtered.ext | scopeview
!# Or Via STDIN
cat your-data-to-be-filtered.ext | bash <(curl -qfsSL "https://raw.githubusercontent.com/pkgforge-security/scopeview/main/scopeview.sh")

!# Using -s 
cat your-data-to-be-filtered.ext | scopeview -s .scope-file
!# Or Via STDIN
cat your-data-to-be-filtered.ext | bash <(curl -qfsSL "https://raw.githubusercontent.com/pkgforge-security/scopeview/main/scopeview.sh") -s .scope-file

About

Filters in scope and out of scope urls (subdomains) from stdin [Maintainer=@Azathothas]

Resources

License

Stars

Watchers

Forks

Languages