.TH PACKETFORGE-NG 1 "@MAN_RELEASE_DATE@" "@MAN_RELEASE_VERSION@"

.SH NAME
packetforge-ng - forge packets: ARP, UDP, ICMP or custom packets.
.SH SYNOPSIS
.B packetforge-ng
<mode> <options>
.SH DESCRIPTION
.BI packetforge-ng
is a tool to create encrypted packets that can subsequently be used for injection. You may create various types of packets such as arp requests, UDP, ICMP and custom packets. The most common use is to create ARP requests for subsequent injection. 
.PP
To create an encrypted packet, you must have a PRGA (pseudo random generation algorithm) file. This is used to encrypt the packet you create. This is typically obtained from aireplay-ng chopchop or fragmentation attacks.
.SH OPTIONS
.PP
.TP
.I -H, --help
Shows the help screen.
.TP
.I -p <fctrl>
Set frame control word (hex)
.TP
.I -a <bssid>
Set Access Point MAC address
.TP
.I -c <dmac>
Set Destination MAC address
.TP
.I -h <smac>
Set Source MAC address
.TP
.I -j
set FromDS bit
.TP
.I -o
clear ToDS bit
.TP
.I -e
disable WEP encryption
.TP
.I -k <ip:[port]>
Set destination IP (and port)
.TP
.I -l <ip:[port]>
Set source IP (and port)
.TP
.I -w <file>
Write packet to this pcap file
.TP
.I -r <file>
Read packet from this pcap file
.TP
.I -y <file>
Read PRGA from this file
.TP
.I -t <ttl>
Set Time To Live in IP-Header
.TP
.I -s <size>
Set size of the generated null packet.
.TP
.I -0, --arp
Forge an ARP packet
.TP
.I -1, --udp
Forge an UDP packet
.TP
.I -2, --icmp
Forge an ICMP packet
.TP
.I -3, --null
Forge a llc null packet
.TP
.I -9, --custom
Build a custom packet, requires \-r to read an unencrypted frame out of a pcap file.
.SH EXAMPLE
.B packetforge-ng
\-y test.xor \-a 00:09:5b:12:40:cc \-h 00:10:2a:cb:30:14 \-k 192.168.1.100 \-l 192.168.1.1 \-w arp-request.cap
.SH AUTHOR
This manual page was written by Thomas d\(aqOtreppe.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
.SH SEE ALSO
.br
.B airbase-ng(8)
.br
.B aireplay-ng(8)
.br
.B airmon-ng(8)
.br
.B airodump-ng(8)
.br
.B airodump-ng-oui-update(8)
.br
.B airserv-ng(8)
.br
.B airtun-ng(8)
.br
.B besside-ng(8)
.br
.B easside-ng(8)
.br
.B tkiptun-ng(8)
.br
.B wesside-ng(8)
.br
.B aircrack-ng(1)
.br
.B airdecap-ng(1)
.br
.B airdecloak-ng(1)
.br
.B airolib-ng(1)
.br
.B besside-ng-crawler(1)
.br
.B buddy-ng(1)
.br
.B ivstools(1)
.br
.B kstats(1)
.br
.B makeivs-ng(1)
.br
.B wpaclean(1)
.br
.B airventriloquist(8)
