Advertisement
Guest User

Garry's Mod Virus Fix

a guest
Apr 18th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. ::Run from the "garrysmod" folder on either the client or server.
  2.  
  3. @echo off
  4. title Exploit file cleanup - MFSiNC
  5.  
  6. if exist "hl2.exe" (
  7. cd "garrysmod"
  8. )
  9.  
  10. if not exist steam.inf (
  11. echo.
  12. echo You're running this from the wrong place!
  13. echo.
  14. echo Put this file in your garrysmod folder, either server or client, and re-run it.
  15. echo.
  16. echo.
  17. pause
  18. exit
  19. )
  20.  
  21. echo.
  22. echo This will remove the files used in the exploit/virus.
  23. echo.
  24. echo To see exactly what will be removed, open this batch file with Notepad.
  25. echo.
  26. pause
  27.  
  28. echo Cleaning..
  29.  
  30. taskkill /F /IM hl2.exe > nul
  31. taskkill /F /IM srcds.exe > nul
  32.  
  33.  
  34.  
  35. ::Files, clientside
  36. if exist "engine_win32.dll" (
  37. attrib -h "engine_win32.dll"
  38. del /F /Q "engine_win32.dll"
  39. )
  40.  
  41. if exist "materials\cooltexture.vtf" (
  42. del /F /Q "materials\cooltexture.vtf"
  43. )
  44.  
  45. if exist "bin\game_shader_generic_engine.dll" (
  46. attrib -h "bin\game_shader_generic_engine.dll"
  47. del /F /Q "bin\game_shader_generic_engine.dll"
  48. )
  49.  
  50. if exist "download\engine_win32.dll" (
  51. attrib -h "download\engine_win32.dll"
  52. del /F /Q "download\engine_win32.dll"
  53. )
  54.  
  55. ::Dir
  56. if exist "download\cfg" (
  57. RD /S /Q "download\cfg"
  58. )
  59.  
  60.  
  61.  
  62. ::Files, serverside
  63. if exist "lua\autorun\server\default.lua" (
  64. attrib -h "lua\autorun\server\default.lua"
  65. del /F /Q "lua\autorun\server\default.lua"
  66. )
  67.  
  68.  
  69.  
  70. echo.
  71. echo Done.
  72. echo.
  73. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement