MACOF(8)
π MACOF β bestie's guide to flooding a switched LAN (section 8 of the System Manager's Manual, obviously)
β¨ NAME β¨
macof β flood a switched LAN with random MAC addresses π¦
π SYNOPSIS π
macof [-i interface] [-s src] [-d dst] [-e tha] [-x sport] [-y dport]
[-n times]
πΈ DESCRIPTION πΈ
okay so macof literally floods your local network with random MAC addresses, no cap. And the why is the juicy part: it makes some switches fail open in repeating mode, which lowkey means sniffing gets a whole lot easier π
Also bestie, some lore: this is a straight C port of the original Perl Net::RawIP macof program, written by Ian Vitek <ian.vitek@infosec.se>. iconic behavior, we love a port π
π OPTIONS π
-iinterface β pick which interface to send on, bestie π«Ά-ssrc β set the source IP address β¨-ddst β set the destination IP address π«-etha β set the target hardware address π―-xsport β set the TCP source port π-ydport β set the TCP destination port β-ntimes β set how many packets to send, go off π
fr fr: any option you leave unspecified? its value just gets generated randomly. chaos mode activated π
π₯ SEE ALSO π₯
dsniff(8)β go read it, iykyk π
π AUTHOR π
Dug Song <dugsong@monkey.org> β the main character who made this happen, periodt π
k bye bestie, that's the whole page β macof, section 8 of the System Manager's Manual, straight from Dug Song. go forth and be iconic, and remember: random values for anything you didn't specify π
π¦ where this page comes from
- arch rolling: dsniff 2.4b1-34 Β· BSD
- debian bookworm: dsniff 2.4b1+debian-31 Β· BSD-3-Clause
- debian trixie: dsniff 2.4b1+debian-34 Β· BSD-3-Clause
- epel 9: dsniff 2.4-0.37.b1.el9 Β· BSD
- fedora 43: dsniff 2.4-0.47.b1.fc43 Β· BSD-3-Clause AND BSD-4-Clause-UC AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT
- fedora 44: dsniff 2.4-0.48.b1.fc44 Β· BSD-3-Clause AND BSD-4-Clause-UC AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT
- nixos 26.05: dsniff 2.4b1
- nixpkgs unstable: dsniff 2.4b1
- ubuntu jammy: dsniff 2.4b1+debian-30build1 Β· BSD-3-Clause
- ubuntu noble: dsniff 2.4b1+debian-32build2 Β· BSD-3-Clause
- ubuntu questing: dsniff 2.4b1+debian-35
- ubuntu resolute: dsniff 2.5a2-1 Β· BSD-3-Clause
- ubuntu stonking: dsniff 2.5a2-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms