Advertisement
alaestor

workaround_OFF.bat

Oct 16th, 2017
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.23 KB | None | 0 0
  1. @REM 2018 STOP! this isn't the problem anymore. this script wont help you.
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. @ECHO OFF
  21. @ECHO.
  22. @REM this script requires admin permissions
  23. sc config lanmanserver start= demand
  24. IF ERRORLEVEL 1 (GOTO:ERROR_AdminPermissions)
  25.  
  26.  
  27.  
  28.  
  29.  
  30. @ECHO.
  31. @ECHO Shutting down vulnerable services.
  32. @ECHO.
  33. @ECHO If this works, you should see a "SUCCESS" message.
  34. @ECHO If you don't see the message, please contact Alaestor via
  35. @ECHO the discord invite link http://public.FutureGadgetLab.net
  36. @ECHO.
  37.  
  38.  
  39. @ECHO.
  40. @ECHO PLEASE READ THE ABOVE MESSAGE
  41. @ECHO.
  42. @PAUSE
  43.  
  44.  
  45. @ECHO.
  46. @ECHO Stopping and disabling the "workstation" service
  47. sc stop lanmanworkstation
  48. sc config lanmanserver start= disabled
  49.  
  50. @ECHO Stopping and disabling SMB 1.0
  51. sc stop mrxsmb10
  52. sc config mrxsmb10 start= disabled
  53.  
  54. @ECHO Stopping and disabling SMB 2.0
  55. sc stop mrxsmb20
  56. sc config mrxsmb20 start= disabled
  57.  
  58.  
  59. GOTO:SUCCESS
  60.  
  61.  
  62. :ERROR_AdminPermissions
  63. @ECHO This script requires elevated permissions.
  64. @ECHO Please run this script as admin.
  65. @ECHO.
  66. GOTO:END
  67.  
  68. :SUCCESS
  69. @ECHO.
  70. @ECHO.
  71. @ECHO.
  72. @ECHO SUCCESS
  73. @ECHO.
  74. @ECHO Your system should be secure again.
  75. @ECHO.
  76. GOTO:END
  77.  
  78. :END
  79. @ECHO.
  80. @ECHO Press any key to terminate the script.
  81. @PAUSE >nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement