summaryrefslogtreecommitdiff
path: root/contrib/splicex/src/deshadow.pyx
diff options
context:
space:
mode:
authorpikaj00 <pikaj00@gmail.com>2011-10-30 15:38:30 -0400
committerpikaj00 <pikaj00@gmail.com>2011-10-30 15:38:30 -0400
commit6ff048f0210bb09e0fc480b2be8cc1c331fcca61 (patch)
tree1885fa18891efc50ceb09d43595f3d571d3bc05f /contrib/splicex/src/deshadow.pyx
parent6fea95882120bdb8e5017a7475758113f8762fdf (diff)
parent05275e65b8e5123792ce930f4ca4b58084205c18 (diff)
downloadresdb-6ff048f0210bb09e0fc480b2be8cc1c331fcca61.tar.gz
resdb-6ff048f0210bb09e0fc480b2be8cc1c331fcca61.zip
Merge branch 'master' of git://git1.srn.ano
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")