This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

[BETA RELEASE] Clone Scanner v2.35.b by awyeah

Support & discussion of released scripts, and announcements of new releases.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

[BETA RELEASE] Clone Scanner v2.35.b by awyeah

Post by awyeah »

Hello everyone!

I've finally released another one of my scripts after being away for like 2 years. Didn't put much work on it though, but anyway here it is.
Purpose of the script
# This script serves the purpose of eliminating excessive clones #
# residing in a channel. These clones are detected in the format of #
# *!*@host.domain.com.

Features of the script
# (1) This script has '2' settings of channels to work on. #
# (a) Can be activated to work on user defined channels. #
# (b) Can be activated to work on all the channels the bot is on. #

# (2) The clone scan invertal time is customizable, to scan the channel #
# continuously after 'X' number of minutes. #

# (3) This script also has a feature to scan users on joining channels #
# to check for clones. This feature can be enabled or disabled as #
# desired. #

# (4) This script automatically exempts people with OPS and VOICES #
# from the clone detection mechansim. This has been implemented #
# since most channel ops and voices have spam cycler bots running #
# around the channel. #
# #
# (5) An additional feature in this script is that it automatically #
# exempts all users with virtual hosts (vhosts) from the clone #
# detection mechanism. Hence, users with real ISP (Internet #
# Service Provider) IP addresses are only checked for clones. #
Once again people, my email address has changed so from now onwards you can email me at: awesomeawyeah@gmail.com

This script hasn't been released publicly on egghelp as I normally do release them. This script is currently a beta version for users to use and check and report any bugs or errors found, before I release it on egghelps tcl section. So if you find any errors, please do paste them in this thread on the forum for me to lookup, check and fix it.

You can also send me comments and suggestions of what extra features you would like to see in the script.

Download the script by clicking on this link:
Clone Scanner v2.35.b


Thanks,
JD
Last edited by awyeah on Tue Aug 21, 2007 9:53 pm, edited 1 time in total.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Clone Scanner v2.35.b

Post by spithash »

Hey bro,

Since im about to compile a new eggdrop, i will load your tcl script and i will mail you about any bugs, exploits that MIGHT cause at the eggdrop proccess and/or partyline.

I have tested few of your tcl scripts and they worked fine, so i trust your tcl coding :wink:

Once again, il msg you in your channel or il mail you.

Your SOp,
SpItHash :P
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Re: Clone Scanner v2.35.b

Post by awyeah »

SpItHash wrote:Hey bro,

Since im about to compile a new eggdrop, i will load your tcl script and i will mail you about any bugs, exploits that MIGHT cause at the eggdrop proccess and/or partyline.

I have tested few of your tcl scripts and they worked fine, so i trust your tcl coding :wink:

Once again, il msg you in your channel or il mail you.

Your SOp,
SpItHash :P
Bugs maybe yeah, exploits hell no :D I don't want to exploit or infect other peoples pc's or shell servers with malicious virusses or trojans.

Just drop a post here, my email is always jammed up and I hardly chat on my channel, well technically its not mine.. its the USERs channel everyone including you, I just administrate it :)
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

as in the exploit thingie, i was talking about eggdrop proccess exploit...

Like, if you load weather.tcl and lolz.tcl together and you attempt to .wz some country, the bot will ping timeout and the proccess will be killed automatically...heh, i have tested that thingy...

THATS why i was talking about any exploits...meaning of...working with other loaded tcl's ;)

Bytheway, i didnt have the time to compile that eggy, so i didnt try your new script yet. :?

Cheerz :)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Umm well thats no exploit.. I've used lolz.tcl that was like made for prehistoric eggdrop. Haven't used weather.tcl though, but seems as if they clash together, check in partyline for errors by using .tcl set errorInfo and you will get a good explanation of why they both are clashing together.

IMHO both scripts utilize pub triggers, lolz.tcl is a pub command tcl used for utility and so is weather.tcl, retrives data from some weather website which fires when you type a pub trigger followed by a zipcode. :)
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

well i tried this script on the irc server rizon,
and like many it uses some kind of hostname protection for the users.
resulting the script banning everyone in the channel for cloning
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I'm not sure about rizon and have never used it either. Coded this script for networks which don't have host-masking services such as HostServ, i.e. DALnet etc.

If you paste me the users masking hosts and some log of the script doing what you said earlier, I would get the script to work better on those type of networks, provided some condition checks.

IMHO something easier would be to just add an exemption option for specific masks (with wildcards), in the next release then. Users could add and remove masks as they prefer, even if they use networks which have host-masking enabled on.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Updated Clone Scanner v2.58.b is now released. Addition to the new version includes:
# ######## #
# VERSIONS #
# ######## #
# #
# v2.58.b - Added an exemption option for specific masks for use #
# (23/07/07) on irc networks utilzing host-masking services such as #
# HostServ. #
# #
# v2.35.b - First public release. #
# (12/07/07) #
Since it takes time for slennox to publish scripts on egghelp's tcl section, approximately 10 days or more, so I have uploaded the newer version on my website currently and will submit it to egghelp's tcl section later.

Download the script by clicking on this link:
Clone Scanner v2.58.b
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

does this also mean it wil exclude clone scanning for
nick!ident@Rizon-xxxxxxxx.ispname
or
nick!ident@6A2E6C4.1E3A8CF.81B7346.IP

because that's what rizon uses to hide/protect someone's ip
but if you would clone you would get the same match,
exept if you would use vhosts
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Well then in that case you would have to add these ips to the exemption list:
*!*@Rizon-*
and also:
*!*@???????.???????.???????.IP
#or
*!*@*.IP
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

well i don't want to exclude them,
i just want to make sure that it doesn't do the same thing last time happend,
(banning everyone for cloning)
if i would exclude them the clone scanner would be useless,
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

TRaSH wrote:well i don't want to exclude them,
i just want to make sure that it doesn't do the same thing last time happend,
(banning everyone for cloning)
if i would exclude them the clone scanner would be useless,
The clone scanner checks the mask *!*@some.host.com for clones. I wouldn't agree everyone on the network would have a similar host, so its impossible to say, everyone using the host-masking service would have the same IP on the network and would be detected as a clone. Host-masking services generally assign different alphanumeric hosts (similar to dynamic hosts) to each and every user. (except for IRC operators and admins)

For this exempt certain nicks and idents including the mask. I'm not sure what type of host-masking you're talking about, but relatively even if its an mIRC script IMHO then networks which have host-masking services like the one you mentioned it would be difficult to implement it there to detect clones and not only tcls as well.

Nevertheless the script perfectly on networks such as DALnet and I've tested it thoroughly. You can change the script code as per your use, if you know tcl i.e.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

going to give it another try,
perhaps i messed up a setting.

2 other things i would like to see in the script,
- ban time for the clones
- a x amount wait time before banning clone's on join,
sometimes it happens that your nick get's timed out and you log in with your ghosted nick.
and it bans right away.
so a wait of x amount of secs would be perhaps a good idea
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I will add the bantime, that is no problem. Probably I just missed it out since I released it in a hurry.

As for this I really don't understand why you need it:

Code: Select all

a x amount wait time before banning clone's on join,
sometimes it happens that your nick get's timed out and you log in with your ghosted nick.
and it bans right away.
so a wait of x amount of secs would be perhaps a good idea
Well I can add that feature, but if your channel has a big user count, then your bot will have alot of utimers and will eat alot of cpu and memory.

Anyway I don't know why would your eggdrop would get timed out and it logs with a ghosted nick? I don't understand the reasoning behind that. Maybe your shell server is lagging or so, only then it got timed out, one of the reasons which can come to my mind perhaps.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
B
BrewMaster
Voice
Posts: 34
Joined: Sat Jul 07, 2007 8:26 am

Post by BrewMaster »

# (4) This script automatically exempts people with OPS and VOICES #
# from the clone detection mechanism. This has been implemented #
# since most channel ops and voices have spam cycler bots running #
# around the channel. #


Is this in reference to nics in the bots as +v ...or do it also include anyone in the channel that was given a voice?

brew
Post Reply