Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c83cca4

Browse files
committed
Minor patch
1 parent fd5b665 commit c83cca4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugins/dbms/postgresql/fingerprint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from lib.core.common import Backend
99
from lib.core.common import Format
10+
from lib.core.common import singleTimeWarnMessage
1011
from lib.core.data import conf
1112
from lib.core.data import kb
1213
from lib.core.data import logger
@@ -179,4 +180,4 @@ def forceDbmsEnum(self):
179180
warnMsg += "only on the current schema and/or system databases. "
180181
warnMsg += "sqlmap is going to use 'public' schema as a "
181182
warnMsg += "database name"
182-
logger.warn(warnMsg)
183+
singleTimeWarnMessage(warnMsg)

0 commit comments

Comments
 (0)