mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor update
This commit is contained in:
parent
6ed1b04bbe
commit
1d0c8a7f44
|
@ -725,7 +725,7 @@ class Connect:
|
|||
if not response and removeReflection:
|
||||
page = removeReflectiveValues(page, payload)
|
||||
|
||||
kb.permissionFlag = re.search(r"permission denied", page or "", re.I) is not None
|
||||
kb.permissionFlag = re.search(r"(command|permission) denied", page or "", re.I) is not None
|
||||
|
||||
if content or response:
|
||||
return page, headers
|
||||
|
|
|
@ -1743,9 +1743,9 @@ class Enumeration:
|
|||
entriesCount = len(columnEntries)
|
||||
|
||||
if len(kb.data.dumpedTable) == 0 or (entriesCount == 0 and kb.permissionFlag):
|
||||
warnMsg = "unable to retrieve the entries of "
|
||||
warnMsg = "unable to retrieve the entries "
|
||||
if conf.col:
|
||||
warnMsg += "columns '%s' " % colString
|
||||
warnMsg += "of columns '%s' " % colString
|
||||
warnMsg += "for table '%s' " % unsafeSQLIdentificatorNaming(tbl)
|
||||
warnMsg += "in database '%s'%s" % (unsafeSQLIdentificatorNaming(conf.db), " (permission denied)" if kb.permissionFlag else "")
|
||||
logger.warn(warnMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user