Skip to content

A scanner with socket, with information about a particular ip or url of a website.

License

Notifications You must be signed in to change notification settings

suchsoak/IP-SOCKET-PYTHON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP-SOCKET-PYTHON

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.

How to install

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

Usage

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>

For ports, you can use a list or 1 by then, 65535

 
#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