Coder Social home page Coder Social logo

leyyce / gort Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 0.0 942 KB

⚡ Fast and concurrent Go based port scanner cli / lib with port service, MAC address and vendor lookup support

License: MIT License

Go 100.00%
arp concurrency go golang leightweight mac-address port-lookup port-scanner scanner security security-tools vendor-lookup

gort's People

Contributors

leyyce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gort's Issues

Data directory is created in current working directory

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.

Add support for IPv4 ranges and other features

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:

  • Add support for ipv4 Ranges. For example:
    123.123.12.23-123.123.16.255

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

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.