Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by blackstar ( 17 years ago )
case "getmaillist":
if($file = curl_get("http://www.".$who.".net/members/unbestaetigt.php?sessionid=".$sessid[$who]))
{
if(strpos($file,"nicht mehr eingeloggt"))
{
$out = "Session missing";
$jobs[] = array("who" => $who, "what" => "init", "when" => time());
}
else
{
preg_match_all("/"1">.+?<.+?1">(.+?)<.+?1">(.+?)<.+?user=Blackstar&(.+?)" target/ims",$file,$matches,PREG_SET_ORDER);
$mails[$who] = null;
foreach($matches as $match)
{
if($match[2] > 0)
{
$mails[$who][] = array(
"framebreaker" => $match[1],
"points" => $match[2],
"params" => $match[3]
);
}
}
if(count($mails[$who]))
{
$jobs[] = array("who" => $who, "what" => "mailinit", "when" => time());
}
else
{
$jobs[] = array("who" => $who, "what" => "getmaillist", "when" => time()+carand(3600));
}
}
}
else
{
if(strpos($file,"nicht mehr eingeloggt")) {
$out = "Session missing";
$jobs[] = array("who" => $who, "what" => "init", "when" => time());
} else {
$out = "Getting maillist failed";
$jobs[] = array("who" => $who, "what" => "getmaillist", "when" => time()+carand(3600));
}
}
break;
Revise this Paste