view contrib/splice3/LINUX/splice3-deshadow.py @ 642:3e16546fc507 draft

Merge commit '9d96abc29951a43d8319743f485b48846318496e'
author Nick <nick@somerandomnick.ano>
date Tue, 04 Oct 2011 22:39:25 +0000
parents 15bbd88257a6
children
line wrap: on
line source

#!PYTHON
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"