Pycharm无法导入软件包并在我的vmware计算机Windows 7中显示SSL错误

时间:2018-12-20 09:11:20

标签: python pycharm

我启用了KeyExchangeAlgorithms禁用了防火墙

from ctypes import *
from my_debugger_defines import *
import sys
import time
kernel32 = windll.kernel32
class debugger():
 def __init__(self):
 self.h_process = None
 self.pid = None
 self.debugger_active = False

 def load(self,path_to_exe):
 ...
 print "[*] We have successfully launched the process!"
 print "[*] The Process ID I have is: %d" %
process_information.dwProcessId

 # Obtain a valid handle to the newly created process
 # and store it for future access
 self.h_process = self.open_process(process_information.dwProcessId)
 ...
 def open_process(self,pid):
 h_process = kernel32.OpenProcess(PROCESS_ALL_ACCESS,pid,False)
 return h_process
 def attach(self,pid):
 self.h_process = self.open_process(pid)
 # We attempt to attach to the process
 # if this fails we exit the call
 if kernel32.DebugActiveProcess(pid):
 self.debugger_active = True
 self.pid = int(pid)
 else:
 print "[*] Unable to attach to the process."
 def detach(self):
if kernel32.DebugActiveProcessStop(self.pid):
 print "[*] Finished debugging. Exiting..."
 return True`enter code here`
 else:
 print "There was an error"
 return False

0 个答案:

没有答案