A scanner with socket, with information about a particular ip or url of a website.
Note
The script is in development, any errors can be fixed in the future.
Place in the terminal:
git clone https://github.com/suchsoak/IP-SOCKET-PYTHON.git
After enter in the files, and put:
chmod +X requirements.txt
pip install -r requirements.txt
Now start the script:
python3 ip.py
Tip
I recommended use IP
usage: ip.py [-h] [-u TARGET] [-i TARGET]
options:
-h, --help show this help message and exit
-u TARGET, --url TARGET
url
-i TARGET, --ip TARGET
ip
python3 ip.py -i <ip_target>
or
python3 ip.py -u <url_target>
#ports = [21, 22, 23, 25, 53, 80, 8080, 53, 110, 135, 139, 143, 70, 443, 445, 993, 995]
ports = range(1, 65535)
Libraries | Links |
---|---|
socket | https://docs.python.org/3/library/socket.html |
geocoder | https://geocoder.pbh.gov.br/geocoder/ |
python-whois | https://pypi.org/project/python-whois/ |
colorama | https://pypi.org/project/colorama/ |
requests | https://pypi.org/project/requests/ |
urlib | https://docs.python.org/3/library/urllib.html |
argparse | https://docs.python.org/3/library/argparse.html |