Not working for URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
syntribos |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to test
http://
I have used the following command
syntribos --config-file /root/syntribos
But this is not working. I tried to debug and and found:
1. It is not getting any task.
2. It is calling _fuzz_data() which is calling:
model_iter = _build_
For URL, it is getting null model_iter. It is happening because of the following:
def _build_
var_regex = r"{([\w]
for match in re.finditer(
start, stop = match.span()
model = "{0}{1}
if match.group(1):
# The string is of the format "{identifier:
# want the identifier as the param_path
yield model, match.group(1)
else:
yield model, match.group(0)
As the for loop is not working for URL. So it is not getting anything and hence returning null.
Please see what can be done in this case.
The regex here i.e:{([ \w]*):? ([^}]*) } is expecting URL in {}. That's why it is not working. To make it work for URL do remove {} from regex.