Skip to content

Commit

Permalink
added vcmd_exec to common post lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jabra- committed Mar 15, 2013
1 parent 40e801d commit 3abbed3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/msf/core/post/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
vprint_status cmd_exec(cmd,args,time_out)
end

#
# Reports to the database that the host is a virtual machine and reports
# the type of virtual machine it is (e.g VirtualBox, VMware, Xen)
Expand Down

0 comments on commit 3abbed3

Please sign in to comment.