Sha256: bd56b7de4423d3fda9ad87967394f2dd6cfbd00bc525705fda4d148f842519c8

Contents?: true

Size: 842 Bytes

Versions: 15

Compression:

Stored size: 842 Bytes

Contents

# -*- 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

15 entries across 15 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/thread.rb
rex-2.0.12 lib/rex/post/thread.rb
rex-2.0.11 lib/rex/post/thread.rb
rex-2.0.10 lib/rex/post/thread.rb
rex-2.0.9 lib/rex/post/thread.rb
rex-2.0.8 lib/rex/post/thread.rb
rex-2.0.7 lib/rex/post/thread.rb
rex-2.0.5 lib/rex/post/thread.rb
rex-2.0.4 lib/rex/post/thread.rb
dstruct-0.0.1 lib/rex/post/thread.rb
rex-2.0.3 lib/rex/post/thread.rb
librex-0.0.999 lib/rex/post/thread.rb
rex-2.0.2 lib/rex/post/thread.rb
librex-0.0.71 lib/rex/post/thread.rb
librex-0.0.70 lib/rex/post/thread.rb