fix
This commit is contained in:
parent
5fc0d69fda
commit
3a3c5911cb
@ -3,7 +3,6 @@ __version__ = '1.0.0'
|
|||||||
__name__ = 'wpa_sec'
|
__name__ = 'wpa_sec'
|
||||||
__license__ = 'GPL3'
|
__license__ = 'GPL3'
|
||||||
__description__ = 'This plugin automatically uploades handshakes to https://wpa-sec.stanev.org'
|
__description__ = 'This plugin automatically uploades handshakes to https://wpa-sec.stanev.org'
|
||||||
__enabled__ = False
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
@ -13,6 +12,7 @@ READY = False
|
|||||||
API_KEY = None
|
API_KEY = None
|
||||||
ALREADY_UPLOADED = None
|
ALREADY_UPLOADED = None
|
||||||
|
|
||||||
|
|
||||||
# INSTALLATION:
|
# INSTALLATION:
|
||||||
## apt-get install libcurl4-openssl-dev
|
## apt-get install libcurl4-openssl-dev
|
||||||
## https://github.com/ZerBea/hcxtools.git
|
## https://github.com/ZerBea/hcxtools.git
|
||||||
@ -51,6 +51,7 @@ def _upload_to_wpasec(path):
|
|||||||
logging.error(f"WPA_SEC: Error while uploading {path}")
|
logging.error(f"WPA_SEC: Error while uploading {path}")
|
||||||
raise os_e
|
raise os_e
|
||||||
|
|
||||||
|
|
||||||
# called in manual mode when there's internet connectivity
|
# called in manual mode when there's internet connectivity
|
||||||
def on_internet_available(display, config, log):
|
def on_internet_available(display, config, log):
|
||||||
if READY:
|
if READY:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user