-
-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6064 from psiinon/client/spider-enable
Client: enable spider + help
- Loading branch information
Showing
17 changed files
with
126 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...client/src/main/javahelp/org/zaproxy/addon/client/resources/help/contents/automation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
<HTML> | ||
<HEAD> | ||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> | ||
<TITLE> | ||
Client Side Integration - Automation Framework Support | ||
</TITLE> | ||
</HEAD> | ||
<BODY> | ||
<H1>Client Side Integration - Automation Framework Support</H1> | ||
This add-on supports the Automation Framework. | ||
|
||
<H2>Job: spiderClient</H2> | ||
The spiderClient job allows you to run the <a href="spider.html">Client Spider</a>, which is designed to explore modern web apps more effectively. | ||
<p> | ||
This job supports monitor tests. | ||
|
||
<pre> | ||
- type: spiderClient # The client spider - a spider which explores modern web apps more effectively | ||
parameters: | ||
context: # String: Name of the context to spider, default: first context | ||
user: # String: An optional user to use for authentication, must be defined in the env | ||
url: # String: URL to start spidering from, default: first context URL | ||
maxDuration: # Int: The max time in minutes the spider will be allowed to run for, default: 0 unlimited | ||
maxCrawlDepth: # Int: The maximum tree depth to explore, default 5 | ||
maxChildren: # Int: The maximum number of children to add to each node in the tree | ||
numberOfBrowsers: # Int: The number of browsers the spider will use, more will be faster but will use up more memory, default 2 x number of cores | ||
browserId: # String: Browser ID to use, default: firefox-headless | ||
initialLoadTime: # Int: The time in seconds to wait after the initial URL is loaded, default: 5 | ||
pageLoadTime: # Int: The time in seconds to wait after a new URL is loaded, default: 1 | ||
shutdownTime: # Int: The time in seconds to wait after no activity before shutting down, default: 5</pre> | ||
</pre> | ||
|
||
</BODY> | ||
</HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+676 Bytes
...org/zaproxy/addon/client/resources/help/contents/images/node-content-loaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+695 Bytes
...ahelp/org/zaproxy/addon/client/resources/help/contents/images/node-fragment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.75 KB
...javahelp/org/zaproxy/addon/client/resources/help/contents/images/node-minus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.84 KB
...ahelp/org/zaproxy/addon/client/resources/help/contents/images/node-redirect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+519 Bytes
...ahelp/org/zaproxy/addon/client/resources/help/contents/images/node-standard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions
33
addOns/client/src/main/javahelp/org/zaproxy/addon/client/resources/help/contents/spider.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
<HTML> | ||
<HEAD> | ||
<TITLE> | ||
Client Side Integration - Client Spider | ||
</TITLE> | ||
</HEAD> | ||
<BODY> | ||
<H1>Client Side Integration - Client Spider</H1> | ||
|
||
This <a href="client.html">add-on</a> adds a Client Spider which is designed to explore modern web apps more effectively. | ||
<p> | ||
The Client Spider works in a similar way to the AJAX Spider but it has access to the DOM via the ZAP Browser Extension | ||
which means that it can find content which the AJAX Spider cannot find. | ||
<p> | ||
While it is still at an early stage we believe it is a more effective approach than the AJAX Spider. | ||
<br> | ||
We will be focussing on improving the Client Spider and the current plan is for it to supersede the AJAX Spider | ||
as the recommended way of crawling modern web apps. | ||
<br> | ||
We would appreciate feedback via the <a href="https://groups.google.com/group/zaproxy-users">ZAP User Group</a> | ||
to let us know how effectively it works for you, especially in comparison with the AJAX Spider. | ||
|
||
<p> | ||
The spider can be invoked via: | ||
<ul> | ||
<li>Context specific "Attack" menu | ||
<li>"Tools / Client Spider" menu item | ||
<li>Automation Framework <a href="automation.html">spiderClient</a> job | ||
</ul> | ||
|
||
</BODY> | ||
</HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+22 Bytes
(100%)
...rc/main/resources/org/zaproxy/addon/client/resources/overlay-content-loaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.