mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge remote-tracking branch 'origin/noai' into noai
This commit is contained in:
@ -44,7 +44,7 @@ def parse_pcap(filename):
|
|||||||
|
|
||||||
class Grid(plugins.Plugin):
|
class Grid(plugins.Plugin):
|
||||||
__author__ = 'evilsocket@gmail.com'
|
__author__ = 'evilsocket@gmail.com'
|
||||||
__version__ = '1.0.1'
|
__version__ = '1.1.0'
|
||||||
__license__ = 'GPL3'
|
__license__ = 'GPL3'
|
||||||
__description__ = 'This plugin signals the unit cryptographic identity and list of pwned networks and list of pwned ' \
|
__description__ = 'This plugin signals the unit cryptographic identity and list of pwned networks and list of pwned ' \
|
||||||
'networks to opwngrid.xyz '
|
'networks to opwngrid.xyz '
|
||||||
@ -69,6 +69,11 @@ class Grid(plugins.Plugin):
|
|||||||
def on_loaded(self):
|
def on_loaded(self):
|
||||||
logging.info("grid plugin loaded.")
|
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):
|
def set_reported(self, reported, net_id):
|
||||||
if net_id not in reported:
|
if net_id not in reported:
|
||||||
reported.append(net_id)
|
reported.append(net_id)
|
||||||
|
@ -10,7 +10,7 @@ from json.decoder import JSONDecodeError
|
|||||||
|
|
||||||
class ohcapi(plugins.Plugin):
|
class ohcapi(plugins.Plugin):
|
||||||
__author__ = 'Rohan Dayaram'
|
__author__ = 'Rohan Dayaram'
|
||||||
__version__ = '1.0.3'
|
__version__ = '1.1.0'
|
||||||
__license__ = 'GPL3'
|
__license__ = 'GPL3'
|
||||||
__description__ = 'Uploads WPA/WPA2 handshakes to OnlineHashCrack.com using the new API (V2), no dashboard.'
|
__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
|
self.ready = True
|
||||||
logging.info("OHC NewAPI: Plugin loaded and ready.")
|
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):
|
def on_internet_available(self, agent):
|
||||||
"""
|
"""
|
||||||
Called once when the internet becomes available.
|
Called once when the internet becomes available.
|
||||||
|
@ -106,7 +106,7 @@ def _send_to_wigle(lines, api_key, donate=True, timeout=30):
|
|||||||
|
|
||||||
class Wigle(plugins.Plugin):
|
class Wigle(plugins.Plugin):
|
||||||
__author__ = "Dadav and updated by Jayofelony"
|
__author__ = "Dadav and updated by Jayofelony"
|
||||||
__version__ = "3.0.1"
|
__version__ = "3.1.0"
|
||||||
__license__ = "GPL3"
|
__license__ = "GPL3"
|
||||||
__description__ = "This plugin automatically uploads collected WiFi to wigle.net"
|
__description__ = "This plugin automatically uploads collected WiFi to wigle.net"
|
||||||
|
|
||||||
@ -127,6 +127,11 @@ 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):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user