rapid7/metasploit-framework — pull request #4161 by wchen-r7 (2014-11-09 20:30:25+00:00)
Title: Fix #4132 - msfvenom undefined method fullname for NilClass

See https://github.com/rapid7/metasploit-framework/issues/4132

The bug is caused by a bad payload name.

- [ ] To verify: without the patch, if you do the following, you will get the undef method error:

```
./msfvenom -p payload/python/meterpreter/reverse_tcp -o LHOST=192.168.130.1 -f raw
```

- [ ] With the patch, it should say invalid payload.
- [ ] Now, try with a valid payload name: ```./msfvenom -p payload/python/meterpreter/reverse_tcp -o LHOST=192.168.130.1 -f raw```
- [ ] It should show you the payload options this time.