Files
metasploit-gs/lib/msf/core/session/basic.rb
T
Matt Miller 6a5870ddcd updated comments to be more uniformed in class definition
git-svn-id: file:///home/svn/incoming/trunk@3004 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-02 16:49:45 +00:00

43 lines
533 B
Ruby

module Msf
module Session
###
#
# This class implements an interactive session using raw input/output in
# only the most basic fashion.
#
###
module Basic
include Session
include Interactive
#
# Description of the session
#
def desc
"Basic I/O"
end
#
# Basic session
#
def type
"basic"
end
protected
#
# Performs the actual raw interaction with the remote side. This can be
# overriden by derived classes if they wish to do this another way.
#
def _interact
interact_stream(rstream)
end
end
end
end