Scripting language : Bash Shell Script
I have to create function in which read IP addresses one by one from one file ( ip.txt
) and scan these IP using nmap
.
What options from the nmap manual have you tried?
I have something that I've deployed here, but it is very cut-down in the information it returns, so it might not be what you want. What is your eventual goal? Is it:-
- Find all ports open on a whole range
- Find devices that are up in a range
- Find which devices are not offering a particular port or are down
- Something else?
There is hopefully a neat tool to save you some work, but you need to be clear what your goal is first.
Kind regards,
Robin
My goal:
- Find all ports open on a whole range.
Nevermind... I think my reply was wrong.... this may not be homework after all....