-
Notifications
You must be signed in to change notification settings - Fork 0
/
mojang-auth-resolver-overwrite.bat
32 lines (30 loc) · 2.29 KB
/
mojang-auth-resolver-overwrite.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
::Fuck You Mojang
echo # Copyright (c) 1993-2009 Microsoft Corp. > "C:\Windows\System32\drivers\etc\hosts"
echo # >> "C:\Windows\System32\drivers\etc\hosts"
echo # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. >> "C:\Windows\System32\drivers\etc\hosts"
echo # >> "C:\Windows\System32\drivers\etc\hosts"
echo # This file contains the mappings of IP addresses to host names. Each >> "C:\Windows\System32\drivers\etc\hosts"
echo # entry should be kept on an individual line. The IP address should >> "C:\Windows\System32\drivers\etc\hosts"
echo # be placed in the first column followed by the corresponding host name. >> "C:\Windows\System32\drivers\etc\hosts"
echo # The IP address and the host name should be separated by at least one >> "C:\Windows\System32\drivers\etc\hosts"
echo # space. >> "C:\Windows\System32\drivers\etc\hosts"
echo # >> "C:\Windows\System32\drivers\etc\hosts"
echo # Additionally, comments (such as these) may be inserted on individual >> "C:\Windows\System32\drivers\etc\hosts"
echo # lines or following the machine name denoted by a '#' symbol. >> "C:\Windows\System32\drivers\etc\hosts"
echo # >> "C:\Windows\System32\drivers\etc\hosts"
echo # For example: >> "C:\Windows\System32\drivers\etc\hosts"
echo # >> "C:\Windows\System32\drivers\etc\hosts"
echo # 102.54.94.97 rhino.acme.com # source server >> "C:\Windows\System32\drivers\etc\hosts"
echo # 38.25.63.10 x.acme.com # x client host >> "C:\Windows\System32\drivers\etc\hosts"
echo.>> "C:\Windows\System32\drivers\etc\hosts"
echo # localhost name resolution is handled within DNS itself. >> "C:\Windows\System32\drivers\etc\hosts"
echo # 127.0.0.1 localhost >> "C:\Windows\System32\drivers\etc\hosts"
echo # ::1 localhost >> "C:\Windows\System32\drivers\etc\hosts"
echo. >> "C:\Windows\System32\drivers\etc\hosts"
echo. >> "C:\Windows\System32\drivers\etc\hosts"
echo 13.107.237.46 textures.minecraft.net >> "C:\Windows\System32\drivers\etc\hosts"
echo 13.107.237.46 sessionserver.mojang.com >> "C:\Windows\System32\drivers\etc\hosts"
echo 13.107.237.46 api.mojang.com >> "C:\Windows\System32\drivers\etc\hosts"
echo 13.107.237.46 authserver.mojang.com >> "C:\Windows\System32\drivers\etc\hosts"
echo 13.107.237.46 account.mojang.com >> "C:\Windows\System32\drivers\etc\hosts"