Minor patch

This commit is contained in:
Miroslav Stampar
2015-09-09 11:53:44 +02:00
parent b6206692e0
commit 90329a8b01
3 changed files with 6 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ class Google(object):
conn = self.opener.open("http://www.google.com/ncr")
conn.info() # retrieve session cookie
except Exception, ex:
errMsg = "unable to connect to Google ('%s')" % ex
errMsg = "unable to connect to Google ('%s')" % ex.message
raise SqlmapConnectionException(errMsg)
def search(self, dork):