diff --git a/pwnagotchi/plugins/default/grid.py b/pwnagotchi/plugins/default/grid.py index 55f90b21..25a273da 100644 --- a/pwnagotchi/plugins/default/grid.py +++ b/pwnagotchi/plugins/default/grid.py @@ -44,7 +44,7 @@ def parse_pcap(filename): class Grid(plugins.Plugin): __author__ = 'evilsocket@gmail.com' - __version__ = '1.0.1' + __version__ = '1.1.0' __license__ = 'GPL3' __description__ = 'This plugin signals the unit cryptographic identity and list of pwned networks and list of pwned ' \ 'networks to opwngrid.xyz ' @@ -69,6 +69,11 @@ class Grid(plugins.Plugin): def on_loaded(self): logging.info("grid plugin loaded.") + def on_webhook(self, path, request): + from flask import make_response, redirect + response = make_response(redirect("https://opwngrid.xyz", code=302)) + return response + def set_reported(self, reported, net_id): if net_id not in reported: reported.append(net_id) diff --git a/pwnagotchi/plugins/default/ohcapi.py b/pwnagotchi/plugins/default/ohcapi.py index 97c00e2b..b400c572 100644 --- a/pwnagotchi/plugins/default/ohcapi.py +++ b/pwnagotchi/plugins/default/ohcapi.py @@ -10,7 +10,7 @@ from json.decoder import JSONDecodeError class ohcapi(plugins.Plugin): __author__ = 'Rohan Dayaram' - __version__ = '1.0.3' + __version__ = '1.1.0' __license__ = 'GPL3' __description__ = 'Uploads WPA/WPA2 handshakes to OnlineHashCrack.com using the new API (V2), no dashboard.' @@ -45,6 +45,11 @@ class ohcapi(plugins.Plugin): self.ready = True logging.info("OHC NewAPI: Plugin loaded and ready.") + def on_webhook(self, path, request): + from flask import make_response, redirect + response = make_response(redirect("https://www.onlinehashcrack.com", code=302)) + return response + def on_internet_available(self, agent): """ Called once when the internet becomes available. diff --git a/pwnagotchi/plugins/default/wigle.py b/pwnagotchi/plugins/default/wigle.py index 3f387795..5577ebee 100644 --- a/pwnagotchi/plugins/default/wigle.py +++ b/pwnagotchi/plugins/default/wigle.py @@ -106,7 +106,7 @@ def _send_to_wigle(lines, api_key, donate=True, timeout=30): class Wigle(plugins.Plugin): __author__ = "Dadav and updated by Jayofelony" - __version__ = "3.0.1" + __version__ = "3.1.0" __license__ = "GPL3" __description__ = "This plugin automatically uploads collected WiFi to wigle.net" @@ -127,6 +127,11 @@ class Wigle(plugins.Plugin): self.ready = True 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): """