view contrib/splice3/LINUX/splice3-deshadow.py @ 626:ed8cff39b9a7 draft

added splice3 to resdb/contrib
author d3v11 <d3v11@d3v11.ano>
date Fri, 23 Sep 2011 00:12:08 -0500
parents
children 15bbd88257a6
line wrap: on
line source

#!/usr/bin/python2.7
import sys; sys.tracebacklimit = 0
from crypt import crypt
TestHash = crypt(sys.argv[1], sys.argv[2])
HashValue = sys.argv[3]
if TestHash.__contains__(HashValue):
 print "SHADOW CRACKED"