Giter Club home page Giter Club logo

blcheck's People

Contributors

darko-poljak avatar ddarbyson avatar intellexapps avatar mattsoftware avatar poil avatar rubix1138 avatar teddytrombone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blcheck's Issues

What is the purpose of -d option?

I'm trying to make this script compatible with IPv6, so I just need to understand one last thing, what is the purpose of the -d option?

Unable to interpret results

Hi,

I ran the script on a domain and it concluded with 2 blacklisted.

  1. Does 2 blacklisted refer to the 2 lines of gremlin.ru?
  2. Are the 2 lines of gremlin.ru: 127.0.0.2 considered valid?
  3. What are the 2 lines trying to say actually?
vote.drbl.gremlin.ru : 127.0.0.2
work.drbl.gremlin.ru : 127.0.0.2

----------------------------------------------------------
Results for xxxxxxxx

Tested:        117
Passed:        114
Invalid:       1
Blacklisted:   2
----------------------------------------------------------

Running it through ip block

I have couple of /22 ip block. Would it be possible to modify it to support ip block and then dump a summary?

Yellow listed is mark as blacklisted

Hi,

I have got one IP which are yellow listed, but blcheck give a false blacklist reply :

xx.xx.xx.xx.xx is Yellow listed - This is a good listing. It keeps you from being blacklisted.
Yellow means that your IP contains no information as to whether or not it is spam. Yahoo, Google, and Hotmail are Yellow Listed.
----------------------------------------------------------
hostkarma.junkemailfilter.com : 127.0.0.3                 
                                                    
----------------------------------------------------------
Results for smtp-04.xxx.xxx.xxx.xxx.fr

Tested:        117
Passed:        116
Invalid:       0
Blacklisted:   1

IPv6 support

Hi !

Thanks for this great tool, it does exactly what I was looking for :)

Would there be any way to implement IPv6 support ?

I'm not too worried about the detection itself (we can find/make a decent regex to detect IPv6 inputs), more about the blacklists themselves :

  • Do they maintain IPv6 blacklists ?
  • Is the querying mechanism different ?
  • It this gonna make some of them consider the input as invalid ?

Anybody has any thoughts, or even tried it so far ?

multiple "not found"

Hello,

Simply runnig your script and have 3 warnings :

./blcheck: 176: ./blcheck: [[: not found
./blcheck: 321: ./blcheck: shopt: not found
./blcheck: 327: ./blcheck: [[: not found
Warning: PTR record does not match supplied domain: test1.net != ns.test1.net


Results for test1.net

Tested: 117
Passed: 117
Invalid: 0
Blacklisted: 0

error 321 related to shopt binary, but I've got it in my path.

Regards

problem with shebang

some syntax in the script is incompatible with /bin/sh, e.g. ${} or $()

shebang has to be something like /bin/bash

--- a/blcheck
+++ b/blcheck
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash

dig throws error

Hey!

Firstly, thank you for maintaining this awesome tool... it saves me a hell of a hard time...

Lately I've been seeing this (ever since the update of 17th this month i believe):

[ \ 100% ] checking... 1 / 1 /usr/bin/dig: '81.200.248.178.0spam-killlist.fusionzero.com\n0spam.fusionzero.com\naccess.redhawk.org\nall.rbl.jp\nall.spam-rbl.fr\nall.spamrats.com\naspews.ext.sorbs.net\nb.barracudacentral.org\nbackscatter.spameatingmonkey.net\nbadnets.spameatingmonkey.net\nbb.barracudacentral.org\nbl.drmx.org\nbl.konstant.no\nbl.nszones.com\nbl.spamcannibal.org\nbl.spameatingmonkey.net\nbl.spamstinks.com\nblack.junkemailfilter.com\nblackholes.five-ten-sg.com\nblacklist.sci.kun.nl\nblacklist.woody.ch\nbogons.cymru.com\nbsb.empty.us\nbsb.spamlookup.net\ncart00ney.surriel.com\ncbl.abuseat.org\ncbl.anti-spam.org.cn\ncblless.anti-spam.org.cn\ncblplus.anti-spam.org.cn\ncdl.anti-spam.org.cn\ncidr.bl.mcafee.com\ncombined.rbl.msrbl.net\ndb.wpbl.info\ndev.null.dk\ndialups.visi.com\ndnsbl-0.uceprotect.net\ndnsbl-1.uceprotect.net\ndnsbl-2.uceprotect.net\ndnsbl-3.uceprotect.net\ndnsbl.anticaptcha.net\ndnsbl.aspnet.hu\ndnsbl.inps.de\ndnsbl.justspam.org\ndnsbl.kempt.net\ndnsbl.madavi.de\ndnsbl.rizon.net\ndnsbl.rv-soft.info\ndnsbl.rymsho.ru\ndnsbl.sorb' is not a legal name (ran out of space)

and that's it nothing else is done...

system is Centos 7, fully upgraded...

Cheers!

Email Notification

hello, how about implementing the option to send email when an ip is found blacklisted or not?
and how about set the script to run once per week with a cronjob or something..?

Doesn't work

It seems the script consider the whole black list as only one entry...
I'm using bash 4.4.19 if that matters, on a fairly uptodate gentoo/linux computer. Really nothing special there.

(i got the same error if forcing the script to use 'host' instead of 'dig')

orzel@berlioz orzel/clones/blcheck% ./blcheck xxxx
[ \ 100% ] checking... 1 / 1 /usr/bin/dig: '244.38.64.82.0spam-killlist.fusionzero.com\n0spam.fusionzero.com\naccess.redhawk.org\nall.rbl.jp\nall.spam-rbl.fr\nall.spamrats.com\naspews.ext.sorbs.net\nb.barracudacentral.org\nbackscatter.spameatingmonkey.net\nbadnets.spameatingmonkey.net\nbb.barracudacentral.org\nbl.drmx.org\nbl.konstant.no\nbl.nszones.com\nbl.spamcannibal.org\nbl.spameatingmonkey.net\nbl.spamstinks.com\nblack.junkemailfilter.com\nblackholes.five-ten-sg.com\nblacklist.sci.kun.nl\nblacklist.woody.ch\nbogons.cymru.com\nbsb.empty.us\nbsb.spamlookup.net\ncart00ney.surriel.com\ncbl.abuseat.org\ncbl.anti-spam.org.cn\ncblless.anti-spam.org.cn\ncblplus.anti-spam.org.cn\ncdl.anti-spam.org.cn\ncidr.bl.mcafee.com\ncombined.rbl.msrbl.net\ndb.wpbl.info\ndev.null.dk\ndialups.visi.com\ndnsbl-0.uceprotect.net\ndnsbl-1.uceprotect.net\ndnsbl-2.uceprotect.net\ndnsbl-3.uceprotect.net\ndnsbl.anticaptcha.net\ndnsbl.aspnet.hu\ndnsbl.inps.de\ndnsbl.justspam.org\ndnsbl.kempt.net\ndnsbl.madavi.de\ndnsbl.rizon.net\ndnsbl.rv-soft.info\ndnsbl.rymsho.ru\ndnsbl.sorbs.' is not a legal name (ran out of space)


Results for xxx

Tested: 1
Passed: 1
Invalid: 0
Blacklisted: 0

License

Hi,

What is the license of blcheck ?

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.