A Logo

Feel free to include my content in your page via my
RSS feed

Help Irongeek.com pay for
bandwidth and research equipment:

Search Irongeek.com:

Affiliates:
Irongeek Button
Social-engineer-training Button

Help Irongeek.com pay for bandwidth and research equipment:

paypalpixle


Man page of PACKETFORGE-NG

PACKETFORGE-NG

Section: User Commands (1)
Updated: April 2010
Index of this MAN page

Back To MAN Pages From BackTrack 5 R1 Master List

 

NAME

packetforge-ng - forge packets: ARP, UDP, ICMP or custom packets.  

SYNOPSIS

packetforge-ng <mode> <options>  

DESCRIPTION

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.
To create an encrypted packet, you must have a PRGA (pseudo random genration algorithm) file. This is used to encrypt the packet you create. This is typically obtained from aireplay-ng chopchop or fragmentation attacks.  

OPTIONS

-H, --help
Shows the help screen.
-p <fctrl>
Set frame control word (hex)
-a <bssid>
Set Access Point MAC addres
-c <dmac>
Set Destination MAC address
-h <smac>
Set Source MAC address
-j
set FromDS bit
-o
clear ToDS bit
-e
disable WEP encryption
-k <ip:[port]>
Set destination IP (and port)
-l <ip:[port]>
Set source IP (and port)
-w <file>
Write packet to this pcap file
-r <file>
Read packet from this pcap file
-y <file>
Read PRGA from this file
-t <ttl>
Set Time To Live in IP-Header
-s <size>
Set size of the generated null packet.
-0, --arp
Forge an ARP packet
-1, --udp
Forge an UDP packet
-2, --icmp
Forge an ICMP packet
-3, --null
Forge a llc null packet
-9, --custom
Build a custom packet, requires -r to read an unencrypted frame out of a pcap file.
 

EXAMPLE

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  

AUTHOR

This manual page was written by Thomas d'Otreppe. 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.  

SEE ALSO


airbase-ng(1)
aircrack-ng(1)
airdecap-ng(1)
airdecloak-ng(1)
airdriver-ng(1)
aireplay-ng(1)
airmon-ng(1)
airodump-ng(1)
airolib-ng(1)
airserv-ng(1)
airtun-ng(1)
buddy-ng(1)
easside-ng(1)
ivstools(1)
kstats(1)
makeivs-ng(1)
tkiptun-ng(1)
wesside-ng(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 07:34:21 GMT, September 13, 2011

Printable version of this article

15 most recent posts on Irongeek.com:


If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.

Copyright 2016, IronGeek
Louisville / Kentuckiana Information Security Enthusiast