This Pyhon 3.9 script & library can log into Ubiquity airMax and airFiber devices getting important information automatically.
Using the config.json file you can setup the bruteforce login info (usernames & passwords) alongside being able to setup the CIDR scan range.
- This script outputs a debug log (debug.log) of the console output to its home directory.
- All the contacted devices and information of them to a csv file (log.csv)
- And uses multiprocessing to speed up certian processes within
"mpPoolSize":5
You can change the integer (default 5) as high as your system can handle which will speed up certian processes within the script.
IF THE SCRIPT THROWS ERRORS WHEN LAUNCHING LIKE:
ValueError: need at most 63 handles, got a sequence of length 70
YOU MUST TURN DOWN mpPoolSize
- Clone the repo and unpack
- Python v3 is required for this script to run
- pip is needed to install required packages
- Required packages are:
- os
- csv
- json
- requests
- ipaddress
- functools
- multiprocessing
- datetime
- airos -> included in /lib/airos.py
- ping3
- Required packages are:
- pip is needed to install required packages
- After installing required packages place the script in its own directory
- Before running rename config-template.json to config.json and edit the variables inside. (Example config seen below)
- Profit!
File name: files/config.json
{
"auth": {
"usernames": [
"root",
"admin"
],
"passwords": [
"!password0",
"p455w0rd1",
"PassWord2"
]
},
"cidr": "10.10.0.0/24",
"mpPoolSize": 5
}