Guest User

Arse

a guest
Sep 28th, 2015
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. mode con: cols=80 lines=40
  3. :loop
  4. cls
  5. echo[
  6. echo " _______ _ _ _ _____ _ "
  7. echo " |__ __| | | | | | | | __ \ | | "
  8. echo " | | __ _ __ _ ____| |__| | ___ | | _ __ | | | | ___ ___ | | __ "
  9. echo " | | / _` | / _` ||_ /| __ | / _ \| || '_ \ | | | | / _ \/ __|| |/ / "
  10. echo " | || (_| || (_| | / / | | | || __/| || |_) || |__| || __/\__ \| < "
  11. echo " |_| \__,_| \__, |/___||_| |_| \___||_|| .__/ |_____/ \___||___/|_|\_\ "
  12. echo " __/ | | | "
  13. echo " |___/ |_| "
  14.  
  15.  
  16. echo[
  17. echo[
  18. echo Host is %ip%
  19. echo[
  20. echo --------------------------------------------------------------
  21.  
  22. echo WebFix:WF Autoie:AI ResoreShortcuts:SH Gpupdate:GP
  23. echo[
  24. echo Killnotes:KN NotesIniFixer:LN sap:SAP AdobeTnC:AD
  25. echo[
  26. echo --------------------------------------------------------------
  27. echo Loggedon:WHO NetworkLogon:NL Info:INFO Proxychecker:Prox
  28. echo --------------------------------------------------------------
  29. echo DVDtoB: D2B USBtoB: E2B
  30. echo[
  31. echo To access any drives options are B C D or E or 80 to HTTP
  32. echo[
  33. echo --------------------------------------------------------------
  34. echo Log user off:LO Spooler Restart: PRINT
  35.  
  36. echo[
  37.  
  38. echo UsersName:NAME SwitchHost:IP LOG Note:SomeRequireUID
  39. echo[
  40. echo --------------------------------------------------------------
  41. echo pf:PepperflashUpdate ie32/ie64 iEx upgrade
  42.  
  43. set /p no2=
  44. if "%no2%" == "ping" (echo Pinging Host %ip%
  45. ping %IP% -a -n 40)
  46.  
  47. if "%no2%" == "tr" (echo Tracing Host %ip%
  48. tracert %IP%)
  49.  
  50. if "%no2%" == "name" (
  51. set /p name=Name :)
  52.  
  53. if "%no2%" == "uid" (
  54. echo Username:
  55. Set /p uid=)
  56.  
  57. if "%no2%" == "who" (wmic.exe /node:%ip% ComputerSystem Get Username)
  58.  
  59. if "%no2%" == "ip" (
  60. Set /p IP=Select Machine Number Address to assist :)
  61. if "%no2%" == "ra" (%windir%\system32\msra.exe /offerra %ip%)
  62.  
  63. if "%no2%" == "rd" (%windir%\system32\mstsc.exe /v %ip% )
  64.  
  65. if "%no2%" == "vnc" (PSTools\vnc.exe %ip%)
  66.  
  67. if "%no2%" == "cmd" (PSTools\PsExec.exe \\%ip% cmd)
  68.  
  69. if "%no2%" == "gp" (PSTools\PsExec.exe \\%ip% -i gpupdate.exe)
  70.  
  71. if "%no2%" == "gpf" (PSTools\PsExec.exe \\%ip% -i "gpupdate.exe /force" )
  72.  
  73. if "%no2%" == "info" (PSTools\PsInfo.exe \\%ip%)
  74.  
  75. if "%no2%" == "wf" (xcopy "PSTools\1.reg" \\%ip%\C$\
  76. PSTools\PsExec.exe \\%ip% -i regedit /s C:\1.reg
  77. del \\%ip%\C$\1.reg)
  78.  
  79. if "%no2%" == "sh" (xcopy "PStools\3.reg" \\%ip%\C$\
  80. PSTools\PsExec.exe \\%ip% -i regedit /s C:\3.reg
  81. del \\%ip%\C$\3.reg)
  82.  
  83. if "%no2%" == "bu" (Rename "\\%ip%\C$\Program Files\Backup Software" Backup.old
  84. md "\\%ip%\C$\Program Files\Backup Software\"
  85. xcopy "PStools\Backup Software" /E "\\%ip%\C$\Program Files\Backup Software")
  86.  
  87. if "%no2%" == "d2b" (PSTools\PsExec.exe \\%ip% -r -s xcopy D: /E B:\)
  88.  
  89.  
  90. if "%no2%" == "e2b" PSTools\PsExec.exe \\%ip% -r -s xcopy E: /E B:\
  91.  
  92. if "%no2%" == "ai" (xcopy "PStools\2.reg" \\%ip%\C$\
  93. PSTools\PsExec.exe \\%ip% -i regedit /s C:\2.reg
  94. del \\%ip%\C$\2.reg)
  95.  
  96. if "%no2%" == "ad" (xcopy "PStools\4.reg" \\%ip%\C$\
  97. PSTools\PsExec.exe \\%ip% -i regedit /s C:\4.reg
  98. del \\%ip%\C$\4.reg)
  99.  
  100. if "%no2%" == "cc" (PSTools\CC.exe /h:%ip% /v /noask /go)
  101.  
  102. if "%no2%" == "pf" (
  103. echo uid set to "%uid%"
  104. md "\\%ip%\C$\users\%uid%\Appdata\local\google\chrome\User Data\PepperFlash\"
  105. xcopy PSTools\PepperFlash \\%ip%\users\%uid%\appdata\local\google\chrome\us"er data"\PepperFlash /E
  106. pause)
  107.  
  108. if "%no2%" == "sap" (copy PSTools\saplogon.ini \\%ip%\c$\Users\Default\AppData\Local\SAP\Common /Y)
  109.  
  110. if "%no2%" == "80" "C:\Program Files\Internet Explorer\iexplore.exe" http://%IP%
  111.  
  112. if "%no2%" == "prox" PSTools\PsExec.exe \\%ip% -i -s -c PSTools\prox.bat
  113.  
  114. if "%no2%" == "mat" PSTools\PsExec.exe \\%ip% -i -s -c PSTools\mat.bat
  115.  
  116. if "%no2%" == "vbscript vb to exe then exe" (PSTools\PsExec.exe \\%ip% -i -s -c PStools\.exe)
  117.  
  118.  
  119. if "%no2%" == "print" (PSTools\PsExec.exe \\%ip% -i net stop spooler
  120. PSTools\PsExec.exe \\%ip% -i net start spooler)
  121.  
  122. if "%no2%" == "nl" PSTools\PsExec.exe \\%ip% -i -s \\Server1\netlogon\LUlogon.bat
  123.  
  124. if "%no2%" == "kn" PSTools\PsExec.exe \\%ip% /accepteula "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Support\KillNotes.exe"
  125.  
  126. if "%no2%" == "lo" PSTools\PsExec.exe \\%ip% logoff
  127.  
  128. if "%no2%" == "b" explorer.exe \\%ip%\B$
  129. if "%no2%" == "c" explorer.exe \\%ip%\C$
  130. if "%no2%" == "d" explorer.exe \\%ip%\D$
  131. if "%no2%" == "e" explorer.exe \\%ip%\E$
  132.  
  133. if "%no2%" == "ie32" (xcopy "PStools\6.1-x86.exe" \\%ip%\C$\
  134. PSTools\PsExec.exe -s C:\6.1-x86.exe /quiet /forcerestart)
  135.  
  136. if "%no2%" == "ie64" (xcopy "PStools\6.1-x64.exe" \\%ip%\C$\
  137. PSTools\PsExec.exe -r -s C:\6.1-x64.exe /quiet /forcerestart)
  138.  
  139. if "%no2%" == "log" (RemoteHelplog.txt)
  140.  
  141. if "%no2%" == "ln" (
  142. echo uid set to "%uid%"
  143. PSTools\PsExec.exe \\%ip% /accepteula "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Support\KillNotes.exe"
  144. Rename \\%ip%\C$\Users\%uid%\AppData\Local\Lotus\Notes\Data Data.old
  145. echo open lotus notes on machine, log in then close.
  146. pause
  147. PSTools\PsExec.exe \\%ip% /accepteula "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Support\KillNotes.exe"
  148. Rename \\%ip%\C$\Users\%uid%\AppData\Local\Lotus\Notes\Data.old\notes.ini notes.ini.old
  149. copy \\%ip%\C$\Users\%uid%\AppData\Local\Lotus\Notes\Data\notes.ini \\%ip%\C$\Users\%uid%\AppData\Local\Lotus\Notes\Data.old\
  150. Rename \\%ip%\C$\Users\%uid%\AppData\Local\Lotus\Notes\Data Data.new
  151. Rename \\%ip%\C$\Users\%uid%\AppData\Local\Lotus\Notes\Data.old Data)
  152.  
  153. if "%no2%" == "ports" nmap %ip% -open
  154.  
  155. if "%no2%" == "gg" (PSTools\PsExec.exe \\%ip% -i netsh int ipv4 set dns name="Local area connection" static 8.8.8.8 primary validate=no
  156. PSTools\PsExec.exe \\%ip% -i netsh int ipv4 add dns name="Local area connection" 8.8.4.4 index=2
  157. PSTools\PsExec.exe \\%ip% -i netsh int ipv4 add dns name="Local area connection" 10.14.0.10 index=3
  158. PSTools\PsExec.exe \\%ip% -i ipconfig /flushdns)
  159.  
  160. if "%no2%" == "dns" (PSTools\PsExec.exe \\%ip% -i netsh int ipv4 set dns name="Local area connection" static **.**.**.** primary validate=no
  161. PSTools\PsExec.exe \\%ip% -i netsh int ipv4 add dns name="Local area connection" **.**.**.** index=2
  162. PSTools\PsExec.exe \\%ip% -i netsh int ipv4 add dns name="Local area connection" **.**.**.** index=3
  163. PSTools\PsExec.exe \\%ip% -i ipconfig /flushdns)
  164.  
  165.  
  166.  
  167.  
  168. echo On %Date% @ %time% Host %ip% %no2% %Time% %UID% %name% Action >> RemoteHelplog.txt
  169. pause
  170. GOTO loop
  171. :endloop
  172. SilverMoonshine
RAW Paste Data