diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-01-18 12:01:14 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-01-18 15:04:33 +0000 |
commit | ff033c6a2fb7a6286e66b6ed89e24ea4c6cd22c9 (patch) | |
tree | bab0bf4c3077a1f36ec4dce13f864525096a814d /doc | |
parent | 36cd1959d313862216c58a0765d75758c8715b1d (diff) |
extcap: add masked to options.
This allows an option to be masked (like a password), by using
the argument-type password.
Change-Id: I2eae1be2e6672bff28ba5f749d7a3f687ebd4631
Reviewed-on: https://code.wireshark.org/review/13385
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.extcap | 4 | ||||
-rw-r--r-- | doc/extcap.pod | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.extcap b/doc/README.extcap index 50dc1a82f3..7b53b7fcfd 100644 --- a/doc/README.extcap +++ b/doc/README.extcap @@ -150,6 +150,10 @@ These options do have types, for which the following types are being supported: the user input for validity beyond normal data type or range checks. Back-slashes must be escaped (as in \\b for \b) + * PASSWORD - Let the user provide a masked string to the capture + + arg {number=0}{call=--password}{display=The user password}{tooltip=The password for the connection}{type=password} + * BOOLEAN,BOOLFLAG - this provides the possibility to set a true/false value. BOOLFLAG values will only appear in the command-line if set to true, otherwise they will not be added to the command-line call for the extcap interface diff --git a/doc/extcap.pod b/doc/extcap.pod index 511e1a59cd..05cbdcbb93 100644 --- a/doc/extcap.pod +++ b/doc/extcap.pod @@ -46,6 +46,7 @@ Argument type for UI filtering for raw, or UI type for selector: radio (display group of radio buttons with provided values, all values as strings) fileselect (display a dialog to select a file from the filesystem, value as string) multicheck (display a textbox for selecting multiple options, values as strings) + password (display a textbox with masked text) =item value (options) @@ -79,6 +80,10 @@ Example 3: arg {number=1}{call=--server}{display=IP address for log server}{type=string}{validation=(?:\d{1,3}\.){3}\d{1,3}} flag {failure=Permission denied opening Ubertooth device} +Example 4: + arg {number=0}{call=--username}{display=Username}{type=string} + arg {number=1}{call=--password}{display=Password}{type=password} + =head1 Security awareness =over 4 |