Files
metasploit-gs/lib/rex/post/thread.rb
T
HD Moore 88658064df /usr/bin/ruby vs /usr/bin/env ruby
git-svn-id: file:///home/svn/incoming/trunk@3242 4d416f70-5f16-0410-b530-b9f4589650da
2005-12-17 06:46:23 +00:00

58 lines
795 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