PACKETFORGE-NG(1)
π PACKETFORGE-NG(1) β the packet-forging bestie π
okay so bestie, welcome to packetforge-ng, a General Commands Manual page and honestly? it's giving legend behaviour. sit down, grab a strawberry π, we're building packets.
β¨ NAME β¨
packetforge-ng β forge packets: ARP, UDP, ICMP or custom packets. π
πΈ SYNOPSIS πΈ
packetforge-ng <mode> <options>
like. that's it. that's the whole vibe. a mode, some options, and you're off. π¦
π DESCRIPTION π
so packetforge-ng is the tool you call when you need to create encrypted packets that you can then use for injection. no cap, that's literally its whole job and it eats every time.
you can make lots of different packet types:
arprequests πUDPπICMPβ- custom packets π§
but the most common use β the main character move, iykyk β is creating ARP requests for subsequent injection. that's the one everybody's obsessed with.
π important lore drop: to create an encrypted packet you MUST have a PRGA (pseudo random generation algorithm) file. that's the thing that encrypts the packet you're building. no PRGA, no packet, periodt.
where do you get a PRGA file tho? bestie, you typically get it from aireplay-ng chopchop or fragmentation attacks. that's the plug. π«Ά
π OPTIONS π
here's the full menu, no skips, no summaries, every single one. π
-H,--helpβ shows the help screen. your lil safety net. π-p <fctrl>β set frame control word (hex)-a <bssid>β set Access Point MAC address-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-rto read an unencrypted frame out of a pcap file. π«‘
π₯ EXAMPLE π₯
here's the moment you've been waiting for, the demo, the slay:
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
look at that. PRGA from test.xor, AP MAC 00:09:5b:12:40:cc, source MAC 00:10:2a:cb:30:14, dest IP 192.168.1.100, source IP 192.168.1.1, and out pops arp-request.cap. ate. π
β¨
π§ 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 π«
the whole friend group, the entire squad, the group chat if you will:
airbase-ng(8)aireplay-ng(8)airmon-ng(8)airodump-ng(8)airodump-ng-oui-update(8)airserv-ng(8)airtun-ng(8)besside-ng(8)easside-ng(8)tkiptun-ng(8)wesside-ng(8)aircrack-ng(1)airdecap-ng(1)airdecloak-ng(1)airolib-ng(1)besside-ng-crawler(1)buddy-ng(1)ivstools(1)kstats(1)makeivs-ng(1)wpaclean(1)airventriloquist(8)
and that's the page bestie!! πβ
this was Version 1.7.0, dated May 2022 β and it's still PACKETFORGE-NG(1) in this house. π
bye ily, go forge something iconic. ππ¦
π¦ where this page comes from
- alpine 3.24: aircrack-ng-doc 1.7-r5 Β· GPL-2.0-or-later
- arch rolling: aircrack-ng 1.7-7 Β· GPL-2.0-only AND BSD-3-Clause AND OpenSSL
- debian bookworm: aircrack-ng 1:1.7-5 Β· GPL-2.0-or-later
- debian trixie: aircrack-ng 1:1.7+git20230807.4bf83f1a-2 Β· GPL-2.0-or-later
- fedora 43: aircrack-ng 1.7-10.fc43 Β· GPL-2.0-or-later
- fedora 43: aircrack-ng 1.7-10.fc43 Β· GPL-2.0-or-later
- fedora 44: aircrack-ng 1.7-12.fc44 Β· GPL-2.0-or-later
- fedora 44: aircrack-ng 1.7-12.fc44 Β· GPL-2.0-or-later
- nixos 26.05: aircrack-ng 1.7
- nixpkgs unstable: aircrack-ng 1.7
- ubuntu noble: aircrack-ng 1:1.7+git20230807.4bf83f1a-1build2 Β· GPL-2.0-or-later
- ubuntu questing: aircrack-ng 1:1.7+git20230807.4bf83f1a-2ubuntu1
- ubuntu resolute: aircrack-ng 1:1.7+git20230807.4bf83f1a-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: aircrack-ng 1:1.7+git20230807.4bf83f1a-3build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms