leyyce / gort Goto Github PK
View Code? Open in Web Editor NEW⚡ Fast and concurrent Go based port scanner cli / lib with port service, MAC address and vendor lookup support
License: MIT License
⚡ Fast and concurrent Go based port scanner cli / lib with port service, MAC address and vendor lookup support
License: MIT License
Gort looks like a great project!
One issue is that the code appears to only look for data directory in the current working directory, and does not follow the path of the binary.
gort binary is in /usr/bin
data directory is in /usr/bin
$ gort 192.168.1.100
Known ports list under data/port-numbers.xml not found. Trying to download it from https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml...
Most common open ports list under data/port_open_freq.csv not found. Trying to download it from https://docs.google.com/spreadsheets/d/1r_IriqmkTNPSTiUwii_hQ8Gwl2tfTUz8AGIOIL-wMIE/export?format=csv...
It then creates the data directory and downloads the two files where the command was executed, vs following the path of gort.
Hello,
Thanks for creating this app. I was actually looking for a GOlang's port scanner. Simply because of its excellent performance on threads and accuracy. And the speed is incomparable to other languages.
It would be very useful if you could add these features:
So the command may look like this for IPv4 Ranges:
gort.exe -threads=100 -protocol=tcp -host=123.123.12.23-123.123.12.255 -ports=8080,80,443
Add function to save the open port results to a file (IP:Port) format.
For example, the command used:
gort.exe -threads=100 -protocol=tcp -host=123.123.12.23-123.123.12.255 -ports=8080,80,443 -output=result.txt
if the open ports found from IPs they will be saved as IP:Port format. If multiple open ports found from same IP, then they will be added in new line like this:
123.123.12.132:80
123.123.12.132:8080
Have option to select scan method. SYN Scan as default is most preferable.
a custom -timeout= option
Hope you could add this features. There are lots of other port scanners from different languages, but rarely on golang. These features will surely bring this go app to the top.
Best Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.