From 8cb32c92d374f00dd0a1959ebfcbfb919f12598f Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Tue, 22 Aug 2017 14:28:23 -0500 Subject: [PATCH] Fixed a bug causing generic portals missing as option. --- attacks/Captive Portal/attack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index b6a3d66..e5bad48 100644 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -138,7 +138,7 @@ function captive_portal_set_site() { local sites=() # Attempt adding only if the directory exists. - if [ -d attacks/Captive\ Portal/sites/generic ]; then + if [ -d attacks/Captive\ Portal/generic/languages ]; then # Retrieve all generic sites available. for site in attacks/Captive\ Portal/generic/languages/*.lang; do sites+=("${CaptivePortalGenericInterfaceOption}_`basename "${site%.lang}"`")