forked from p15670423/monkey
Fix DUO122 warnings
This commit is contained in:
parent
af381e062f
commit
b0be14193d
|
@ -52,7 +52,7 @@ class Struts2Exploiter(WebRCE):
|
|||
request = urllib.request.Request(url, headers=headers)
|
||||
try:
|
||||
return urllib.request.urlopen(
|
||||
request, context=ssl._create_unverified_context()
|
||||
request, context=ssl._create_unverified_context() # noqa: DUO122
|
||||
).geturl()
|
||||
except urllib.error.URLError:
|
||||
LOG.error("Can't reach struts2 server")
|
||||
|
|
Loading…
Reference in New Issue