From 06cb3c7e3fab61d511ea5dacbf3b762c669998ee Mon Sep 17 00:00:00 2001 From: "Mat. B" <5618628+MPX4132@users.noreply.github.com> Date: Fri, 17 Apr 2020 03:29:18 -0500 Subject: [PATCH] Corrected regular expression (reverted) --- 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 84e299b..4162d7c 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -734,7 +734,7 @@ index-file.names = ( # Respond with Google's captive response on certain domains. # Domains: www.google.com, clients[0-9].google.com, connectivitycheck.gstatic.com, connectivitycheck.android.com, android.clients.google.com, alt[0-9]-mtalk.google.com, mtalk.google.com -\$HTTP[\"host\"] =~ \"asdf\" { +\$HTTP[\"host\"] =~ \"((www|(android\.)?clients[0-9]*|(alt[0-9]*-)?mtalk)\.google|connectivitycheck\.(android|gstatic))\.com\" { server.document-root = \"$FLUXIONWorkspacePath/captive_portal/connectivity_responses/Google/\" url.rewrite-once = ( \"^/generate_204\$\" => \"generate_204.php\" ) }