Jump to content

Remotely Install VNC Problems


xFilthyxJesusx

Recommended Posts

Ok so. I'm trying to remotely and invisibly install VNC onto a remote computer (obviously)

Here Is how Im doing so right now.

@echo on

NET USE RemoteIPIPC$

xcopy "C:Program FilesTightVNC*.*" "RemoteIPC$Program FilesTightVNC*.*" /r/i/c/h/k/e 

regedit /e "RemoteIPC$vncdmp.txt" "HKEY_LOCAL_MACHINESoftwareORL"

psexec RemoteIP -s -i -d %windir%regedit /s C:vncdmp.txt

psexec RemoteIP  -s -i -d "%ProgramFiles%TightVNCwinvnc.exe" -install

psexec RemoteIP  -s -i -d "%ProgramFiles%TightVNCwinvnc.exe"

And obviously RemoteIP is replaced with the IP address. I'm pretty sure my post count is low on these forums. So I don't want to be asked the obvious questions over and over.

But what happens is Ive exported the registry into VNCDMP.txt

Here is the registry settings for my RemoteVNC settings

Windows Registry Editor Version 5.00



[HKEY_LOCAL_MACHINESOFTWAREORL]



[HKEY_LOCAL_MACHINESOFTWAREORLWinVNC3]

"ConnectPriority"=dword:00000000

"DebugMode"=dword:00000000

"DebugLevel"=dword:0000000a

"LoopbackOnly"=dword:00000000

"EnableHTTPDaemon"=dword:00000001

"EnableURLParams"=dword:00000000

"AllowLoopback"=dword:00000000

"AuthRequired"=dword:00000001

"DisableTrayIcon"=dword:00000001



[HKEY_LOCAL_MACHINESOFTWAREORLWinVNC3Default]

"QuerySetting"=dword:00000002

"QueryTimeout"=dword:0000001e

"QueryAccept"=dword:00000000

"QueryAllowNoPass"=dword:00000000

"SocketConnect"=dword:00000001

"AutoPortSelect"=dword:00000001

"InputsEnabled"=dword:00000001

"LocalInputsDisabled"=dword:00000000

"IdleTimeout"=dword:00000000

"LockSetting"=dword:00000000

"RemoveWallpaper"=dword:00000001

"Password"=hex:bb,6f,9a,96,f5,a1,ed,8e

"PasswordViewOnly"=hex:bb,6f,9a,96,f5,a1,ed,8e

"PollUnderCursor"=dword:00000000

"PollForeground"=dword:00000001

"PollFullScreen"=dword:00000000

"OnlyPollConsole"=dword:00000001

"OnlyPollOnEvent"=dword:00000000

Oh if you're wondering what the password is its just zaq1xsw2 for testing so dont bother. But back to my problem.

All of the files seem to copy fine. And the service is running. I know this because i have physical access to the computer I'm doing this too. It is in my network.

So ya. It seems to not want to let me connect. The service is runninfg but everytime I type in the password it just responds with an invalid password error. ive even tried removing it altogether.

I think i left some things out... But any help would obviously be great,

Link to comment
Share on other sites

For the password to be zaq1xsw2

The value in the registry file needs to be:

"Password"=hex:11,1a,87,18,0e,1c,d1,98

The problem is you are pulling the wrong registry settings. When VNC runs as a service it pulls registry settings from LOCAL_MACHINE, when you run it localy it runs under CURRENT_USER.

In the above code, you are pulling your local VNC settings and the password is different from zaq1xsw2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...