From 84e5721833ac35b13f2d79bc4a9352c81ea37aab Mon Sep 17 00:00:00 2001 From: w33ts Date: Tue, 27 Feb 2024 19:54:15 -0600 Subject: [PATCH] Corrected Responder version and adjusted unpacking This changes the version to 3.0.6.0, which works with Python 2. Huge shout out to dark_pyrro for sharing their knowledge and catching this. I've also adjusted the unpacking and handling based on their suggestion, in addition to removing the .exe deletion, as it no longer ships with the .exe. To validate functionality, I deleted the Responder folder on the SD card, the quickcreds loot folder, and ensured the /etc/turtle/modules/quickcreds file was up to date with this commit and confirmed that I received creds. --- modules/quickcreds | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/quickcreds b/modules/quickcreds index 8f95b30..2b1e587 100644 --- a/modules/quickcreds +++ b/modules/quickcreds @@ -15,7 +15,7 @@ LOOTDIR="/root/loot/quickcreds/" RESPLOG=$LOOTDIR"responder.log" RESPROOT="/sd" RESPTEMPDL="/tmp/ResponderDownload/" -RESPURL="https://github.com/lgandx/Responder/archive/refs/tags/v3.1.4.0.zip" +RESPURL="https://github.com/lgandx/Responder/archive/refs/tags/v3.0.6.0.zip" RESPLOGDIR=$RESPROOT/"Responder/logs" SLEEPTIMER="1" @@ -82,13 +82,12 @@ function configure { # Create new /bin/mkdir -p "$RESPTEMPDL" # Download and extract - /usr/bin/wget --progress=dot "$RESPURL" -P "$RESPTEMPDL" 2>&1 | /usr/bin/dialog --progressbox "Download dependency responder" 14 72 + /usr/bin/wget --progress=dot "$RESPURL" -O "$RESPTEMPDL"master.zip 2>&1 | /usr/bin/dialog --progressbox "Download dependency responder" 14 72 # Unpack the GitHub download /usr/bin/unzip "$RESPTEMPDL"master.zip -d "$RESPTEMPDL" 2>&1 | /usr/bin/dialog --progressbox "Unpacking dependency responder" 14 72 - /bin/rm "$RESPTEMPDL"Responder-3.1.4.0/tools/MultiRelay/bin/*.exe - /bin/mv "$RESPTEMPDL"Responder-3.1.4.0 "$RESPTEMPDL"Responder + /bin/mv "$RESPTEMPDL"Responder-3.0.6.0 "$RESPTEMPDL"Responder /bin/mv "$RESPTEMPDL"Responder "$RESPROOT" - /bin/rm -rf "$RESPTEMPDL"v3.1.4.0.zip* + /bin/rm -rf "$RESPTEMPDL"master.zip* fi # Setup loot directory and complete setup