AlessandroZ / BeRoot

Privilege Escalation Project - Windows / Linux / Mac
GNU Lesser General Public License v3.0
2.44k stars 466 forks source link

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

Open ghost opened 3 years ago

ghost commented 3 years ago

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