mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor fix
This commit is contained in:
parent
30d6791968
commit
718eef8753
|
@ -382,10 +382,10 @@ def start():
|
|||
errMsg += "a higher --level/--risk to use more tests"
|
||||
|
||||
if not conf.textOnly and kb.originalPage:
|
||||
percent = (1.0 * len(kb.originalPage) / len(getFilteredPageContent(kb.originalPage)))
|
||||
percent = (100.0 * len(getFilteredPageContent(kb.originalPage)) / len(kb.originalPage))
|
||||
errMsg += " and/or --text-only switch if the target page "
|
||||
errMsg += "has a low percentage of textual content "
|
||||
errMsg += "(%.2f%% of page content is text)" % percent
|
||||
errMsg += "(approximately %.2f%% of page content is text)" % percent
|
||||
|
||||
raise sqlmapNotVulnerableException, errMsg
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user