GithubHelp home page GithubHelp logo

python-portscanner's Introduction

Basic Port Scanner Tool in Python

Introduction

This is a basic port scanner tool implemented in Python. It allows you to scan for open ports on a specified target host within a customizable port range.

Features

  • Scan for open ports on a target host.
  • Specify a customizable range of ports to scan.
  • Simple and easy-to-use.

Prerequisites

  • Python 3.x installed on your system.

Usage

  1. Clone the repository or download the Python script.

    git clone https://github.com/hellw1nd/Python-PortScanner
  2. Navigate to the directory.

    cd your-port-scanner
  3. Run the script with the target host and port range as arguments.

    python3 scanner.py <target-ip>

    Example:

    python3 scanner.py example.com 
  4. View the results.

    The script will display a list of open ports on the target host within the specified range.

Script Details

  • The script uses the socket module in Python to check for open ports.
  • The default port range in the script is set from 50 to 85, but you can customize it based on your needs.
  • The script provides a simple banner and displays the time the scan started.

Disclaimer

This tool is intended for educational purposes only. Do not use it on systems or networks without proper authorization.

License

This project is licensed under the MIT License - see the LICENSE file for details.

python-portscanner's People

Contributors

hellw1nd 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.