hak5 / pineapple-modules

The Official WiFi Pineapple Module Repository for the WiFi Pineapple Mark VII
https://wifipineapple.com
368 stars 157 forks source link

[Evilportal] fixed notify and handleAuthorization method in baseclass portal #65

Closed 0xSil closed 1 year ago

0xSil commented 1 year ago

1) fixed notify method in baseclass portal

image

2) Fixed logic in handleAuthorization method in baseclass portal to prevent an auth loop

a logic bug can arise if the Pineapple misbehaves. So long as the redirection is set, if the Captive Portal happens to continue displaying, this logic will continually reauthorize the client over and over again, filling the authorized user log with the same IP address. Its fixed in this PR