Files
wlan-lanforge-scripts/py-scripts/test_wpa_passphrases.py
Matthew Stidham 37df48594e Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:57:10 -07:00

39 lines
905 B
Python
Executable File

#!/usr/bin/env python3
''' test_wpa_passphrases will test challenging wpa psk passphrases
Use './test_wpa_passphrases.py --help' to see command line usage and options
Copyright 2021 Candela Technologies Inc
License: Free to distribute and modify. LANforge systems must be licensed.
'''
import sys
import os
if sys.version_info[0] != 3:
print("This script requires Python 3")
exit(1)
if 'py-json' not in sys.path:
sys.path.append(os.path.join(os.path.abspath('..'), 'py-json'))
import argparse
from LANforge.lfcli_base import LFCliBase
from LANforge import LFUtils
from realm import Realm
class WPAPassphrases(Realm):
def __init__(self,
ssid=None,
security=None,
password=None):
self.ssid = ssid
self.security = security
self.password = password
def main():
pass
if __name__ == "__main__":
main()