Added one more warning message to show what's going on with ctrl+c

This commit is contained in:
Bernardo Damele 2011-03-31 14:26:14 +00:00
parent 3948cd9e77
commit fed57282fc

View File

@ -129,6 +129,10 @@ def tableExists(tableFile, regex=None):
print print
logger.debug("waiting for threads to finish") logger.debug("waiting for threads to finish")
warnMsg = "Ctrl+C detected during common table existance check. "
warnMsg += "sqlmap will display some tables only"
logger.warn(warnMsg)
try: try:
while (threading.activeCount() > 1): while (threading.activeCount() > 1):
pass pass
@ -241,6 +245,10 @@ def columnExists(columnFile, regex=None):
print print
logger.debug("waiting for threads to finish") logger.debug("waiting for threads to finish")
warnMsg = "Ctrl+C detected during common column existance check. "
warnMsg += "sqlmap will display some columns only"
logger.warn(warnMsg)
try: try:
while (threading.activeCount() > 1): while (threading.activeCount() > 1):
pass pass