diff --git a/vulnwhisp/frameworks/nessus.py b/vulnwhisp/frameworks/nessus.py index 4db0134..1e9a14f 100755 --- a/vulnwhisp/frameworks/nessus.py +++ b/vulnwhisp/frameworks/nessus.py @@ -1,4 +1,7 @@ import requests +from requests.packages.urllib3.exceptions import InsecureRequestWarning +requests.packages.urllib3.disable_warnings(InsecureRequestWarning) + import pytz from datetime import datetime import json @@ -214,4 +217,4 @@ class NessusAPI(object): 'Central Standard Time': 'US/Central', 'Pacific Standard Time': 'US/Pacific', 'None': 'US/Central'} - return time_map.get(tz, None) + return time_map.get(tz, None)