diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index 1696c66..3f8d2ee 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -1090,8 +1090,6 @@ captive_portal_set_routes() { # Activate system IPV4 packet routing/forwarding. sysctl -w net.ipv4.ip_forward=1 &>$FLUXIONOutputDevice - iptables-save >"$FLUXIONWorkspacePath/iptables-rules" - iptables --flush iptables --table nat --flush iptables --delete-chain diff --git a/fluxion b/fluxion index 13180a5..a93b14a 100755 --- a/fluxion +++ b/fluxion @@ -202,6 +202,8 @@ source "$FLUXIONPath/language/en.sh" fluxion_startup() { if [ "$FLUXIONDebug" ]; then return 1; fi + # Make sure that we save the iptable files + iptables-save >"$FLUXIONWorkspacePath/iptables-rules" local banner=() format_center_literals \