Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df9b1d7

Browse files
committed
Minor update
1 parent 099e931 commit df9b1d7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/core/option.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
from lib.core.settings import DEFAULT_PAGE_ENCODING
101101
from lib.core.settings import DEFAULT_TOR_HTTP_PORTS
102102
from lib.core.settings import DEFAULT_TOR_SOCKS_PORT
103+
from lib.core.settings import DUMMY_URL
103104
from lib.core.settings import FIREBIRD_ALIASES
104105
from lib.core.settings import INJECT_HERE_MARK
105106
from lib.core.settings import IS_WIN
@@ -2071,7 +2072,7 @@ def _basicOptionValidation():
20712072
errMsg = "switch '--forms' requires usage of option '-u' ('--url') or '-m'"
20722073
raise SqlmapSyntaxException(errMsg)
20732074

2074-
if conf.requestFile and conf.url:
2075+
if conf.requestFile and conf.url and conf.url != DUMMY_URL:
20752076
errMsg = "option '-r' is incompatible with option '-u' ('--url')"
20762077
raise SqlmapSyntaxException(errMsg)
20772078

0 commit comments

Comments
 (0)