annotate contrib/splicex/src/deshadow.pyx @ 884:cd9d07046b1c draft

peer2anonet: fix potential for unexecutable rc.local bug, added visual support to README for guys with small terminals.
author d3v11 <d3v11@d3v11.ano>
date Sun, 15 Jan 2012 22:40:56 +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")