Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a193205 commit 3434a22Copy full SHA for 3434a22
1 file changed
lib/core/option.py
@@ -365,21 +365,9 @@ def __setRequestFromFile():
365
366
if host:
367
conf.url = "%s%s" % (host, page)
368
- elif conf.url: #insert page into here
369
- index = conf.url.find("://")
370
- if index != -1:
371
- index += len("://")
372
- else:
373
- index = 0
374
-
375
- index = conf.url.find("/", index)
376
377
- conf.url = "%s%s" % (conf.url[:conf.url.find("/", index)], page)
378
379
- conf.url = "%s%s" % (conf.url, page)
380
- pass #mirek
381
else:
382
- errMsg = "target url is not known"
+ errMsg = "mandatory HTTP header HOST is missing in "
+ errMsg += "the HTTP request file"
383
raise sqlmapFilePathException, errMsg
384
385
def __setMetasploit():
0 commit comments