webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
spatie
/
crawler
/
src
/
CrawlProfiles
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
CrawlAllUrls.php
0.213KB
edt
ren
CrawlInternalUrls.php
0.501KB
edt
ren
CrawlProfile.php
0.179KB
edt
ren
CrawlSubdomains.php
0.631KB
edt
ren
<?php namespace Spatie\Crawler\CrawlProfiles; use GuzzleHttp\Psr7\Uri; use Psr\Http\Message\UriInterface; class CrawlSubdomains extends CrawlProfile { protected mixed $baseUrl; public function __construct($baseUrl) { if (! $baseUrl instanceof UriInterface) { $baseUrl = new Uri($baseUrl); } $this->baseUrl = $baseUrl; } public function shouldCrawl(UriInterface $url): bool { return $this->isSubdomainOfHost($url); } public function isSubdomainOfHost(UriInterface $url): bool { return str_ends_with($url->getHost(), $this->baseUrl->getHost()); } }
<=Back
Liking