-
-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
custompayloads: SAST Fixes (SonarLint) & Options panel help button
- AbstractColumnDialog > Use List interface vs ArrayList. - Column > Reduce visibility. - CustomPayloadColumns > Add private constructor to hide implicit one. Remove ID column from Options Panel display. - CustomPayloadMultipleOptionsTableModel > Use List interface vs ArrayList for params. - CustomPayloadsCategoryColumn > Make getExtension static. - CustomPayloadsMultipleOptionsTablePanel > Create buttons only once. Make showDialog static. - EditableColumn > Reduce visibility. - EditableSelectColumn > Reduce visibility, adjust method naming to proper Java camelCase. - CustomPayloadsApiUnitTest > Remove unused param API.RequestType. - CHANGELOG > Already has a maint note, added a note about the Options panel help button. - CustomPayloadsOptionsPanel > Added overridden getHelpIndex method. - Help files > Updated to include more detailed info about the functionality. Signed-off-by: kingthorin <[email protected]>
- Loading branch information
1 parent
92543fd
commit bbc4498
Showing
16 changed files
with
146 additions
and
83 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
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
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
48 changes: 48 additions & 0 deletions
48
...in/javahelp/org/zaproxy/zap/extension/custompayloads/resources/help/contents/options.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,48 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
<HTML> | ||
<HEAD> | ||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> | ||
<TITLE>Options Custom Payloads screen</TITLE> | ||
</HEAD> | ||
<BODY> | ||
<H1>Options Custom Payloads screen</H1> | ||
<p> | ||
<strong>Note</strong>: Payload categories which are not listen in the table may be available via the Add button as not all rules which support | ||
custom payloads have default payloads. | ||
<p> | ||
This screen/table allows you to configure <a href="custompayloads.html">Custom Payload</a> options: | ||
|
||
<H2>Custom Payloads Table</H2> | ||
|
||
<H3>Enabled</H3> | ||
A checkbox indicating whether or not the particular custom payload is to be used or not. | ||
|
||
<H3>Category</H3> | ||
Indicates the category and by association the scan rule for which the cusotm payload value should be used. | ||
(The categories should be fairly obviously relatable to a scan rule, and are also mentioned in the help entry for the scan rules.) | ||
|
||
<h3>Payload</H3> | ||
Yhe value of the specific custom payload. | ||
|
||
<H2>Custom Payloads Buttons</H2> | ||
|
||
<H3>Add</H3> | ||
Allows users to add a custom payload, setting the enable state, category, and payload value. | ||
|
||
<H3>Modify/Remove</H3> | ||
Either modify or remove the custom payload defined by the selected row. | ||
|
||
<H3>Enable All/Desable All</h3> | ||
Sets the enable state of all custom payloads as applicable. | ||
|
||
<H3>Add Missing Defaults</H3> | ||
Facilitates restoration of one or more missing default custom payloads if they've been previously removed. | ||
|
||
<H3>Reset to Defaults</H3> | ||
Removes all payloads and restores just the defaults. (<strong>Note</strong>: User added payloads will be lost.) | ||
|
||
<H3>Add Multiple Payloads</H3> | ||
Allows the user to import a text file of payloads (one payload per line) for the selected category. | ||
|
||
</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
Oops, something went wrong.