Current File : //root/panel/createIP.php
<?php
if($argc==2)
	$ip=$argv[1];
else
	$ip=shell_exec("ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'");

$data = array('action' => 'Create', 'ip' => trim($ip));
//print_r($data);
$url="http://hostingraja.info/getserverdetails.php";
$handle = curl_init($url);
curl_setopt($handle, CURLOPT_POST, true);
curl_setopt($handle, CURLOPT_POSTFIELDS, $data);
curl_exec($handle);

?>