mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
dynamicity engine update
This commit is contained in:
parent
3619fc5127
commit
508b9cc763
5 changed files with 20 additions and 8 deletions
|
|
@ -41,6 +41,7 @@ from lib.core.data import kb
|
|||
from lib.core.data import logger
|
||||
from lib.core.data import paths
|
||||
from lib.core.data import queries
|
||||
from lib.core.convert import htmlunescape
|
||||
from lib.core.convert import urlencode
|
||||
from lib.core.exception import sqlmapFilePathException
|
||||
from lib.core.exception import sqlmapGenericException
|
||||
|
|
@ -1102,6 +1103,8 @@ def getFilteredPageContent(page):
|
|||
while retVal.find(" ") != -1:
|
||||
retVal = retVal.replace(" ", " ")
|
||||
|
||||
retVal = htmlunescape(retVal)
|
||||
|
||||
return retVal
|
||||
|
||||
def getPageTextWordsSet(page):
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ def utf8decode(string):
|
|||
return string.decode("utf-8")
|
||||
|
||||
def htmlescape(string):
|
||||
return string.replace('&', '&').replace('<', '<').replace('>', '>').replace('"', '"').replace("'", ''')
|
||||
return string.replace('&', '&').replace('<', '<').replace('>', '>').replace('"', '"').replace("'", ''').replace(' ', ' ')
|
||||
|
||||
def htmlunescape(string):
|
||||
return string.replace('&', '&').replace('<', '<').replace('>', '>').replace('"', '"').replace(''', "'")
|
||||
return string.replace('&', '&').replace('<', '<').replace('>', '>').replace('"', '"').replace(''', "'").replace(' ', ' ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue