Sun, 13 Oct 2013

ipsinline .:.permalink.:.

A simple utility to grab the ip addresses from stdin and spit them out by number, and optionally resolve the dns name.

Handy for adding to a command line when whiddling down data from a firewall, syslog, etc.

	tail -f firewallsyslogfilename | ipsinline --dns #will print and resolve all ips it finds in those lines
	head -n 10 somefilewithipsinit | ipsinline --head 1 --dns #will print and resolve the first ip found in the line only.

You can get it here

Posted at: Sun, 13 Oct 2013 | category: /itsec