annotate contrib/splicex/src/deshadow.pyx @ 1039:0e3f482dc1c3 draft

Added PieNet
author AnoPie <nobody@nowhere>
date Mon, 15 Oct 2012 06:41:00 +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")