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.

Public commands (!op !voice !ban !kick !deop !devoice etc.)

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Public commands (!op !voice !ban !kick !deop !devoice etc.)

Post by x0x »

There are some scripts around with public commands but are they secure?

I've found Fz Commands that probably is the most secure around but it needs chanserv to operate and I just want a script that works for my bots on EFnet. People on the userlist with a certain flag should be able to perform commands. For example !op, !deop, !ban, !kick, !unban and so on.

Of course there's LOL's tools but the latest version is not available anymore and I heard someone talk about a security leak when one has a nick that contains the { character. It would be possible to takeover the bot with just a few steps.

Any help would really be appreciated.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

In FzCommands, ChanServ is only used by the bot to op itself when triggering the !up command. It is also configurable to work on other networks.
## Set Chanserv's nick.
## example: "CHANSERV" or "PRIVMSG chanserv@services.dal.net":
set fzcom(chanserv) "CHANSERV"

## Set Chanserv's op command.
## example: "op %chan %botnick" where %chan is #channel and %botnick is the bot's nick.
set fzcom(chanservop) "op %chan %botnick"
x
x0x
Op
Posts: 140
Joined: Tue Feb 10, 2009 6:42 am

Post by x0x »

Ah that explains!

Users have issues trying to auth though.

I cannot kick a user in chan A where he has flags +alo. Is that somehow possible to do anyway as bot owner?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

What issues with auth? As for kicking a master, that's just not allowed by the script (even for owners).
Post Reply