The script will take a list of IPs. The script will attempt connecting to every IP on the list, with a preset list of ports (e.g. 80, 443, 8080). If the IP responds with:
1- Redirect it will follow the redirect until it reaches the final redirect.
2- If it gets 200 OK response, it will attempt searching for keywords within the page.
3- If the site is using an SSL certificate, it will attempt to get the domains listed on the cert, e.g. [login to view URL]
4- If it gets anything other than 200 OK, it will just print the IP address, the port, and the response code (401, 403, 404, etc.)
5- It should skip an IP if connection to the IP takes longer than 30 seconds.
6- It should support multi-threading