egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Deop prtotection

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
hakim
Voice


Joined: 23 Apr 2006
Posts: 19

PostPosted: Sun Apr 23, 2006 3:50 am    Post subject: Deop prtotection Reply with quote

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.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Apr 23, 2006 4:30 am    Post subject: Reply with quote

you can't
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
hakim
Voice


Joined: 23 Apr 2006
Posts: 19

PostPosted: Sun Apr 23, 2006 4:47 am    Post subject: Reply with quote

demond wrote:
you can't

And how about using all those oped user commands without being oped?
[I know that it's possible]
Back to top
View user's profile Send private message
DjBeNNeTT
Voice


Joined: 18 Feb 2006
Posts: 27
Location: Telford, Shropshire, UK

PostPosted: Sun Apr 23, 2006 5:30 am    Post subject: Reply with quote

How is it possible if you do not have op on the irc server?
_________________
DjBeNNeTT

Kewlsounds Radio:
http://kewlsounds.com
irc://irc.quakenet.org/#kewlsounds
Back to top
View user's profile Send private message Visit poster's website
hakim
Voice


Joined: 23 Apr 2006
Posts: 19

PostPosted: Sun Apr 23, 2006 6:22 am    Post subject: Reply with quote

demond wrote:
you can't

So here is what I just figured out:
Code:
need-op { putserv "PRIVMSG chanserv :op #channel bot_nick"}
Back to top
View user's profile Send private message
hakim
Voice


Joined: 23 Apr 2006
Posts: 19

PostPosted: Sun Apr 23, 2006 6:25 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
DjBeNNeTT
Voice


Joined: 18 Feb 2006
Posts: 27
Location: Telford, Shropshire, UK

PostPosted: Sun Apr 23, 2006 7:02 am    Post subject: Reply with quote

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
_________________
DjBeNNeTT

Kewlsounds Radio:
http://kewlsounds.com
irc://irc.quakenet.org/#kewlsounds
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Apr 23, 2006 1:45 pm    Post subject: Reply with quote

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 Very Happy.
_________________
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...
Back to top
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Apr 23, 2006 5:40 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
hakim
Voice


Joined: 23 Apr 2006
Posts: 19

PostPosted: Mon Apr 24, 2006 7:20 am    Post subject: Reply with quote

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 Very Happy.

Interesting idea, but, I guess, that would require a really really fast botnet Very Happy
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? Rolling Eyes
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Mon Apr 24, 2006 9:35 am    Post subject: Reply with quote

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? Rolling Eyes

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 Very Happy.
_________________
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...
Back to top
View user's profile Send private message MSN Messenger
hakim
Voice


Joined: 23 Apr 2006
Posts: 19

PostPosted: Mon Apr 24, 2006 9:48 am    Post subject: Reply with quote

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 Very Happy.

Ok, now I get it. Thanks for the link Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber