Python script has been, and will continue to be, available at Gist: https://gist.github.com/hrishikeshrt/cc71b97077ab1018c4c9bbe22b85c2fa
python3 authenticator.py
- You need following extensions to use this script
- Firefox: Greasemonkey
- Google Chrome: Tampermonkey
cp shell/ironport.sh {somewhere/in/path}
Tested with TP-Link WR841N router. Needs curl
installed.
Modified version of original fortigate-gateway shell script by vikraman
cp shell/*-router.sh {somewhere/in/path}
This will require you to have some sort of terminal emulator available.
Termux is possibly the best terminal emulator around Termux on Google Play.
start_auth.sh
andkill_auth.sh
can invoke and kill authentication daemons.start_auth.sh
assumes that your-android.sh
scripts are located in${HOME}/bin
Put your public-key of PC that you want to access phone from, into your phone's storage somewhre.
apt install openssh
cat {path_to_pubkey} >> ~/.ssh/authorized_keys
sshd
Now, from your PC, ssh -p 8022 {phone_ip}
.
This is based on ubuntu's upstart / systemd
cd ubuntu/upstart
ORcd ubuntu/upstart
chmod +x install.sh
./install.sh -i
For upstart, you can start/stop services using sudo start ironport
, sudo stop fortigate
etc. (initctl
)
For systemd, you can start/stop services using sudo service ironport start
, sudo service fortigate stop
etc. (systemctl
)