Sha256: 4e4736ed1ac7568c0a6513eed0805b4c384c5ea40bd89f0da632b5e26a5cc591

Contents?: true

Size: 820 Bytes

Versions: 2

Compression:

Stored size: 820 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: binary -*-

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/post/thread.rb
librex-0.0.66 lib/rex/post/thread.rb