09 November 2012

This following gist allows you to easily parse the output of ifconfig.

Note: This regex is designed to skip loopback by default.

Tagged under ifconfig, interfaces, ip-address, mac-address, networking, parsing, php-2, regex, and others
Mike Mackintosh

This post was written by Mike Mackintosh, a decorated security professional.

Related Posts