mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
Cosmetics
This commit is contained in:
parent
ecd4a5a532
commit
81e7465ed2
|
@ -12,8 +12,11 @@ from lib.request.connect import Connect as Request
|
|||
|
||||
def getPageTemplate(payload, place):
|
||||
retVal = kb.originalPage
|
||||
|
||||
if payload and place:
|
||||
if (payload, place) not in kb.pageTemplates:
|
||||
kb.pageTemplates[(payload, place)], _ = Request.queryPage(payload, place, content=True)
|
||||
|
||||
retVal = kb.pageTemplates[(payload, place)]
|
||||
|
||||
return retVal
|
||||
|
|
Loading…
Reference in New Issue
Block a user