Advertisement
V10

HoN startup script

V10
Nov 19th, 2021 (edited)
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.42 KB | None | 0 0
  1. @echo off
  2. rem ============================================================================================================
  3. rem That script run hon with mac spoofer and proxy
  4. rem !!! When edit settings dont use space after '=' !!!
  5. rem ============================================================================================================
  6.  
  7. rem ============================================================================================================
  8. rem Settings
  9. rem ============================================================================================================
  10.  
  11. rem For change you IP uncomment (remove 'rem' word and space) next 1-2 lines for enable proxy and change proxy settings, you can use any anonymous proxy
  12. rem SET http_proxy=http://user:password@hostname:port/
  13. rem SET https_proxy=https://hostname:port/
  14.  
  15. rem Change HONEXE value to full path to your hon.exe or hon_x64.exe
  16. SET HONEXE=C:\Program Files\Heroes of Newerth x64\hon_x64.exe
  17.  
  18. rem To enable auto-start ACD set STARTACD to 1
  19. SET STARTACD=0
  20. rem Change ACDEXE value to full path to your acd.exe (dont use paths with space or dots, не используйте путь с русскими буквами, пробелами и точками в пути)
  21. SET ACDEXE=C:\hona\acd.exe
  22.  
  23. rem You can rename files macspoofer.exe and macspoofer_x64.exe to anything and change next 2 lines.
  24. SET INJECTOR=macspoofer.exe
  25. SET INJECTOR_x64=macspoofer_x64.exe
  26.  
  27. rem You can rename files macspoofer.dll and macspoofer_x64.dll to anything and change next 2 lines.
  28. SET INJECTED=macspoofer.dll
  29. SET INJECTED_x64=macspoofer_x64.dll
  30.  
  31. rem End of settings
  32. rem ============================================================================================================
  33.  
  34. rem ============================================================================================================
  35. rem Code
  36. rem ============================================================================================================
  37. setlocal enableextensions enabledelayedexpansion
  38.  
  39. rem ============================================================================================================
  40. rem Main()
  41. rem ============================================================================================================
  42. IF NOT x"%HONEXE:x64.exe=%"==x"%HONEXE%" GOTO :x64
  43. :x32
  44. ECHO Spoofing MACs in x32 HoN...
  45. call :startprocess %INJECTOR% "%HONEXE%" %INJECTED%
  46. GOTO :next
  47.  
  48. :x64
  49. ECHO Spoofing MACs in x64 HoN...
  50. call :startprocess %INJECTOR_x64% "%HONEXE%" %INJECTED_x64%
  51.  
  52. :next
  53. IF NOT ERRORLEVEL 0 GOTO :sexit
  54. IF NOT "%STARTACD%"=="1" GOTO :sexit
  55. ECHO Starting ACD from %ACDEXE%
  56. CALL :getacdfilepath %ACDEXE%
  57. ECHO ACD PATH: "%ACDPATH%"
  58. START "s" /D "%ACDPATH%" %ACDEXE%
  59.  
  60. :sexit
  61. EXIT
  62.  
  63. rem ============================================================================================================
  64. rem Functions
  65. rem ============================================================================================================
  66.  
  67. rem getacdfilepath(filename)
  68. rem ===============================
  69. :getacdfilepath
  70. SET ACDPATH=%~d1%~p1
  71. EXIT /b
  72. rem ===============================
  73.  
  74. rem startprocess(inj,exe,dll)
  75. rem ===============================
  76. :startprocess
  77. setlocal enableextensions enabledelayedexpansion
  78. SET HONEXE=
  79. SET STARTACD=
  80. SET ACDEXE=
  81. SET INJECTOR=
  82. SET INJECTOR_x64=
  83. SET INJECTED=
  84. SET INJECTED_x64=
  85. %1 %2 %3
  86. endlocal
  87. EXIT /b
  88. rem ===============================
  89.  
  90. endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement