From f918d71126d42da150901c80f1de0223ce37b998 Mon Sep 17 00:00:00 2001 From: Guillaume Bonnet Date: Tue, 6 Nov 2018 11:56:17 +0100 Subject: [PATCH 1/2] Prevent InsecureRequestWarning Disable warnings in requests vendored urllib3, we should import the specific instance of the module Warning to avoid: /Library/Python/2.7/lib/python/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings --- pemburu.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pemburu.py b/pemburu.py index 4896695..05e6dc9 100644 --- a/pemburu.py +++ b/pemburu.py @@ -1,5 +1,10 @@ #!/usr/bin/env python import requests, urlparse, sys + +"""Update (2017-07-28): If you're using a modern version of these libraries, they may no longer be vendored""" +from requests.packages.urllib3.exceptions import InsecureRequestWarning +requests.packages.urllib3.disable_warnings(InsecureRequestWarning) + """ Pemburu by @Zigoo0 - http://www.Sec-Down.com/ """ """ Specially created for Bug Bounty Hunting! """ From 38a5d2b72ae2d9d5b9b07977fc21c8f8af9419c0 Mon Sep 17 00:00:00 2001 From: Guillaume Bonnet Date: Tue, 6 Nov 2018 12:01:37 +0100 Subject: [PATCH 2/2] Update pemburu.py --- pemburu.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pemburu.py b/pemburu.py index 05e6dc9..5675bf2 100644 --- a/pemburu.py +++ b/pemburu.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import requests, urlparse, sys -"""Update (2017-07-28): If you're using a modern version of these libraries, they may no longer be vendored""" from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning)