You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ZAP User Group
I am using a loop to read a file in zest for some fuzzing. Each line in my file is a : delimited string like "u:p". I can't find a way to assign u to one variable and p to another within my loop. All I can do is pull out the whole line. Is there a way to do this that I have just missed and if not would it be the sort of thing I could request as an enhancement on the github?
Simon Bennetts
unread,
Apr 15, 2026, 12:16:05 PM (6 days ago) Apr 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ZAP User Group
I've just worked out a solution to this.
Its not really pretty, but it works :)
I used the following statements:
Loop File, with the variable name "line"
Assign variable to string, "key" = "{{line}}"
Assign replace in variable, "key" replace ":.*" with "" regex=true
Assign variable to string, "value" = "{{line}}"
Assign replace in variable, "value" replace ".*:" with "" regex=true