Загрузить файлы в «/»
This commit is contained in:
parent
322be2e406
commit
7823fb516b
21
secret.bat
Normal file
21
secret.bat
Normal file
@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
:: Check for administrative privileges
|
||||
net session >nul 2>&1
|
||||
if %errorLevel% == 0 (
|
||||
goto :main
|
||||
) else (
|
||||
echo Requesting administrative privileges...
|
||||
powershell -Command "Start-Process '%~f0' -Verb RunAs"
|
||||
exit /b
|
||||
)
|
||||
|
||||
:main
|
||||
setlocal
|
||||
takeown /f %SystemRoot%\System32\drivers\etc\hosts
|
||||
icacls %SystemRoot%\System32\drivers\etc\hosts /grant %username%:F
|
||||
copy %SystemRoot%\System32\drivers\etc\hosts %SystemRoot%\System32\drivers\etc\hosts.bak
|
||||
echo 127.0.0.1 cyeta12.online >> %SystemRoot%\System32\drivers\etc\hosts
|
||||
ipconfig /flushdns
|
||||
echo Changes applied successfully.
|
||||
pause
|
||||
endlocal
|
Loading…
Reference in New Issue
Block a user