AttributeError: module 'ctypes' has no attribute 'windll'
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
Please help and i would appreciate the assistance. =)
The script is designed to run on Windows due to the way the compress function is implemented:
https://github.com/ZecOps/CVE-2020-0796-RCE-POC/blob/b9d4bfd8d820feaa60b9bc41ac059482e6f8bdb1/SMBleedingGhost.py#L256-L292
You can try replacing it with a cross platform implementation, such as this one: https://github.com/you0708/lznt1
Hi,
Thank you for the swift response. Does it means to say that i need to install python on a Windows 10 machine and run the script on a Windows 10 machine ? Just to clarify.
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?
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 resolved this as i have run into the same error?