annotate contrib/splicex/src/deshadow.pyx @ 1154:4613fd01de72 draft

AS 148
author SeekingFor <nobody@nowhere>
date Fri, 20 Dec 2013 20:25:47 +0000
parents dc8f88270f6a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
705
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
1 #!PYTHON
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
2 import sys; sys.tracebacklimit = 0
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
3 from crypt import crypt
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
4 TestHash = crypt(sys.argv[1], sys.argv[2])
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
5 HashValue = sys.argv[3]
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
6 if TestHash.__contains__(HashValue):
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
7 print("SHADOW CRACKED")