how to write encrypt form of password in pexpect script?
I write a script like this
telnet_cmd = "telnet %s" %(host_name)
child = pexpect.spawn(telnet_cmd)
child.logfile = sys.stdout
while the password is seen by everyone. I am wondering any method to replace this?
I tried base64, but definitely, everyone also could decode the base64 password.
So, any other method to do this?
would someone give me some hint?
|All times are GMT -5. The time now is 03:34 AM.|