built-in name/password variables?

Posted by SKYY on Fri 04 Apr 2008 03:25 PM — 5 posts, 23,119 views.

#0
Under World Properties->General->Connecting, there are fields for Name and Password (and Connect).

I do not like AutoConnect, but I would like to make an alias that sent this name field, and nicely-starred-out password field, to the MUD.

Beneath the Connect Text box, it says "You can use %name% or %password%, if you wish the name or password supplied above to be inserted." I don't think that applies to making aliases, but if there is some way I can use that, please let me know.

Right now, I'm putting all my passwords into un-hidden variables (!!) and using an alias "log" = "@ch;@pw". Can I use the %name% and %password% fields instead, somehow?
Amended on Fri 04 Apr 2008 03:27 PM by SKYY
Germany #1
Any variable you are using is "open" (see world variables). You may use lua to encrypt/decrypt (but I don't know if there is something ready to use). Nevertheless, someone which may read your computer will find your encryption algorithm and file...

On the other hand your telnet connection to your mud is not encrypted, unless you are using a SSL tunnel (see homepage of your mud, there are some who provide a SSL connection). Without encryption of your connection it makes no sense to protect your password.
Amended on Fri 04 Apr 2008 04:45 PM by StuDraKi
USA #2
It makes sense on a level of people wandering up to your computer and deleting your account. There have been several discussions about this on the forums in the past, but I honestly just do not store my password anywhere and have aliases set up to gag commands that require my password from getting displayed or stored in the command history. That and I lock my computer when I am away from it, even when no one is home but me... My roommate's cats may attempt to exact revenge for me not skritching them or for tripping over them or something.
Australia Forum Administrator #3
Quote:

I do not like AutoConnect, but I would like to make an alias that sent this name field, and nicely-starred-out password field, to the MUD.


Those are internal variables, not in the normal variable window. However you can access them with GetAlphaOption provided you are not inside a plugin (for security reasons).

Here is an alias that will do what you want:


<aliases>
  <alias
   match="log"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>
SendNoEcho (GetAlphaOption ("player"))
SendNoEcho (GetAlphaOption ("password"))

Note "Name and password sent"
</send>
  </alias>
</aliases>


I should warn you that it isn't too hard for someone familiar with scripting to use similar scripts to display the password on the screen, so security isn't that great. However it should discourage a casual passer-by from seeing your password.
#4
Nick, you're too freakin smart, I swear.

Thanks.