Fon-Hack: Unterschied zwischen den Versionen

Aus Weimarnetz Wiki
Zur Navigation springen Zur Suche springen
(fakten)
 
Zeile 5: Zeile 5:
 
===script===
 
===script===
 
* name it <tt>/etc/init.d/S98fonhack</tt> or something like....
 
* name it <tt>/etc/init.d/S98fonhack</tt> or something like....
 
+
<pre>
 
#!/bin/sh
 
#!/bin/sh
 
URL="http://download.fon.com/heartbeat.php"
 
URL="http://download.fon.com/heartbeat.php"
 
MAC="$(nvram get il0macaddr|sed s/:/-/g)"
 
MAC="$(nvram get il0macaddr|sed s/:/-/g)"
 
while true;do wget -O /dev/null "$URL?mac=$MAC";sleep 20000;done &
 
while true;do wget -O /dev/null "$URL?mac=$MAC";sleep 20000;done &
 +
</pre>

Version vom 14. September 2006, 16:27 Uhr

why

  • use cheap routers

script

  • name it /etc/init.d/S98fonhack or something like....
#!/bin/sh
URL="http://download.fon.com/heartbeat.php"
MAC="$(nvram get il0macaddr|sed s/:/-/g)"
while true;do wget -O /dev/null "$URL?mac=$MAC";sleep 20000;done &