mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update wigle.py
add a redirection to wiggle.net Signed-off-by: Frédéric <fmatray@users.noreply.github.com>
This commit is contained in:
@ -128,6 +128,12 @@ class Wigle(plugins.Plugin):
|
|||||||
self.ready = True
|
self.ready = True
|
||||||
logging.info("WIGLE: ready")
|
logging.info("WIGLE: ready")
|
||||||
|
|
||||||
|
def on_webhook(self, path, request):
|
||||||
|
from flask import make_response, redirect
|
||||||
|
response = make_response(redirect("https://www.wigle.net/", code=302))
|
||||||
|
return response
|
||||||
|
|
||||||
|
|
||||||
def on_internet_available(self, agent):
|
def on_internet_available(self, agent):
|
||||||
"""
|
"""
|
||||||
Called when there's internet connectivity
|
Called when there's internet connectivity
|
||||||
|
Reference in New Issue
Block a user