pktizr

SYNOPSIS

pktizr <targets> [options]

DESCRIPTION

pktizr is a command-line packet generator and analyzer. It lets you generate custom IP/ICMP/TCP/UDP packets, send them over the network and analyze replies using Lua scripts.

OPTIONS

-S, --script=<file>

Load and run the given script.

-p, --ports=<ranges>

Use the specified port ranges.

-r, --rate=<packets_per_second>

Send packets no faster than the specified rate [default: 100].

-s, --seed=<seed>

Use the given number as seed value.

-w, --wait=<seconds>

Wait the given amount of seconds after the scan is complete [default: 5].

-c, --count=<count>

Send the given amount of duplicate packets [default: 1].

-R, --shuffle

Shuffle the target IP addresses and ports, instead of processing them in order.

-l, --local-addr=<addr>

Specify the source IP address. This value can be accessed by scripts using the get_addr() function. By default the configured address of the network interface will be used.

-g, --gateway-addr=<addr>

Specify the gateway IP address. By default the configured address of the network interface’s default route will be used.

-n, --netdev=<dev>

Specify the netdev driver to use, instead of the default one.

Available netdev drivers are:

pfring (Linux only)
PF_RING netdev driver.
pcap
libpcap netdev driver.
sock (Linux only)
AF_PACKET netdev driver.
-q, --quiet

Don’t show the status line.

AUTHOR

Alessandro Ghedini <alessandro@ghedini.me>

Table Of Contents

This Page