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 πŸ’…

  • -i interface β€” pick which interface to send on, bestie 🫢
  • -s src β€” set the source IP address ✨
  • -d dst β€” set the destination IP address πŸ’«
  • -e tha β€” set the target hardware address 🎯
  • -x sport β€” set the TCP source port 🌈
  • -y dport β€” set the TCP destination port ⭐
  • -n times β€” 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