mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
@ -112,6 +112,7 @@ def parse_pcap(filename):
|
|||||||
|
|
||||||
def api_report_ap(log, keys, token, essid, bssid):
|
def api_report_ap(log, keys, token, essid, bssid):
|
||||||
while True:
|
while True:
|
||||||
|
token = AUTH.data['token']
|
||||||
logging.info("api: reporting %s (%s)" % (essid, bssid))
|
logging.info("api: reporting %s (%s)" % (essid, bssid))
|
||||||
try:
|
try:
|
||||||
api_address = 'https://api.pwnagotchi.ai/api/v1/unit/report/ap'
|
api_address = 'https://api.pwnagotchi.ai/api/v1/unit/report/ap'
|
||||||
|
Reference in New Issue
Block a user