Skip to content

Commit 492caa4

Browse files
authored
Merge pull request #173 from thc202/update-plugin-and-urls
Update add-on plugin and help links, tweak HelpSet
2 parents 1a41f27 + d4c68e7 commit 492caa4

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
## Unreleased
77

88
### Added
9+
- Add repo URL, shown in the marketplace and Manage Add-ons dialogue.
910
- active/cve-2019-5418.js > An active scanner for Ruby on Rails Accept header content disclosure issue.
1011
- active/JWT None Exploit.js > Checks if the application's JWT implementation allows the usage of the 'none' algorithm.
1112
- authentication/DjangoAuthentication.js > Django authentication script.
@@ -28,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2829

2930
### Changed
3031
- Maintenance changes to target ZAP 2.8.
32+
- Change info URL to link to the online help page.
3133

3234
### Removed
3335
- The following scripts were merged into a new script `HUNT.py`:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you might want to contribute to the repo then you can also clone it to a loca
1010
Please upload your scripts via pull requests!
1111

1212
For more information on ZAP scripts see:
13-
* https://github.com/zaproxy/zap-core-help/wiki/HelpAddonsScriptsScripts
13+
* https://www.zaproxy.org/docs/desktop/addons/script-console/
1414
* https://github.com/zaproxy/zaproxy/wiki/InternalScripting
1515

1616
To discuss any aspect of ZAP scripting please join the zaproxy-scripts group: http://groups.google.com/group/zaproxy-scripts

build.gradle.kts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import org.zaproxy.gradle.addon.misc.ExtractLatestChangesFromChangelog
66

77
plugins {
88
`java-library`
9-
id("org.zaproxy.add-on") version "0.2.0"
9+
id("org.zaproxy.add-on") version "0.3.0"
1010
id("com.diffplug.gradle.spotless") version "3.15.0"
1111
}
1212

@@ -30,15 +30,11 @@ zapAddOn {
3030

3131
manifest {
3232
author.set("ZAP Community")
33-
url.set("https://github.com/zaproxy/community-scripts")
33+
url.set("https://www.zaproxy.org/docs/desktop/addons/community-scripts/")
34+
repo.set("https://github.com/zaproxy/community-scripts/")
3435
changesFile.set(tasks.named<ConvertMarkdownToHtml>("generateManifestChanges").flatMap { it.html })
3536
files.from(scriptsDir)
3637
}
37-
38-
wikiGen {
39-
wikiFilesPrefix.set("HelpAddons${zapAddOn.addOnId.get().capitalize()}")
40-
wikiDir.set(file("$rootDir/../zap-extensions-wiki/"))
41-
}
4238
}
4339

4440
val jupiterVersion = "5.2.0"

src/main/javahelp/org/zaproxy/zap/extension/communityScripts/resources/help/contents/communityScripts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <H1>Community Scripts</H1>
1515
<br><br>
1616
For more information on ZAP scripts see:
1717
<ul>
18-
<li><a href="https://github.com/zaproxy/zap-core-help/wiki/HelpAddonsScriptsScripts">https://github.com/zaproxy/zap-core-help/wiki/HelpAddonsScriptsScripts</a></li>
18+
<li><a href="https://www.zaproxy.org/docs/desktop/addons/script-console/">Script Console add-on</a></li>
1919
<li><a href="https://github.com/zaproxy/zaproxy/wiki/InternalScripting">https://github.com/zaproxy/zaproxy/wiki/InternalScripting</a></li>
2020
</ul>
2121

src/main/javahelp/org/zaproxy/zap/extension/communityScripts/resources/help/helpset.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN"
44
"http://java.sun.com/products/javahelp/helpset_2_0.dtd">
55
<helpset version="2.0" xml:lang="en-GB">
6-
<title>Community Scripts | ZAP Extension</title>
6+
<title>Community Scripts Add-on</title>
77

88
<maps>
9-
<homeID>top</homeID>
9+
<homeID>communityScripts</homeID>
1010
<mapref location="map.jhm"/>
1111
</maps>
1212

0 commit comments

Comments
 (0)