diff --git a/cron/tests.php b/cron/tests.php index de4476b..6a0b483 100644 --- a/cron/tests.php +++ b/cron/tests.php @@ -73,7 +73,7 @@ foreach($curl_handles as $handle){ } $stmt->execute([$onion['id']]); if(!$stmt->fetch(PDO::FETCH_NUM)){ - if(preg_match('~^HTTP/1\.(1|0) 504 Connect to ([a-z2-7]{16}|[a-z2-7]{56})\.onion(:80)? failed: SOCKS error: host unreachable~', $content, $match)){ + if(preg_match('~^HTTP/1\.[10] 504 Connect to ([a-z2-7]{16}|[a-z2-7]{56})\.onion(:80)? failed: SOCKS error: host unreachable~', $content, $match)){ $phishing_stmt->execute([$onion['id'], $match[2]]); }elseif(strpos($content, "
HttpReadDisconnect('Server disconnected',)")!==false){ $phishing_stmt->execute([$onion['id'], '']); diff --git a/helpers/tmp.php b/helpers/tmp.php index 4465ca8..5ad46ba 100644 --- a/helpers/tmp.php +++ b/helpers/tmp.php @@ -43,7 +43,7 @@ elseif(preg_match('~^HTTP/1\.1\s500\sInternal\sServer\sError\r\n~', $header) && $move->execute($tmp); echo " - SCAM - moved"; } -elseif(preg_match('~^HTTP/1\.1\s500\sInternal\sServer\sError\r\n~', $header) && $body==='' && preg_match('~Connection:\s\[object\sObject\]\r\n~', $header2)){ +elseif(preg_match('~^HTTP/1\.1\s500\sInternal\sServer\sError\r\n~', $header) && $body==='' && preg_match('~Connection:\s\[object\sObject]\r\n~', $header2)){ $move->execute($tmp); echo " - SCAM - moved"; } diff --git a/www/admin.php b/www/admin.php index 37d98d1..7ac4254 100644 --- a/www/admin.php +++ b/www/admin.php @@ -14,7 +14,7 @@ echo ''; echo "