Simple script that bypasses osmozis wifi blocking by requesting a free 10 minute trial... every 10 minutes. Requires tesseract to be installed.
Currently only runs on MacOS but with some modifications, should be able to run everywhere. WiFi name has been hardcoded because I'm too lazy to get it from an input arg, change it yourself.
sudo apt-get install -y tesseract-ocr tesseract-ocr-lat
npm install
sudo node index.js "Wifi SSID"
SPOOF_CMD="echo disabled" node index.js
SPOOF_CMD="ssh remote sudo ./spoof.sh 'Wifi SSID'" node index.js
sudo -s
wget https://unofficial-builds.nodejs.org/download/release/v16.8.0/node-v16.8.0-linux-armv6l.tar.gz
tar xzf node-v16.8.0-linux-armv6l.tar.gz
mv node-v16.8.0-linux-armv6l /lib/nodejs
ln -s /lib/nodejs/bin/node /usr/bin/node
ln -s /lib/nodejs/bin/npm /usr/bin/npm
ln -s /lib/nodejs/bin/npx /usr/bin/npx
sudo apt-get install -y tesseract-ocr tesseract-ocr-lat
Change mac address:
sudo iwconfig wlan0 essid off
sudo ifconfig wlan0 down; sudo ifconfig wlan0 hw ether 00:11:22:33:44:55; sudo ifconfig wlan0 up
sudo iwconfig wlan0 essid on
Connect to SSID:
sudo iwconfig wlan0 essid "Wifi SSID"