WordPress.org

Ready to get started?Download WordPress

Forums

abuse.ch httpBL check
Typo in the alt="" text (1 post)

  1. Vladimir Kolesnikov
    Member
    Posted 3 years ago #

    alt text of the logo image says:

    alt="prodtected by httpbl.abuse.ch"

    should be

    alt="protected by httpbl.abuse.ch"

    The patch is trivial:

    --- check_httpbl.php.orig	2010-08-29 13:22:33.000000000 +0300
    +++ check_httpbl.php	2010-11-06 12:27:46.588750077 +0200
    @@ -34,28 +34,28 @@
     		echo "<h1>Your ip-address ($ipaddress) is banned</h1> <em>(reason: Hacking activities)</em><br />
     		<p>Your ip-address is banned because it is blacklisted on httpBL.abuse.ch. It was previously identified as source of hacking activities.<br />
     		You can look up your <a href='http://dnsbl.abuse.ch/lookup.php?IPAddress=$ipaddress' target='_blank'>ip address ($ipaddress)</a> for more information.</p>";
    -		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="prodtected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
    +		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="protected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
     		exit();}
     	if($response == "127.0.0.3") {
     		if($logging == "1") { logit($time,$ipaddress,$hostname,$response); }
     		echo "<h1>Your ip-address ($ipaddress) is banned</h1> <em>(reason: Source of RFI attacks)</em><br />
     		<p>Your ip-address is banned because it is blacklisted on httpBL.abuse.ch. It was previously identified as source of RFI attacks.<br />
     		You can look up your <a href='http://dnsbl.abuse.ch/lookup.php?IPAddress=$ipaddress' target='_blank'>ip address ($ipaddress)</a> for more information.</p>";
    -		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="prodtected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
    +		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="protected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
     		exit();}
     	if($response == "127.0.0.4") {
     		if($logging == "1") { logit($time,$ipaddress,$hostname,$response); }
     		echo "<h1>Your ip-address ($ipaddress) is banned</h1> <em>(reason: Referer Spam)</em><br />
     		<p>Your ip-address is banned because it is blacklisted on httpBL.abuse.ch. It was previously identified as source of referer spam.<br />
     		You can look up your <a href='http://dnsbl.abuse.ch/lookup.php?IPAddress=$ipaddress' target='_blank'>ip address ($ipaddress)</a> for more information.</p>";
    -		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="prodtected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
    +		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="protected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
     		exit();}
     	if($response == "127.0.0.5") {
     		if($logging == "1") { logit($time,$ipaddress,$hostname,$response); }
     		echo "<h1>Your ip-address ($ipaddress) is banned</h1> <em>(reason: Automated scanning drone)</em><br />
     		<p>Your ip-address is banned because it is blacklisted on httpBL.abuse.ch. It was previously identified as automated scanning drone.<br />
     		You can look up your <a href='http://dnsbl.abuse.ch/lookup.php?IPAddress=$ipaddress' target='_blank'>ip address ($ipaddress)</a> for more information.</p>";
    -		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="prodtected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
    +		if($logo == "1") { echo '<center><a href="http://dnsbl.abuse.ch" target="_blank" title="protected by httpbl.abuse.ch"><img src="'.$iconFolder.'/httpbl_button.jpg" alt="protected by httpbl.abuse.ch" width="130" height="35" border="0" title="protected by httpbl.abuse.ch" /></a></center>'; }
     		exit();}
     }
     function logit($time,$ipaddress,$hostname,$response) {

    http://wordpress.org/extend/plugins/abusech-httpbl-check/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Vladimir Kolesnikov
  • This topic is not resolved
  • WordPress version: 3.0.1