view contrib/splicex/src/deshadow.pyx @ 946:4242340b6e54 draft

scripts: Added scripts to search for desired ASNs and subnets
author sevil <sevil@sevilnatas.ano>
date Sun, 04 Mar 2012 10:07:21 +0000
parents dc8f88270f6a
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")