This commit is contained in:
Marco Lux
2017-02-01 13:21:01 +01:00
parent 8348a251e3
commit bfba9eba5c
11 changed files with 257 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python2
#
# crypt des tool for shellcoding lab at hack4
# ~dash
import sys
import crypt
def usage():
print "%s <password>" % (sys.argv[0])
if len(sys.argv)<2:
usage()
exit()
password = sys.argv[1]
pw = crypt.crypt(password,'AB')
print "Password: %s" % pw