Skip to content

Instantly share code, notes, and snippets.

@tdh053
tdh053 / discover.py
Created May 3, 2016 19:05 — forked from trhura/discover.py
python script that can discover ubiquiti airOS devices on the network. Equivalence of "Device Discovery Tool".
#! /usr/bin/env python
# script for ubnt device discovery
# Usage: python discover.py or ./discover.py
import socket
from contextlib import closing
PORT=40860