From a7fbc55748555f15521df0b58107726cadd46eb9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 13 Mar 2012 22:03:23 +0000 Subject: [PATCH] grammar fix --- lib/controller/checks.py | 2 +- lib/core/common.py | 4 ++-- lib/core/option.py | 4 ++-- lib/request/basic.py | 2 +- lib/request/connect.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 0c279c8d0..bd751a484 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -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,\ test.details.dbms if "details" in test and "dbms" in test.details else ""]): 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) continue else: diff --git a/lib/core/common.py b/lib/core/common.py index 35042c2f7..22e908042 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1683,7 +1683,7 @@ def readCachedFileContent(filename, mode='rb'): def readXmlFile(xmlFile): """ - Reads XML file content and returns it's DOM representation + Reads XML file content and returns its DOM representation """ checkFile(xmlFile) @@ -2738,7 +2738,7 @@ def safeSQLIdentificatorNaming(name, isTable=False): def unsafeSQLIdentificatorNaming(name): """ - Extracts identificator's name from it's safe SQL representation + Extracts identificator's name from its safe SQL representation """ retVal = name diff --git a/lib/core/option.py b/lib/core/option.py index 9f3d34863..202a44573 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -160,7 +160,7 @@ def __urllib2Opener(): # Reference: http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html if conf.keepAlive: 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: warnMsg += "with HTTP(s) proxy" @@ -475,7 +475,7 @@ def __setGoogleDorking(): if conf.keepAlive: if conf.proxy: 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" logger.warn(warnMsg) else: diff --git a/lib/request/basic.py b/lib/request/basic.py index d23672ef3..d76032898 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -54,7 +54,7 @@ def forgeHeaders(items=None): if ("%s=" % cookie.name) in headers[HTTPHEADER.COOKIE]: if kb.mergeCookies is None: 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 += "Do you want to merge them in futher requests? [Y/n] " test = readInput(message, default="Y") diff --git a/lib/request/connect.py b/lib/request/connect.py index 9e854fd3a..8bb104558 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -663,7 +663,7 @@ class Connect: if conf.tor: 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) warnMsg = "time-based comparison needs larger statistical "