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
""" | |
De/construct ubnt discovery packets | |
references: | |
- https://github.com/nitefood/python-ubnt-discovery | |
- https://gist.github.com/trhura/5998584 | |
""" | |
from base64 import b64decode, b64encode | |
from enum import IntEnum |