Child node problem

57 views
Skip to first unread message

JP

unread,
Jun 19, 2024, 7:53:03 AM (14 days ago) Jun 19
to ZAP User Group
Hello,

I have an application where thousands of child nodes are generated when I run our e2e tests though zap. Because of these child nodes, active scanning phase takes too much time(20h).

These problematic child nodes are like this:
...
action
POST:searchbyid()({"criteria":{"id":{"value":1000}}})
POST:searchbyid()({"criteria":{"id":{"value":1001}}})
POST:searchbyid()({"criteria":{"id":{"value":1002}}})
POST:searchbyid()({"criteria":{"id":{"value":1003}}})
...

How to make zap attack this http://../api/action/searchbyid only once and not thousands times?

Br, JP

kingthorin+zap

unread,
Jun 19, 2024, 3:05:57 PM (13 days ago) Jun 19
to ZAP User Group

JP

unread,
Jun 20, 2024, 4:17:35 AM (13 days ago) Jun 20
to ZAP User Group
Hi,

Yes I have allready checked those docs and tried to figure out how I could utilise data driven nodes but without success. Problem is that all those thousands of nodes are "lowest" on hierarchy and they have one common parent. So those thousands of POST nodes are lowest and have one common parent node "action". How to make ZAP see those POST nodes as one?

Br, JP

JP

unread,
Jun 20, 2024, 4:34:51 AM (13 days ago) Jun 20
to ZAP User Group
Here was similar problem but no solution mentioned: https://groups.google.com/g/zaproxy-users/c/wRbXkXWOk1Y

kingthorin+zap

unread,
Jun 20, 2024, 12:55:34 PM (12 days ago) Jun 20
to ZAP User Group
So you have different action(s) but not every ID for an action needs to be tried?

JP

unread,
8:07 AM (16 hours ago) 8:07 AM
to ZAP User Group
I have and endpoint  ../api/action/searchbyid the problem is that each request to it (where only the request body json payload is different) is seen by ZAP as unique nodes creating hundreds of nodes. How to make zap attack this endpoint only once?

So hundreds of nodes like this under the same "action" parent:


POST:searchbyid()({"criteria":{"id":{"value":1000}}})
Reply all
Reply to author
Forward
0 new messages