AlessandroZ / BeRoot

Privilege Escalation Project - Windows / Linux / Mac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError in "ctypes\__init__.py", line 66, in create_string_buffer"

opened this issue · comments

Traceback (most recent call last):
File "C:\Users\0x00\Desktop\BeRoot\Windows\BeRoot\beroot.py", line 50, in
for r in run_check_all(args.list):
File "C:\Users\0x00\Desktop\BeRoot\Windows\BeRoot\beroot.py", line 30, in run_check_all
for r in f():
File "C:\Users\0x00\Desktop\BeRoot\Windows\BeRoot\beroot\run.py", line 255, in check_all
checks = RunChecks()
File "C:\Users\0x00\Desktop\BeRoot\Windows\BeRoot\beroot\run.py", line 32, in init
self.service = s.get_services(self.service)
File "C:\Users\0x00\Desktop\BeRoot\Windows\BeRoot\beroot\modules\get_info\from_scmanager_services.py", line 21, in get_services
for i in EnumServicesStatus(scm):
File "C:\Users\0x00\Desktop\BeRoot\Windows\BeRoot\beroot\modules\objects\winstructures.py", line 294, in EnumServicesStatus
services_buffer = create_string_buffer("", cbBytesNeeded.value)
File "C:\Users\0x00\AppData\Local\Programs\Python\Python39\lib\ctypes_init_.py", line 66, in create_string_buffer
raise TypeError(init)
TypeError