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

Skip to content

Commit a85a0e5

Browse files
committed
Fix for an Issue 'ValueError: Invalid IPv6 URL'
1 parent e18796d commit a85a0e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ def _setBulkMultipleTargets():
592592
raise SqlmapFilePathException(errMsg)
593593

594594
for line in getFileItems(conf.bulkFile):
595-
if re.search(r"[^ ]+\?(.+)", line, re.I) or CUSTOM_INJECTION_MARK_CHAR in line:
595+
if re.match(r"[^ ]+\?(.+)", line, re.I) or CUSTOM_INJECTION_MARK_CHAR in line:
596596
kb.targets.add((line.strip(), None, None, None))
597597

598598
def _findPageForms():

0 commit comments

Comments
 (0)