vinitshahdeo / PortScanner

A go-to tool for scanning network. Scan all the open ports for a given host with just one click.
https://vinitshahdeo.github.io/PortScanner/
MIT License
134 stars 114 forks source link

[Feature] Multithreading feature in python3 for corresponding python2 files #59

Open Kashish121 opened 4 years ago

Kashish121 commented 4 years ago

The master branch is maintained for python2 whereas the feature/python3.8 branch is maintained for python3. Multithreading feature is available in python2 as of now.

The multithreading feature has been used in the project to improve efficiency of the scanning process. Checkout 'Need for Multithreading' section in README.md for better understanding.

Create a PR in feature/python3.8 branch for the multithreading feature in python3.

The file correspondence in python2 - python3(master - feature/python3.8) can be understood as follows:

  1. src/single/scanner.py - scanner.py ( Port scanning feature without multithreading )
  2. src/multi/scanner_thread.py - (to be written in py3) Split processing function for multithreading.
  3. src/mainScanner.py - (to be written in py3) Port Scanning feature using multithreading.
  4. src/ipscanner - (to be written in py3) IP Scanning feature using multithreading.

Follow the same directory structure as in master.

tanay13 commented 4 years ago

I would like to work on this

Kashish121 commented 4 years ago

Sure @tanay13 , please go ahead with it. 👍