<commit_before><?php

header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header('Content-Type: application/json');
header("Access-Control-Allow-Origin: *");

function dnsbllookup($ip){
$dnsbl_lookup=array("dnsbl-1.uceprotect.net","dnsbl-2.uceprotect.net","dnsbl-3.uceprotect.net","dnsbl.dronebl.org","dnsbl.sorbs.net","zen.spamhaus.org","bsb.spamlookup.net","spam.dnsbl.sorbs.net","virus.dnsbl.sorbs.net "); 
if($ip){
    $reverse_ip=implode(".",array_reverse(explode(".",$ip)));
    foreach($dnsbl_lookup as $host){
        if(checkdnsrr($reverse_ip.".".$host.".","A")){
            $listed.=$reverse_ip.'.'.$host."\": \"&#10006;\",\"";
        }
        else {
            $listed.=$reverse_ip.'.'.$host."\": \"&#10004;\",\"";
        }
    }
}
if($listed){
    echo "[{\"";
    echo $listed;
    echo "end of list\": \"end of list\"}]";<commit_msg>added additional DNSBLs<commit_after><?php

header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header('Content-Type: application/json');
header("Access-Control-Allow-Origin: *");

function dnsbllookup($ip){
$dnsbl_lookup=array("babl.rbl.webiron.net","cabl.rbl.webiron.net","stabl.rbl.webiron.net","all.rbl.webiron.net","crawler.rbl.webiron.net","truncate.gbudb.net","dnsbl.sorbs.net","safe.dnsbl.sorbs.net","http.dnsbl.sorbs.net","socks.dnsbl.sorbs.net","misc.dnsbl.sorbs.net","smtp.dnsbl.sorbs.net","web.dnsbl.sorbs.net","new.spam.dnsbl.sorbs.net","recent.spam.dnsbl.sorbs.net","old.spam.dnsbl.sorbs.net","spam.dnsbl.sorbs.net","escalations.dnsbl.sorbs.net","block.dnsbl.sorbs.net","zombie.dnsbl.sorbs.net","dul.dnsbl.sorbs.net","noservers.dnsbl.sorbs.net","rhsbl.sorbs.net","badconf.rhsbl.sorbs.net","nomail.rhsbl.sorbs.net","sbl.spamhaus.org","xbl.spamhaus.org","pbl.spamhaus.org","sbl-xbl.spamhaus.org","zen.spamhaus.org","rbl.orbitrbl.com","dnsrbl.org","db.wpbl.info","bad.psky.me","bl.spamcop.net","noptr.spamrats.com","dyna.spamrats.com","spam.spamrats.com","auth.spamrats.com","bl.spamcannibal.org","spamtrap.drbl.drand.net","hostkarma.junkemailfilter.com","blacklist.hostkarma.com","ix.dnsbl.manitu.net","dnsbl.inps.de","bl.blocklist.de","srnblack.surgate.net","all.s5h.net","rbl.megarbl.net","rbl.realtimeblacklist.com","b.barracudacentral.org","virbl.dnsbl.bit.nl"); 
if($ip){
    $reverse_ip=implode(".",array_reverse(explode(".",$ip)));
    foreach($dnsbl_lookup as $host){
        if(checkdnsrr($reverse_ip.".".$host.".","A")){
            $listed.=$host."\": \"&#10006;&#10006;&#10006;&#10006;&#10006;&#10006;&#10006;&#10006;\",\"";
        }
        else {
            $listed.=$host."\": \"&#10004;\",\"";
        }
    }
}
if($listed){
    echo "[{\"";
    echo $listed;
    echo "end of list\": \"end of list\"}]";
{'fraction_non_alphanumeric': 0.25465196416264646, 'fraction_numerical': 0.022398345968297727, 'mean_word_length': 4.841046277665996, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3458247', 'n_tokens_mistral': 1237, 'n_tokens_neox': 1190, 'n_words': 81}