AutoMacro Builder is an extension of ZAPROXY. You can test applications that need to access pages in a specific order, such as shopping carts or registration of member information. This Extension records the http request sequence of the web application, tracks the anti-CSRF token and session cookies, and can tests it by ZAPROXY tools(ActiveScan).
To summarize the above, this addon can build multistep request sequence without scripting,
and can use them with tool such as scanners or manual request on ZAPROXY.
- ZAPROXY ver 2.13.0 or later
- java ver 11 or later
Click here below:
English manuals
Japanese manuals
I tested member registration my sample page which has CSRF token. below is result:
Test Environment: WEBSAMPSQLINJ Docker image(docker-compose)
Scantarget: [Modify User] 3.2.moduser.php (See Sitemap)
ZAPROXY Version: 2.10.0-SNAPSHOT
Addon: AutoMacroBuilderForZAP ver0.9.6, ActiveScan rule addons(See below).
ZAPROXY Mode: Standard mode
url | parameter | Advanced SQLInjection Scanner Ver13 beta | CustomActiveScan ver0.0.1 alpha |
---|---|---|---|
http://localhost:8110/moduser.php | password | DETECTED (time based pg_sleep(5)) | DETECTED(boolean based) |
http://localhost:8110/moduser.php | age | DETECTED (time based pg_sleep(5)) | DETECTED(boolean based) |
The add-on is built with [Gradle]: https://gradle.org/
To download & build this addon, simply run:
$ git clone https://github.com/gdgd009xcd/AutoMacroBuilderForZAP.git
$ cd AutoMacroBuilderForZAP/
$ ./gradlew addOns:automacrobuilder:jarZapAddOn
The add-on will be placed in the directory AutoMacroBuilderForZAP/addOns/automacrobuilder/build/zapAddOn/bin
$ cd addOns/automacrobuilder/build/zapAddOn/bin
$ ls
automacrobuilder-alpha-0.9.7.zap
$
- Gradle builds may fail due to network connection timeouts for downloading dependencies. If you have such problems, please retry the gradlew command each time. or you can download addon file from release page