SHOW:
|
|
- or go back to the newest paste.
1 | function trkBot ($msg) { | |
2 | - | $bot['ip'] = "69.153.201.74"; // your bot ip |
2 | + | $bot['ip'] = "0.0.0.0"; // your bot ip |
3 | - | $bot['port'] = "49160"; // your script listen port |
3 | + | $bot['port'] = "0000"; // your script listen port |
4 | - | $bot['password'] = "ptomaha"; // password which you have set in script |
4 | + | $bot['password'] = "passwd"; // password which you have set in script |
5 | $fp = fsockopen($bot['ip'], $bot['port'], $errno, $errstr, 40); | |
6 | if($fp){ | |
7 | fputs($fp, $bot['password']." ".$msg); | |
8 | fclose($fp); | |
9 | } | |
10 | } |