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
133 stars 115 forks source link

[Feature Request] Add the history of previous 10 scans under the History section in the UI. #64

Open Kashish121 opened 4 years ago

Kashish121 commented 4 years ago

Add the history of previous 10 scans of the user under the History section of the UI.

Make the required changes in : src/templates/index.html src/static/css/index.css src/static/js/index.js

Try using a bullet list to display previous scans.

image

deprov447 commented 4 years ago

@Kashish121 Can I work on this issue? And can you specify what the history panel will show in what format?

Kashish121 commented 4 years ago

@deprov447 sure you can. The Port Scanning feature take 3 inputs as can be seen in the UI - Host to scan, Low Range, High Range.

The history column can be like:

Index Host scanned Low High
1 Google.com 1 8888
2 localhost 1 2000
... .... .... ...
10 xyz.com 5000 8888
deprov447 commented 4 years ago

@Kashish121 Sorry, I am unable to figure out a way to show log details. I have worked with nodeJS and I am unable to work with flask. So kindly unassign me. Sorry

TaniaMalhotra commented 4 years ago

Hii! I would like to try my hand at this issue. I am thinking of using a database like MongoDB or SQLite to store the scans and then extract the last 10 records from the database and render that to the front end. I'm not experienced with Flask either, but I would try my best.

vinitshahdeo commented 4 years ago

@TaniaMalhotra Thanks for showing your interest. Assigning you this issue. Keep your progress posted here.

Please introduce yourself at #48 if you haven't yet.

TaniaMalhotra commented 4 years ago

Screenshot (186) @vinitshahdeo @Kashish121

TaniaMalhotra commented 4 years ago

Can I make the corresponding changes in Readme and also in feature/python3.8 branch? @vinitshahdeo @Kashish121