Cookie simsimi bisa diambil di web resminya. tpi gak selamanya aktif. jdi hrus ambil cookie lgi di webnya :p. Biar gak susah2 ambil manual, mending pke script aja untuk refresh cookie-nya.
<?php
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";
$exec=curl($url);
$cookie=trim(ambil("Set-Cookie:", "Path=/; HttpOnly", $exec));
$uid=ambil("{"uid":", ","result"", $exec);
$gay=$cookie." simsimi_uid={$uid}; simsimi_uid={$uid};";
$fp = fopen("cookie_simi.txt", 'w') or die ("gay");
fwrite($fp, $gay);
fclose($fp);
echo $gay;
?>
ntar cookienya otomatis kesimpen di file
cookie_simi.txt. nih script
bot comment/like pke respon simsimi
tolong taruh di pastebin bro, lewat hp gak full scriptnya
BalasHapushttp://pastebin.com/DDFLXdgE
Hapusklo gak bsa dbuka lewat hp knp gak bka lewat pc aja :v
tolong di update bro :V
BalasHapus