root password in a .py script
Bart Nessux
bart_nessux at hotmail.com
Fri Mar 12 22:15:44 EST 2004
What do you guys think of something like this... I know it's not safe, but
it would keep the *average* user from immediately seeing the password:
def stupid():
objects0 = ["j", "a", "b"]
objects1 = ["T", "x", "f"]
objects2 = ["/", ":", ";"]
objects3 = ["d", "w", "v"]
objects4 = ["0", "9", "4"]
objects5 = ["H", "B", "G"]
objects6 = ["!", "~", "'"]
objects7 = ["o", "l", "e"]
objects8 = ["U", "M", "E"]
objects9 = ["=", "+", "-"]
compiled = objects9[0] + objects1[2]\
+ objects5[0] + objects6[1] + objects0[2]\
+ objects4[1] + objects3[2] + objects7[1]\
+ objects2[2] + objects8[0]
return compiled
stupid()
How else could I twist this up?
More information about the Python-list
mailing list