passctrl.tcl Component Documentation
# passctrl.tcl for netbots.tcl v3.35
# designed to work with eggdrop 1.3.28 or higher
# Johoho's Eggdrop Page - http://johoho.eggheads.org/eggdrop/
# passctrl.tcl copyright (c) 1999,2000,2001 by Johoho <firstname.lastname@example.org>
# security routines copyright (c) 2001 by Abraham <email@example.com>
# netbots.tcl copyright (c) 1998-2000 by slennox <firstname.lastname@example.org>
## passctrl.tcl component script v1.27.0, 28.06.2001 ##
# v0.10.0, 02.05.2000 - initial design and concept
# v0.30.0, 03.05.2000 - fixed bugs
# v0.50.0, 04.05.2000 - changed logging, handling, etc.
# v1.00.0, 06.05.2000 - public release
# v1.10.0, 07.05.2000 - added dictionary support
# v1.11.0, 29.05.2000 - fixed logging bug
# v1.12.0, 01.06.2000 - fixed another logging bug
# v1.13.1, 16.06.2000 - fixed a small DOC bug - thanks ICU
# v1.14.0, 19.06.2000 - added NO-IRC support
# v1.20.0, 20.01.2001 - fixed a non-existant user bug - thanks abrahamek
# v1.21.0, 16.02.2001 - added security routines to chpass command (Abraham)
# v1.22.0, 19.02.2001 - optimised security routines in chpass command (Abraham)
# v1.23.0, 24.02.2001 - fixed minor but annynoing bugs in chpass command (Abraham)
# v1.24.0, 13.03.2001 - fixed other minor but annynoing bugs
# v1.25.0, 16.03.2001 - fixed, optimised and re-worked code (Abraham)
# v1.26.0, 14.06.2001 - fixed some cosmetic bugs (Abraham)
# v1.27.0, 28.06.2001 - added security routines to msged PASS command (Abraham)
more detailed history is provided in script file
# thanks to NML_375 for his regexp help (crappy brackets :)! thanks slennox for netbots.tcl
# credits to Abraham for his bug and feature reports [and coding :-)]
Please note that this component is fully compatible with netbots.tcl v3.15 - 3.35 by slennox
DescriptionThis script provides some password checks to eggdrop. Any password entered by msg(pass) or dcc(chpass and newpass) will be validated against criterions. Possible criterions are:
Additional checks are made whether the pass ist same to the handle of the user or if the handle is same to the reversed handle of the user. (i.e. if your nick is foo, than it won't accept foo or oof as a password). Owners are allowed to set any password they want using chpass.
Recently security routines was added, to prevent situation when for example channel master is changing password of permanent owner, no futher setup is needed.
DCC Commands.chpass (m|m) - same as .chpass in eggdrop
.newpass (-|-) - same as .newpass in eggdrop
MSG Commandspass (-|-) - same as pass in eggdrop
netset.tclTo install this component properly you have to copy it to your netbots directory and add these lines to your netset.tcl conf:
ContactYou can contact me via E-Mail at email@example.com, at ICQ 2499577 (tell me who you are and what you want or I'll ignore you) or catch me on irc usually around 18-24 UTC+1 in #eggdrop. (IrcNET)
DISCLAIMERpassctrl.tcl is provided 'as is' and without warranty of any kind. You may use it own will as long as the author is NOT held responsible for ANY damage caused by the usage of this script, neither direct or indirect.
You may modify the script and all belonging files as long as you keep this copyright-text, include a short description of all changes, and send a copy to the author (e-mail: firstname.lastname@example.org).