mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Preparing for #1250
This commit is contained in:
parent
5ccb73a1ee
commit
acfe788c95
6 changed files with 14 additions and 17 deletions
|
|
@ -1180,11 +1180,13 @@ def cleanQuery(query):
|
|||
|
||||
return retVal
|
||||
|
||||
def setPaths():
|
||||
def setPaths(rootPath):
|
||||
"""
|
||||
Sets absolute paths for project directories and files
|
||||
"""
|
||||
|
||||
paths.SQLMAP_ROOT_PATH = rootPath
|
||||
|
||||
# sqlmap paths
|
||||
paths.SQLMAP_EXTRAS_PATH = os.path.join(paths.SQLMAP_ROOT_PATH, "extra")
|
||||
paths.SQLMAP_PROCS_PATH = os.path.join(paths.SQLMAP_ROOT_PATH, "procs")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue