Skip to content

xitmakes/scope.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Scope Fetching Tool

This is a simple Bash script to fetch the scope (wildcard domains) of bug bounty programs from HackerOne. The script downloads the asset data in CSV format and extracts the wildcards (*.example.com) for quick reference.

Features

  • Automatically fetches the scope from HackerOne for a specified team.
  • Extracts wildcard domains from the CSV file.
  • Saves the output to a file called wildcards.

Requirements

  • curl: Used to fetch the scope CSV file.
  • grep: To filter wildcard domains.
  • awk: To extract the first column from the CSV.
  • tee: To save the output to a file.

Installation

Make sure the following dependencies are installed:

sudo apt-get install curl grep awk tee

Clone the repository:

git clone https://github.com/xitmakes/scope.sh.git

##Demo Demo

Usage

Run the script by passing the HackerOne team handle as a parameter.

Give permission:

chmod +x scope.sh
./scope.sh <team_handle>

For example, to fetch the scope for the team shopify:

./scope.sh shopify

The output will be saved in the wildcards file and also displayed on the terminal.

Example

kali@aaditya:~▶ ./scope.sh shopify
*.shopify.com
*.shopifycdn.com
...

Contributing

Feel free to fork the repository, open issues, or submit pull requests to improve the tool!

License

This project is licensed under the License.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages