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.

Deop prtotection

General support and discussion of Eggdrop bots.
Post Reply
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

Deop prtotection

Post by hakim »

How can I protect my bot from being deoped?
Or maybe he could just use all those oped user commands without being oped?
Let's say I'm the channel owner.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

you can't
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

Post by hakim »

demond wrote:you can't
And how about using all those oped user commands without being oped?
[I know that it's possible]
D
DjBeNNeTT
Voice
Posts: 27
Joined: Sat Feb 18, 2006 6:40 pm
Location: Telford, Shropshire, UK
Contact:

Post by DjBeNNeTT »

How is it possible if you do not have op on the irc server?
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

Post by hakim »

demond wrote:you can't
So here is what I just figured out:

Code: Select all

need-op { putserv "PRIVMSG chanserv :op #channel bot_nick"}
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

Post by hakim »

DjBeNNeTT wrote:How is it possible if you do not have op on the irc server?
I don't know how, but I just saw once how channel master's bot deoped another user, when the bot had no "@" near its nickname.
D
DjBeNNeTT
Voice
Posts: 27
Joined: Sat Feb 18, 2006 6:40 pm
Location: Telford, Shropshire, UK
Contact:

Post by DjBeNNeTT »

I dunno what IRC Network you use, but on IRC Quakenet if you get DEOP you can request for OP again from one of the service bots (if you have a script that does that) Or you have a mirc script that ops your bot on deop.
As far as i know thats the only way

(Some Mirc scripts offer protection scripts, add your bot to protection)

As for doing op commands without op status, I am pretty sure this is impossible, and if so, most likely a hack.
All IRC Servers show who has OP or not, If they do not then the server reconizes that if they try to do an OP command, giving them an error message.

Unless the IRC Server is custom built for that person who did it, or they hacked, or you just simply made your nicklist to short, OR you have a dodgy script, then it is not possible
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

with providing reop functionaltility you still haven't protected your bot from beeing deopped. If you want to prevent this, run your own server and protect your bot as IRC op (similar L and Q are protected on quakenet) or use an network which supports protection mode +a (dmin, usually shown as !. bot can still be deopped, but normal ops cannot remove +a, so it can really reop itself).
You COULD try to use a really fast botnet on diffrent servers, to deop someone, who deopped one of the bots, in a way it reachs the hub server earlier than the previous deop. But this nothing you can relay on :D.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

If on a network using one of the those bloated IRCd's like Unreal then just set +aq on the bot.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

Post by hakim »

hakim wrote:And how about using all those oped user commands without being oped? [I know that it's possible]
DjBeNNeTT wrote:How is it possible if you do not have op on the irc server?
Sorry, it was only my imagination, it's impossible.
De Kus wrote:You COULD try to use a really fast botnet on diffrent servers, to deop someone, who deopped one of the bots, in a way it reachs the hub server earlier than the previous deop. But this nothing you can relay on :D.
Interesting idea, but, I guess, that would require a really really fast botnet :D
Alchera wrote:If on a network using one of the those bloated IRCd's like Unreal then just set +aq on the bot.
Can you explain that better? :roll:
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

hakim wrote:
Alchera wrote:If on a network using one of the those bloated IRCd's like Unreal then just set +aq on the bot.
Can you explain that better? :roll:
He is most likely refering to networks which use those usermodes: www.euirc.net/en/modes.php
Imho should be +a enough (you should never entrust a bot channel owner rights), though you should already trust your +o users enough :D.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
h
hakim
Voice
Posts: 19
Joined: Sun Apr 23, 2006 3:39 am

Post by hakim »

De Kus wrote:He is most likely refering to networks which use those usermodes: www.euirc.net/en/modes.php
Imho should be +a enough (you should never entrust a bot channel owner rights), though you should already trust your +o users enough :D.
Ok, now I get it. Thanks for the link :)
Post Reply