Skip to content

Commit eaacbe0

Browse files
committed
Minor language fix
1 parent 941b238 commit eaacbe0

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,7 +2739,7 @@ def decodeIntToUnicode(value):
27392739

27402740
def unhandledExceptionMessage():
27412741
"""
2742-
Returns detailed message about occured unhandled exception
2742+
Returns detailed message about occurred unhandled exception
27432743
"""
27442744

27452745
errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
@@ -3372,7 +3372,7 @@ def evaluateCode(code, variables=None):
33723372
except KeyboardInterrupt:
33733373
raise
33743374
except Exception, ex:
3375-
errMsg = "an error occured while evaluating provided code ('%s'). " % ex
3375+
errMsg = "an error occurred while evaluating provided code ('%s'). " % ex
33763376
raise SqlmapGenericException(errMsg)
33773377

33783378
def serializeObject(object_):

lib/core/option.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def _setCrawler():
495495
status = '%d/%d links visited (%d%%)' % (i + 1, len(targets), round(100.0 * (i + 1) / len(targets)))
496496
dataToStdout("\r[%s] [INFO] %s" % (time.strftime("%X"), status), True)
497497
except Exception, ex:
498-
errMsg = "problem occured while crawling at '%s' ('%s')" % (target, ex)
498+
errMsg = "problem occurred while crawling at '%s' ('%s')" % (target, ex)
499499
logger.error(errMsg)
500500

501501
def _setGoogleDorking():
@@ -625,7 +625,7 @@ def _findPageForms():
625625
status = '%d/%d links visited (%d%%)' % (i + 1, len(targets), round(100.0 * (i + 1) / len(targets)))
626626
dataToStdout("\r[%s] [INFO] %s" % (time.strftime("%X"), status), True)
627627
except Exception, ex:
628-
errMsg = "problem occured while searching for forms at '%s' ('%s')" % (target, ex)
628+
errMsg = "problem occurred while searching for forms at '%s' ('%s')" % (target, ex)
629629
logger.error(errMsg)
630630

631631
def _setDBMSAuthentication():

lib/core/threads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
140140
try:
141141
thread.start()
142142
except threadError, errMsg:
143-
errMsg = "error occured while starting new thread ('%s')" % errMsg
143+
errMsg = "error occurred while starting new thread ('%s')" % errMsg
144144
logger.critical(errMsg)
145145
break
146146

lib/request/comparison.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
9090

9191
if kb.nullConnection and pageLength:
9292
if not seqMatcher.a:
93-
errMsg = "problem occured while retrieving original page content "
93+
errMsg = "problem occurred while retrieving original page content "
9494
errMsg += "which prevents sqlmap from continuation. Please rerun, "
9595
errMsg += "and if the problem persists turn off any optimization switches"
9696
raise SqlmapNoneDataException(errMsg)

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def getPage(**kwargs):
434434
conn.fp._sock.close()
435435
conn.close()
436436
except Exception, msg:
437-
warnMsg = "problem occured during connection closing ('%s')" % msg
437+
warnMsg = "problem occurred during connection closing ('%s')" % msg
438438
logger.warn(warnMsg)
439439

440440
except urllib2.HTTPError, e:

lib/request/httpshandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def create_sock():
5454
else:
5555
sock.close()
5656
except ssl.SSLError, errMsg:
57-
logger.debug("SSL connection error occured ('%s')" % errMsg)
57+
logger.debug("SSL connection error occurred ('%s')" % errMsg)
5858

5959
if not success:
6060
raise SqlmapConnectionException("can't establish SSL connection")

0 commit comments

Comments
 (0)