I need a tool that will transform and IP range to a list of IP's, that I will be able to put in an txt file.
As an example I have this range:
and I need a text file that will contain all the IPs in this range. I will use this file in Nessus to scan large parts of my network. I cannot put this range in Nessus because it doesn't recognize it. I can put it in Nmap, and I tried to do a ping scan against a range like this, but nmap has crashed.
Nmap scan report for 18.104.22.168
Host is up (0.0013s latency).
Nmap scan report for 22.214.171.124
Host is up (0.0014s latency).
Nmap scan report for 126.96.36.199
Host is up (0.00037s latency).
pcap_open_live(eth3, 100, 0, 200) FAILED. Reported error: eth3: That device is not up. Will wait 5 seconds then retry.
pcap_open_live(eth3, 100, 0, 200) FAILED. Reported error: eth3: That device is not up. Will wait 25 seconds then retry.
Call to pcap_open_live(eth3, 100, 0, 200) failed three times. Reported error: eth3: That device is not up
There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support. If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).
*WINDOWS: Nmap only supports ethernet interfaces on Windows for most operations because Microsoft disabled raw sockets as of Windows XP SP2. Depending on the reason for this error, it is possible that the --unprivileged command-line argument will help.
SOLARIS: If you are trying to scan localhost or the address of an interface and are getting '/dev/lo0: No such file or directory' or 'lo0: No DLPI device found', complain to Sun. I don't think Solaris can support advanced localhost scans. You can probably use "-PN -sT localhost" though.