diff --git a/config.py b/config.py index 424b1ae..866ecaf 100755 --- a/config.py +++ b/config.py @@ -3,7 +3,7 @@ import argparse # application version -__version__ = "3.0.0" +__version__ = "3.0.1" # application site __location__ = "https://rogue.infamoussyn.com/" diff --git a/rogue.py b/rogue.py index d918a84..c574197 100755 --- a/rogue.py +++ b/rogue.py @@ -123,12 +123,16 @@ def dhcpCidr(dhcp_netmask): print('[-] Checking required RADIUS certificate files exist...') if(not os.path.isfile(config.server_pem)): print('[!] \'{}\' does not exist!'.format(config.server_pem)) + raise if(not os.path.isfile(config.private_key)): print('[!] \'{}\' does not exist!'.format(config.private_key)) + raise if(not os.path.isfile(config.trusted_root_ca_pem)): print('[!] \'{}\' does not exist!'.format(config.trusted_root_ca_pem)) + raise if(not os.path.isfile(config.dh_file)): print('[!] \'{}\' does not exist!'.format(config.dh_file)) + raise print('[-] Check RADIUS certificate files exist passed...') except Exception as e: print('[!] Run \'sudo python3 rogue.py --cert-wizard\' command to generate the required certificate files')