From 0140a1fc97845237ccec15e10282a89d72bd287b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric?= Date: Mon, 20 Jan 2025 15:27:54 +0100 Subject: [PATCH 1/6] Update wigle.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add a redirection to wiggle.net Signed-off-by: Frédéric --- pwnagotchi/plugins/default/wigle.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pwnagotchi/plugins/default/wigle.py b/pwnagotchi/plugins/default/wigle.py index 3f387795..fedca863 100644 --- a/pwnagotchi/plugins/default/wigle.py +++ b/pwnagotchi/plugins/default/wigle.py @@ -127,6 +127,12 @@ 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): """ From e179165850ec622baac0ac385ece38b4eed78768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric?= Date: Mon, 20 Jan 2025 15:28:46 +0100 Subject: [PATCH 2/6] Update wigle.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric --- pwnagotchi/plugins/default/wigle.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pwnagotchi/plugins/default/wigle.py b/pwnagotchi/plugins/default/wigle.py index fedca863..ff4c80de 100644 --- a/pwnagotchi/plugins/default/wigle.py +++ b/pwnagotchi/plugins/default/wigle.py @@ -133,7 +133,6 @@ class Wigle(plugins.Plugin): response = make_response(redirect("https://www.wigle.net/", code=302)) return response - def on_internet_available(self, agent): """ Called when there's internet connectivity From 7c4764bff8308b98ae7ed88aa72f6a7cf8711ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric?= Date: Mon, 20 Jan 2025 15:30:00 +0100 Subject: [PATCH 3/6] Update ohcapi.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add a web hook to redirect to onlinehashcrack Signed-off-by: Frédéric --- pwnagotchi/plugins/default/ohcapi.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pwnagotchi/plugins/default/ohcapi.py b/pwnagotchi/plugins/default/ohcapi.py index 97c00e2b..2aa9f5da 100644 --- a/pwnagotchi/plugins/default/ohcapi.py +++ b/pwnagotchi/plugins/default/ohcapi.py @@ -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. From 09591400985cd82b80b99c28811c772ddcce8345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric?= Date: Mon, 20 Jan 2025 15:41:49 +0100 Subject: [PATCH 4/6] Update grid.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rediction to https://opwngrid.xyz in the plugins' page Signed-off-by: Frédéric --- pwnagotchi/plugins/default/grid.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) From 730fa7dc8ea72712eed44e8fd2d686b3f36398bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric?= Date: Mon, 20 Jan 2025 15:43:35 +0100 Subject: [PATCH 5/6] Update wigle.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit version update Signed-off-by: Frédéric --- pwnagotchi/plugins/default/wigle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/wigle.py b/pwnagotchi/plugins/default/wigle.py index ff4c80de..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" From 8442ce93be6bbc50a779f583def50091980263dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric?= Date: Mon, 20 Jan 2025 15:43:55 +0100 Subject: [PATCH 6/6] Update ohcapi.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit version update Signed-off-by: Frédéric --- pwnagotchi/plugins/default/ohcapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/ohcapi.py b/pwnagotchi/plugins/default/ohcapi.py index 2aa9f5da..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.'