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

	<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>2002-02-19T22:42:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-19T22:42:00-04:00</updated>

		<published>2002-02-19T22:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4709#p4709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4709#p4709"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4709#p4709"><![CDATA[
Yourname: the script requires no addition to netset.tcl - it simply replaces superbitch.tcl (not sentinel).  It could also be used on just one bot; that's your option.<br><br>And thank you petersen for pointing out a major footnote to this script:<br><br>this script is NOT intended to prevent a channel takeover due to a carefully planned and coordinated takeover by a hostile botnet.  It was written to stop an abusive op from causing channel damage.  If a channel runs a botnet of only a handful of bots, its entirely probable that one op could get rid of them all - hopefully this will prevent against such attacks.<br><br>&lt;font size=-1&gt;[ This Message was edited by: jestrix on 2002-02-19 19:43 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Tue Feb 19, 2002 10:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-02-18T10:52:00-04:00</updated>

		<published>2002-02-18T10:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4658#p4658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4658#p4658"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4658#p4658"><![CDATA[
massdeop prevention scripts, while somewhat useful, are severely limited in that they're damage limitation scripts (ie, they only come into effect once a mdop has started). If you feel you're in a position where someone would want to mdop a channel of yours, you should look more into preventing ppl getting ops there in the first place. once someone has ops, all the scripts in the world aint gonna help you keep that chan. at a 1:1 bot ratio, a takeover net will always win (and my test show that this can easily be closer to 2 protection to 1 takeover). main reason for this is that the takeover net starts first. depending on server lag, it will probably deop 8-12 of your net before it even reacts.<br>the point of this post is that if you have a secure net, you shouldn't need any massdeop protection schemes. prevention is better than the cure.<br>however, probably one of the best ways is a simple combination of revengebot, and protectops, as both are coded in c.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Mon Feb 18, 2002 10:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2002-02-18T10:13:00-04:00</updated>

		<published>2002-02-18T10:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4656#p4656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4656#p4656"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4656#p4656"><![CDATA[
Some months back, i had requested someone to post anything about a mass-deop protection standalone script, to which i got no reply.<br><br>As this is a netbots integrated script, i hope this same sentinel can be replaced with the current sentinel being used in netbots?.. I mean, i dont need to add any setting to netset.tcl.. do i?.. Or is this supposed to be used as a standalone script?<br><br>AND.. this is supposed to be detected on botnets, what if i put this script on just one standalone bot?<br><br>Another thing, the same old one, is there ANY such script that can prevent a mass-deop (even the users who dont have a bot record and still were victims of massdeop).. <br><br>*Hopefully* someone should've understood what i meant cuz im sure my question(s) are confusing.<br><br>_________________<br>¬¥ourname<br><a href="mailto:Yourname@k.st">Yourname@k.st</a><br><a href="http://www.hardfist.com" class="postlink">http://www.hardfist.com</a><br><br>&lt;font size=-1&gt;[ This Message was edited by: Yourname on 2002-02-18 07:17 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Mon Feb 18, 2002 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-13T10:35:00-04:00</updated>

		<published>2002-02-13T10:35:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4533#p4533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4533#p4533"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4533#p4533"><![CDATA[
errr, after re-reading my post and drinking some coffee, you're entirely correct.  I switched my descriptions above:<br><br>flushmode sends out numerous mode changes; no flushmode puts the modes out at the same time.<br><br>sorry if that confused anyone :/<p>Statistics: Posted by Guest — Wed Feb 13, 2002 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-02-13T08:56:00-04:00</updated>

		<published>2002-02-13T08:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4529#p4529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4529#p4529"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4529#p4529"><![CDATA[
Odd. It seems the opposite of what is supposed to happen (in theory) is occuring in your case.<br><br>Presumably, with flushmode pushing all the modes out as soon as each call of the script is done, the modes would go out separately. Without flushmode, the modes would have time to queue up and get sent out in a fewer number of lines. If that isn't happening in practice then somethng strange is going on.<br><br>Anyway, I've saved the script for addition in the next tcl archive update.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Wed Feb 13, 2002 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-12T23:54:00-04:00</updated>

		<published>2002-02-12T23:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4517#p4517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4517#p4517"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4517#p4517"><![CDATA[
script name changed - sorry about that slennox. New link posted above.<br><br>Also added in a wasop check as per your recommendation.  As for the flushmode, what I found was that without it, the bot would push multiple modes at a time: ie. Bot sets mode -o+ooo badperson bot1 bot2 bot3<br><br>with flushmode, the bot would do:<br>bot sets mode -o+o badperson bot1<br>bot sets mode +o bot2<br>bot sets mode +o bot3<br><br>etc etc....<br><br>according to the tcl command reference:<br>flushmode &lt;channel&gt;<br>    forces all previously pushed channel mode changes to go out right now, instead of when the script is done (just for the channel specified)<br><br>it was my thinking that the faster the modes went out the better.  I didn't notice any time response delay, but I've only tried mass deops by one person. If I am mistaken in thinking that flushmode will help timewise, someone please correct me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>&lt;font size=-1&gt;[ This Message was edited by: jestrix on 2002-02-12 20:55 ]&lt;/font&gt;<br><br>&lt;font size=-1&gt;[ This Message was edited by: jestrix on 2002-02-13 07:35 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Tue Feb 12, 2002 11:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-02-12T06:21:00-04:00</updated>

		<published>2002-02-12T06:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4486#p4486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4486#p4486"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4486#p4486"><![CDATA[
I'd like to add your script tcl archive, however please modify the version as per the guidelines at <a href="http://www.egghelp.org/license.shtml" class="postlink">http://www.egghelp.org/license.shtml</a> section 3b.<br><br>Just a couple of comments on things you may have already considered. I noticed there isn't a wasop check on $opped in the -o part of the script. You might want to look into whether this is necessary (might be a good idea anyway for safety). The other thing I noticed is the use of flushmode, which might make the script more effective in responding to a single deop, but less effective for multiple deops.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Tue Feb 12, 2002 6:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-12T00:18:00-04:00</updated>

		<published>2002-02-12T00:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4484#p4484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4484#p4484"/>
		<title type="html"><![CDATA[Addition to superbitch.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4484#p4484"><![CDATA[
I run a botnet of about 30 bots on EFNet and try to keep my channels as secure as possible.  One thing I noticed today, was that ops could deOP bots.  One of the ops in a channel (+fov for the chan) "accidentally" hit a button for a mass deOP script and started to deOP all of the bots. Luckily in a botnet of 30 this is not a problem (the bots re-op'd the others before the chan could lose ops). However, I thought this to be a security hole - what if some user, whom i previously trusted as a friend/op wanted to takeover a channel?  Since I couldn't find any settings in netbots to take care of it (and since i was bored), I created an addition to the superbitch.tcl to take care of this problem.<br>Before the update, if a user (+fov on the chan) deopped a bot, the following would happen:<br>[20:49] *** neoshw sets mode: -o HAiKU<br>[20:49] *** hurts2pee sets mode: +o HAiKU<br>[20:49] *** l33th4x0r sets mode: +o HAiKU<br>[20:49] *** TheClap sets mode: +o HAiKU<br>[20:49] *** alkoholic sets mode: +o HAiKU<br>etc etc<br><br>Now, the following happens:<br>[21:14] *** jestrix sets mode: -o RumpRangR<br>[21:14] *** hurts2pee sets mode: -o+o jestrix RumpRangR<br>[21:14] *** alkoholic sets mode: -o+o jestrix RumpRangR<br>[21:14] *** CTCPFlood sets mode: -o+o jestrix RumpRangR<br>and so on...<br><br>I made it so that the bot who was deopped would get re-opped immediatly as well as the offender getting deopp'd.<br><br>The modified superbitch.tcl (based on the one that came with netbots 4.05) can be found at <a href="http://www.jestrix.net/ultrabitch.tcl" class="postlink">http://www.jestrix.net/ultrabitch.tcl</a> (code is fully commented)<br><br>I take no credit for the code - I simply modified the exisiting script - slennox should be credited for an excellent job <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>(also, if there was an easier i could have done this, with features already in netbots, please inform me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> +revenge +revengebot +bitch -protectops, etc etc, didn't seem to do anything for me)<br><br>&lt;edit&gt;damn typos&lt;/edit&gt;<br><br>&lt;font size=-1&gt;[ This Message was edited by: jestrix on 2002-02-12 20:49 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Tue Feb 12, 2002 12:18 am</p><hr />
]]></content>
	</entry>
	</feed>
