mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
update for that invalid target url Otavio Augusto reported
This commit is contained in:
parent
203cfd114f
commit
cef248a5ea
2 changed files with 10 additions and 2 deletions
|
|
@ -609,7 +609,10 @@ def __setHTTPProxy():
|
|||
__port = None
|
||||
|
||||
if len(__hostnamePort) == 2:
|
||||
__port = int(__hostnamePort[1])
|
||||
try:
|
||||
__port = int(__hostnamePort[1])
|
||||
except:
|
||||
pass #drops into the next check block
|
||||
|
||||
if not __scheme or not __hostname or not __port:
|
||||
errMsg = "proxy value must be in format 'http://url:port'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue