Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help. #6

Open
imamsmajser opened this issue Jun 28, 2020 · 14 comments
Open

Help. #6

imamsmajser opened this issue Jun 28, 2020 · 14 comments

Comments

@imamsmajser
Copy link

I use the latest version of Python.I start CS:GO and after that a Python scrpit.
My dll still gets detectable,what to do?

@jxian725
Copy link

Try this: #5

@xmine7890
Copy link

Try this: #5

@jxian725 i am using pymem version 1.2 thats the issue???

@imamsmajser
Copy link
Author

Try this: #5

@jxian725 i am using pymem version 1.2 thats the issue???

im using latest,but cmd opens for a second then close

@xmine7890
Copy link

@jxian725 @danielkrupinski
i am getting this after installing 32-bit version of python and pymem 1.2 version
C:>python OneByteLdr.py
The token does not have the specified privilege.

Traceback (most recent call last):
File "OneByteLdr.py", line 4, in
pm = pymem.Pymem('csgo.exe')
File "C:\Python\Python38-32\lib\site-packages\pymem_init_.py", line 45, in init
self.open_process_from_name(process_name)
File "C:\Python\Python38-32\lib\site-packages\pymem_init_.py", line 198, in open_process_from_name
self.open_process_from_id(self.process_id)
File "C:\Python\Python38-32\lib\site-packages\pymem_init_.py", line 220, in open_process_from_id
raise pymem.exception.CouldNotOpenProcess(self.process_id)
pymem.exception.CouldNotOpenProcess: Could not open process: 14800

@jxian725
Copy link

jxian725 commented Jun 28, 2020

Try this: #5

@jxian725 i am using pymem version 1.2 thats the issue???

im using latest,but cmd opens for a second then close

Run the python script from cmd or python.exe. not direct double clicking it so that you may see and troubleshoot token error for the failure.
Most probably is that your python missing pymem and win32api module

@jxian725
Copy link

@jxian725 @danielkrupinski
i am getting this after installing 32-bit version of python and pymem 1.2 version
C:>python OneByteLdr.py
The token does not have the specified privilege.

Traceback (most recent call last):
File "OneByteLdr.py", line 4, in
pm = pymem.Pymem('csgo.exe')
File "C:\Python\Python38-32\lib\site-packages\pymem__init__.py", line 45, in init
self.open_process_from_name(process_name)
File "C:\Python\Python38-32\lib\site-packages\pymem__init__.py", line 198, in open_process_from_name
self.open_process_from_id(self.process_id)
File "C:\Python\Python38-32\lib\site-packages\pymem__init__.py", line 220, in open_process_from_id
raise pymem.exception.CouldNotOpenProcess(self.process_id)
pymem.exception.CouldNotOpenProcess: Could not open process: 14800

Just run as admin for the command. If the problem still exist you may try downgrade your pymem to v1.0 as suggested by daniel

@imamsmajser
Copy link
Author

How to run command from cmd or python?

@jxian725
Copy link

How to run command from cmd or python?

Open cmd then run:
[python.exe path] [OneByteLdr.py path]

@imamsmajser
Copy link
Author

How to run command from cmd or python?

Open cmd then run:
[python.exe path] [OneByteLdr.py path]

how to install pymem?

@xmine7890
Copy link

How to run command from cmd or python?

Open cmd then run:
[python.exe path] [OneByteLdr.py path]

how to install pymem?

pip install pymem in cmd

@aljawary
Copy link

How to run command from cmd or python?

Open cmd then run:
[python.exe path] [OneByteLdr.py path]

how to install pymem?

pip install pymem in cmd
help i got this error when try to install it
https://prnt.sc/t9bblx

@jxian725
Copy link

jxian725 commented Jul 1, 2020

How to run command from cmd or python?

Open cmd then run:
[python.exe path] [OneByteLdr.py path]

how to install pymem?

pip install pymem in cmd
help i got this error when try to install it
https://prnt.sc/t9bblx

you can also install pymem manually here:
https://pypi.org/project/Pymem/#files

@KillaBoi
Copy link

KillaBoi commented Jul 2, 2020

How to run command from cmd or python?

Open cmd then run:
[python.exe path] [OneByteLdr.py path]

how to install pymem?

pip install pymem in cmd
help i got this error when try to install it
https://prnt.sc/t9bblx

pip install pymem has to be run from a normal CMD window, not a window with python running in it.

@AlexxSL
Copy link

AlexxSL commented Jul 9, 2020

@jxian725 @danielkrupinski
i am getting this after installing 32-bit version of python and pymem 1.2 version
C:>python OneByteLdr.py
The token does not have the specified privilege.
Traceback (most recent call last):
File "OneByteLdr.py", line 4, in
pm = pymem.Pymem('csgo.exe')
File "C:\Python\Python38-32\lib\site-packages\pymem__init__.py", line 45, in init
self.open_process_from_name(process_name)
File "C:\Python\Python38-32\lib\site-packages\pymem__init__.py", line 198, in open_process_from_name
self.open_process_from_id(self.process_id)
File "C:\Python\Python38-32\lib\site-packages\pymem__init__.py", line 220, in open_process_from_id
raise pymem.exception.CouldNotOpenProcess(self.process_id)
pymem.exception.CouldNotOpenProcess: Could not open process: 14800

Just run as admin for the command. If the problem still exist you may try downgrade your pymem to v1.0 as suggested by daniel

Im getting the same error. I have the latest version of python and pymem 1.0 and win32api. Still gives me the error when I try to run the OneByteLdr.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants