MSSQL upload/download

Download / Upload MSSQL file

nxc mssql <target> -u <username> -p '<password>' --put-file /tmp/users C:\\Windows\\Temp\\whoami.txt

Expected Results:

nxc mssql <target> -u <username> -p '<password>' --put-file /tmp/users C:\\Windows\\Temp\\whoami.txt
MSSQL       <target> 1433   DC01             [*] Windows 10.0 Build 20348 (name:DC01) (domain:<domain>)
MSSQL       <target> 1433   DC01             [+] <domain>\<username>:<password> (Pwn3d!)
MSSQL       <target> 1433   DC01             [*] Copy /tmp/users to C:\Windows\Temp\whoami.txt
MSSQL       <target> 1433   DC01             [*] Size is 23 bytes
MSSQL       <target> 1433   DC01             [+] File has been uploaded on the remote machine
nxc mssql <target> -u <username> -p '<password>' --get-file C:\\Windows\\Temp\\whoami.txt /tmp/file

Expected Results:

nxc mssql <target> -u <username> -p '<password>' --get-file C:\\Windows\\Temp\\whoami.txt /tmp/users-t
MSSQL       <target> 1433   DC01             [*] Windows 10.0 Build 20348 (name:DC01) (domain:<domain>)
MSSQL       <target> 1433   DC01             [+] <domain>\<username>:<password> (Pwn3d!)
MSSQL       <target> 1433   DC01             [*] Copy C:\Windows\Temp\whoami.txt to /tmp/users-t
MSSQL       <target> 1433   DC01             [+] File C:\Windows\Temp\whoami.txt was transferred to /tmp/users-t