mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Minor fix (NoneType has no attribute split)
This commit is contained in:
parent
95ed6b7203
commit
0355e29b7c
|
@ -660,10 +660,10 @@ def getDocRoot():
|
||||||
|
|
||||||
if choice == "2":
|
if choice == "2":
|
||||||
message = "please provide the web server document root: "
|
message = "please provide the web server document root: "
|
||||||
docRoot = readInput(message).split(',')
|
docRoot = readInput(message, default="").split(',')
|
||||||
elif choice == "3":
|
elif choice == "3":
|
||||||
message = "what's the list file location?\n"
|
message = "what's the list file location?\n"
|
||||||
listPath = readInput(message)
|
listPath = readInput(message, default="")
|
||||||
checkFile(listPath)
|
checkFile(listPath)
|
||||||
docRoot = getFileItems(listPath)
|
docRoot = getFileItems(listPath)
|
||||||
elif choice == "4":
|
elif choice == "4":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user