Skip to content

ozjuly19/AirOS-Toolkit-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AirOS-Toolkit

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

To configure multiproccessing pool sizes open config.json and find the line:

  "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

Installation and Usage

  1. Clone the repo and unpack
  2. 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
  3. After installing required packages place the script in its own directory
  4. Before running rename config-template.json to config.json and edit the variables inside. (Example config seen below)
  5. Profit!

Example config

File name: files/config.json

{
    "auth": {
        "usernames": [
            "root",
            "admin"
        ],
        "passwords": [
            "!password0",
            "p455w0rd1",
            "PassWord2"
        ]
    },
    "cidr": "10.10.0.0/24",
    "mpPoolSize": 5
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages