rapid7/metasploit-framework — pull request #1973 by wchen-r7 (2013-06-17 20:55:01+00:00)
Title: Handle connect_login return value properly

Some modules ignore connect_login's return value, which may result an EOF if send_cmd() is used later on. All the modules fixed are the ones require auth according to the module description, or CVE/vendor/OSVDB info.