rapid7/metasploit-framework — pull request #2866 by Meatballs1 (2014-01-12 19:28:05+00:00)
Title: Python Metepreter Reverse SSL

Also fixes a strange bit of logic in packet_parser which prevented SSL connection from working...

I couldn't understand the logic, why is it an if elseif? It seems like its trying to recv the packet length from the header and then recv the rest of the packet. However it gets the length and then exits?

This is at odds with the description

> Reads data from the wire and parse AS MUCH of the packet as possible.