Files
metasploit-gs/lib/msf/core/session/basic.rb
T

42 lines
534 B
Ruby
Raw Normal View History

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
2005-07-16 08:12:58 +00:00
#
2005-11-15 15:11:43 +00:00
# Description of the session.
2005-07-16 08:12:58 +00:00
#
def desc
2005-07-16 16:06:44 +00:00
"Basic I/O"
2005-07-16 08:12:58 +00:00
end
#
2005-11-15 15:11:43 +00:00
# Basic session.
2005-07-16 08:12:58 +00:00
#
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
2008-10-19 21:03:39 +00:00
end