Skip to content
PortScan.py aims to check open and closed ports quickly.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Screenshots
.gitignore
LICENSE
README.md
portscan.py

README.md

PortScan

python-logo

-> See more at:

Screenshots of project:

Spyquiz.py

Url.py

Início

# About the project.

PortScan.py aims to check open and closed ports quickly, It prompts you to inform a host that can be LOCAL IP EXTERNAL IP and WEBSITE because it converts the host informed and automatically searches its source IP address, it also asks to inform a start port and an end but if you want to check a only door you can too. it was developed in Python 3.5 and the System used was Arch Linux

  • The part of the code responsible for converting from HOST to IP is:
from socket import *

def escanear():
    menu()
    try:
        host = input("\033[31mDigite o host:\033[1;m ")
        print("")
    except:
        escanear()
    try:       
        ip = gethostbyname(host)
        print("\033[31mEndereco IP ▬▶\033[1;m %s \n" %(ip))
    except:
        print("\033[31mHost invalido.\033[1;m")   
        sleep(3)
        escanear()

Installation and use.

$ sudo pacman -S git // or sudo apt-get install git
$ git clone https://github.com/Sup3r-Us3r/PortScan.git
$ cd PortScan
$ sudo chmod +x portscan.py

To use.

$ ./portscan.py

Dependency python3.5

You can’t perform that action at this time.