EvilZone
Programming and Scripting => Scripting Languages => : Rhynorater August 13, 2011, 04:15:37 AM
-
Hey Guys,
This is my first post so I decided to give it all I have got. I'm going to make an attempt to not just take from this forum but give to it too. So, I have decided to give you guys a program that I coded that is a Text encryption and Decryption program. This isn't much I know but I'm trying to increase in my programing skill while giving to the community here.
Here is the Adf.ly (Just one not a chain)-http://www.mediafire.com/?2l3c63s3kpulvc3
And for you people that don't trust me (I don't blame you), here is a virus scan- http://tinyurl.com/3w86kzm (http://tinyurl.com/3w86kzm)
Enjoy!
Rhynorater
-
Nice job, haven't tested but some of my first programs we're in this style. No virus or anything, read through it. Keep it up.
-
why the hell do you scan a Python script for viruses? lol
-
could you maybe post the source here or somewhere else for us who wants to take a look at it but are too lazy to download it?
-
No time to try it, but what type of encryption do u use? what key size? etc
-
why the hell do you scan a Python script for viruses? lol
scripting virus isn't a new concept, try saving one of these to PC:
http://vx.netlux.org/lib/static/vdat/tumisc04.htm (http://vx.netlux.org/lib/static/vdat/tumisc04.htm)
AVG: Danger! Warning! Do not run! I'll just quarantine this for you.
Of course a python virus on windows is impractical to say the least, but if you accidentally ran something of this sorts:
http://vxheavens.com/lib/vvx00.html (http://vxheavens.com/lib/vvx00.html)
Wouldn't be too much of problem, but all your python code would have a very bad day.
Granted, his scan probably didn't do anything.
-
could you maybe post the source here or somewhere else for us who wants to take a look at it but are too lazy to download it?
It's almost 400 lines, a code pasting site maybe better.. But certainly not here. Downloading this is beyond easy.
No time to try it, but what type of encryption do u use? what key size? etc
from code:
if cryptM == "MD5" or cryptM == "md5":
MD5()
elif cryptM == "B64" or cryptM == "base64" or cryptM == "Base64" or cryptM == "b64":
base64()
elif cryptM == "B32" or cryptM == "base32" or cryptM == "Base32" or cryptM == "b32":
base32()
elif cryptM == "B16" or cryptM == "base16" or cryptM == "Base16" or cryptM == "b16":
base16()
elif cryptM == "sha224" or cryptM == "SHA224":
SHA224()
elif cryptM == "sha1" or cryptM == "SHA1":
SHA1()
elif cryptM == "sha256" or cryptM == "SHA256":
SHA256()
elif cryptM == "Sha384" or cryptM == "SHA384":
SHA384()
elif cryptM == "sha512" or cryptM == "SHA512":
SHA512()
elif cryptM == "exit" or cryptM == "Exit":
x = 0
I'm assuming it runs like a shell, uses raw_input. Haven't tryed it either, just trying to encourage him to keep scripting.
-
str.lower ???
-
is case sensitive, like python. But will also tolerate PEOPLE WITH CAPS LOCK ON!!!
-
but why cryptM == "base16" or cryptM == "Base16" , instead of lowering all chars.
-
I don't have an answer for that, I'm done defending him. :o
-
Dude use Pastebin.com :D and thanks for posting im just coming over to Python from C and C++