<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/10085" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2005-07-22T11:59:12-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/10085</id>

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-07-22T11:59:12-04:00</updated>

		<published>2005-07-22T11:59:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53014#p53014</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53014#p53014"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53014#p53014"><![CDATA[
My code simply detects nicks that match the following standards:<ul><li>Nick and ident are equal (or atleast the ident exists in the nick)</li><li>The first 4 letters of the nick are alpha [A-z]</li><li>The last 2 letters of the nick are integers [0-9]</li><li>The last letter of the ident is an integer</li><li>and the first character of the ident is '~' (unresolved idents)</li></ul>but it first checks if the nick is all alpha (has no numbers or other symbols) or if it contains one of "-^`_", if it does then it won't check for the above.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 22, 2005 11:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-07-22T02:51:55-04:00</updated>

		<published>2005-07-22T02:51:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52998#p52998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52998#p52998"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52998#p52998"><![CDATA[
If you don't know if it works, try testing it.<br><br>I'm sure you can come up with some random nicknames and test it on yourself. And if you need such a script i'm sure you will also have some random nicks from that  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Fri Jul 22, 2005 2:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-21T16:29:53-04:00</updated>

		<published>2005-07-21T16:29:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52978#p52978</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52978#p52978"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52978#p52978"><![CDATA[
so<br><div class="codebox"><p>Code: </p><pre><code>varible drone(bantime) "30"setudef flag pjenscansetudef flag dronescansetudef str pjenjoinssetudef str pjendetectedsetudef str pjenkickedsetudef str dronejoinssetudef str dronedetectedsetudef str dronekickedbind join - * ap:checkbind join - * drone:checkproc drone:check {nick uhost hand chan} {  if {![chanel get $chan "dronescan"]} {    return 0  }  if {[matchattr $hand nmof|nmof $chan]} {    return 0  }  if {[string match "*quakenet.org" $uhost]} {    return 0  }  if {[string is alpha $nick] || [string match *\[-^`_\]* $nick]} {    return 0  }  scan $uhost %\[^@\]@%s ident host   if {([string match -nocase "*[set sident [string trimleft $ident ~]]*" $nick]) &amp;&amp; ([string is alpha [string range $nick 0 3]]) &amp;&amp; ([string is integer [string range $nick end-1 end]]) &amp;&amp; ([string is integer [string index $sident end]]) &amp;&amp; ([string index $ident 0] == "~")} {    putquick "KICK $chan $nick :You have been detected as a drone. \(ID: [channel get $chan "dronedetected"]\). If you think this is a mistake, please type: /msg $::botnick im not infected!! to be removed from the database."    putquick "MODE $chan +b $uhost"    newchanban $chan $uhost $::botnick "You have been detected as a drone. \(ID: [channel get $chan "dronedetected"]\). If you think this is a mistake, please type: /msg $::botnick im not infected!! to be removed from the database." $::drone(bantime)    utimer $::drone(bantime) putserv "MODE $chan -b $uhost"; putserv "PRIVMSG $nick :You have been unbanned from $chan."    set fp [open drones.db a]    puts $fp $nick $uhost $::time $::date $::botnick    close $fp    putloglev D * "$nick \($uhost\) detected as a drone and added to the database \($::time $::date\) \($::botnick\) ."  }}</code></pre></div>Thats what i have just made for a simple drone detection script. Dont know if it will work. Didnt understand the integer stuff so i hope you dont mid Sir_Fz me coping most of your script. Can anyone help me script a more advanced one also a trojan detection script. Im a noob at TCL, but atleast im trying to make a antipjen-drone-proxy script for all users to use. Totally public for all to use, not like aspb. Thanks for all your help so far aswell ;p (^-^)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Thu Jul 21, 2005 4:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-07-21T15:36:56-04:00</updated>

		<published>2005-07-21T15:36:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52976#p52976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52976#p52976"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52976#p52976"><![CDATA[
he use string index to see if parts of the nick is normal chars [a-Z] (alpha) or numbers (integer). read up on string <a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm" class="postlink">here</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu Jul 21, 2005 3:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-21T15:19:33-04:00</updated>

		<published>2005-07-21T15:18:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52972#p52972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52972#p52972"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52972#p52972"><![CDATA[
I dont understand what this string is alpha/integer/index is and what it does. Can someone explain? Then maybe i could start making such a script and test it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Thu Jul 21, 2005 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-07-21T15:15:12-04:00</updated>

		<published>2005-07-21T15:15:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52970#p52970</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52970#p52970"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52970#p52970"><![CDATA[
Well try it out tosser ^^, you writing very intelligent, so i can be np for you  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Thu Jul 21, 2005 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-21T12:58:27-04:00</updated>

		<published>2005-07-21T12:58:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52967#p52967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52967#p52967"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52967#p52967"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>################################################################### #                                                                 # # Coded by: Opposing (Fz@nexushells.net) - #nexushells @ DALnet   # # Version: 1.0                                                    # ##                                                                # # Description: Bankicks nicks who are suspicious of being         # #              infected with w32.aplore@mm Trojan/Virus/Worm.     # #              Translated from the Oz mirc addon.                 # #                                                                 # # Report bugs/suggestions to Fz at nexushells.net                 # ################################################################### # ############################## # Configurations start here: # # __________________________ # ## Set the channels you want this script to work on. ## example: set aplore(chans) "#chan1 #chan2" (in lowercase) set aplore(chans) "" ## Set the kick message. set aplore(kmsg) "w32.aplore@mm Trojan/Virus/Worm Infected." ## Set, in minutes, ban time for this offence. set aplore(btime) "30" # Configurations end here. # ############################ # ###################################################################### # Code starts here, please do not edit anything unless you know TCL: # # __________________________________________________________________ # bind join - * aplore:kick proc aplore:kick {nick uhost hand chan} {  global aplore  set aplorenick 0  if {([string is alpha $nick]) || ([string match *\[-^`_\]* $nick]) || ([lsearch -exact $aplore(chans) [string tolower $chan]] == -1)} { return 0 }  scan $uhost %\[^@\]@%s ident host  if {([string match -nocase "*[set sident [string trimleft $ident ~]]*" $nick]) &amp;&amp; ([string is alpha [string range $nick 0 3]]) &amp;&amp; ([string is integer [string range $nick end-1 end]]) &amp;&amp; ([string is integer [string index $sident end]]) &amp;&amp; ([string index $ident 0] == "~")} {   putquick "KICK $chan $nick :$aplore(kmsg)"   putquick "MODE $chan +b *!*@$host"   putlog "\002$nick\002!\002$ident\002 is infected with w32.aplore@mm."  } } putlog "w32.aplore@mm bankick v1.0 by Opposing Loaded..."</code></pre></div>Thats Sir_Fz's script. I dont understand what this string is alphaeger/index is and does. But i guess its a good way of detection most trojan/drone users. But i guess i could make a array and do a string match $nick/$ident $array aswell. Then add the nick/host/ident to a database and always make a removeme proc. If i did that. What do you think would be the best host type to add the host with. $nick!$uhost *!*@$host *!*$nick@$host or something.I guess not to use *!*@$host because inocent people will be more likely to be punished so $nick!$uhost or *!$nick/$ident@$host. Im not good at this ip/hostname/host stuff confuses me   (^-^).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Thu Jul 21, 2005 12:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-20T22:33:40-04:00</updated>

		<published>2005-07-20T22:33:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52953#p52953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52953#p52953"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52953#p52953"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>a signature could be used, by nick/username/gecos/ctcp version reply pattern</div></blockquote>What do you mean by a signature could be used to detect a trojan/drone user. And could a string and/or reqexp on the ident and/or host to detect if there is any numbers in the ident or any random idents. Also maybe a string match to detect any $decode messages. I dont know if any of this will work. I dont have a clue of using these to detected a random drone/possible trojan infected client. As far as i know, aspb only really kicks people with numbers and/or random ident/nick.</div></blockquote>a signature is certain combination of characters that can be matched against, using for example Alchera's (and possibly Sir_Fz's, haven't looked at his code) regexp<br><br>however, that would work against naive drones only (by "drone" I mean an IRC client, automatically spawned from an infected host - most likely unsecured windows pc on a cable connection - by a virus or trojan) <br><br>I don't follow worm (virus/trojan) development, but AFAIK there are worms which are able of generating nick/username/gecos in a pretty natural (pseudorandom) manner, rendering such regexp matching tools useless - and that's understandable, since from algorithmic point of view, such mechanism is fairly easy to implement (for example using a dictionary, with a simple permutation engine) - so even heuristic score assigning schemes (like mine in spambuster) would be pretty ineffective against that<br><br>if IRC anti-drone schemes/systems/tools still work, that's obviously because the majority of worm runners are (still) pretty dumb folks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Jul 20, 2005 10:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-07-20T20:54:41-04:00</updated>

		<published>2005-07-20T20:54:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52950#p52950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52950#p52950"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52950#p52950"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>regexp {^([^@]+)} $uhost _ identif {[regexp -nocase {^[^aeiou_^-`]{5,}$} $nick] || [regexp {.*[0-9]} $ident] &amp;&amp; ([string length $ident] &gt; 4)} { *** do stuff}</code></pre></div>The above looks for consonant nicks and idents with numbers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Jul 20, 2005 8:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-20T17:52:07-04:00</updated>

		<published>2005-07-20T17:52:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52947#p52947</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52947#p52947"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52947#p52947"><![CDATA[
thats a good script. But only detects clients with <strong class="text-strong">w32.aplore@mm</strong> trojan thing. I just need to know if a do a scan on the nick and ident if it would detect itd a drone/trojan client. Using regexp and some string match if-statements. To see if their is any numbers in the nick and/or host in certain places if you know what i mean.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jul 20, 2005 5:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-07-20T17:44:40-04:00</updated>

		<published>2005-07-20T17:44:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52946#p52946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52946#p52946"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52946#p52946"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=9904" class="postlink">Sir_Fz's solution</a>. The end post. Works well and is a classic example of the famous KISS principle. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Jul 20, 2005 5:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-20T14:00:27-04:00</updated>

		<published>2005-07-20T14:00:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52941#p52941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52941#p52941"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52941#p52941"><![CDATA[
I know its not 100%. Because also inocent people could be detected as a drone/trojan infected client and be punished. But then there will be a database. So they can mesage the bot saying 'im not infected' or something and get their host removed from the database. Chances are that most drones/trojan infected users will get detected and punished. Also maybe a string match "*$decode*" $text] could also detect $decode messages.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jul 20, 2005 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2005-07-20T13:54:36-04:00</updated>

		<published>2005-07-20T13:54:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52939#p52939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52939#p52939"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52939#p52939"><![CDATA[
dont think its possible too 100% clear youre channel from drones/trojans etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Wed Jul 20, 2005 1:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2005-07-20T13:46:17-04:00</updated>

		<published>2005-07-20T13:46:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52937#p52937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52937#p52937"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52937#p52937"><![CDATA[
<blockquote class="uncited"><div>a signature could be used, by nick/username/gecos/ctcp version reply pattern</div></blockquote>What do you mean by a signature could be used to detect a trojan/drone user. And could a string and/or reqexp on the ident and/or host to detect if there is any numbers in the ident or any random idents. Also maybe a string match to detect any $decode messages. I dont know if any of this will work. I dont have a clue of using these to detected a random drone/possible trojan infected client. As far as i know, aspb only really kicks people with numbers and/or random ident/nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Wed Jul 20, 2005 1:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2005-07-20T09:13:01-04:00</updated>

		<published>2005-07-20T09:13:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52929#p52929</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52929#p52929"/>
		<title type="html"><![CDATA[Antipjen-drone script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52929#p52929"><![CDATA[
<blockquote class="uncited"><div>this is pathetic (just like all qnet stuff btw, we all know qnet is lame <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> qnet people please don't jump on me now hehe)</div></blockquote>Hey!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Jul 20, 2005 9:13 am</p><hr />
]]></content>
	</entry>
	</feed>
