1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/lib/rex/post/thread.rb
Ramon de C Valle f124597a56 Code cleanups
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-19 21:03:39 +00:00

57 lines
794 B
Ruby

#!/usr/bin/env ruby
module Rex
module Post
###
#
# This class provides generalized methods for interacting with a thread
# running in a process on a remote machine via a post-exploitation client.
#
###
class Thread
#
# Suspend the remote thread.
#
def suspend
raise NotImplementedError
end
#
# Resume execution of the remote thread.
#
def resume
raise NotImplementedError
end
#
# Terminate the remote thread.
#
def terminate
raise NotImplementedError
end
#
# Query architecture-specific register state.
#
def query_regs
raise NotImplementedError
end
#
# Set architecture-specific register state.
#
def set_regs
raise NotImplementedError
end
#
# Close resources associated with the thread.
#
def close
raise NotImplementedError
end
end
end; end