This was done so i wouldn't need to have like 10 modules all with the same
method just copied and pasted ...



On Thu, Mar 14, 2013 at 6:06 PM, Juan Vazquez <notifications@github.com>wrote:

> In lib/msf/core/post/common.rb:
>
> > @@ -80,6 +80,10 @@ def cmd_exec(cmd, args=nil, time_out=15)
> >  		return o
> >  	end
> >
> > +	def vcmd_exec(cmd, args=nil, time_out=15)
>
> I must to admit I dont see a real benefit defining this method into the
> mixin. And I dont like the idea of combining presentation helpers with
> logic into the same mixin. Maybe would be a good idea to add this helper
> into your modules atm.
>
> But yeah! it's just my opinion :) So I'm going to ask someone more to
> share opinion about this point!
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rapid7/metasploit-framework/pull/1596/files#r3382825>
> .
>