Sometimes pymem is working but sometimes not. I tested it on windows10 . And here's my traceback:
traceback (most recent call last):
File "C:\Users\Denys\Desktop\i.py", line 29, in
pm.inject_python_shellcode(shellcode)
File "C:\Users\Denys\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymem__init__.py", line 168, in inject_python_shellcode
self.start_thread(self.py_run_simple_string, shellcode_addr)
File "C:\Users\Denys\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymem__init__.py", line 201, in start_thread
pymem.logger.debug('New thread_id: 0x%08x' % thread_h)
TypeError: %x format: an integer is required, not NoneType
Sometimes pymem is working but sometimes not. I tested it on windows10 . And here's my traceback:
traceback (most recent call last): File "C:\Users\Denys\Desktop\i.py", line 29, in
pm.inject_python_shellcode(shellcode)
File "C:\Users\Denys\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymem__init__.py", line 168, in inject_python_shellcode
self.start_thread(self.py_run_simple_string, shellcode_addr)
File "C:\Users\Denys\AppData\Local\Programs\Python\Python311\Lib\site-packages\pymem__init__.py", line 201, in start_thread
pymem.logger.debug('New thread_id: 0x%08x' % thread_h)