random-ip(1)

✨ NAME ✨

random-ip β€” print random IPv4 addresses πŸ’–. and yes bestie, this is random-ip(1) from the General Commands Manual, so you already know it's iconic.

🌸 SYNOPSIS 🌸

random-ip [loops] [byte1] [byte2] [byte3]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen: random-ip prints loops random ipv4 addresses, one per line. no cap.

if the loops command line argument is not specified, it defaults to 10000. periodt.

the further command line arguments β€” byte1, byte2, byte3 β€” fix the first, second and third octet of the generated addresses to the specified values. they are interpreted as decimal integers in the range from 0 to 255. slay.

πŸ’€ ERRORS πŸ’€

this program does not do any input value validation β€” any command line arguments are accepted. it's giving unhinged, honestly 😭.

if an argument does not parse as a proper decimal integer, the value of the longest prefix that does parse is used. (so it takes what it can get, bestie 🫠)

if arguments that specify octets in the generated addresses are less than 0 or bigger than 255, the value is interpreted modulo 256. πŸ’…


that's the whole vibe, bestie. signing off from the General Commands Manual β€” random-ip(1), no version/date drama, just pure random IP energy πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from