Hi There,
I'm not sure wheter this is the right place to ask this question, if it is I apologize in advance...
My situation is as follows, I'm trying to start programs on a remote win7 machine from my raspberry pi using winexe. This works fine for programs that not require a GUI, but (for example) when I want to start XBMC winexe a 'Interactive Services Detection' message pops up. If I open this message it states that XBMC was unable to create GUI. When I try to open Notepad, same thing happens except that opening the ISD-message shows an opened notepad after which I can return to my desktop environment.
I'm using version 1.0 with the following command:
./bin/winexe -U Username%password //192.168.2.108 -d 4 --ostype=0 --interactive=1 --system 'c:\program files\xbmc\xbmc.exe'
Does anyone know what I'm doing wrong? Any suggestion would be verry much appreciated!
debug shows:
adding hidden service IPC$
adding hidden service ADMIN$
failed to get principal from default ccache: No such file or directory: open(/tmp/krb5cc_1000): No such file or directory
winexe version 1.00
This program may be freely redistributed under the terms of the GNU GPLv3
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'ntlmssp' registered
Using binding ncacn_np:192.168.2.108
Mapped to DCERPC endpoint \pipe\svcctl
added interface ip=192.168.2.1 nmask=255.255.255.0
added interface ip=192.168.2.1 nmask=255.255.255.0
ERROR: Cannot connect to svcctl pipe. NT_STATUS_RESOURCE_NAME_NOT_FOUND.
added interface ip=192.168.2.1 nmask=255.255.255.0
added interface ip=192.168.2.1 nmask=255.255.255.0
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_TARGET_INFO
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
IN: async_open(\pipe\ahexec, 2)
IN: async_open_recv
CTRL: Sending command: get version
CTRL: Sending command: set system 1
run c:\program files\xbmc\xbmc.exe
CTRL: Recieved command: std_io_err 0DEC002B
IN: async_open(\pipe\ahexec_stdin0DEC002B, 2)
IN: async_open(\pipe\ahexec_stdout0DEC002B, 2)
IN: async_open(\pipe\ahexec_stderr0DEC002B, 2)
IN: async_open_recv
IN: async_open_recv
IN: async_open_recv
After this winexe hangs, obviously because it's awaiting a response from the win7 machine. After CTRL+C debug shows:
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: smb_raw_read_recv - NT_STATUS_PIPE_DISCONNECTED
ERROR: on_ctrl_pipe_error - NT_STATUS_PIPE_DISCONNECTED
I don't suppose you ever found a solution to the above did you...?