summaryrefslogtreecommitdiff
path: root/contrib/splicex/src/splicex-deshadow.py
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2011-10-26 23:17:56 +0000
committerNick <nick@somerandomnick.ano>2011-10-26 23:17:56 +0000
commit60d3ec50826f9c474eb9ca006460934c9704782f (patch)
tree675f681d27e59414b05bddc5bd5c713a40d0438e /contrib/splicex/src/splicex-deshadow.py
parent171d8cf3ffca91d1a162215d93da9472ab06c2ff (diff)
parentd8def0eb06465680919d7dc14daa287e7d065813 (diff)
downloadresdb-60d3ec50826f9c474eb9ca006460934c9704782f.tar.gz
resdb-60d3ec50826f9c474eb9ca006460934c9704782f.zip
Merge commit 'd8def0eb06465680919d7dc14daa287e7d065813'
Diffstat (limited to 'contrib/splicex/src/splicex-deshadow.py')
-rwxr-xr-xcontrib/splicex/src/splicex-deshadow.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/splicex/src/splicex-deshadow.py b/contrib/splicex/src/splicex-deshadow.py
new file mode 100755
index 0000000..c8e11ec
--- /dev/null
+++ b/contrib/splicex/src/splicex-deshadow.py
@@ -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")