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.
pull/49/head
w33ts 2024-02-27 19:54:15 -06:00 committed by GitHub
parent bca39d0421
commit 84e5721833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,7 @@ LOOTDIR="/root/loot/quickcreds/"
RESPLOG=$LOOTDIR"responder.log" RESPLOG=$LOOTDIR"responder.log"
RESPROOT="/sd" RESPROOT="/sd"
RESPTEMPDL="/tmp/ResponderDownload/" 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" RESPLOGDIR=$RESPROOT/"Responder/logs"
SLEEPTIMER="1" SLEEPTIMER="1"
@ -82,13 +82,12 @@ function configure {
# Create new # Create new
/bin/mkdir -p "$RESPTEMPDL" /bin/mkdir -p "$RESPTEMPDL"
# Download and extract # 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 # Unpack the GitHub download
/usr/bin/unzip "$RESPTEMPDL"master.zip -d "$RESPTEMPDL" 2>&1 | /usr/bin/dialog --progressbox "Unpacking dependency responder" 14 72 /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.0.6.0 "$RESPTEMPDL"Responder
/bin/mv "$RESPTEMPDL"Responder-3.1.4.0 "$RESPTEMPDL"Responder
/bin/mv "$RESPTEMPDL"Responder "$RESPROOT" /bin/mv "$RESPTEMPDL"Responder "$RESPROOT"
/bin/rm -rf "$RESPTEMPDL"v3.1.4.0.zip* /bin/rm -rf "$RESPTEMPDL"master.zip*
fi fi
# Setup loot directory and complete setup # Setup loot directory and complete setup