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):
|
def getPageTemplate(payload, place):
|
||||||
retVal = kb.originalPage
|
retVal = kb.originalPage
|
||||||
|
|
||||||
if payload and place:
|
if payload and place:
|
||||||
if (payload, place) not in kb.pageTemplates:
|
if (payload, place) not in kb.pageTemplates:
|
||||||
kb.pageTemplates[(payload, place)], _ = Request.queryPage(payload, place, content=True)
|
kb.pageTemplates[(payload, place)], _ = Request.queryPage(payload, place, content=True)
|
||||||
|
|
||||||
retVal = kb.pageTemplates[(payload, place)]
|
retVal = kb.pageTemplates[(payload, place)]
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user