mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-10 00:20:37 +03:00
Minor language fix
This commit is contained in:
parent
3f8dafedae
commit
473a39b820
|
@ -21,7 +21,7 @@ MSSQL_VERSIONS_URL = "http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/t
|
||||||
|
|
||||||
def updateMSSQLXML():
|
def updateMSSQLXML():
|
||||||
if not os.path.exists(MSSQL_XML):
|
if not os.path.exists(MSSQL_XML):
|
||||||
errMsg = "[ERROR] file '%s' does not exist. please run the script from it's parent directory." % MSSQL_XML
|
errMsg = "[ERROR] file '%s' does not exist. Please run the script from its parent directory" % MSSQL_XML
|
||||||
print errMsg
|
print errMsg
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
@ -471,7 +471,7 @@ class Agent(object):
|
||||||
|
|
||||||
def preprocessField(self, table, field):
|
def preprocessField(self, table, field):
|
||||||
"""
|
"""
|
||||||
Does a field preprocessing (if needed) based on it's type (e.g. image to text)
|
Does a field preprocessing (if needed) based on its type (e.g. image to text)
|
||||||
Note: used primarily in dumping of custom tables
|
Note: used primarily in dumping of custom tables
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ def base64pickle(value):
|
||||||
|
|
||||||
def base64unpickle(value):
|
def base64unpickle(value):
|
||||||
"""
|
"""
|
||||||
Decodes value from Base64 to plain format and deserializes (with pickle) it's content
|
Decodes value from Base64 to plain format and deserializes (with pickle) its content
|
||||||
|
|
||||||
>>> base64unpickle('gAJVBmZvb2JhcnEALg==')
|
>>> base64unpickle('gAJVBmZvb2JhcnEALg==')
|
||||||
'foobar'
|
'foobar'
|
||||||
|
|
|
@ -437,7 +437,7 @@ class XMLDump(object):
|
||||||
def query(self, query, queryRes):
|
def query(self, query, queryRes):
|
||||||
'''
|
'''
|
||||||
Adds details of an executed query to the xml.
|
Adds details of an executed query to the xml.
|
||||||
The query details are the query itself and it's results.
|
The query details are the query itself and its results.
|
||||||
'''
|
'''
|
||||||
queryElem = self.__doc.createElement(QUERY_ELEM_NAME)
|
queryElem = self.__doc.createElement(QUERY_ELEM_NAME)
|
||||||
queryElem.setAttributeNode(self._createAttribute(VALUE_ATTR, query))
|
queryElem.setAttributeNode(self._createAttribute(VALUE_ATTR, query))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user