From fed57282fc47257e553981e9514f2e539f09927d Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 31 Mar 2011 14:26:14 +0000 Subject: [PATCH] Added one more warning message to show what's going on with ctrl+c --- lib/techniques/brute/use.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/techniques/brute/use.py b/lib/techniques/brute/use.py index cf0a61ad4..be16524d9 100644 --- a/lib/techniques/brute/use.py +++ b/lib/techniques/brute/use.py @@ -129,6 +129,10 @@ def tableExists(tableFile, regex=None): print 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: while (threading.activeCount() > 1): pass @@ -241,6 +245,10 @@ def columnExists(columnFile, regex=None): print 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: while (threading.activeCount() > 1): pass