"; while ($myrow=mysql_fetch_array($result)) { print""; echo" ",htmlentities($myrow["title"]),"|",htmlentities(ToNormalDate($myrow["entry_date"])),""; print""; } echo""; } ?> Sudan Internet Exchange
Sudan Internet Exchange Point
Tel: +249 187172242 OR
     : +249 9900900705

Looking Glass Form

 Router                                                                            Command                                          Parameter (optional)  
ping
traceroute
show bgp flap-statistics
show bgp dampened
show bgp route
 
     
"; } else { // try to authenticate with username root, password secretpassword if(!ssh2_auth_password($con, "lookingglass","SixL00k1ngGl")) { echo "fail: unable to authenticate
"; } else { // allright, we're in! echo "logged in.................
"; // execute a command echo "The command is : ".$command; if (!($stream = ssh2_exec($con, $command ))) { echo "fail: unable to execute command
"; } else { // collect returning data from command stream_set_blocking($stream, true); $data = ""; while ($buf = fread($stream,4096)) { $data .= $buf; } // hide the UNAUTHORIZED USE PROHIBITED message $data = substr($data,strrpos($data,"*****")+5,strlen($data)); // display the returned data echo "
".$data."
"; //close the connection stream fclose($stream); } } } } ?>


News & Events

 
All Copyrights Reserved to SIX 2010