forked from zaproxy/zaproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
InternalSites
thc202 edited this page Jan 29, 2020
·
4 revisions
The Sites tree is part of the ZAP core, and so is always accessible.
node = org.parosproxy.paros.model.Model.getSingleton().
getSession().getSiteTree().findNode(new org.apache.commons.httpclient.URI("http://localhost/", true));
if (node) {
org.parosproxy.paros.view.View.getSingleton().getOutputPanel().append(
"Node = " + node.getNodeName() + " childCount = " + node.getChildCount() + "\n");
// List any child nodes
for (i=0;i<node.getChildCount();i++) {
org.parosproxy.paros.view.View.getSingleton().getOutputPanel().append(
"\tChild = " + node.getChildAt(i).getNodeName() + "\n");
}
}
Full details:
Links:
- Back: Dialog Windows
- Home: Internal Details
- Next: The History Extension