Commit d7726d4e by fwkz

Removing local references of requests.packages.urllib3.disable_warnings()

parent 1ad05c3b
...@@ -46,9 +46,6 @@ class Exploit(exploits.Exploit): ...@@ -46,9 +46,6 @@ class Exploit(exploits.Exploit):
target = exploits.Option('', 'Target address e.g. https://192.168.1.1') # Target address target = exploits.Option('', 'Target address e.g. https://192.168.1.1') # Target address
port = exploits.Option(443, 'Target port e.g. 443') # Default port port = exploits.Option(443, 'Target port e.g. 443') # Default port
# Disable certificate verification warnings
requests.packages.urllib3.disable_warnings()
def run(self): def run(self):
if self.check(): if self.check():
print_success('Target is vulnerable') print_success('Target is vulnerable')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment