GithubHelp home page GithubHelp logo

Comments (2)

JustinTimperio avatar JustinTimperio commented on August 23, 2024 1

You are probably right with the UDP support. I honestly added it as a throwaway feature since:

  1. TCP scanning was the real priority when I wrote this
  2. The dial conn, err = net.Dial("udp", raddr) allows for calls other than TCP so I figured I would just expose it to the user to decide.

from gomap.

cogitoergosumsw avatar cogitoergosumsw commented on August 23, 2024

I think to successfully do a UDP port scan, you may need a list of pre-determined list of services to probe for responses.
First construct a UDP packet request with a byte array that is expected from the service running on the UDP port. Then listen for the corresponding response byte array to check if the port is open. Something like this - https://github.com/antelman107/net-wait-go#udp-library-usage-example

I understand this is a lot of work so I'm just putting this out there for reference. I don't think I can do this on my own :D

from gomap.

Related Issues (7)

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.