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.

encrypted userfile/config in eggdrop

Old posts that have not been replied to for several years.
Locked
w
wojtekmazek

encrypted userfile/config in eggdrop

Post by wojtekmazek »

Hi,

I try to encrypt userfile and config in eggdrop 1.6.x.
I know there is not safe (can be decrypt) but I think
for some scripts-kids will be enough ;]

Do you know some ways to do this?

cheers,
Wojtek.
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

Userfile is already crypted (at least passwords are), and about config file, encrypt/decrypt spring to mind. Read about them in doc/tcl-commands.doc

Config file of 1.6 series is just a simple TCL script and nothing more, so you can safely make it decrypt itself 'at hoc'.

Try this in the partyline:

Code: Select all

.tcl eval [decrypt 123 [encrypt 123 {putlog "blaaaah"}]]
It is equivalent to: .tcl putlog "blaaaah"
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
Locked