Code Monkey home page Code Monkey logo

portscan's Introduction

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

portscan's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.