nuclei icon indicating copy to clipboard operation
nuclei copied to clipboard

Add UDP protocol support

Open forgedhallpass opened this issue 3 years ago • 1 comments
trafficstars

This would enable creating templates against services that require UDP communication (e.g. SNMP).

forgedhallpass avatar Jun 07 '22 12:06 forgedhallpass

  • Is this intended as an extension of existing network templates?
  • Shall we add support for crafting UDP raw packets (this might require using libpcap) as this might help in protocols like DHCP and so on?

Mzack9999 avatar Aug 03 '22 07:08 Mzack9999

Is this intended as an extension of existing network templates?

Yes

Shall we add support for crafting UDP raw packets

Also yes. This would be very helpful for interacting with protocols like SNMP

forgedhallpass avatar Oct 20 '22 22:10 forgedhallpass

This would indeed be a great fundamental addition that would open up a bunch of possibilities for new templates.

JaneX8 avatar Dec 06 '22 13:12 JaneX8

wanted to know if this feature has been implemented, I'm planning to write a simple template

badpwner avatar Jun 08 '23 15:06 badpwner

wanted to know if this feature has been implemented, I'm planning to write a simple template

@badpwner when the feature will be implemented, the status of this ticket will appear closed and it will have an associated, merged pull request.

forgedhallpass avatar Jun 08 '23 21:06 forgedhallpass

Hello, If the udp protocol is supported, a vulnerability template can be developed using the upnp protocol.

Ref : https://medium.com/@s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73

gy741 avatar Nov 24 '23 11:11 gy741

The udp protocol can be used using JavaScript supported by version 3 of nuclei. Please refer to the reference below.

Ref : https://github.com/projectdiscovery/nuclei-templates/pull/8700

gy741 avatar Nov 26 '23 10:11 gy741

Docs - https://docs.projectdiscovery.io/templates/protocols/javascript/modules/net#net-open-protocol-address-netconn

ehsandeep avatar Dec 01 '23 07:12 ehsandeep