Skip to content

Instantly share code, notes, and snippets.

@spacetime
spacetime / cyberroam.sh
Last active December 11, 2015 14:59
Simple loop to login every seven minutes. This one tested on Mac OSX. Revision 2 on Linux.
#!/bin/bash
while true
do
curl -d "mode=191&username=UUUU&password=PPPPPP" http://172.10.1.2:8090/httpclient.html -o /dev/null
sleep $[7*60];
done