Is there a way to hide 404 from the site tree?

123 views
Skip to first unread message

HAHWUL

unread,
Apr 10, 2023, 1:02:55 PM4/10/23
to OWASP ZAP User Group
Hi
Is there a built-in function in Site Tree to hide or remove 404 errors? Currently, I'm solving this issue through scripting(standalone script), but I'm wondering if there's a feature that I'm unaware of.

스크린샷 2023-04-11 오전 1.31.04.png

If such a feature doesn't exist, it would be great if we could add a toggle button to show or hide 404 pages. Site trees are often used to understand the service's structure, but the numerous 404 pages caused by various tests can make the tree structure difficult to comprehend.

** Note that in the case of Burp Suite, 404 errors are not shown in the tree.

Best regards.

thc...@gmail.com

unread,
Apr 13, 2023, 5:03:11 PM4/13/23
to zaprox...@googlegroups.com
Hi.

Not currently there are some related issues that might be of interest:
https://github.com/zaproxy/zaproxy/issues/1174
https://github.com/zaproxy/zaproxy/issues/2819

Best regards.

Simon Bennetts

unread,
Apr 14, 2023, 3:42:03 AM4/14/23
to OWASP ZAP User Group
I guess we could have something nasty like an extender script which listens for new Site Tree node events and then deletes any which are 404s.
But a cleaner option (which would probably have to be in the core) would be much better.
TBH I can see most people wanting ZAP to remove / hide 404s from the Sites Tree by default..

HAHWUL

unread,
Apr 14, 2023, 12:01:14 PM4/14/23
to OWASP ZAP User Group
Thank you so much for your kind reply! I didn't know it was already a GitHub issue. 
Scripting would be my personal best choice at the moment :D

2023년 4월 14일 금요일 오후 4시 42분 3초 UTC+9에 psi...@gmail.com님이 작성:
Reply all
Reply to author
Forward
0 new messages