Advertisement
janter13

Untitled

Jun 30th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.96 KB | None | 0 0
  1. <?php
  2. set_time_limit(false);
  3. error_reporting(0);
  4. include 'class.php';
  5.  
  6. if(!isset($_POST['proxy']))  {
  7. ?>
  8. <head>
  9. <meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
  10. <title>Twitter Account Creator</title>
  11. <link href="style.css" rel="stylesheet" media="screen">
  12. </head>
  13. <style>
  14. body{background: url(http://2.bp.blogspot.com/-Ok7B88anvLA/UQBkuyawIZI/AAAAAAAABPA/vhj5TazDMMY/s1600/body.jpg) fixed repeat;
  15. </style>
  16. <style>
  17. #follow
  18.          {
  19.             width: 220px;
  20.             height: 20px;
  21.             font-family: Rockwell, 'Trebuchet MS', serif;
  22.          }
  23. #logins
  24.          {
  25.             font-family: Rockwell, 'Trebuchet MS', serif;
  26.          {
  27. textarea
  28.          {
  29.             font-family: Rockwell, 'Trebuchet MS', serif;
  30.             font-size: 14px;
  31.          }
  32. </style>
  33. <body>
  34. <center>
  35. <br/><br/>
  36. <form method="POST" action="">
  37. <textarea name="proxy" id="logins" placeholder="IP:Port" rows="20" cols="45"></textarea><br />
  38. <input type="submit" value="Check" id="btn" >
  39. </form>
  40. </center>
  41. </body>
  42. </html>
  43. <?php
  44. } else {
  45. $account = $_POST['proxy'];
  46. $ip = explode("\n", $account);
  47. foreach ($ip as $ipe) {
  48. $data = explode(":", $ipe);
  49. $ipaddress = trim($data[0]);
  50. $port = trim($data[1]);
  51. $check = cek($ipaddress, $port);
  52. if($check == false){
  53. echo "<font color=\"red\">Proxy Not Supported !!</font><br/>";
  54. flush();
  55. ob_flush();
  56. sleep(0);
  57. } else {
  58. $cookies = register($ipaddress,$port);
  59. $datax = explode(":", $cookies);
  60. $newCookies = $datax[0];
  61. $auth = $datax[1];
  62. if(!preg_match("/oauth_token/i", $newCookies)) {
  63. echo "<font color=\"red\">Failed !!</font><br/>";
  64. flush();
  65. ob_flush();
  66. sleep(0);
  67. } else {
  68. echo "<font color=\"green\">".$datax[2].":".$datax[3]."</font><br/>";
  69. flush();
  70. ob_flush();
  71. sleep(0);
  72. }
  73. }
  74. }
  75. echo"<a href=mk.php>BUAT LAGI</a>";
  76. }
  77. ?>
  78. <?php
  79.  
  80. $jablay ='ids.txt';
  81. $handle = fopen($jablay, 'a');
  82. $content = $datax[2].':'.$datax[3]."\n";
  83. fwrite($handle ,$content);
  84. fclose($handle);
  85. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement