Open CaledoniaProject opened 1 year ago
I'd like to know how can I check if a share is writable.
In smbcilent.py I can tell if a share is accessible by checking the exceptions in smbClient.login method, aka https://github.com/fortra/impacket/blob/master/examples/smbclient.py#L98
How can I check if a share is writable?
@CaledoniaProject Here is what you want: https://github.com/Porchetta-Industries/CrackMapExec/blob/master/cme/protocols/smb.py#L716
Try to create and delete a directory to check permissions.
I'd like to know how can I check if a share is writable.
In smbcilent.py I can tell if a share is accessible by checking the exceptions in smbClient.login method, aka https://github.com/fortra/impacket/blob/master/examples/smbclient.py#L98
How can I check if a share is writable?