From eafb1587d3e7a7f3b2ab476c819dec70260e0173 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 25 Apr 2023 21:33:05 +0200 Subject: [PATCH] changed source links to new paths --- plexcryptool/authur1.py | 2 +- plexcryptool/authurl-values-attack.sh | 3 +++ plexcryptool/basic-decrypt.py | 2 +- plexcryptool/md5-analyzer.py | 2 +- plexcryptool/trash-hash.py | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 plexcryptool/authurl-values-attack.sh diff --git a/plexcryptool/authur1.py b/plexcryptool/authur1.py index 2fa0c79..5ef7817 100755 --- a/plexcryptool/authur1.py +++ b/plexcryptool/authur1.py @@ -6,7 +6,7 @@ Since this (auth) hash did not have a name before, I gave it the name 'authur1' @author: Christoph J. Scherr @license: MIT -@source: https://git.cscherr.de/PlexSheep/python-dhbw/src/branch/master/src/authur1.py +@source: https://git.cscherr.de/PlexSheep/plexcryptool/src/branch/master/plexcryptool/authur1.py """ import argparse import random diff --git a/plexcryptool/authurl-values-attack.sh b/plexcryptool/authurl-values-attack.sh new file mode 100644 index 0000000..e9228ea --- /dev/null +++ b/plexcryptool/authurl-values-attack.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# values from the exercise +./authur1.py -e "abcd:632e4e5c,abcdef:0f6b8802,abcdefghijk:2638a819,foobar:782a826e,barfoo:885dc316" diff --git a/plexcryptool/basic-decrypt.py b/plexcryptool/basic-decrypt.py index 67ab9f7..30c980d 100755 --- a/plexcryptool/basic-decrypt.py +++ b/plexcryptool/basic-decrypt.py @@ -5,7 +5,7 @@ you also need the chiffrat.txt file in the same directory. @license: MIT @author: Christoph J. Scherr -@source: https://git.cscherr.de/PlexSheep/python-dhbw/src/branch/master/src/basic-decrypt.py +@source: https://git.cscherr.de/PlexSheep/plexcryptool/src/branch/master/plexcryptool/basic-decrypt.py """ MAX_IN_LINE = 16 DE_MOST_COMMON = ['E', 'N', 'I', 'R', 'A'] diff --git a/plexcryptool/md5-analyzer.py b/plexcryptool/md5-analyzer.py index aef2109..f56f342 100755 --- a/plexcryptool/md5-analyzer.py +++ b/plexcryptool/md5-analyzer.py @@ -4,7 +4,7 @@ A small script to help analyze the md5 hash function. @author: Christoph J. Scherr @license: MIT -@source: https://git.cscherr.de/PlexSheep/python-dhbw/src/branch/master/src/md5-analyzer.py +@source: https://git.cscherr.de/PlexSheep/plexcryptool/src/branch/master/plexcryptool/md5-analyzer.py TODO do I need to implement md5 by myself for the assignment? """ import argparse diff --git a/plexcryptool/trash-hash.py b/plexcryptool/trash-hash.py index 5d3d523..c60d545 100755 --- a/plexcryptool/trash-hash.py +++ b/plexcryptool/trash-hash.py @@ -3,8 +3,8 @@ Dirty hash we covered in an excercise for Week 16 of 2023 in cryptography @author: Christoph J. Scherr -@source: https://git.cscherr.de/PlexSheep/python-dhbw/src/branch/master/src/trash-hash.py @license: MIT +@source: https://git.cscherr.de/PlexSheep/plexcryptool/src/branch/master/plexcryptool/trash-hash.py """ import math import argparse