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

Error in scanner.py for python-3.8 (JWOC) #115

Open Vinamrata1086 opened 3 years ago

Vinamrata1086 commented 3 years ago

scanner.py

image The low and high range is not mentioned which is low=1 and high=8888

welcome[bot] commented 3 years ago

Thanks for opening your first issue! Mentors will get back to you soon. Meanwhile check this repo for more.

Hacktoberfest2020

vinitshahdeo commented 3 years ago

@Kashish121 Can you please verify the above and work with @Vinamrata1086 for the changes, if required.

Kashish121 commented 3 years ago

@Vinamrata1086 That's probably due to change in the directory structure of the code. Try moving config.json to the same folder as scanner.py.

Vinamrata1086 commented 3 years ago

@Vinamrata1086 That's probably due to change in the directory structure of the code. Try moving config.json to the same folder as scanner.py.

ya it worked

so can I change the directory of config and create pr?

Kashish121 commented 3 years ago

Hey @Vinamrata1086 , this is the standard organized directory structure followed in the project. Instead of changing the directory structure, try adding config.json actual path to the code. Wouldn't it be smarter? ;)

You can refer to feature\python2 or master branch for the same.

You may create a PR for this. 👍🏽

Vinamrata1086 commented 3 years ago

I have added the path.