Pycharm не может импортировать пакеты и отображает ошибку SSL в моем компьютере с VMware Windows 7 - PullRequest
0 голосов
/ 20 декабря 2018

Я включил 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
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...