From 6a101cdab7c56d06d6b41bb4ca90a606185a0d26 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 30 Jul 2024 11:43:54 +0200 Subject: [PATCH] wait #7008 @3:00 --- src/Transfer/Local.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Transfer/Local.php b/src/Transfer/Local.php index cf11e23..c2bc355 100644 --- a/src/Transfer/Local.php +++ b/src/Transfer/Local.php @@ -85,9 +85,8 @@ class Local extends Driver if($subdomains) { foreach($subdomains as $subdomain) { $ipSubdomain = dns_get_record($subdomain, DNS_A)[0]['ip']; - if($ipSubdomain === $ipHosting) { - continue; - }else { + $ipSubdomain = trim(str_replace('\n', '', shell_exec('dig +short @1.1.1.1 '.$subdomain.' | tail -1'))); + if($ipSubdomain !== $ipHosting) { $subdomainsIntruder[] = $subdomain; } } -- 2.39.5