Drop v2 hidden service support
This commit is contained in:
@ -68,7 +68,7 @@ foreach($curl_handles as $handle){
|
||||
}
|
||||
$stmt->execute([$onion['id']]);
|
||||
if(!$stmt->fetch(PDO::FETCH_NUM)){
|
||||
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)){
|
||||
if(preg_match('~^HTTP/1\.[10] 504 Connect to ([a-z2-7]{55}d)\.onion(:80)? failed: SOCKS error: host unreachable~', $content, $match)){
|
||||
$phishing_stmt->execute([$onion['id'], $match[2]]);
|
||||
$update_phishing_stmt->execute([$time, $onion['md5sum']]);
|
||||
}elseif(strpos($content, "<body>HttpReadDisconnect('Server disconnected',)</body>")!==false){
|
||||
|
Reference in New Issue
Block a user