# -*- coding: binary -*-12module Rex3module Post45###6#7# This class provides generalized methods for interacting with a thread8# running in a process on a remote machine via a post-exploitation client.9#10###11class Thread1213#14# Suspend the remote thread.15#16def suspend17raise NotImplementedError18end1920#21# Resume execution of the remote thread.22#23def resume24raise NotImplementedError25end2627#28# Terminate the remote thread.29#30def terminate31raise NotImplementedError32end3334#35# Query architecture-specific register state.36#37def query_regs38raise NotImplementedError39end4041#42# Set architecture-specific register state.43#44def set_regs45raise NotImplementedError46end4748#49# Close resources associated with the thread.50#51def close52raise NotImplementedError53end54end5556end; end575859