Git Product home page Git Product logo

scanner's Introduction

Async Scanner

License

This is a simple async scanner that uses Python 3.11 high-level asyncio API. The project has not dependancies and be run on versions 3.10 and 3.11. Earlier versions aren't supported nor tested.

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/your-username/your-repository.git

Usage

To run the application, execute the following command:

python src/main.py

The application will perform the following steps:

  1. For each hostname or IP provided the range of ports provided will be scanned
  2. Printing results will be in a simple tabular format
  3. Print order isn't guranteed
  4. Unresolvable hosts will be silently skipped

If the Python version is less than 3.11, the user will be prompted for confirmation before proceeding.

Examples

usage: main.py [-h] [-p PORTS] [--open] host

positional arguments:
  host                  hostname or ip to scan, or a comma/space separated list thereof

options:
  -h, --help            show this help message and exit
  -p PORTS, --ports PORTS
                        List of ports to scan eg: 1-443,444,500-600
$ py ./main.py scanme.nmap.org  -p 1-100,443 --open      
     Host          Port      State        Reason      Service 
scanme.nmap.org     22        open        syn/ack       ssh   
scanme.nmap.org     80        open        syn/ack       http  

Total execution time: 0.38 seconds

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

scanner's People

Contributors

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