grammar fix

This commit is contained in:
Miroslav Stampar 2012-03-13 22:03:23 +00:00
parent edfcddd3c3
commit a7fbc55748
5 changed files with 7 additions and 7 deletions

View File

@ -129,7 +129,7 @@ def checkSqlInjection(place, parameter, value):
if not any(re.search(conf.testFilter, str(item), re.I) for item in [test.title, test.vector,\ if not any(re.search(conf.testFilter, str(item), re.I) for item in [test.title, test.vector,\
test.details.dbms if "details" in test and "dbms" in test.details else ""]): test.details.dbms if "details" in test and "dbms" in test.details else ""]):
debugMsg = "skipping test '%s' because " % title debugMsg = "skipping test '%s' because " % title
debugMsg += "it's name/vector/dbms is not included by the given filter" debugMsg += "its name/vector/dbms is not included by the given filter"
logger.debug(debugMsg) logger.debug(debugMsg)
continue continue
else: else:

View File

@ -1683,7 +1683,7 @@ def readCachedFileContent(filename, mode='rb'):
def readXmlFile(xmlFile): def readXmlFile(xmlFile):
""" """
Reads XML file content and returns it's DOM representation Reads XML file content and returns its DOM representation
""" """
checkFile(xmlFile) checkFile(xmlFile)
@ -2738,7 +2738,7 @@ def safeSQLIdentificatorNaming(name, isTable=False):
def unsafeSQLIdentificatorNaming(name): def unsafeSQLIdentificatorNaming(name):
""" """
Extracts identificator's name from it's safe SQL representation Extracts identificator's name from its safe SQL representation
""" """
retVal = name retVal = name

View File

@ -160,7 +160,7 @@ def __urllib2Opener():
# Reference: http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html # Reference: http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html
if conf.keepAlive: if conf.keepAlive:
warnMsg = "persistent HTTP(s) connections, Keep-Alive, has " warnMsg = "persistent HTTP(s) connections, Keep-Alive, has "
warnMsg += "been disabled because of it's incompatibility " warnMsg += "been disabled because of its incompatibility "
if conf.proxy: if conf.proxy:
warnMsg += "with HTTP(s) proxy" warnMsg += "with HTTP(s) proxy"
@ -475,7 +475,7 @@ def __setGoogleDorking():
if conf.keepAlive: if conf.keepAlive:
if conf.proxy: if conf.proxy:
warnMsg = "persistent HTTP(s) connections, Keep-Alive, has " warnMsg = "persistent HTTP(s) connections, Keep-Alive, has "
warnMsg += "been disabled because of it's incompatibility " warnMsg += "been disabled because of its incompatibility "
warnMsg += "with HTTP(s) proxy" warnMsg += "with HTTP(s) proxy"
logger.warn(warnMsg) logger.warn(warnMsg)
else: else:

View File

@ -54,7 +54,7 @@ def forgeHeaders(items=None):
if ("%s=" % cookie.name) in headers[HTTPHEADER.COOKIE]: if ("%s=" % cookie.name) in headers[HTTPHEADER.COOKIE]:
if kb.mergeCookies is None: if kb.mergeCookies is None:
message = "you provided a HTTP %s header value. " % HTTPHEADER.COOKIE message = "you provided a HTTP %s header value. " % HTTPHEADER.COOKIE
message += "The target url provided it's own cookies within " message += "The target url provided its own cookies within "
message += "the HTTP %s header which intersect with yours. " % HTTPHEADER.SET_COOKIE message += "the HTTP %s header which intersect with yours. " % HTTPHEADER.SET_COOKIE
message += "Do you want to merge them in futher requests? [Y/n] " message += "Do you want to merge them in futher requests? [Y/n] "
test = readInput(message, default="Y") test = readInput(message, default="Y")

View File

@ -663,7 +663,7 @@ class Connect:
if conf.tor: if conf.tor:
warnMsg = "it's highly recommended to avoid usage of switch '--tor' for " warnMsg = "it's highly recommended to avoid usage of switch '--tor' for "
warnMsg += "time-based injections because of it's high latency time" warnMsg += "time-based injections because of its high latency time"
singleTimeWarnMessage(warnMsg) singleTimeWarnMessage(warnMsg)
warnMsg = "time-based comparison needs larger statistical " warnMsg = "time-based comparison needs larger statistical "