Looking for a bash script that will do the following steps:
Prompt for an IP address or Domain from the user, then use the IP or domain to:
Check domain status via whois (registered, expired, clientHold)
Check domain "registered on" and "expires" dates.
Check domains nameservers, A, MX
Then/if an IP is entered:
Ping the resolved host.
netcat for open ports/listening services (53, 80, 443, 21, 22, 3306, 3389, etc)
Check IP for PTR/rDNS
Finally, once the information is gathered either display to terminal or write to file.
Color coding would be good too -- green for open ports, red for closed for example.