function makeRequest($request)
 {
     return parent::makeRequest($request, false);
 }
 function makeRequest($request)
 {
     if (strpos($request, "search.asp")) {
         return parent::makeRequest($request, true);
     } else {
         return parent::makeRequest($request, false);
     }
 }
 function makeRequest($request)
 {
     return parent::makeRequest($request, true);
 }
Ejemplo n.º 4
0
 function makeRequest($request)
 {
     $url = parse_url($request);
     $url['path'] = str_replace('browse.php', 'browse_API.php', $url['path']);
     $url['path'] = str_replace('0day.php', '0day_API.php', $url['path']);
     if (strpos('browse_API.php') !== false) {
         $this->method = "POST";
         $this->postquery = "sec=jax&cata=yes&" . $url['query'] . $url['fragment'];
         $request = "/" . $url['path'];
         //referer
         $_SESSION['lastOutBoundURI'] = "http://www.torrentday.me/browse.php?cata=no";
     } elseif (strpos('0day_API.php') !== false) {
         $this->method = "POST";
         $this->postquery = "sec=jax&c12&" . $url['query'] . $url['fragment'];
         $request = "/" . $url['path'];
         //referer
         $_SESSION['lastOutBoundURI'] = "http://www.torrentday.me/0day.php";
     }
     return parent::makeRequest($request, false);
 }