In original wmiexec.py, it get response from smb connection (port 445,139). Unfortunately, some antivirus software are monitoring these ports as high risk. In this case, I drop smb connection function ...
About If you need to access data in a SAMBA file sharing repository using Python, this repository will assist you. This code demonstrates the connection and retrieval of data from a remote connection ...