This file contains 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
#!/usr/bin/env python | |
# 1. Modify the variables according to your setup: ssid, password, bssid, [email] | |
# 2. Connect the computer to AP-TechLife-xx-xx SSID | |
# 3. Run the script | |
import socket | |
# Variables to change | |
ssid = '**YOURSSID**' | |
password = '**WIFIPASSWORD**' | |
bssid = bytearray([0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa]) # Enter your WiFi router's WiFi interface MAC address in hex (eg. AA:AA:AA:AA:AA:AA) |
This file contains 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
#!/bin/bash | |
# AirWatch/Workspace One API - certificate based authentication | |
# | |
# Generate Auth header | |
# | |
# Configuration: | |
# ============== | |
# | |
# 1. Download the admin user certificate in p12 format from Workspace One | |
# 2. Convert the p12 file to pem and remove the password |