From 98ebe0a26607a81e1bab7e5b41927932fd098e73 Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Sun, 24 Dec 2017 17:41:16 -0600 Subject: [PATCH] Added standard captive portal redirect code. --- attacks/Captive Portal/attack.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index f6d39fa..187b8e2 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -511,6 +511,7 @@ index-file.names = ( echo "\ # Redirect all traffic to the captive portal when not emulating a connection. \$HTTP[\"host\"] != \"captive.gateway.lan\" { + url.redirect-code = 302 url.redirect = ( \"^/(.*)\" => \"http://captive.gateway.lan/\", )