( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/..//tmpr/..//security/modules/spam-protection.php
<?php
//Spam Protection
if ($settings['spam_protection'] == 1) {
    
    $dnsbl_lookup = array();
    
    $query = $mysqli->query("SELECT * FROM `psec_dnsbl-databases`");
    while ($row = $query->fetch_assoc()) {
        
        $dnsbl_lookup[] = $row['database'];
        $reverse_ip     = implode(".", array_reverse(explode(".", $ip)));
        
        foreach ($dnsbl_lookup as $host) {
            if (checkdnsrr($reverse_ip . "." . $host . ".", "A")) {
                
                $type = "Spammer";
                
                //Logging
                if ($settings['spam_logging'] == 1) {
                    psec_logging($mysqli, $type);
                }
                
                //E-Mail Notification
                if ($settings['mail_notifications'] == 1 && $settings['spam_mail'] == 1) {
                    psec_mail($mysqli, $type);
                }
                
                echo '<meta http-equiv="refresh" content="0;url=' . $settings['spam_redirect'] . '" />';
                exit;
            }
        }
    }
}
?>