This is an easy one. It just adds the #remove_share method to the server. I'll need to use it to clean up once a single server instance can be shared by multiple modules in Metasploit as an HTTP service can be.
For testing, the easiest thing would probably be to wait until the corresponding Metasploit PR has been made and then just check that the cleanup method used it to remove the share using smbclient (e.g. smbclient //192.168.159.128/Share1 -U smcintyre -N -c "dir *").
This is an easy one. It just adds the
#remove_share
method to the server. I'll need to use it to clean up once a single server instance can be shared by multiple modules in Metasploit as an HTTP service can be.For testing, the easiest thing would probably be to wait until the corresponding Metasploit PR has been made and then just check that the cleanup method used it to remove the share using
smbclient
(e.g.smbclient //192.168.159.128/Share1 -U smcintyre -N -c "dir *"
).