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 

Hiding a channel settings done via dcc .chanset [SOLVED]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Wed Dec 19, 2007 7:39 am    Post subject: Hiding a channel settings done via dcc .chanset [SOLVED] Reply with quote

I need to find a way to hide a channel setting that's contains *sensitive* information. Its a big part of the script so not using it isn't really an option. I've thought of using the encrypt and decrypt fuctions of eggdrop to hide the actuall string. but i cant seem to think of a way to block it from dcc and everything. At the moment it dose something like this
Quote:
<Me> .chanset #mychannel test mysecret
<bot> Successfully set modes { test { something } } on #mychannel
<bot> #Me# chanset #mychannel test { something }
I dont want to have to unbind the default chanset dcc command and replace it. I've thought about using the filt bind but am un-sure about it. Rolling Eyes
Any idea's about using something else would be great Smile
its basicly array i.e. "#mychannel" "something" which could be used i know. but i'm aiming for keeping it done via dcc so it can be set or changed if needed.
_________________
TCL the misunderstood


Last edited by TCL_no_TK on Fri Dec 28, 2007 5:17 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Dec 19, 2007 12:46 pm    Post subject: Reply with quote

Your options are pretty much using a weak encryption, or replace .chanset, possibly along with the tcl channel command - either scriptwize or in source.

filt bindings only alters what eggdrop thinks the user wrote, it will not modify the output from eggdrop to the user.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Fri Dec 21, 2007 7:16 am    Post subject: Reply with quote

Thanks nml371 Very Happy I thought alot about what said about changing it from source/with a script n that. After looking at it a differant way, i thought of way to add new commands for dcc i.e +test <#channel> [something] and -test <#test> this way if someone was to do .chanset <#channel> [something] it wouldn't be encrypted and would fail to work. Dunno really if this is secure or if am just addressing an other issue. But since the encrypt and decrypt is used in the script and the [something] is blocked from when used with the [+/-]test might be more secure.
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting 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