If port 445 is open then metasploit exploit ms06_040_netapi would do the job. Similarly which is the best metasploit exploit for the following ports.
Is there any reference/guide/tutorials regarding metasploit exploits. Any kind of help will be appreciated. Your help is much needed.