From f5a91383c6edbc8dc2301641ed3799526e2137ab Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 18 Jun 2025 07:51:46 -0600 Subject: [PATCH] attempt bug fx lol --- bd_crack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bd_crack.sh b/bd_crack.sh index 9552db6..27265a0 100644 --- a/bd_crack.sh +++ b/bd_crack.sh @@ -63,9 +63,9 @@ retcode=$? # jus gettin da return code from hashcat rq if [ $retcode -eq 0 ]; then # check if hashcat exited with a 0 meaning successful crack\ real_user="${SUDO_USER:-$USER}" # stupid hack to get the real current user regardless of any sudo usage - sudo chown $real_user:$real_user $outfile # fix da fuckin perms jfc lmao + sudo chown $real_user:$real_user "$outfile" # fix da fuckin perms jfc lmao - echo -e "\nCracked! Result:\n\t$(cat $outfile)\n" # show da contents of da outfile for helpfuls + echo -e "\nCracked! Result:\n\t$(cat "$outfile")\n" # show da contents of da outfile for helpfuls echo "Cracked Successfully! Password will be in ./${outfile}!" else # otherwise inform of failure