<?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/8439" />

	<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>2004-10-17T10:08:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-17T10:08:24-04:00</updated>

		<published>2004-10-17T10:08:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41954#p41954</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41954#p41954"/>
		<title type="html"><![CDATA[Recommend Anti-Virus TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41954#p41954"><![CDATA[
Well... as far as the limitation of this script goes, only 1 bot is needed. You can use more enhanced scripts which utilize hub and leaf bots instead of this to make them detect spammers more effectively.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Oct 17, 2004 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-10-16T20:35:27-04:00</updated>

		<published>2004-10-16T20:35:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41945#p41945</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41945#p41945"/>
		<title type="html"><![CDATA[Recommend Anti-Virus TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41945#p41945"><![CDATA[
<blockquote class="uncited"><div>Using the same bot to check and ban is certanly an bad ideea. Just ignores it and you get back from the place you've started. Use two bots, one to check and one to ban. The one that checks dosen't sit on your channel, it joins it with a random nick and ident then leaves, tells to the banning bot the uhosts and it dose the dirty job. Check ppslim's <a href="http://sourceforge.net/projects/no-spam/" class="postlink">No!Spam</a> TCL Script.</div></blockquote>actually, there's a solution which uses a "checker" client forked by the antispam script, therefore no second bot is needed <br><br>check out <a href="http://demond.net/spambuster.tcl" class="postlink">spambuster.tcl</a><br><br>it doesn't ban for onjoin DCC SEND, but could be easily patched to do so<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Oct 16, 2004 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-10-16T09:49:50-04:00</updated>

		<published>2004-10-16T09:49:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41921#p41921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41921#p41921"/>
		<title type="html"><![CDATA[Recommend Anti-Virus TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41921#p41921"><![CDATA[
Using the same bot to check and ban is certanly an bad ideea. Just ignores it and you get back from the place you've started. Use two bots, one to check and one to ban. The one that checks dosen't sit on your channel, it joins it with a random nick and ident then leaves, tells to the banning bot the uhosts and it dose the dirty job. Check ppslim's <a href="http://sourceforge.net/projects/no-spam/" class="postlink">No!Spam</a> TCL Script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Oct 16, 2004 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-15T09:55:12-04:00</updated>

		<published>2004-10-15T09:55:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41892#p41892</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41892#p41892"/>
		<title type="html"><![CDATA[Recommend Anti-Virus TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41892#p41892"><![CDATA[
For setting it to a limited number of channels you can do<br><div class="codebox"><p>Code: </p><pre><code>foreach c [channels] {  putserv "PART $c"; putserv "JOIN $c"; timer $cycletime cycle }}foreach c {#chan1 #chan2} {  putserv "PART $c"; putserv "JOIN $c"; timer $cycletime cycle }}</code></pre></div>Or join and part them at the same time and recall the timer.<br><div class="codebox"><p>Code: </p><pre><code>timer $cycletime cycleproc cycle {} { global cycletime putserv "PART #chan1"; putserv "JOIN #chan1" putserv "PART #chan2"; putserv "JOIN #chan2" timer $cycletime cycle; return 0}</code></pre></div>When the bot performs a cycle and some person tries to send a file to the bot, if it contains one of the extensions mentioned in the script the bot will kick and ban that user for sending an infected file probobaly containing a trojan/virus.<br><br>Use this I cleaned up the script a bit.<br><div class="codebox"><p>Code: </p><pre><code>bind ctcp - DCC got_dcc proc got_dcc {nick uhost hand dest key arg} { global bantime msg_user if {([string match "*.exe" $arg]) || ([string match "*.bat" $arg]) || ([string match "*.vbs" $arg]) || ([string match "*.ini" $arg])} { newban [lindex [split uhost "@"] 1] virus "Infected with a virus" $bantime foreach chan [channels] {  if {([onchan $nick $chan])} {  putserv "KICK $chan $nick :You're infected with a virus." } } if {($msg_user == 1)} { putserv "PRIVMSG $nick :You're infected with a virus. For more information please join #nohack or visit http://www.nohack.net" } }; return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Oct 15, 2004 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stealthx]]></name></author>
		<updated>2004-10-14T08:43:37-04:00</updated>

		<published>2004-10-14T08:43:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41832#p41832</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41832#p41832"/>
		<title type="html"><![CDATA[Recommend Anti-Virus TCL?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41832#p41832"><![CDATA[
Just an enquiry, anyone got any nice and simple virus script to introduce? I've try out all the TCLs in egghelp.org and it doesn't suit my needs. I'm looking for a TCL which cycle the channel to check for on-join sending virus. Any recommend? Thank you.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br><br>Was wondering:<br><br>1) Whether <strong class="text-strong">AntiDCCSend.TCL by SkAtErS</strong> works on cycling a channel? If not, how does the bot check which user is actually sending out virus?<br><br>2) How could I set it to only 2 channels for the virus checking channel by Virus Detecter by Stratsi? (It's only works for all channels right now)<br><div class="codebox"><p>Code: </p><pre><code>set bantime 20set cycletime 10set msg_user 1timer $cycletime cycleproc cycle {} { global cycletime foreach c [channels] {  putserv "PART $c"; putserv "JOIN $c"; timer $cycletime cycle }}bind ctcp - DCC got_dccproc got_dcc {nick uhost handle dest key arg} { global gobtnick bantime msg_user cycletime set filename [string tolower [lindex $arg 1]] if {[string match "*.exe" $filename] || [string match "*.bat" $filename] || [string match "*.vbs" $filename] || [string match "*.ini" $filename]} { set host "*!*[string range $uhost [string first "@" $uhost] end]" utimer 15 [newban $host VirusScan "Infected with $filename virus" $bantime] foreach c [channels] {  putkick $c $nick "You're infected with $filename virus" }  if {$msg_user} {putmsg $nick "You're infected with a virus ($filename). For more information please join #nohack or visit http://www.nohack.net"} }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5493">Stealthx</a> — Thu Oct 14, 2004 8:43 am</p><hr />
]]></content>
	</entry>
	</feed>
