forked from wap-community/Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Altaf Shaikh edited this page Jul 21, 2020
·
1 revision
X Scrappy is a python based tool. which is used to find and collect sub-domains for a given domain from various websites.
The tool is collecting data from the following services:
python3
Package | Version |
---|---|
requests | 2.22.0 |
beautifulsoup4 | 4.8.2 |
censys | 0.0.8 |
shodan | 1.11.1 |
termcolor | 1.1.0 |
- Normal installation:
$ git clone https://github.com/altaf99/Tools.git
$ python3 -m pip install -r requirements.txt
- Preferably install in a virtualenv:
Clone the repo into your machine
$ git clone https://github.com/altaf99/Tools.git
Create a virtual environment,
$ virtualenv -p /usr/bin/python3.8 myvenv
Now, at last, we just need to activate it, using the command
$ source myvenv/bin/activate
Now you are in a Python virtual environment
You can deactivate using
$ deactivate
and now install all the requirements
$ python3 -m pip install -r requirements.txt
the tool requires an API key for Censys, visit Censys API and Sign Up to get the below API credentials.
CENSYS_API_ID
CENSYS_API_SECRET
use the below command to set the environment variable, assign the value to the variables with your credentials, and enter the command in the terminal.
export CENSYS_API_ID="YOUR_ID"
export CENSYS_API_SECRET="YOUR_SECRET"
python3 x_scrappy.py domain
python3 x_scrappy.py google.com
The tool is made as a part of the STTP Program by We Are plymouths
Thank You So much for conduction such a wonderful 21 days program 💯
Also thanks to Harsh Bothra sir for helping me to build the tool :)