Skip to content

Commit 1d08d1f

Browse files
committed
Supress insecure warnings within requests
Added the disablewarnings() call within the requests.packages.urllib3 package.
1 parent 90cedb2 commit 1d08d1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/core/virtual_host_scanner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import urllib3
1111
urllib3.disable_warnings()
12+
requests.packages.urllib3.disable_warnings()
1213

1314
DEFAULT_USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) '\
1415
'AppleWebKit/537.36 (KHTML, like Gecko) '\

0 commit comments

Comments
 (0)