mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Some more refactoring
This commit is contained in:
@@ -117,6 +117,7 @@ class Web:
|
||||
query = agent.suffixQuery(query)
|
||||
payload = agent.payload(newValue=query)
|
||||
page = Request.queryPage(payload)
|
||||
|
||||
return page
|
||||
|
||||
def webInit(self):
|
||||
@@ -196,7 +197,7 @@ class Web:
|
||||
directory = directories[j]
|
||||
uriPath = ""
|
||||
|
||||
if not all(isinstance(item, basestring) for item in [docRoot, directory]):
|
||||
if not all(isinstance(item, basestring) for item in (docRoot, directory)):
|
||||
continue
|
||||
|
||||
directory = ntToPosixSlashes(normalizePath(directory)).replace("//", "/").rstrip('/')
|
||||
|
||||
Reference in New Issue
Block a user