From b4215e89e4324ff4d63a01db50aef87c8bdae6f6 Mon Sep 17 00:00:00 2001 From: nuo <49533950+nuoxoxo@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:47:19 +0100 Subject: [PATCH] 01/added bash script --- level01/do_john.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 level01/do_john.sh diff --git a/level01/do_john.sh b/level01/do_john.sh new file mode 100755 index 0000000..2614032 --- /dev/null +++ b/level01/do_john.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -e + +wget https://download.openwall.net/pub/projects/john/contrib/macosx/john-1.8.0.9-jumbo-macosx_sse4.zip + +tar -xvf john-1.8.0.9-jumbo-macosx_sse4.zip + +cd john-1.8.0.9-jumbo-macosx_sse4/run + +echo "42hDRfypTqqnw" > __test +./john __test +./john --show __test + +cd ../.. + +rm -rf john* +