How to ignore any other URI out side of domain

56 views
Skip to first unread message

Hammad Ali

unread,
Oct 3, 2023, 2:30:35 PM10/3/23
to ZAP User Group
Hi,
I started a spider with url www.example.com while it was spidering I saw it also hit some url that are outside of this domain like
Can we ignore those hopefully it speeds up the spidering process how can we achieve this via python API.
Regards,
Hammad

Arkaprabha Chakraborty

unread,
Oct 3, 2023, 2:33:25 PM10/3/23
to zaprox...@googlegroups.com
You can use contexts for it. Just include the regex that you want to keep and ZAP will automatically reject the others while spidering. If you don't want to see them,  there is a small 🎯 icon, click on that and the other URIs should just magically go away :).

--
You received this message because you are subscribed to the Google Groups "ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/7a75d686-983f-42e6-affa-3a9965342de6n%40googlegroups.com.

thc...@gmail.com

unread,
Oct 3, 2023, 3:15:50 PM10/3/23
to zaprox...@googlegroups.com
Hi.

What spider?

Best regards.

thc...@gmail.com

unread,
Oct 3, 2023, 3:19:02 PM10/3/23
to zaprox...@googlegroups.com
By default the spiders don't crawl other domains. The AJAX Spider might
allow access to other domains but only to load necessary resources (e.g.
scripts).

Best regards.
>> <https://groups.google.com/d/msgid/zaproxy-users/7a75d686-983f-42e6-affa-3a9965342de6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

Simon Bennetts

unread,
Oct 4, 2023, 3:23:28 AM10/4/23
to ZAP User Group
Reply all
Reply to author
Forward
0 new messages