git-svn-id: file:///home/svn/incoming/trunk@3012 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Matt Miller 2005-11-03 00:18:12 +00:00
parent 0c0beb0297
commit ac9b0edf94
3 changed files with 14 additions and 2 deletions

View File

@ -135,7 +135,7 @@ class ExploitDriver
'Payload' => payload.refname)
# Call the exploit success handler
framework.events.on_exploit_success(exploit, session)
exploit.framework.events.on_exploit_success(exploit, session)
end
return session

View File

@ -123,10 +123,18 @@ module Session
"session_#{name.to_s}"
end
#
# This method logs the supplied buffer as coming from the remote side of
# the session.
#
def log_from_remote(buf)
rlog(buf, log_source)
end
#
# This method logs the supplied buffer as coming from the local side of
# the session.
#
def log_from_local(buf)
rlog(buf, log_source)
end

View File

@ -43,7 +43,11 @@ module Interactive
# Returns the remote peer information
#
def tunnel_peer
rstream.peerinfo
begin
rstream.peerinfo
rescue
framework.sessions.deregister(sid)
end
end
#