I was wondering how I would be able to proxy MetaSploit through BurpSuite.
I was to reverse engineer a packet being sent to my ChromeCast, but I have no way of viewing the packet.
Use the PROXIES environment variable (while in msfconsole) :
set PROXIES HTTP:127.0.0.1:8080
Or run Metalsploit with proxychains (config at /etc/proxychains.conf) http://proxychains.sourceforge.net
Notice that using burp is not helpful to inspect protocols other than http.