rapid7/metasploit-framework — pull request #3060 by jlee-r7 (2014-03-04 07:50:34+00:00)
Title: Default platform to Linux for ELF files in Util::EXE 

This was the intention of the previous code, but msfvenom recently
changed how it passed the platform in

See #2950