Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //Coded by rieqyns13
- function curl($url){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_HEADER, true);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- $exec = curl_exec($ch);
- curl_close($ch);
- return $exec;
- }
- function ambil($start, $end, $var){
- return preg_match("{".preg_quote($start)."(.*?)".preg_quote($end)."}is", $var, $m) ? $m[1] : null;
- }
- $url="http://www.simsimi.com/func/register";
- $fp = fopen("cookie_simi.txt", 'w') or die ("gay");
- fwrite($fp, null);
- fclose($fp);
- $fp = fopen("cookie_simi.txt", 'a') or die ("gay");
- for($i=0;$i<4;$i++){
- $exec=curl($url);
- $cookie=trim(ambil("Set-Cookie:", "Path=/; HttpOnly", $exec));
- $uid=ambil("{\"uid\":", ",\"result\"", $exec);
- $gay=$cookie." simsimi_uid={$uid}; simsimi_uid={$uid};";
- fwrite($fp, $gay."\n");
- echo $gay."\n";
- }
- fclose($fp);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement