Prev | Current Page 263 | Next

Mark D. Spivey

"Practical Hacking Techniques and Countermeasures"


-H timeout Specify the timeout value (in seconds) to use
with -h. This value defaults to 1 second.
-i interface Specify the interface to transmit from, if the
machine has multiple interfaces.
-v Verbose injection mode. Displays each packet you
inject. It also has the same effect as in capture mode
while used with the -h option.
-p payload This option defines the payload portion of
the header. Hex payload should be prefixed with 0x
with each value separated by a white space. ASCII
Example: -p 'hello, this is my packet' Hex Example: -p
'0x 70 61 63 6B 69 74'.
-w interval Specify the number of seconds to wait between
packet bursts. This value defaults to 1 second.
-Z length Specify the size of the packet(s) to inject. (Max:
65535).
This section documents the IP header command-line
options:
-s src address The IP address the packet will appear to
come from. If unspecified, packit will default to the IP
address of the lowest numbered device in the up state
(excluding loopback).
-sR Use a random source IP address.
-d dst address The IP address of the machine you would
like to contact.
-dR Use a random destination IP address.
Appendix B : Tool Syntax  709
Chapter Tool Syntax
Chapter 6
(continued)
Packit -o type of service TOS values are typically in the hexadecimal
format, however, packit only accepts TOS values as
integers.
Below are the four valid TOS bit values:
- Minimize delay: 16 (0x10)
- Maximize throughput: 8 (0x08)
- Maximize reliability: 4 (0x04)
- Minimize monetary cost: 2 (0x02)
-n ID number The ID number is used to identify each
datagram sent by a host.


Pages:
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275