fortypoundhead.com

Companion Service for Malicious IP Checker

Posted On 2017-08-12 by dwirch
Keywords:
Tags: Tip Free Stuff Blog 
Views: 876


Now that I've gathered a good sized database of malicious IP addresses, I thought I would dust off my keyboard and build a service for checking IP addresses for "badness".

Using the service is pretty easy. Just have your application send a URL like the following to fortypoundhead.com:

https://www.fortypoundhead.com/tools_mipc.asp?ip=xxx.xxx.xxx.xxx

Where xxx.xxx.xxx.xxx is the IP address that you want to check.

For example, to request a check for 134.119.216.167 from PowerShell, you could do something like:

$Result=Invoke-RestMethod -Uri "https://www.fortypoundhead.com/tools_mipc.asp?ip=134.119.216.167"

If you get a 0 back, the IP address is ok, no incidents were found. Anything other than zero warrants further investigation.

The key is the querystring. If the variable is missing or the value is malformed/missing, you'll simply get an error back from the page, describing what went wrong.

If you got the URL and querystring correct, you'll get a number back. That number denotes the number of times the IP address was found in the banned IP database. 

But you're thinking, it should be a 0/1 or True/False, right? Well, I can change it to that, if that is what is needed. I thought it would be more informative if I displayed the actual number of times the IP address has attempted to access the site after it was banned.

For future enhancements, I'd like to include a "mode" switch. You can either get the basic information above, or an enhanced output mode which includes a text-only version of the data presented by the Malicious IP Checker tool.

I hope someone out there finds this service useful, and if you have any suggestions, complaints, or questions regarding the service (or the Malicious IP Checker tool), please don't hesitate to use the Contact form or the comments below to let me know.

Requirements

There are no requirements other than those stated above. The service is free to use for all. However, please be considerate and space out your requests to one per second in order to keep the bandwidth free for other users.

Chronic abusers will be banned.


About the Author

dwirch has posted a total of 185 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.81.195.240

Before you can post, you need to prove you are human. If you log in, this test goes away.




Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers