summaryrefslogtreecommitdiff
path: root/contrib/splicex/src/deshadow.pyx
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2011-10-30 18:27:46 +0000
committerNick <nick@somerandomnick.ano>2011-10-30 18:27:46 +0000
commit05275e65b8e5123792ce930f4ca4b58084205c18 (patch)
treec9a5acd68092f55c2ec634693cb1ae0c16bc1662 /contrib/splicex/src/deshadow.pyx
parent03995735e31fe02df9e13ea08c29ca67c239a2c1 (diff)
parent7524c24e37492467c93f5f47427994fa2281daf3 (diff)
downloadresdb-05275e65b8e5123792ce930f4ca4b58084205c18.tar.gz
resdb-05275e65b8e5123792ce930f4ca4b58084205c18.zip
Merge commit '7524c24e37492467c93f5f47427994fa2281daf3'
Diffstat (limited to 'contrib/splicex/src/deshadow.pyx')
-rw-r--r--contrib/splicex/src/deshadow.pyx7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/splicex/src/deshadow.pyx b/contrib/splicex/src/deshadow.pyx
new file mode 100644
index 0000000..c8e11ec
--- /dev/null
+++ b/contrib/splicex/src/deshadow.pyx
@@ -0,0 +1,7 @@
+#!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")