mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Some more refactoring
This commit is contained in:
parent
1a8ebbfd43
commit
e948e4d45b
9 changed files with 16 additions and 22 deletions
|
|
@ -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('/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue