Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @REM 2018 STOP! this isn't the problem anymore. this script wont help you.
- @ECHO OFF
- @ECHO.
- @REM this script requires admin permissions
- sc config lanmanserver start= demand
- IF ERRORLEVEL 1 (GOTO:ERROR_AdminPermissions)
- @ECHO.
- @ECHO Shutting down vulnerable services.
- @ECHO.
- @ECHO If this works, you should see a "SUCCESS" message.
- @ECHO If you don't see the message, please contact Alaestor via
- @ECHO the discord invite link http://public.FutureGadgetLab.net
- @ECHO.
- @ECHO.
- @ECHO PLEASE READ THE ABOVE MESSAGE
- @ECHO.
- @PAUSE
- @ECHO.
- @ECHO Stopping and disabling the "workstation" service
- sc stop lanmanworkstation
- sc config lanmanserver start= disabled
- @ECHO Stopping and disabling SMB 1.0
- sc stop mrxsmb10
- sc config mrxsmb10 start= disabled
- @ECHO Stopping and disabling SMB 2.0
- sc stop mrxsmb20
- sc config mrxsmb20 start= disabled
- GOTO:SUCCESS
- :ERROR_AdminPermissions
- @ECHO This script requires elevated permissions.
- @ECHO Please run this script as admin.
- @ECHO.
- GOTO:END
- :SUCCESS
- @ECHO.
- @ECHO.
- @ECHO.
- @ECHO SUCCESS
- @ECHO.
- @ECHO Your system should be secure again.
- @ECHO.
- GOTO:END
- :END
- @ECHO.
- @ECHO Press any key to terminate the script.
- @PAUSE >nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement