Загрузить файлы в «/»

This commit is contained in:
kaiangel 2024-06-19 19:07:35 +00:00
parent 322be2e406
commit 7823fb516b

21
secret.bat Normal file
View 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