Sha256: 688d2d48891a9e04897384dac41c28328c605d8d4c82ca4afc60b45aa219eb9f

Contents?: true

Size: 794 Bytes

Versions: 43

Compression:

Stored size: 794 Bytes

Contents

#!/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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/post/thread.rb
librex-0.0.63 lib/rex/post/thread.rb
librex-0.0.54 lib/rex/post/thread.rb
librex-0.0.53 lib/rex/post/thread.rb
librex-0.0.52 lib/rex/post/thread.rb
librex-0.0.51 lib/rex/post/thread.rb
librex-0.0.50 lib/rex/post/thread.rb
librex-0.0.49 lib/rex/post/thread.rb
librex-0.0.48 lib/rex/post/thread.rb
librex-0.0.47 lib/rex/post/thread.rb
librex-0.0.46 lib/rex/post/thread.rb
librex-0.0.44 lib/rex/post/thread.rb
librex-0.0.43 lib/rex/post/thread.rb
librex-0.0.42 lib/rex/post/thread.rb
librex-0.0.41 lib/rex/post/thread.rb
librex-0.0.40 lib/rex/post/thread.rb
librex-0.0.39 lib/rex/post/thread.rb
librex-0.0.38 lib/rex/post/thread.rb
librex-0.0.37 lib/rex/post/thread.rb
librex-0.0.36 lib/rex/post/thread.rb