Hi ZAP Team,
I'm attempting to use OWASP ZAP on an application, and I have a particular set of circumstances that I want to confirm the Spider or the Ajax Spider would be able to cover.
I have a local application running on
http://domain1:8000. On this page is a dropdown menu, and on this dropdown menu is a button that opens a new window pointed at
http://domain2:8001. This second link cannot be found directly in the HTML response to the first link (no href or anything like that).
Given these circumstances, would either of the spiders be able to pick up on domain2 and run against it? I'm uncertain if the normal spider could find it since it isn't an href in the HTML response to domain1, and given the circumstances of reaching the link to domain2 (a click to dropdown the menu followed immediately by a click to press the button opening the new window) I wasn't confident enough with my understanding of the Ajax Spider to know if that kind of behavior would be possible without some sort of specific configuration.
Could either of the spiders pick up on this separate domain? My initial attempts with the Automation Framework have not found this link (and I've ensured that domain2 is in my includePaths), but I'm not sure if this is a result of my own lacking configuration or if this behavior isn't possible:
- parameters:
context: "Script_Context"
user: "User"
url: "http://domain1:8000"
maxDuration: 0
maxDepth: 0
maxChildren: 0
name: "spider"
type: "spider"
- parameters:
context: "Script_Context"
user: "User"
url: "http://domain1:8000"
maxDuration: 5
maxCrawlDepth: 0
numberOfBrowsers: 5
browserId: "htmlunit"
maxCrawlStates: 0
eventWait: 5
reloadWait: 5
clickDefaultElems: false
clickElemsOnce: true
randomInputs: false
name: "spiderAjax"
type: "spiderAjax"
Is there some way I can find this link via the scan, or will I need to insert it manually into the list of discovered URLs?
Thank you!