From f555f91382467c80b5d529682e9b9737b0880048 Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 10 Jul 2014 11:18:37 +0000 Subject: [PATCH] Added documentation in docs/refguide.xml for --data and --data-string options --- docs/refguide.xml | 53 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/docs/refguide.xml b/docs/refguide.xml index c7581d7ab..d31cce66f 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -652,6 +652,7 @@ you would expect. response.protocol-specific payloadsUDP The payload database is described at . See for a description of the database of payloads. + The and options can be used to send custom payloads to every port. For example: or The option can be used to send a fixed-length random payload to every port or (if you specify a value of 0) to disable payloads. You can also disable payloads by specifying . The port list takes the same format as with the previously discussed @@ -821,9 +822,11 @@ you would expect. with the proper protocol headersprotocol-specific payloadsIP while other protocols are - sent with no additional data beyond the IP header (unless the + sent with no additional data beyond the IP header (unless any of + , + , or - option is specified). + options are specified). This host discovery method looks for either responses using the same protocol as a probe, or ICMP protocol @@ -1261,7 +1264,8 @@ run. targeted port. For some common ports such as 53 and 161, a protocol-specific payload is sent, but for most ports the packet is empty.protocol-specific payloadsUDP -The option can be used to send a +The and options can be used to send a custom +payload to every port and the option can be used to send a fixed-length random payload to every port or (if you specify a value of 0) to disable payloads. If an ICMP port unreachable error (type 3, code 3) is returned, the port is closed. Other ICMP unreachable errors (type 3, @@ -3286,6 +3290,49 @@ work properly. + + + (Append custom binary data to sent packets) + + + + + This option lets you include binary data as payload in sent packets. + hex string may be specified in any of + the following formats: 0xAABBCCDDEEFF..., + AABBCCDDEEFF... or + \xAA\xBB\xCC\xDD\xEE\xFF.... + Examples of use are and + . Note that if you specify a + number like 0x00ff + no byte-order conversion is performed. Make sure you specify + the information in the byte order expected by the receiver. + + + + + + + + (Append custom string to sent packets) + + + + + This option lets you include a regular string as payload in + sent packets. string can + contain any string. However, note that some characters + may depend on your system's locale and the receiver may not + see the same information. Also, make sure you enclose the string + in double quotes and escape any special characters from the shell. + Examples: + or . + Keep in mind that nobody is likely to actually see any comments left by this option + unless they are carefully monitoring the network with a sniffer or custom IDS rules. + + + + (Append random