We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f227f commit 8431267Copy full SHA for 8431267
lib/controller/checks.py
@@ -1530,7 +1530,7 @@ def checkConnection(suppressOutput=False):
1530
except socket.gaierror:
1531
errMsg = "host '%s' does not exist" % conf.hostname
1532
raise SqlmapConnectionException(errMsg)
1533
- except socket.error, ex:
+ except (socket.error, UnicodeError), ex:
1534
errMsg = "problem occurred while "
1535
errMsg += "resolving a host name '%s' ('%s')" % (conf.hostname, getSafeExString(ex))
1536
0 commit comments