[NSE] Ubiquiti Discovery Service and decoding (unicast) - #1457
Closed
TomSellers wants to merge 5 commits into
Closed
[NSE] Ubiquiti Discovery Service and decoding (unicast)#1457TomSellers wants to merge 5 commits into
TomSellers wants to merge 5 commits into
Conversation
nnposter
reviewed
Feb 4, 2019
Author
|
The code has been updated to handle the v2 version of the discovery protocol. The output has been updated to reflect this additional detail as well as the fact that different devices have different fields. Here is an example of updated output. Protocol v1 Protocol v2 |
Author
|
Thanks very much @nnposter for the feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This script leverages Ubiquiti's Discovery Service to discover Ubiquiti's networking gear if it is listening on
10001/udp. This was the default state for many devices and versions of firmware. This is related to PR #1454.This is a unicast probe to the specified target.
Context: https://blog.rapid7.com/2019/02/01/ubiquiti-discovery-service-exposures/
If there aren't any objections or changes requested I will commit this code and the corresponding Changelog entry this week.
There is potential for a multicast script but this will need to wait until next week.