Advertisement
Guest User

Twitter Url Login

a guest
Dec 14th, 2016
1,349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. # PHP Curl Login Twitter.com
  4. # ini SC nya gak Di Encode kok Bro
  5. # ganti aja namanya cok :) , jgn ganti copyright cok dancok
  6. ?>
  7. <?php
  8. if(isset($_POST['twituser'])) {
  9. $username = $_POST['twituser']; #Your username (username kamu)
  10. $password = $_POST['twitpass']; #Your password (password kamu)
  11.  
  12. $XxXxXXxX = 'Cookie: pid="v3:1459373554400807900051689"; guest_id=v1%3A146121679857512332; _mobile_sess=';
  13. $xxXxXXXX = $username.'&session%5Bpassword%5D='.$password;
  14. $xxXXxxXX = 'BAh7ByIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo';
  15. $XXXxxxXX = 'SGFzaHsABjoKQHVzZWR7ADoQX2NzcmZfdG9rZW4iJTg1ZmQ4MDMwMjRiMGU3OGM3MjY1NzU2OTAwODMwNThk--';
  16. $XXXXxxXx = 'authenticity_token=85fd803024b0e78c726575690083058d&remember_me=1&wfa=1';
  17. $XXxxXXxX = '82d8fbf0b6985d98aa1dc46ac04d6398dc4a1861; mobile_metrics_token=146121682724152226; zrca=5; _ga=GA1.2.589694372.1461216930; _mb_tk=';
  18. $xXXXxxXx = '85fd803024b0e78c726575690083058d; _twitter_sess=BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%25';
  19. $xxxxxxXx = '&redirect_after_login=%2Fhome%3Flogin%3D1461222156095&session%5Busername_or_email%5D=';
  20. $XxXxxXXx = '0ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCD6noDdUAToHaWQiJTFm%250AYzQ1YWFlZDI4NmYwMzkwNmVmYjE0MjkxNGFiMDE1--';
  21. $XxxXXxXx = '3d5009e2a4261ee6556de450e3d6f25480e3923b; ua="f5,m2,m5,msw"';
  22.  
  23. $gabung1 = $XxXxXXxX.$xxXXxxXX.$XXXxxxXX.$XXxxXXxX.$xXXXxxXx.$XxXxxXXx.$XxxXXxXx;
  24. $gabung2 = $XXXXxxXx.$xxxxxxXx.$xxXxXXXX;
  25.  
  26. $ch = curl_init();
  27. curl_setopt($ch, CURLOPT_URL, 'https://mobile.twitter.com/sessions');
  28. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  29. curl_setopt($ch, CURLOPT_POST, true);
  30. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  31. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  32. curl_setopt($ch, CURLOPT_POSTFIELDS, $gabung2);
  33.  
  34. $headers = array();
  35. $headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:45.0) Gecko/20100101 Firefox/45.0';
  36. $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
  37. $headers[] = 'Accept-Language: en-US,en;q=0.5';
  38. $headers[] = 'Accept-Encoding: gzip, deflate, br';
  39. $headers[] = 'Referer: https://mobile.twitter.com/login';
  40. $headers[] = $gabung1;
  41. $headers[] = 'Connection: keep-alive';
  42. $headers[] = 'Content-Type: application/x-www-form-urlencoded';
  43.  
  44.  
  45. curl_setopt ($ch, CURLOPT_HTTPHEADER, $headers);
  46. curl_setopt ($ch, CURLOPT_HEADER, 1);
  47.  
  48. $result = curl_exec($ch);
  49. curl_close($ch);
  50. $hasilcok = urlencode($result);
  51. if(preg_match('#https%3A%2F%2Fmobile.twitter.com%2Fhome%3Flogin%3D#',$hasilcok)) {
  52.  
  53. $pesan = '<div style="width:200px;" class="msg-hydra-success">Login Success !</div><p>';
  54.  
  55. }else {
  56. $pesan = '<div style="width:200px;" class="msg-hydra-failed">Login Failed !</div><p>';
  57. }
  58. }
  59. ?>
  60. <table width=100% height=80%>
  61. <td align=center>
  62. <style>
  63.  
  64. .inpt-hydra {
  65. border:1px solid #03B9A8;
  66. border-radius:3px;
  67. padding:7px;
  68. width:90%;
  69. }
  70. .btn-hydra {
  71. background:#03B9A8;
  72. border:1px solid #03B9A8;
  73. border-radius:3px;
  74. padding:7px;
  75. width:90%;
  76. color:white;
  77. }
  78. .btn-hydra:hover {
  79. background:teal;
  80. border:1px solid #03B9A8;
  81. border-radius:3px;
  82. padding:7px;
  83. width:90%;
  84. color:white;
  85. }
  86. .msg-hydra-failed {
  87. background:rgba(253, 0, 0, 0.63);
  88. border:1px solid #FF2626;
  89. border-radius:3px;
  90. padding:3px;
  91.  
  92. color:white;
  93. }
  94. .msg-hydra-success {
  95.  
  96. background:rgb(69, 185, 74);
  97. border:1px solid #009606;
  98. border-radius:3px;
  99. padding:3px;
  100.  
  101. color:white;
  102. }
  103.  
  104. .panel-hydra {
  105. border:1px solid #383C3B;
  106. color:white;
  107. width:300px;
  108. border-radius:3px;
  109. }
  110. </style>
  111. <div class="panel-hydra">
  112. <h2 style="margin-top:0;padding:10px;color:white;background:#383C3B"><b>Twitter Login</b></h2>
  113. <form method='post' action="">
  114. <?php echo $pesan;?>
  115. <input class="inpt-hydra" type='text' name='twituser' placeholder='username twitter'><p>
  116. <input class="inpt-hydra" type='password' name='twitpass' placeholder='password twitter'><p>
  117. <input class="btn-hydra" type='submit' name='submit' value='Login'>
  118. </form>
  119. <h4 style="margin-bottom:0;padding:5px;color:white;background:#383C3B"><b>&copy 2016 - PringCyber Feat Kinekaru Security</b></h4>
  120. </div>
  121. </td></table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement