We Love Python●Easy to Learn●Easy to Read● Easy to Hack (?)●Cross platform●Builtin tools●Libraries
“This (Programming), of course, is thefundamental hacking skill. If you dont know anycomputer languages, I recommend starting withPython. It is cleanly designed, well documented,and relatively kind to beginners. Despite being agood first language, it is not just a toy; it is verypowerful and flexible and well suited for largeprojects. ”– How to become a hacker (ESR)
(compare to C) ….. “With todays machinesas powerful as they are, this is usually a badtradeoff — its smarter to use a language thatuses the machines time less efficiently, but yourtime much more efficiently. Thus, Python.”– How to become a hacker (ESR)
decryptimport cryptcrypt.crypt(word, salt) -> stringword will usually be a users password. salt is a 2-character stringwhich will be used to select one of 4096 variations ofDES. The charactersin salt must be either ".", "/", or an alphanumericcharacter. Returnsthe hashed password as a string, which will becomposed of characters fromthe same alphabet as the salt.
Inspired by●Nicolle Neulist: Write your own tools withpython! Derbycon2012●Gray Hat Python: Python Programming forHackers and Reverse Engineers●Violent Python: A Cookbook for Hackers,Forensic Analysts, Penetration Testers andSecurity Engineers