Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- set_time_limit(false);
- error_reporting(0);
- include 'class.php';
- if(!isset($_POST['proxy'])) {
- ?>
- <head>
- <meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
- <title>Twitter Account Creator</title>
- <link href="style.css" rel="stylesheet" media="screen">
- </head>
- <style>
- body{background: url(http://2.bp.blogspot.com/-Ok7B88anvLA/UQBkuyawIZI/AAAAAAAABPA/vhj5TazDMMY/s1600/body.jpg) fixed repeat;
- </style>
- <style>
- #follow
- {
- width: 220px;
- height: 20px;
- font-family: Rockwell, 'Trebuchet MS', serif;
- }
- #logins
- {
- font-family: Rockwell, 'Trebuchet MS', serif;
- {
- textarea
- {
- font-family: Rockwell, 'Trebuchet MS', serif;
- font-size: 14px;
- }
- </style>
- <body>
- <center>
- <br/><br/>
- <form method="POST" action="">
- <textarea name="proxy" id="logins" placeholder="IP:Port" rows="20" cols="45"></textarea><br />
- <input type="submit" value="Check" id="btn" >
- </form>
- </center>
- </body>
- </html>
- <?php
- } else {
- $account = $_POST['proxy'];
- $ip = explode("\n", $account);
- foreach ($ip as $ipe) {
- $data = explode(":", $ipe);
- $ipaddress = trim($data[0]);
- $port = trim($data[1]);
- $check = cek($ipaddress, $port);
- if($check == false){
- echo "<font color=\"red\">Proxy Not Supported !!</font><br/>";
- flush();
- ob_flush();
- sleep(0);
- } else {
- $cookies = register($ipaddress,$port);
- $datax = explode(":", $cookies);
- $newCookies = $datax[0];
- $auth = $datax[1];
- if(!preg_match("/oauth_token/i", $newCookies)) {
- echo "<font color=\"red\">Failed !!</font><br/>";
- flush();
- ob_flush();
- sleep(0);
- } else {
- echo "<font color=\"green\">".$datax[2].":".$datax[3]."</font><br/>";
- flush();
- ob_flush();
- sleep(0);
- }
- }
- }
- echo"<a href=mk.php>BUAT LAGI</a>";
- }
- ?>
- <?php
- $jablay ='ids.txt';
- $handle = fopen($jablay, 'a');
- $content = $datax[2].':'.$datax[3]."\n";
- fwrite($handle ,$content);
- fclose($handle);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement