Download_Premium($link); } elseif ($_POST['step'] == 1) { return $this->Download_Free($link); } else { return $this->Prepare_Free($link); } } private function Prepare_Free($link) { $page = $this->GetPage($link); $cookie = GetCookies($page); is_present($page, "Location: /deleted/", 'Error: File not found.'); if (preg_match('@You have to wait: [^\.]+.@i', $page, $dlt)) html_error("Download limit exceeded: {$dlt[0]}"); if (!preg_match('@fileover\.net/(\d+)@i', $link, $lid)) html_error('Error: Link ID not found. Malformed link?'); if (!preg_match('@"wseconds">(\d+)<@i', $page, $cD)) html_error('Error: Timer not found.'); $page = $this->GetPage("http://fileover.net/ax/timereq.flo?{$lid[1]}", $cookie); if (!preg_match('@"hash":"([^"]+)"@i', $page, $lhs)) html_error('Error: Timehash not found.'); $this->CountDown($cD[1]+1); $page = $this->GetPage("http://fileover.net/ax/timepoll.flo?file={$lid[1]}&hash={$lhs[1]}", $cookie); if (!preg_match('@/challenge\?k=([^"|\']+)(?:"|\')@i', $page, $rpid)) html_error('Error: Captcha not found.'); $data = $this->DefaultParamArr($link, $cookie); $data['step'] = '1'; $data['fo_file'] = $lid[1]; $data['fo_hash'] = $lhs[1]; $this->Show_reCaptcha($rpid[1], $data); } private function Show_reCaptcha($pid, $inputs) { global $PHP_SELF; if (!is_array($inputs)) { html_error("Error parsing captcha data."); } // Themes: 'red', 'white', 'blackglass', 'clean' echo "\n"; echo "\n