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] Token privileges #18

Open
rachee5k opened this issue Jul 21, 2020 · 1 comment
Open

[help] Token privileges #18

rachee5k opened this issue Jul 21, 2020 · 1 comment

Comments

@rachee5k
Copy link

Hey! Ive been having some issues with this python script, and since im not qualified enough to solve them, I came here for some help. I saw another issue with "The token does not have the specified privilege." but that was closed without anyone explaining how they solved the issue. Can anyone help me in making this work?
I always get an error like this when running the script:

The token does not have the specified privilege.

C:\Users\Bence\AppData\Local\Programs\Python\Python38-32>python OneByteLdr.py
2020-07-21 17:20:41,132 - pymem - DEBUG - Process 3032 is being debugged
Traceback (most recent call last):
File "OneByteLdr.py", line 4, in
pm = pymem.Pymem('csgo.exe')
File "C:\Users\Bence\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\pymem_init_.py", line 46, in init
self.check_wow64()
File "C:\Users\Bence\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\pymem_init_.py", line 51, in check_wow64
verdict = pymem.process.is_64_bit(self.process_handle)
File "C:\Users\Bence\AppData\Local\Programs\Python\Python38-32\lib\site-packag
es\pymem\process.py", line 342, in is_64_bit
response = pymem.ressources.kernel32.IsWow64Process(handle, ctypes.byref(Wow
64Process))
ctypes.ArgumentError: argument 1: <class 'OverflowError'>: int too long to conve
rt

Thank you!

@rachee5k
Copy link
Author

@danielkrupinski Can you help me solve this problem?

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

1 participant