Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

IP notify script

Name: Anonymous 2011-12-10 17:48

http://pastebin.com/twp0zT2m
I'm trying to use this script to notify me whenever my ip address changes, but when I get the e-mail's message is in the form of "b'xxx.xxx.xxx.xxx" (minus double quotes).

Can somebody tell me what the cause of this is and how to fix it?

Name: Anonymous 2011-12-10 17:52

real men use mail

Name: Anonymous 2011-12-10 17:54

Oh also, is there a good way to obfuscate my login info so it's not just sitting there in plaintext?

Name: Anonymous 2011-12-10 17:57

>>2
http://code.google.com/appengine/docs/python/mail/
Is this the mail you're talking about?

Name: Anonymous 2011-12-10 18:03

Name: Anonymous 2011-12-10 18:08

>>5
Well shit, now I feel like a dumbass.

So does anybody know of a good way to obfuscate/encrypt my login info?

Name: Anonymous 2011-12-10 19:26

>>6
'your_password'.encode('rot13')

Name: Anonymous 2011-12-10 21:05

>>6
Great!
Now, please let me enjoy your dumb teen tight ass!

Name: Anonymous 2011-12-10 21:40

>>7
That would still have my password readable in the file. I guess it's inevitable since I have to supply the password to login at some point. I'll just use a dummy account then.

>>8
>teen
I haven't been one of those in quite a while.

Name: Anonymous 2011-12-10 22:24

>>9

yeah, you could obfuscate it, but any one who could find your script could run it in a debugger, or simply modify the script to just print the password, so that forces the script to be kept secret, or maybe you could store the username and password in a file with very restricted access, and have the script load the file. Then loading the login file should only succeed if run from the appropriate user.

Name: Anonymous 2011-12-11 5:44

Reindeer telephone dubs

Don't change these.
Name: Email:
Entire Thread Thread List