+You can by following comments understand and customize the exploit to fit your case.
+the samba usermap script generates shellcode using msfvenom and sends it to the target machine to receive a shell.
+start a listener in a separate terminal and execute the script.