annotate contrib/splicex/src/deshadow.pyx @ 1128:f47b7a9f9478 draft

Merge branch 'master' of git://1.20.30.40
author spoofsec <spoofsec@spoofsec.ano>
date Sun, 02 Jun 2013 03:30:18 +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")