Problem with URL blacklist script of mine

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Problem with URL blacklist script of mine

Post by mcdarby »

Hi, I have been working on a TCL Script for an eggdrop bot v1.6.18 for a while now and seemed okay. It is a script that I made to have the bot temporary ban and kick users that post URL links to fraudulent websites, which is this.

Code: Select all

    bind pubm -|U "*://testtesttest.com*" badurl
    bind pubm -|U "*://*.testesttest.com*" badurl

proc badurl {nick uhost hand chan arg}
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to fraudulent sites is not welcomed here"
} 
The -|U is because I was using the script with a user entry for all users with the +U channel flag only for whatever channel this script is active in and has *!*@* for the host, which is so that I could except users by adding users with hosts that don't have the +U channel flag in case if I have to add a wildcarded entry for a large group of domains. Then I noticed that there was a slight issue. What if someone had the URL testtesttest.com.br that isn't fraudulent. So, I went to make some changes to try to solve that a bit which it is now this.

Code: Select all

    bind pubm -|U "*://testtesttest.com/*" badurl
    bind pubm -|U "*://*.testesttest.com/*" badurl
    bind pubm -|U "*://testesttest.com" badurl
    bind pubm -|U "*://*.testesttest.com" badurl

proc badurl {nick uhost hand chan arg}
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to fraudulent sites is not welcomed here"
} 
This, I thought had solved that issue after I have restarted the bot since that it appeared that www.testtesttest.com.br no longer matches a bind. Apparently, when I went to test it in the testing channel by having another userr joining that was also me and entered http://www.testtesttest.com.br it did the temporary kick ban. So, right now I do not know what the problem is because that should not have matched it anymore. The above code does not have the actual domains that I have listed on it as it is just to show what the script looks like. And it is pretty long too and adds a bind on the bot for each entry I have.

I also have tried to temporary change the pubm to pub (restarting the bot on each change I made to it) and the bot does nothing when testing the script in the testing channel. [/code]
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Just to double-check, could you paste the output from ".binds pubm"? (in dcc)
NML_375
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Post by mcdarby »

nml375 wrote:Just to double-check, could you paste the output from ".binds pubm"? (in dcc)
Yeah, this is the output

Code: Select all

<MouseBOT> [13:00] #ErikMouse# binds pubm
<MouseBOT> Command bindings:
<MouseBOT>   TYPE FLGS     COMMAND              HITS BINDING (TCL)
<MouseBOT>   pubm -|-      % @*                    0 pub:badcommands
<MouseBOT>   pubm -|-      % !*                    0 pub:badcommands
<MouseBOT>   pubm -|U      *://*.zincadjacent.com    0 badurl
<MouseBOT>   pubm -|U      *://zincadjacent.com    0 badurl
<MouseBOT>   pubm -|U      *://*.zincadjacent.com/*    0 badurl
<MouseBOT>   pubm -|U      *://zincadjacent.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.yqosi.cn          0 badurl
<MouseBOT>   pubm -|U      *://yqosi.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.yqosi.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://yqosi.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.yzawyqeb.com      0 badurl
<MouseBOT>   pubm -|U      *://yzawyqeb.com        0 badurl
<MouseBOT>   pubm -|U      *://*.yzawyqeb.com/*    0 badurl
<MouseBOT>   pubm -|U      *://yzawyqeb.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.xxxblackbook.com    0 badurl
<MouseBOT>   pubm -|U      *://xxxblackbook.com    0 badurl
<MouseBOT>   pubm -|U      *://*.xxxblackbook.com/*    0 badurl
<MouseBOT>   pubm -|U      *://xxxblackbook.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.woisk.cn          0 badurl
<MouseBOT>   pubm -|U      *://woisk.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.woisk.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://woisk.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.woeivni.com       0 badurl
<MouseBOT>   pubm -|U      *://woeivni.com         0 badurl
<MouseBOT>   pubm -|U      *://*.woeivni.com/*     0 badurl
<MouseBOT>   pubm -|U      *://woeivni.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.wm-servis.cn      0 badurl
<MouseBOT>   pubm -|U      *://wm-servis.cn        0 badurl
<MouseBOT>   pubm -|U      *://*.wm-servis.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://wm-servis.cn/*      0 badurl
<MouseBOT>   pubm -|U      *://*.withwinter.com    0 badurl
<MouseBOT>   pubm -|U      *://withwinter.com      0 badurl
<MouseBOT>   pubm -|U      *://*.withwinter.com/*    0 badurl
<MouseBOT>   pubm -|U      *://withwinter.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.wikihopw.com      0 badurl
<MouseBOT>   pubm -|U      *://wikihopw.com        0 badurl
<MouseBOT>   pubm -|U      *://*.wikihopw.com/*    0 badurl
<MouseBOT>   pubm -|U      *://wikihopw.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.whoremk.com       0 badurl
<MouseBOT>   pubm -|U      *://whoremk.com         0 badurl
<MouseBOT>   pubm -|U      *://*.whoremk.com/*     0 badurl
<MouseBOT>   pubm -|U      *://whoremk.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.webcamclub.com    0 badurl
<MouseBOT>   pubm -|U      *://webcamclub.com      0 badurl
<MouseBOT>   pubm -|U      *://*.webcamclub.com/*    0 badurl
<MouseBOT>   pubm -|U      *://webcamclub.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.waitfood.com      0 badurl
<MouseBOT>   pubm -|U      *://waitfood.com        0 badurl
<MouseBOT>   pubm -|U      *://*.waitfood.com/*    0 badurl
<MouseBOT>   pubm -|U      *://waitfood.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.wahale.com        0 badurl
<MouseBOT>   pubm -|U      *://wahale.com          0 badurl
<MouseBOT>   pubm -|U      *://*.wahale.com/*      0 badurl
<MouseBOT>   pubm -|U      *://wahale.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.wachoiai.com      0 badurl
<MouseBOT>   pubm -|U      *://wachoiai.com        0 badurl
<MouseBOT>   pubm -|U      *://*.wachoiai.com/*    0 badurl
<MouseBOT>   pubm -|U      *://wachoiai.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.w-ru.com          0 badurl
<MouseBOT>   pubm -|U      *://w-ru.com            0 badurl
<MouseBOT>   pubm -|U      *://*.w-ru.com/*        0 badurl
<MouseBOT>   pubm -|U      *://w-ru.com/*          0 badurl
<MouseBOT>   pubm -|U      *://*.vredinoem.com     0 badurl
<MouseBOT>   pubm -|U      *://vredinoem.com       0 badurl
<MouseBOT>   pubm -|U      *://*.vredinoem.com/*    0 badurl
<MouseBOT>   pubm -|U      *://vredinoem.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.vniie.cn          0 badurl
<MouseBOT>   pubm -|U      *://vniie.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.vniie.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://vniie.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.vip-open.ru       0 badurl
<MouseBOT>   pubm -|U      *://vip-open.ru         0 badurl
<MouseBOT>   pubm -|U      *://*.vip-open.ru/*     0 badurl
<MouseBOT>   pubm -|U      *://vip-open.ru/*       0 badurl
<MouseBOT>   pubm -|U      *://*.vip-load.net      0 badurl
<MouseBOT>   pubm -|U      *://vip-load.net        0 badurl
<MouseBOT>   pubm -|U      *://*.vip-load.net/*    0 badurl
<MouseBOT>   pubm -|U      *://vip-load.net/*      0 badurl
<MouseBOT>   pubm -|U      *://*.vipherbals.com    0 badurl
<MouseBOT>   pubm -|U      *://vipherbals.com      0 badurl
<MouseBOT>   pubm -|U      *://*.vipherbals.com/*    0 badurl
<MouseBOT>   pubm -|U      *://vipherbals.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.viabecp.com       0 badurl
<MouseBOT>   pubm -|U      *://viabecp.com         0 badurl
<MouseBOT>   pubm -|U      *://*.viabecp.com/*     0 badurl
<MouseBOT>   pubm -|U      *://viabecp.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.vayswx.com        0 badurl
<MouseBOT>   pubm -|U      *://vayswx.com          0 badurl
<MouseBOT>   pubm -|U      *://*.vayswx.com/*      0 badurl
<MouseBOT>   pubm -|U      *://vayswx.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.vaubee.com        0 badurl
<MouseBOT>   pubm -|U      *://vaubee.com          0 badurl
<MouseBOT>   pubm -|U      *://*.vaubee.com/*      0 badurl
<MouseBOT>   pubm -|U      *://vaubee.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.usagoods.org      0 badurl
<MouseBOT>   pubm -|U      *://usagoods.org        0 badurl
<MouseBOT>   pubm -|U      *://*.usagoods.org/*    0 badurl
<MouseBOT>   pubm -|U      *://usagoods.org/*      0 badurl
<MouseBOT>   pubm -|U      *://*.tvoe-delo.ru      0 badurl
<MouseBOT>   pubm -|U      *://tvoe-delo.ru        0 badurl
<MouseBOT>   pubm -|U      *://*.tvoe-delo.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://tvoe-delo.ru/*      0 badurl
<MouseBOT>   pubm -|U      *://*.turberhaa.com.cn    0 badurl
<MouseBOT>   pubm -|U      *://turberhaa.com.cn    0 badurl
<MouseBOT>   pubm -|U      *://*.turberhaa.com.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://turberhaa.com.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.true.com          0 badurl
<MouseBOT>   pubm -|U      *://true.com            0 badurl
<MouseBOT>   pubm -|U      *://*.true.com/*        0 badurl
<MouseBOT>   pubm -|U      *://true.com/*          0 badurl
<MouseBOT>   pubm -|U      *://*.topfiance.ru      0 badurl
<MouseBOT>   pubm -|U      *://topfiance.ru        0 badurl
<MouseBOT>   pubm -|U      *://*.topfiance.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://topfiance.ru/*      0 badurl
<MouseBOT>   pubm -|U      *://*.timeshareusa.mobi    0 badurl
<MouseBOT>   pubm -|U      *://timeshareusa.mobi    0 badurl
<MouseBOT>   pubm -|U      *://*.timeshareusa.mobi/*    0 badurl
<MouseBOT>   pubm -|U      *://timeshareusa.mobi/*    0 badurl
<MouseBOT>   pubm -|U      *://*.thinchange.com    0 badurl
<MouseBOT>   pubm -|U      *://thinchange.com      0 badurl
<MouseBOT>   pubm -|U      *://*.thinchange.com/*    0 badurl
<MouseBOT>   pubm -|U      *://thinchange.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.thebudshop.net    0 badurl
<MouseBOT>   pubm -|U      *://thebudshop.net      0 badurl
<MouseBOT>   pubm -|U      *://*.thebudshop.net/*    0 badurl
<MouseBOT>   pubm -|U      *://thebudshop.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.tersatig.cn       0 badurl
<MouseBOT>   pubm -|U      *://tersatig.cn         0 badurl
<MouseBOT>   pubm -|U      *://*.tersatig.cn/*     0 badurl
<MouseBOT>   pubm -|U      *://tersatig.cn/*       0 badurl
<MouseBOT>   pubm -|U      *://*.tennici.com       0 badurl
<MouseBOT>   pubm -|U      *://tennici.com         0 badurl
<MouseBOT>   pubm -|U      *://*.tennici.com/*     0 badurl
<MouseBOT>   pubm -|U      *://tennici.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.tempromx.com      0 badurl
<MouseBOT>   pubm -|U      *://tempromx.com        0 badurl
<MouseBOT>   pubm -|U      *://*.tempromx.com/*    0 badurl
<MouseBOT>   pubm -|U      *://tempromx.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.sxywomen.net      0 badurl
<MouseBOT>   pubm -|U      *://sxywomen.net        0 badurl
<MouseBOT>   pubm -|U      *://*.sxywomen.net/*    0 badurl
<MouseBOT>   pubm -|U      *://sxywomen.net/*      0 badurl
<MouseBOT>   pubm -|U      *://*.sxypersonnals.com    0 badurl
<MouseBOT>   pubm -|U      *://sxypersonnals.com    0 badurl
<MouseBOT>   pubm -|U      *://*.sxypersonnals.com/*    0 badurl
<MouseBOT>   pubm -|U      *://sxypersonnals.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.supraekeyl.com    0 badurl
<MouseBOT>   pubm -|U      *://supraekeyl.com      0 badurl
<MouseBOT>   pubm -|U      *://*.supraekeyl.com/*    0 badurl
<MouseBOT>   pubm -|U      *://supraekeyl.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.supersmartdeal.com    0 badurl
<MouseBOT>   pubm -|U      *://supersmartdeal.com    0 badurl
<MouseBOT>   pubm -|U      *://*.supersmartdeal.com/*    0 badurl
<MouseBOT>   pubm -|U      *://supersmartdeal.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.super-girls.net.ru    0 badurl
<MouseBOT>   pubm -|U      *://super-girls.net.ru    0 badurl
<MouseBOT>   pubm -|U      *://*.super-girls.net.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://super-girls.net.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://*.summainformal.com.ar    0 badurl
<MouseBOT>   pubm -|U      *://summainformal.com.ar    0 badurl
<MouseBOT>   pubm -|U      *://*.summainformal.com.ar/*    0 badurl
<MouseBOT>   pubm -|U      *://summainformal.com.ar/*    0 badurl
<MouseBOT>   pubm -|U      *://*.stsland.ru        0 badurl
<MouseBOT>   pubm -|U      *://stsland.ru          0 badurl
<MouseBOT>   pubm -|U      *://*.stsland.ru/*      0 badurl
<MouseBOT>   pubm -|U      *://stsland.ru/*        0 badurl
<MouseBOT>   pubm -|U      *://*.streemteen.com    0 badurl
<MouseBOT>   pubm -|U      *://streemteen.com      0 badurl
<MouseBOT>   pubm -|U      *://*.streemteen.com/*    0 badurl
<MouseBOT>   pubm -|U      *://streemteen.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.straightmake.com    0 badurl
<MouseBOT>   pubm -|U      *://straightmake.com    0 badurl
<MouseBOT>   pubm -|U      *://*.straightmake.com/*    0 badurl
<MouseBOT>   pubm -|U      *://straightmake.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.ssgrcenet.com     0 badurl
<MouseBOT>   pubm -|U      *://ssgrcenet.com       0 badurl
<MouseBOT>   pubm -|U      *://*.ssgrcenet.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ssgrcenet.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.spoewkki.com      0 badurl
<MouseBOT>   pubm -|U      *://spoewkki.com        0 badurl
<MouseBOT>   pubm -|U      *://*.spoewkki.com/*    0 badurl
<MouseBOT>   pubm -|U      *://spoewkki.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.somethingawful.com    0 badurl
<MouseBOT>   pubm -|U      *://somethingawful.com    0 badurl
<MouseBOT>   pubm -|U      *://*.somethingawful.com/*    0 badurl
<MouseBOT>   pubm -|U      *://somethingawful.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.soulmatesingles.org    0 badurl
<MouseBOT>   pubm -|U      *://soulmatesingles.org    0 badurl
<MouseBOT>   pubm -|U      *://*.soulmatesingles.org/*    0 badurl
<MouseBOT>   pubm -|U      *://soulmatesingles.org/*    0 badurl
<MouseBOT>   pubm -|U      *://*.soft-and-warez.inf*    0 badurl
<MouseBOT>   pubm -|U      *://soft-and-warez.inf*    0 badurl
<MouseBOT>   pubm -|U      *://*.sneakydave.com    1 badurl
<MouseBOT>   pubm -|U      *://sneakydave.com      0 badurl
<MouseBOT>   pubm -|U      *://*.sneakydave.com/*    0 badurl
<MouseBOT>   pubm -|U      *://sneakydave.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.smandalist.com    0 badurl
<MouseBOT>   pubm -|U      *://smandalist.com      0 badurl
<MouseBOT>   pubm -|U      *://*.smandalist.com/*    0 badurl
<MouseBOT>   pubm -|U      *://smandalist.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.slunshcvdiet.com    0 badurl
<MouseBOT>   pubm -|U      *://slunshcvdiet.com    0 badurl
<MouseBOT>   pubm -|U      *://*.slunshcvdiet.com/*    0 badurl
<MouseBOT>   pubm -|U      *://slunshcvdiet.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.skybrerze.com     0 badurl
<MouseBOT>   pubm -|U      *://skybrerze.com       0 badurl
<MouseBOT>   pubm -|U      *://*.skybrerze.com/*    0 badurl
<MouseBOT>   pubm -|U      *://skybrerze.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.skinbilogy.com    0 badurl
<MouseBOT>   pubm -|U      *://skinbilogy.com      0 badurl
<MouseBOT>   pubm -|U      *://*.skinbilogy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://skinbilogy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.singlefun.inf*    0 badurl
<MouseBOT>   pubm -|U      *://singlefun.inf*      0 badurl
<MouseBOT>   pubm -|U      *://*.sheisnnoying.com    0 badurl
<MouseBOT>   pubm -|U      *://sheisnnoying.com    0 badurl
<MouseBOT>   pubm -|U      *://*.sheisnnoying.com/*    0 badurl
<MouseBOT>   pubm -|U      *://sheisnnoying.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.sex-cool.inf*     0 badurl
<MouseBOT>   pubm -|U      *://sex-cool.inf*       0 badurl
<MouseBOT>   pubm -|U      *://*.serpos.com        0 badurl
<MouseBOT>   pubm -|U      *://serpos.com          0 badurl
<MouseBOT>   pubm -|U      *://*.serpos.com/*      0 badurl
<MouseBOT>   pubm -|U      *://serpos.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.semipepsi.org.cn    0 badurl
<MouseBOT>   pubm -|U      *://semipepsi.org.cn    0 badurl
<MouseBOT>   pubm -|U      *://*.semipepsi.org.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://semipepsi.org.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.scringnethai.cn    0 badurl
<MouseBOT>   pubm -|U      *://scringnethai.cn     0 badurl
<MouseBOT>   pubm -|U      *://*.scringnethai.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://scringnethai.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.samadavit.inf*    0 badurl
<MouseBOT>   pubm -|U      *://samadavit.inf*      0 badurl
<MouseBOT>   pubm -|U      *://*.sale-of-cards.cn    0 badurl
<MouseBOT>   pubm -|U      *://sale-of-cards.cn    0 badurl
<MouseBOT>   pubm -|U      *://*.sale-of-cards.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://sale-of-cards.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.rystanheallth.com    0 badurl
<MouseBOT>   pubm -|U      *://rystanheallth.com    0 badurl
<MouseBOT>   pubm -|U      *://*.rystanheallth.com/*    0 badurl
<MouseBOT>   pubm -|U      *://rystanheallth.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.ruedauto.com      0 badurl
<MouseBOT>   pubm -|U      *://ruedauto.com        0 badurl
<MouseBOT>   pubm -|U      *://*.ruedauto.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ruedauto.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.rtfil.com         0 badurl
<MouseBOT>   pubm -|U      *://rtfil.com           0 badurl
<MouseBOT>   pubm -|U      *://*.rtfil.com/*       0 badurl
<MouseBOT>   pubm -|U      *://rtfil.com/*         0 badurl
<MouseBOT>   pubm -|U      *://*.rpopel.com        0 badurl
<MouseBOT>   pubm -|U      *://rpopel.com          0 badurl
<MouseBOT>   pubm -|U      *://*.rpopel.com/*      0 badurl
<MouseBOT>   pubm -|U      *://rpopel.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.ritzeix.com       0 badurl
<MouseBOT>   pubm -|U      *://ritzeix.com         0 badurl
<MouseBOT>   pubm -|U      *://*.ritzeix.com/*     0 badurl
<MouseBOT>   pubm -|U      *://ritzeix.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.ripway.com/andreacam*    0 badurl
<MouseBOT>   pubm -|U      *://ripway.com/andreacam*    0 badurl
<MouseBOT>   pubm -|U      *://*.ringtonebeats.net    0 badurl
<MouseBOT>   pubm -|U      *://ringtonebeats.net    0 badurl
<MouseBOT>   pubm -|U      *://*.ringtonebeats.net/*    0 badurl
<MouseBOT>   pubm -|U      *://ringtonebeats.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.rfconn.com.tw     0 badurl
<MouseBOT>   pubm -|U      *://rfconn.com.tw       0 badurl
<MouseBOT>   pubm -|U      *://*.rfconn.com.tw/*    0 badurl
<MouseBOT>   pubm -|U      *://rfconn.com.tw/*     0 badurl
<MouseBOT>   pubm -|U      *://*.retrthai.cn       0 badurl
<MouseBOT>   pubm -|U      *://retrthai.cn         0 badurl
<MouseBOT>   pubm -|U      *://*.retrthai.cn/*     0 badurl
<MouseBOT>   pubm -|U      *://retrthai.cn/*       0 badurl
<MouseBOT>   pubm -|U      *://*.reddmcarty.com    0 badurl
<MouseBOT>   pubm -|U      *://reddmcarty.com      0 badurl
<MouseBOT>   pubm -|U      *://*.reddmcarty.com/*    0 badurl
<MouseBOT>   pubm -|U      *://reddmcarty.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.redbasemarketing.com    0 badurl
<MouseBOT>   pubm -|U      *://redbasemarketing.com    0 badurl
<MouseBOT>   pubm -|U      *://*.redbasemarketing.com/*    0 badurl
<MouseBOT>   pubm -|U      *://redbasemarketing.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.rcares.com        0 badurl
<MouseBOT>   pubm -|U      *://rcares.com          0 badurl
<MouseBOT>   pubm -|U      *://*.rcares.com/*      0 badurl
<MouseBOT>   pubm -|U      *://rcares.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.razluxury.com.cn    0 badurl
<MouseBOT>   pubm -|U      *://razluxury.com.cn    0 badurl
<MouseBOT>   pubm -|U      *://*.razluxury.com.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://razluxury.com.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.pujaarya.com      0 badurl
<MouseBOT>   pubm -|U      *://pujaarya.com        0 badurl
<MouseBOT>   pubm -|U      *://*.pujaarya.com/*    0 badurl
<MouseBOT>   pubm -|U      *://pujaarya.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.publidad.com      0 badurl
<MouseBOT>   pubm -|U      *://publidad.com        0 badurl
<MouseBOT>   pubm -|U      *://*.publidad.com/*    0 badurl
<MouseBOT>   pubm -|U      *://publidad.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.privaash.com      0 badurl
<MouseBOT>   pubm -|U      *://privaash.com        0 badurl
<MouseBOT>   pubm -|U      *://*.privaash.com/*    0 badurl
<MouseBOT>   pubm -|U      *://privaash.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.pristurathai.cn    0 badurl
<MouseBOT>   pubm -|U      *://pristurathai.cn     0 badurl
<MouseBOT>   pubm -|U      *://*.pristurathai.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://pristurathai.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.portalofevil.com    0 badurl
<MouseBOT>   pubm -|U      *://portalofevil.com    0 badurl
<MouseBOT>   pubm -|U      *://*.portalofevil.com/*    0 badurl
<MouseBOT>   pubm -|U      *://portalofevil.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.phlirt.inf*       0 badurl
<MouseBOT>   pubm -|U      *://phlirt.inf*         0 badurl
<MouseBOT>   pubm -|U      *://*.peyesjust.com     0 badurl
<MouseBOT>   pubm -|U      *://peyesjust.com       0 badurl
<MouseBOT>   pubm -|U      *://*.peyesjust.com/*    0 badurl
<MouseBOT>   pubm -|U      *://peyesjust.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.painavard.net     0 badurl
<MouseBOT>   pubm -|U      *://painavard.net       0 badurl
<MouseBOT>   pubm -|U      *://*.painavard.net/*    0 badurl
<MouseBOT>   pubm -|U      *://painavard.net/*     0 badurl
<MouseBOT>   pubm -|U      *://*.onlinemedslet.com    0 badurl
<MouseBOT>   pubm -|U      *://onlinemedslet.com    0 badurl
<MouseBOT>   pubm -|U      *://*.onlinemedslet.com/*    0 badurl
<MouseBOT>   pubm -|U      *://onlinemedslet.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.omepedeho.com     0 badurl
<MouseBOT>   pubm -|U      *://omepedeho.com       0 badurl
<MouseBOT>   pubm -|U      *://*.omepedeho.com/*    0 badurl
<MouseBOT>   pubm -|U      *://omepedeho.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.olikon.net        0 badurl
<MouseBOT>   pubm -|U      *://olikon.net          0 badurl
<MouseBOT>   pubm -|U      *://*.olikon.net/*      0 badurl
<MouseBOT>   pubm -|U      *://olikon.net/*        0 badurl
<MouseBOT>   pubm -|U      *://*.ofwonanacademy.com    0 badurl
<MouseBOT>   pubm -|U      *://ofwonanacademy.com    0 badurl
<MouseBOT>   pubm -|U      *://*.ofwonanacademy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ofwonanacademy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.ocan.jp           0 badurl
<MouseBOT>   pubm -|U      *://ocan.jp             0 badurl
<MouseBOT>   pubm -|U      *://*.ocan.jp/*         0 badurl
<MouseBOT>   pubm -|U      *://ocan.jp/*           0 badurl
<MouseBOT>   pubm -|U      *://*.nsterishealthyone.com    0 badurl
<MouseBOT>   pubm -|U      *://nsterishealthyone.com    0 badurl
<MouseBOT>   pubm -|U      *://*.nsterishealthyone.com/*    0 badurl
<MouseBOT>   pubm -|U      *://nsterishealthyone.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.nothingkat.com    0 badurl
<MouseBOT>   pubm -|U      *://nothingkat.com      0 badurl
<MouseBOT>   pubm -|U      *://*.nothingkat.com/*    0 badurl
<MouseBOT>   pubm -|U      *://nothingkat.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.nm.ru             0 badurl
<MouseBOT>   pubm -|U      *://nm.ru               0 badurl
<MouseBOT>   pubm -|U      *://*.nm.ru/*           0 badurl
<MouseBOT>   pubm -|U      *://nm.ru/*             0 badurl
<MouseBOT>   pubm -|U      *://*.nkowa.cn          0 badurl
<MouseBOT>   pubm -|U      *://nkowa.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.nkowa.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://nkowa.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.nina-ortomed.ru    0 badurl
<MouseBOT>   pubm -|U      *://nina-ortomed.ru     0 badurl
<MouseBOT>   pubm -|U      *://*.nina-ortomed.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://nina-ortomed.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://*.niklaselin.com    0 badurl
<MouseBOT>   pubm -|U      *://niklaselin.com      0 badurl
<MouseBOT>   pubm -|U      *://*.niklaselin.com/*    0 badurl
<MouseBOT>   pubm -|U      *://niklaselin.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.niceleads.biz     0 badurl
<MouseBOT>   pubm -|U      *://niceleads.biz       0 badurl
<MouseBOT>   pubm -|U      *://*.niceleads.biz/*    0 badurl
<MouseBOT>   pubm -|U      *://niceleads.biz/*     0 badurl
<MouseBOT>   pubm -|U      *://*.netcasinocenter.net    0 badurl
<MouseBOT>   pubm -|U      *://netcasinocenter.net    0 badurl
<MouseBOT>   pubm -|U      *://*.netcasinocenter.net/*    0 badurl
<MouseBOT>   pubm -|U      *://netcasinocenter.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.nearvisit.com     0 badurl
<MouseBOT>   pubm -|U      *://nearvisit.com       0 badurl
<MouseBOT>   pubm -|U      *://*.nearvisit.com/*    0 badurl
<MouseBOT>   pubm -|U      *://nearvisit.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.narod.ru          0 badurl
<MouseBOT>   pubm -|U      *://narod.ru            0 badurl
<MouseBOT>   pubm -|U      *://*.narod.ru/*        0 badurl
<MouseBOT>   pubm -|U      *://narod.ru/*          0 badurl
<MouseBOT>   pubm -|U      *://*.myfreecamhost.com/ashley*    0 badurl
<MouseBOT>   pubm -|U      *://myfreecamhost.com/ashley*    0 badurl
<MouseBOT>   pubm -|U      *://*.mweqan.com        0 badurl
<MouseBOT>   pubm -|U      *://mweqan.com          0 badurl
<MouseBOT>   pubm -|U      *://*.mweqan.com/*      0 badurl
<MouseBOT>   pubm -|U      *://mweqan.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.mtvnrews.com      0 badurl
<MouseBOT>   pubm -|U      *://mtvnrews.com        0 badurl
<MouseBOT>   pubm -|U      *://*.mtvnrews.com/*    0 badurl
<MouseBOT>   pubm -|U      *://mtvnrews.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.mtvawars.com      0 badurl
<MouseBOT>   pubm -|U      *://mtvawars.com        0 badurl
<MouseBOT>   pubm -|U      *://*.mtvawars.com/*    0 badurl
<MouseBOT>   pubm -|U      *://mtvawars.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.msk.ru            0 badurl
<MouseBOT>   pubm -|U      *://msk.ru              0 badurl
<MouseBOT>   pubm -|U      *://*.msk.ru/*          0 badurl
<MouseBOT>   pubm -|U      *://msk.ru/*            0 badurl
<MouseBOT>   pubm -|U      *://*.moskva.com        0 badurl
<MouseBOT>   pubm -|U      *://moskva.com          0 badurl
<MouseBOT>   pubm -|U      *://*.moskva.com/*      0 badurl
<MouseBOT>   pubm -|U      *://moskva.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.monthlength.com    0 badurl
<MouseBOT>   pubm -|U      *://monthlength.com     0 badurl
<MouseBOT>   pubm -|U      *://*.monthlength.com/*    0 badurl
<MouseBOT>   pubm -|U      *://monthlength.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.modebib.net       0 badurl
<MouseBOT>   pubm -|U      *://modebib.net         0 badurl
<MouseBOT>   pubm -|U      *://*.modebib.net/*     0 badurl
<MouseBOT>   pubm -|U      *://modebib.net/*       0 badurl
<MouseBOT>   pubm -|U      *://*.mnimiyoem.com     0 badurl
<MouseBOT>   pubm -|U      *://mnimiyoem.com       0 badurl
<MouseBOT>   pubm -|U      *://*.mnimiyoem.com/*    0 badurl
<MouseBOT>   pubm -|U      *://mnimiyoem.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.meds987.com       0 badurl
<MouseBOT>   pubm -|U      *://meds987.com         0 badurl
<MouseBOT>   pubm -|U      *://*.meds987.com/*     0 badurl
<MouseBOT>   pubm -|U      *://meds987.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.meds30.com        0 badurl
<MouseBOT>   pubm -|U      *://meds30.com          0 badurl
<MouseBOT>   pubm -|U      *://*.meds30.com/*      0 badurl
<MouseBOT>   pubm -|U      *://meds30.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.mediacount.net    0 badurl
<MouseBOT>   pubm -|U      *://mediacount.net      0 badurl
<MouseBOT>   pubm -|U      *://*.mediacount.net/*    0 badurl
<MouseBOT>   pubm -|U      *://mediacount.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.marhero.mobi      0 badurl
<MouseBOT>   pubm -|U      *://marhero.mobi        0 badurl
<MouseBOT>   pubm -|U      *://*.marhero.mobi/*    0 badurl
<MouseBOT>   pubm -|U      *://marhero.mobi/*      0 badurl
<MouseBOT>   pubm -|U      *://*.manauynk.com      0 badurl
<MouseBOT>   pubm -|U      *://manauynk.com        0 badurl
<MouseBOT>   pubm -|U      *://*.manauynk.com/*    0 badurl
<MouseBOT>   pubm -|U      *://manauynk.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.loversmedicalnoon.com    0 badurl
<MouseBOT>   pubm -|U      *://loversmedicalnoon.com    0 badurl
<MouseBOT>   pubm -|U      *://*.loversmedicalnoon.com/*    0 badurl
<MouseBOT>   pubm -|U      *://loversmedicalnoon.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.leshavehealth.com    0 badurl
<MouseBOT>   pubm -|U      *://leshavehealth.com    0 badurl
<MouseBOT>   pubm -|U      *://*.leshavehealth.com/*    0 badurl
<MouseBOT>   pubm -|U      *://leshavehealth.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.lehealhingblue.com    0 badurl
<MouseBOT>   pubm -|U      *://lehealhingblue.com    0 badurl
<MouseBOT>   pubm -|U      *://*.lehealhingblue.com/*    0 badurl
<MouseBOT>   pubm -|U      *://lehealhingblue.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.lart.com          0 badurl
<MouseBOT>   pubm -|U      *://lart.com            0 badurl
<MouseBOT>   pubm -|U      *://*.lart.com/*        0 badurl
<MouseBOT>   pubm -|U      *://lart.com/*          0 badurl
<MouseBOT>   pubm -|U      *://*.la2enjoy.com.ua    0 badurl
<MouseBOT>   pubm -|U      *://la2enjoy.com.ua     0 badurl
<MouseBOT>   pubm -|U      *://*.la2enjoy.com.ua/*    0 badurl
<MouseBOT>   pubm -|U      *://la2enjoy.com.ua/*    0 badurl
<MouseBOT>   pubm -|U      *://*.klpyeri.cn        0 badurl
<MouseBOT>   pubm -|U      *://klpyeri.cn          0 badurl
<MouseBOT>   pubm -|U      *://*.klpyeri.cn/*      0 badurl
<MouseBOT>   pubm -|U      *://klpyeri.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://*.killallfuz*.com    0 badurl
<MouseBOT>   pubm -|U      *://killallfuz*.com     0 badurl
<MouseBOT>   pubm -|U      *://*.killallfuz*.com/*    0 badurl
<MouseBOT>   pubm -|U      *://killallfuz*.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.killallfur*.com    0 badurl
<MouseBOT>   pubm -|U      *://killallfur*.com     0 badurl
<MouseBOT>   pubm -|U      *://*.killallfur*.com/*    0 badurl
<MouseBOT>   pubm -|U      *://killallfur*.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.kildemnhero.mobi    0 badurl
<MouseBOT>   pubm -|U      *://kildemnhero.mobi    0 badurl
<MouseBOT>   pubm -|U      *://*.kildemnhero.mobi/*    0 badurl
<MouseBOT>   pubm -|U      *://kildemnhero.mobi/*    0 badurl
<MouseBOT>   pubm -|U      *://*.kkjzfm.com        0 badurl
<MouseBOT>   pubm -|U      *://kkjzfm.com          0 badurl
<MouseBOT>   pubm -|U      *://*.kkjzfm.com/*      0 badurl
<MouseBOT>   pubm -|U      *://kkjzfm.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.kftckiuihyys.com    0 badurl
<MouseBOT>   pubm -|U      *://kftckiuihyys.com    0 badurl
<MouseBOT>   pubm -|U      *://*.kftckiuihyys.com/*    0 badurl
<MouseBOT>   pubm -|U      *://kftckiuihyys.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.jingle.ws         0 badurl
<MouseBOT>   pubm -|U      *://jingle.ws           0 badurl
<MouseBOT>   pubm -|U      *://*.jingle.ws/*       0 badurl
<MouseBOT>   pubm -|U      *://jingle.ws/*         0 badurl
<MouseBOT>   pubm -|U      *://*.janadaan.com      0 badurl
<MouseBOT>   pubm -|U      *://janadaan.com        0 badurl
<MouseBOT>   pubm -|U      *://*.janadaan.com/*    0 badurl
<MouseBOT>   pubm -|U      *://janadaan.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.jaindy.com        0 badurl
<MouseBOT>   pubm -|U      *://jaindy.com          0 badurl
<MouseBOT>   pubm -|U      *://*.jaindy.com/*      0 badurl
<MouseBOT>   pubm -|U      *://jaindy.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.iyouher.com       0 badurl
<MouseBOT>   pubm -|U      *://iyouher.com         0 badurl
<MouseBOT>   pubm -|U      *://*.iyouher.com/*     0 badurl
<MouseBOT>   pubm -|U      *://iyouher.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.ipdodeal.com      0 badurl
<MouseBOT>   pubm -|U      *://ipdodeal.com        0 badurl
<MouseBOT>   pubm -|U      *://*.ipdodeal.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ipdodeal.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.inhapr.com        0 badurl
<MouseBOT>   pubm -|U      *://inhapr.com          0 badurl
<MouseBOT>   pubm -|U      *://*.inhapr.com/*      0 badurl
<MouseBOT>   pubm -|U      *://inhapr.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.incredibletoy.net    0 badurl
<MouseBOT>   pubm -|U      *://incredibletoy.net    0 badurl
<MouseBOT>   pubm -|U      *://*.incredibletoy.net/*    0 badurl
<MouseBOT>   pubm -|U      *://incredibletoy.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.ifolder.ru        0 badurl
<MouseBOT>   pubm -|U      *://ifolder.ru          0 badurl
<MouseBOT>   pubm -|U      *://*.ifolder.ru/*      0 badurl
<MouseBOT>   pubm -|U      *://ifolder.ru/*        0 badurl
<MouseBOT>   pubm -|U      *://*.icicjob.com       0 badurl
<MouseBOT>   pubm -|U      *://icicjob.com         0 badurl
<MouseBOT>   pubm -|U      *://*.icicjob.com/*     0 badurl
<MouseBOT>   pubm -|U      *://icicjob.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.httpkids.com      0 badurl
<MouseBOT>   pubm -|U      *://httpkids.com        0 badurl
<MouseBOT>   pubm -|U      *://*.httpkids.com/*    0 badurl
<MouseBOT>   pubm -|U      *://httpkids.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.hoter.ru          0 badurl
<MouseBOT>   pubm -|U      *://hoter.ru            0 badurl
<MouseBOT>   pubm -|U      *://*.hoter.ru/*        0 badurl
<MouseBOT>   pubm -|U      *://hoter.ru/*          0 badurl
<MouseBOT>   pubm -|U      *://*.hostdofree.biz    0 badurl
<MouseBOT>   pubm -|U      *://hostdofree.biz      0 badurl
<MouseBOT>   pubm -|U      *://*.hostdofree.biz/*    0 badurl
<MouseBOT>   pubm -|U      *://hostdofree.biz/*    0 badurl
<MouseBOT>   pubm -|U      *://*.holm.ru           0 badurl
<MouseBOT>   pubm -|U      *://holm.ru             0 badurl
<MouseBOT>   pubm -|U      *://*.holm.ru/*         0 badurl
<MouseBOT>   pubm -|U      *://holm.ru/*           0 badurl
<MouseBOT>   pubm -|U      *://*.hocomua.ru        0 badurl
<MouseBOT>   pubm -|U      *://hocomua.ru          0 badurl
<MouseBOT>   pubm -|U      *://*.hocomua.ru/*      0 badurl
<MouseBOT>   pubm -|U      *://hocomua.ru/*        0 badurl
<MouseBOT>   pubm -|U      *://*.ho.com.ua         0 badurl
<MouseBOT>   pubm -|U      *://ho.com.ua           0 badurl
<MouseBOT>   pubm -|U      *://*.ho.com.ua/*       0 badurl
<MouseBOT>   pubm -|U      *://ho.com.ua/*         0 badurl
<MouseBOT>   pubm -|U      *://*.heroesthai.com    0 badurl
<MouseBOT>   pubm -|U      *://heroesthai.com      0 badurl
<MouseBOT>   pubm -|U      *://*.heroesthai.com/*    0 badurl
<MouseBOT>   pubm -|U      *://heroesthai.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.hahoomap.com      0 badurl
<MouseBOT>   pubm -|U      *://hahoomap.com        0 badurl
<MouseBOT>   pubm -|U      *://*.hahoomap.com/*    0 badurl
<MouseBOT>   pubm -|U      *://hahoomap.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.h18.ru            0 badurl
<MouseBOT>   pubm -|U      *://h18.ru              0 badurl
<MouseBOT>   pubm -|U      *://*.h18.ru/*          0 badurl
<MouseBOT>   pubm -|U      *://h18.ru/*            0 badurl
<MouseBOT>   pubm -|U      *://*.gubsl.com         0 badurl
<MouseBOT>   pubm -|U      *://gubsl.com           0 badurl
<MouseBOT>   pubm -|U      *://*.gubsl.com/*       0 badurl
<MouseBOT>   pubm -|U      *://gubsl.com/*         0 badurl
<MouseBOT>   pubm -|U      *://*.grubar.inf*       0 badurl
<MouseBOT>   pubm -|U      *://grubar.inf*         0 badurl
<MouseBOT>   pubm -|U      *://*.gqrmin.com        0 badurl
<MouseBOT>   pubm -|U      *://gqrmin.com          0 badurl
<MouseBOT>   pubm -|U      *://*.gqrmin.com/*      0 badurl
<MouseBOT>   pubm -|U      *://gqrmin.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.grabherhot.com    0 badurl
<MouseBOT>   pubm -|U      *://grabherhot.com      0 badurl
<MouseBOT>   pubm -|U      *://*.grabherhot.com/*    0 badurl
<MouseBOT>   pubm -|U      *://grabherhot.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.globalstat.us     0 badurl
<MouseBOT>   pubm -|U      *://globalstat.us       0 badurl
<MouseBOT>   pubm -|U      *://*.globalstat.us/*    0 badurl
<MouseBOT>   pubm -|U      *://globalstat.us/*     0 badurl
<MouseBOT>   pubm -|U      *://*.genuineonlinemeds.com    0 badurl
<MouseBOT>   pubm -|U      *://genuineonlinemeds.com    0 badurl
<MouseBOT>   pubm -|U      *://*.genuineonlinemeds.com/*    0 badurl
<MouseBOT>   pubm -|U      *://genuineonlinemeds.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.freeicq.org       0 badurl
<MouseBOT>   pubm -|U      *://freeicq.org         0 badurl
<MouseBOT>   pubm -|U      *://*.freeicq.org/*     0 badurl
<MouseBOT>   pubm -|U      *://freeicq.org/*       0 badurl
<MouseBOT>   pubm -|U      *://*.freecamerahost.com/user522*    0 badurl
<MouseBOT>   pubm -|U      *://freecamerahost.com/user522*    0 badurl
<MouseBOT>   pubm -|U      *://*.foot88.com        0 badurl
<MouseBOT>   pubm -|U      *://foot88.com          0 badurl
<MouseBOT>   pubm -|U      *://*.foot88.com/*      0 badurl
<MouseBOT>   pubm -|U      *://foot88.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.fmfm.ru           0 badurl
<MouseBOT>   pubm -|U      *://fmfm.ru             0 badurl
<MouseBOT>   pubm -|U      *://*.fmfm.ru/*         0 badurl
<MouseBOT>   pubm -|U      *://fmfm.ru/*           0 badurl
<MouseBOT>   pubm -|U      *://*.firstchat.ru      0 badurl
<MouseBOT>   pubm -|U      *://firstchat.ru        0 badurl
<MouseBOT>   pubm -|U      *://*.firstchat.ru/*    0 badurl
<MouseBOT>   pubm -|U      *://firstchat.ru/*      0 badurl
<MouseBOT>   pubm -|U      *://*.findyoureuro.com    0 badurl
<MouseBOT>   pubm -|U      *://findyoureuro.com    0 badurl
<MouseBOT>   pubm -|U      *://*.findyoureuro.com/*    0 badurl
<MouseBOT>   pubm -|U      *://findyoureuro.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.fedacapo.cn       0 badurl
<MouseBOT>   pubm -|U      *://fedacapo.cn         0 badurl
<MouseBOT>   pubm -|U      *://*.fedacapo.cn/*     0 badurl
<MouseBOT>   pubm -|U      *://fedacapo.cn/*       0 badurl
<MouseBOT>   pubm -|U      *://*.ezanecyj.com      0 badurl
<MouseBOT>   pubm -|U      *://ezanecyj.com        0 badurl
<MouseBOT>   pubm -|U      *://*.ezanecyj.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ezanecyj.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.eurocasinobl.com    0 badurl
<MouseBOT>   pubm -|U      *://eurocasinobl.com    0 badurl
<MouseBOT>   pubm -|U      *://*.eurocasinobl.com/*    0 badurl
<MouseBOT>   pubm -|U      *://eurocasinobl.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.esurveypanel.com    0 badurl
<MouseBOT>   pubm -|U      *://esurveypanel.com    0 badurl
<MouseBOT>   pubm -|U      *://*.esurveypanel.com/*    0 badurl
<MouseBOT>   pubm -|U      *://esurveypanel.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.erikmoose.com     0 badurl
<MouseBOT>   pubm -|U      *://erikmoose.com       0 badurl
<MouseBOT>   pubm -|U      *://*.erikmoose.com/*    0 badurl
<MouseBOT>   pubm -|U      *://erikmoose.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.erik-moose.com    0 badurl
<MouseBOT>   pubm -|U      *://erik-moose.com      0 badurl
<MouseBOT>   pubm -|U      *://*.erik-moose.com/*    0 badurl
<MouseBOT>   pubm -|U      *://erik-moose.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.ericmoose.com     0 badurl
<MouseBOT>   pubm -|U      *://ericmoose.com       0 badurl
<MouseBOT>   pubm -|U      *://*.ericmoose.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ericmoose.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.eric-moose.com    0 badurl
<MouseBOT>   pubm -|U      *://eric-moose.com      0 badurl
<MouseBOT>   pubm -|U      *://*.eric-moose.com/*    0 badurl
<MouseBOT>   pubm -|U      *://eric-moose.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.eepmakehealthh.com    0 badurl
<MouseBOT>   pubm -|U      *://eepmakehealthh.com    0 badurl
<MouseBOT>   pubm -|U      *://*.eepmakehealthh.com/*    0 badurl
<MouseBOT>   pubm -|U      *://eepmakehealthh.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.edadope.com       0 badurl
<MouseBOT>   pubm -|U      *://edadope.com         0 badurl
<MouseBOT>   pubm -|U      *://*.edadope.com/*     0 badurl
<MouseBOT>   pubm -|U      *://edadope.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.earbusy.com       0 badurl
<MouseBOT>   pubm -|U      *://earbusy.com         0 badurl
<MouseBOT>   pubm -|U      *://*.earbusy.com/*     0 badurl
<MouseBOT>   pubm -|U      *://earbusy.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.drumcops.com      0 badurl
<MouseBOT>   pubm -|U      *://drumcops.com        0 badurl
<MouseBOT>   pubm -|U      *://*.drumcops.com/*    0 badurl
<MouseBOT>   pubm -|U      *://drumcops.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.drugwa.com        0 badurl
<MouseBOT>   pubm -|U      *://drugwa.com          0 badurl
<MouseBOT>   pubm -|U      *://*.drugwa.com/*      0 badurl
<MouseBOT>   pubm -|U      *://drugwa.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.dragonnetworks.net    0 badurl
<MouseBOT>   pubm -|U      *://dragonnetworks.net    0 badurl
<MouseBOT>   pubm -|U      *://*.dragonnetworks.net/*    0 badurl
<MouseBOT>   pubm -|U      *://dragonnetworks.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.drinkooem.com     0 badurl
<MouseBOT>   pubm -|U      *://drinkooem.com       0 badurl
<MouseBOT>   pubm -|U      *://*.drinkooem.com/*    0 badurl
<MouseBOT>   pubm -|U      *://drinkooem.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.drinkmuchoem.com    0 badurl
<MouseBOT>   pubm -|U      *://drinkmuchoem.com    0 badurl
<MouseBOT>   pubm -|U      *://*.drinkmuchoem.com/*    0 badurl
<MouseBOT>   pubm -|U      *://drinkmuchoem.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.downloadfilesldr.com    0 badurl
<MouseBOT>   pubm -|U      *://downloadfilesldr.com    0 badurl
<MouseBOT>   pubm -|U      *://*.downloadfilesldr.com/*    0 badurl
<MouseBOT>   pubm -|U      *://downloadfilesldr.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.dopkl.cn          0 badurl
<MouseBOT>   pubm -|U      *://dopkl.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.dopkl.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://dopkl.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.dohbrih.net       0 badurl
<MouseBOT>   pubm -|U      *://dohbrih.net         0 badurl
<MouseBOT>   pubm -|U      *://*.dohbrih.net/*     0 badurl
<MouseBOT>   pubm -|U      *://dohbrih.net/*       0 badurl
<MouseBOT>   pubm -|U      *://*.diabolas.com.ar    0 badurl
<MouseBOT>   pubm -|U      *://diabolas.com.ar     0 badurl
<MouseBOT>   pubm -|U      *://*.diabolas.com.ar/*    0 badurl
<MouseBOT>   pubm -|U      *://diabolas.com.ar/*    0 badurl
<MouseBOT>   pubm -|U      *://*.demassa.mobi      0 badurl
<MouseBOT>   pubm -|U      *://demassa.mobi        0 badurl
<MouseBOT>   pubm -|U      *://*.demassa.mobi/*    0 badurl
<MouseBOT>   pubm -|U      *://demassa.mobi/*      0 badurl
<MouseBOT>   pubm -|U      *://*.debni.com         0 badurl
<MouseBOT>   pubm -|U      *://debni.com           0 badurl
<MouseBOT>   pubm -|U      *://*.debni.com/*       0 badurl
<MouseBOT>   pubm -|U      *://debni.com/*         0 badurl
<MouseBOT>   pubm -|U      *://*.debdubay.com      0 badurl
<MouseBOT>   pubm -|U      *://debdubay.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.debdubay.com      0 badurl
<MouseBOT>   pubm -|U      *://debdubay.com      0 badurl
<MouseBOT>   pubm -|U      *://*.datesinglepeople.com    0 badurl
<MouseBOT>   pubm -|U      *://datesinglepeople.com    0 badurl
<MouseBOT>   pubm -|U      *://*.datesinglepeople.com/*    0 badurl
<MouseBOT>   pubm -|U      *://datesinglepeople.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.datingchating.com    0 badurl
<MouseBOT>   pubm -|U      *://datingchating.com    0 badurl
<MouseBOT>   pubm -|U      *://*.datingchating.com/*    0 badurl
<MouseBOT>   pubm -|U      *://datingchating.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.datealright.com    0 badurl
<MouseBOT>   pubm -|U      *://datealright.com     0 badurl
<MouseBOT>   pubm -|U      *://*.datealright.com/*    0 badurl
<MouseBOT>   pubm -|U      *://datealright.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.dadesa.mobi       0 badurl
<MouseBOT>   pubm -|U      *://dadesa.mobi         0 badurl
<MouseBOT>   pubm -|U      *://*.dadesa.mobi/*     0 badurl
<MouseBOT>   pubm -|U      *://dadesa.mobi/*       0 badurl
<MouseBOT>   pubm -|U      *://*.crushyiffdestroy.com    0 badurl
<MouseBOT>   pubm -|U      *://crushyiffdestroy.com    0 badurl
<MouseBOT>   pubm -|U      *://*.crushyiffdestroy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://crushyiffdestroy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.ctheonion.com     0 badurl
<MouseBOT>   pubm -|U      *://ctheonion.com       0 badurl
<MouseBOT>   pubm -|U      *://*.ctheonion.com/*    0 badurl
<MouseBOT>   pubm -|U      *://ctheonion.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.coastany.cn       0 badurl
<MouseBOT>   pubm -|U      *://coastany.cn         0 badurl
<MouseBOT>   pubm -|U      *://*.coastany.cn/*     0 badurl
<MouseBOT>   pubm -|U      *://coastany.cn/*       0 badurl
<MouseBOT>   pubm -|U      *://*.chorddrive.com    0 badurl
<MouseBOT>   pubm -|U      *://chorddrive.com      0 badurl
<MouseBOT>   pubm -|U      *://*.chorddrive.com/*    0 badurl
<MouseBOT>   pubm -|U      *://chorddrive.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.changecopy.com    0 badurl
<MouseBOT>   pubm -|U      *://changecopy.com      0 badurl
<MouseBOT>   pubm -|U      *://*.changecopy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://changecopy.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.casino757.net     0 badurl
<MouseBOT>   pubm -|U      *://casino757.net       0 badurl
<MouseBOT>   pubm -|U      *://*.casino757.net/*    0 badurl
<MouseBOT>   pubm -|U      *://casino757.net/*     0 badurl
<MouseBOT>   pubm -|U      *://*.by.ru             0 badurl
<MouseBOT>   pubm -|U      *://by.ru               0 badurl
<MouseBOT>   pubm -|U      *://*.by.ru/*           0 badurl
<MouseBOT>   pubm -|U      *://by.ru/*             0 badurl
<MouseBOT>   pubm -|U      *://*.bmouse.net        0 badurl
<MouseBOT>   pubm -|U      *://bmouse.net          0 badurl
<MouseBOT>   pubm -|U      *://*.bmouse.net/*      0 badurl
<MouseBOT>   pubm -|U      *://bmouse.net/*        0 badurl
<MouseBOT>   pubm -|U      *://*.bestgoldencasino.net    0 badurl
<MouseBOT>   pubm -|U      *://bestgoldencasino.net    0 badurl
<MouseBOT>   pubm -|U      *://*.bestgoldencasino.net/*    0 badurl
<MouseBOT>   pubm -|U      *://bestgoldencasino.net/*    0 badurl
<MouseBOT>   pubm -|U      *://*.bentonitnow.com    0 badurl
<MouseBOT>   pubm -|U      *://bentonitnow.com     0 badurl
<MouseBOT>   pubm -|U      *://*.bentonitnow.com/*    0 badurl
<MouseBOT>   pubm -|U      *://bentonitnow.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.axxaxx.com        0 badurl
<MouseBOT>   pubm -|U      *://axxaxx.com          0 badurl
<MouseBOT>   pubm -|U      *://*.axxaxx.com/*      0 badurl
<MouseBOT>   pubm -|U      *://axxaxx.com/*        0 badurl
<MouseBOT>   pubm -|U      *://*.axer.ru           0 badurl
<MouseBOT>   pubm -|U      *://axer.ru             0 badurl
<MouseBOT>   pubm -|U      *://*.axer.ru/*         0 badurl
<MouseBOT>   pubm -|U      *://axer.ru/*           0 badurl
<MouseBOT>   pubm -|U      *://*.asmedia.biz       0 badurl
<MouseBOT>   pubm -|U      *://asmedia.biz         0 badurl
<MouseBOT>   pubm -|U      *://*.asmedia.biz/*     0 badurl
<MouseBOT>   pubm -|U      *://asmedia.biz/*       0 badurl
<MouseBOT>   pubm -|U      *://*.aoeks.cn          0 badurl
<MouseBOT>   pubm -|U      *://aoeks.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.aoeks.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://aoeks.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.angerstretch.cn    0 badurl
<MouseBOT>   pubm -|U      *://angerstretch.cn     0 badurl
<MouseBOT>   pubm -|U      *://*.angerstretch.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://angerstretch.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://*.amateurmatch.com    0 badurl
<MouseBOT>   pubm -|U      *://amateurmatch.com    0 badurl
<MouseBOT>   pubm -|U      *://*.amateurmatch.com/*    0 badurl
<MouseBOT>   pubm -|U      *://amateurmatch.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.althynezzone.com    0 badurl
<MouseBOT>   pubm -|U      *://althynezzone.com    0 badurl
<MouseBOT>   pubm -|U      *://*.althynezzone.com/*    0 badurl
<MouseBOT>   pubm -|U      *://althynezzone.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.altfanerik.*      0 badurl
<MouseBOT>   pubm -|U      *://altfanerik.*        0 badurl
<MouseBOT>   pubm -|U      *://*.altfaneric.*      0 badurl
<MouseBOT>   pubm -|U      *://altfaneric.*        0 badurl
<MouseBOT>   pubm -|U      *://*.alexize.com       0 badurl
<MouseBOT>   pubm -|U      *://alexize.com         0 badurl
<MouseBOT>   pubm -|U      *://*.alexize.com/*     0 badurl
<MouseBOT>   pubm -|U      *://alexize.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.akoei.cn          0 badurl
<MouseBOT>   pubm -|U      *://akoei.cn            0 badurl
<MouseBOT>   pubm -|U      *://*.akoei.cn/*        0 badurl
<MouseBOT>   pubm -|U      *://akoei.cn/*          0 badurl
<MouseBOT>   pubm -|U      *://*.adddiscuss.cn     0 badurl
<MouseBOT>   pubm -|U      *://adddiscuss.cn       0 badurl
<MouseBOT>   pubm -|U      *://*.adddiscuss.cn/*    0 badurl
<MouseBOT>   pubm -|U      *://adddiscuss.cn/*     0 badurl
<MouseBOT>   pubm -|U      *://*.agehalth.com      0 badurl
<MouseBOT>   pubm -|U      *://agehalth.com        0 badurl
<MouseBOT>   pubm -|U      *://*.agehalth.com/*    0 badurl
<MouseBOT>   pubm -|U      *://agehalth.com/*      0 badurl
<MouseBOT>   pubm -|U      *://*.adi-max.de        0 badurl
<MouseBOT>   pubm -|U      *://adi-max.de          0 badurl
<MouseBOT>   pubm -|U      *://*.adi-max.de/*      0 badurl
<MouseBOT>   pubm -|U      *://adi-max.de/*        0 badurl
<MouseBOT>   pubm -|U      *://*.adeskmath.com     0 badurl
<MouseBOT>   pubm -|U      *://adeskmath.com       0 badurl
<MouseBOT>   pubm -|U      *://*.adeskmath.com/*    0 badurl
<MouseBOT>   pubm -|U      *://adeskmath.com/*     0 badurl
<MouseBOT>   pubm -|U      *://*.abywezu.com       0 badurl
<MouseBOT>   pubm -|U      *://abywezu.com         0 badurl
<MouseBOT>   pubm -|U      *://*.abywezu.com/*     0 badurl
<MouseBOT>   pubm -|U      *://abywezu.com/*       0 badurl
<MouseBOT>   pubm -|U      *://*.abeauteway.com    0 badurl
<MouseBOT>   pubm -|U      *://abeauteway.com      0 badurl
<MouseBOT>   pubm -|U      *://*.abeauteway.com/*    0 badurl
<MouseBOT>   pubm -|U      *://abeauteway.com/*    0 badurl
<MouseBOT>   pubm -|U      *://*.22muchfun.com     0 badurl
<MouseBOT>   pubm -|U      *://22muchfun.com       0 badurl
<MouseBOT>   pubm -|U      *://*.22muchfun.com/*    0 badurl
<MouseBOT>   pubm -|U      *://22muchfun.com/*     0 badurl
<MouseBOT>   pubm -|U      *http://www.testtesttest.test*    0 badurl 
[/code]
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Seems the only one triggered was this one:

Code: Select all

pubm -|U      *://*.sneakydave.com    1 badurl 
Even so, it only triggered once. I cannot find any bindings that would match that testtesttest.com host in the list however.

Think you could modify your badurl proc to something like this?

Code: Select all

proc badurl {nick uhost hand chan arg} {
 putlog "badurl triggered: binding \"$::lastbind\" by $nick!@uhost ($hand) in $chan saying $arg"
 newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
 putquick "KICK $chan $nick :Banned: Posting links to fraudulent sites is not welcomed here"
}
Then trigger it, it should provide some information in logs to point out which binding is causing trouble.
NML_375
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Post by mcdarby »

nml375 wrote:Seems the only one triggered was this one:

Code: Select all

pubm -|U      *://*.sneakydave.com    1 badurl 
Even so, it only triggered once. I cannot find any bindings that would match that testtesttest.com host in the list however.

Think you could modify your badurl proc to something like this?

Code: Select all

proc badurl {nick uhost hand chan arg} {
 putlog "badurl triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $arg"
 newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
 putquick "KICK $chan $nick :Banned: Posting links to fraudulent sites is not welcomed here"
}
Then trigger it, it should provide some information in logs to point out which binding is causing trouble.
Well, this time I was trying to find a solution to this and have changed it to this.

Code: Select all

set badurlexempts {
"://testtest.test.br"
"://*.testtest.test.br"
}

set badurlexempts [string tolower $badurlexempts]

    bind pubm -|U "*http://www.testtesttest.test*" badurl
    bind pubm -|U "% *://testtest.test*" badurl
    bind pubm -|U "% *://*.testtest.test*" badurl

proc badurl {nick uhost hand chan text} {
    foreach text $badurlexempts {
    if {[string match "*$badurlexempts*" $text]} {
    putlog "badurlexempt triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    } else {
    putlog "badurl triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to offensive, disturbing, slanderous, phishing, scamming, and/or fraudulent webpages is not welcomed here"
    }
    }
} 
And I am getting "[04:22] Tcl error [badurl]: can't read "badurlexempts": no such variable" in the partyline window right now that I can't seem to fix.
[/code]
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

add either 'global badurlexempts' to the top of your proc, or use the variable notation $::badurlexempts within the proc. It's not finding the var cos its outside the proc, its in global space.

eg, do either:

proc badurl {nick uhost hand chan text} {
global badurlexempts
foreach text $badurlexempts {


OR use:

proc badurl {nick uhost hand chan text} {
foreach text $::badurlexempts {
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Post by mcdarby »

rosc2112 wrote:add either 'global badurlexempts' to the top of your proc, or use the variable notation $::badurlexempts within the proc. It's not finding the var cos its outside the proc, its in global space.

eg, do either:

proc badurl {nick uhost hand chan text} {
global badurlexempts
foreach text $badurlexempts {


OR use:

proc badurl {nick uhost hand chan text} {
foreach text $::badurlexempts {
Okay, this time I have made these fixes and have it as

Code: Select all

set badurlexempts {
"://testtest.test.br"
"://*.testtest.test.br"
}

set badurlexempts [string tolower $badurlexempts]

    bind pubm -|U "*http://www.testtesttest.test*" badurl
    bind pubm -|U "% *://testtest.test*" badurl
    bind pubm -|U "% *://*.testtest.test*" badurl

proc badurl {nick uhost hand chan text} {
    global banurlexempts
    foreach text $badurlexempts {
    if {[string match "*$badurlexempts*" $text]} {
    putlog "badurlexempt triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    } else {
    putlog "badurl triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to offensive, disturbing, slanderous, phishing, scamming, and/or fraudulent webpages is not welcomed here"
    }
    }
} 
and this time there is no error, except that there is now a kick and ban even on matching the exempt and getting this in my partyline.

<MouseBOT> [16:45] badurl triggered: binding "% *://testtest.test*" by User!@uhost (AllUsers) in #MouseBOT saying ://testtest.test.br
<MouseBOT> [16:45] badurl triggered: binding "% *://testtest.test*" by User!@uhost (AllUsers) in #MouseBOT saying ://*.testtest.test.br

Same thing even if I am just matching the bind and not the exempt at all. Not sure what is happening this time.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

Its not showing the text becouse you are setting text as something else when you do

Code: Select all

foreach text $badurlexempts {
so it's returning $badurlexempts as $text after that. Try using something else ranther than text for $badurlexempts as $text is taken from the

Code: Select all

{nick host handle channel text} {
. You should also be able to use return in the foreach part if you only wanted 1 match in the text and not as many as can be found.
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Post by mcdarby »

TCL_no_TK wrote:Its not showing the text becouse you are setting text as something else when you do

Code: Select all

foreach text $badurlexempts {
so it's returning $badurlexempts as $text after that. Try using something else ranther than text for $badurlexempts as $text is taken from the

Code: Select all

{nick host handle channel text} {
. You should also be able to use return in the foreach part if you only wanted 1 match in the text and not as many as can be found.
Okay, I just fixed that mistake and now have the script looking like this.

Code: Select all

 set badurlexempts {
"://testtest.test.br"
"://*.testtest.test.br"
}

set badurlexempts [string tolower $badurlexempts]

    bind pubm -|U "*http://www.testtesttest.test*" badurl
    bind pubm -|U "% *://testtest.test*" badurl
    bind pubm -|U "% *://*.testtest.test*" badurl

proc badurl {nick uhost hand chan text} {
    global banurlexempts
    foreach banurlexempt $badurlexempts {
    if {[string match "*$badurlexempt*" $text]} {
    putlog "badurlexempt triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    } else {
    putlog "badurl triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to offensive, disturbing, slanderous, phishing, scamming, and/or fraudulent webpages is not welcomed here"
    }
    }
} 
This time, it is still kicking on the exempt matching and now getting this in my partyline.

<MouseBOT> [02:41] badurl triggered: binding "% *://*.testtest.test*" by User!@uhost (AllUsers) in #MouseBOT saying http://www.testtest.test.br
<MouseBOT> [02:41] badurlexempt triggered: binding "% *://*.testtest.test*" by User!@uhost (AllUsers) in #MouseBOT saying http://www.testtest.test.br
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

The problem here, is that you iterate through the whole list of exemts, and kick on all items not matching, and exempting on those that do match.

You'll have to wait with the kicking until you've gone through the whole list, keeping some kind of match/no-match-sofar variable within the loop - and once the foreach-loop completes, test this variable to see wether you should kick or not.
NML_375
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Post by mcdarby »

nml375 wrote:The problem here, is that you iterate through the whole list of exemts, and kick on all items not matching, and exempting on those that do match.

You'll have to wait with the kicking until you've gone through the whole list, keeping some kind of match/no-match-sofar variable within the loop - and once the foreach-loop completes, test this variable to see wether you should kick or not.
No, technically, it is still kicking on both the exempt matching and matching of the binds even though it doesn't match the exempt. So, what I was trying to do is that when a bind is triggered, it needs to check what was said against the exempt list for a match there. And if it doesn't match an exempt, then kick. If it does match an exempt, then don't do anything.

--
Erik
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Then let me walk through what actually happens:
1. Someone triggers the badurl proc (using "http://www.testtest.test.br")
2. We start our foreach loop
3. banurlexempt is "://testtest.br", which is matched against the string written by the user, in this case it's not a match. We branch off to the second branch of the conditional.
4. This is executed:

Code: Select all

putlog "badurl triggered: binding \"$::lastbind\" by $nick!@uhost ($hand) in $chan saying $text"
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to offensive, disturbing, slanderous, phishing, scamming, and/or fraudulent webpages is not welcomed here"
5. End of loop-body, retrieve next element (banexempt is "://*.testtest.test.br").
6. This is matched against the string written by the user, and it's a match. Branch off to the first branch of the conditional.
7. This is executed:

Code: Select all

putlog "badurlexempt triggered: binding \"$::lastbind\" by $nick!@uhost ($hand) in $chan saying $text" 
8. End of loop-body, no more elements to retrieve, leave loop.
9. Proc exits

So, I believe my previous post is quite correct.
NML_375
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Post by mcdarby »

nml375 wrote:Then let me walk through what actually happens:
1. Someone triggers the badurl proc (using "http://www.testtest.test.br")
2. We start our foreach loop
3. banurlexempt is "://testtest.br", which is matched against the string written by the user, in this case it's not a match. We branch off to the second branch of the conditional.
4. This is executed:

Code: Select all

putlog "badurl triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text"
    newchanban $chan *!*[string trimleft $uhost ~] Badurl Ban 10
    putquick "KICK $chan $nick :Banned: Posting links to offensive, disturbing, slanderous, phishing, scamming, and/or fraudulent webpages is not welcomed here"
5. End of loop-body, retrieve next element (banexempt is "://*.testtest.test.br").
6. This is matched against the string written by the user, and it's a match. Branch off to the first branch of the conditional.
7. This is executed:

Code: Select all

putlog "badurlexempt triggered: binding "$::lastbind" by $nick!@uhost ($hand) in $chan saying $text" 
8. End of loop-body, no more elements to retrieve, leave loop.
9. Proc exits

So, I believe my previous post is quite correct.
I think that I understand that better, it has to do with the "foreach banurlexempt $badurlexempts {" which now makes this much more complicated for me.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

As stated before, it does'nt have to be that much more difficult, don't do the kicking within the loop, but after it has completed. Keep some status-variable to indicate wether there was a matching exempt, and test that variable once the loop completes to see wether you should kick or not...

A rough example in "psuedo-code"

Code: Select all

set matched 0
foreach var list {
 if {test} {
  set matched 1
  break
 }
}
if {test-matched} {
 #We had a match
} {
 #We did'nt have a match
}
NML_375
Post Reply