mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
cf14f3f663 | |||
948fe89ce6 | |||
8d1a5babe8 | |||
042d5ba765 | |||
58857058a4 | |||
5e6443ae58 | |||
0e06d3bd76 | |||
64f7c6e1e5 | |||
8442ce93be | |||
730fa7dc8e | |||
0959140098 | |||
7c4764bff8 | |||
e179165850 | |||
0140a1fc97 |
@ -1 +1 @@
|
|||||||
__version__ = '2.9.5.1'
|
__version__ = '2.9.5.2'
|
||||||
|
@ -60,6 +60,7 @@ main.plugins.ohcapi.receive_email = "yes"
|
|||||||
|
|
||||||
main.plugins.pwndroid.enabled = false
|
main.plugins.pwndroid.enabled = false
|
||||||
main.plugins.pwndroid.display = false # show coords on display
|
main.plugins.pwndroid.display = false # show coords on display
|
||||||
|
main.plugins.pwndroid.display_alitude = false # show altitude on display
|
||||||
|
|
||||||
main.plugins.pisugarx.enabled = false
|
main.plugins.pisugarx.enabled = false
|
||||||
main.plugins.pisugarx.rotation = false
|
main.plugins.pisugarx.rotation = false
|
||||||
|
@ -41,15 +41,15 @@ class BTTether(plugins.Plugin):
|
|||||||
'bluetooth.type', 'panu',
|
'bluetooth.type', 'panu',
|
||||||
'bluetooth.bdaddr', f'{mac}',
|
'bluetooth.bdaddr', f'{mac}',
|
||||||
'ipv4.method', 'manual',
|
'ipv4.method', 'manual',
|
||||||
'ipv4.dns', '8.8.8.8;1.1.1.1;',
|
'ipv4.dns', '8.8.8.8 1.1.1.1',
|
||||||
'ipv4.addresses', f'{address}',
|
'ipv4.addresses', f'{address}/24',
|
||||||
'ipv4.gateway', f'{gateway}',
|
'ipv4.gateway', f'{gateway}',
|
||||||
'ipv4.route-metric', '100'
|
'ipv4.route-metric', '100'
|
||||||
], check=True)
|
], check=True)
|
||||||
subprocess.run(['nmcli', 'connection', 'reload'], check=True)
|
subprocess.run(['nmcli', 'connection', 'reload'], check=True)
|
||||||
subprocess.run(['nmcli', 'connection', 'up', f'{phone_name}'], check=True)
|
subprocess.run(['nmcli', 'connection', 'up', f'{phone_name}'], check=True)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.debug(f"[BT-Tether] Failed to connect to device: {e}")
|
logging.error(f"[BT-Tether] Failed to connect to device: {e}")
|
||||||
logging.error(f"[BT-Tether] Failed to connect to device: have you enabled bluetooth tethering on your phone?")
|
logging.error(f"[BT-Tether] Failed to connect to device: have you enabled bluetooth tethering on your phone?")
|
||||||
self.ready = True
|
self.ready = True
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
@ -128,6 +128,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):
|
||||||
"""
|
"""
|
||||||
Called when there's internet connectivity
|
Called when there's internet connectivity
|
||||||
|
Reference in New Issue
Block a user