title Ömer, Hosts and Block websites cleaner
@echo off
netsh advfirewall firewall delete rule name="2xKllIqRt"
netsh advfirewall firewall delete rule name="csgyqpv.exe"
netsh advfirewall firewall delete rule name="aviayuv.exe"
netsh advfirewall firewall delete rule name="knaviayuv.exe"
netsh advfirewall set allprofiles state on
ipconfig /flushdns
attrib -r -a -s -h "%windir%\system32\drivers\etc\hosts"
attrib -r -a -s -h "%windir%\system32\drivers\etc\hosts.ics"
attrib -r -a -s -h %windir%\system32\drivers\etc\hosts
attrib -r -a -s -h %windir%\system32\drivers\etc\hosts.ics
echo y|icacls "%windir%\system32\drivers\etc\hosts.ics" /grant Everyone:F
echo y|cacls "%windir%\system32\drivers\etc\hosts.ics" /P everyone:f
echo y|cacls "%windir%\system32\drivers\etc\hosts.ics" /P %username%:f
echo y|icacls "%windir%\system32\drivers\etc\hosts" /grant Everyone:F
echo y|cacls "%windir%\system32\drivers\etc\hosts" /P everyone:f
echo y|cacls "%windir%\system32\drivers\etc\hosts" /P %username%:f
DEL /F /Q /A "%windir%\system32\drivers\etc\hosts.ics"
DEL /F /Q /A "%windir%\system32\drivers\etc\hosts.sys"
DEL /F /Q /A "%windir%\system32\drivers\etc\hosts"
RD /S /Q "%windir%\system32\drivers\etc\hosts.ics"
RD /S /Q "%windir%\system32\drivers\etc\hosts.sys"
RD /S /Q "%windir%\system32\drivers\etc\hosts"
echo y|copy "%windir%\system32\drivers\etc\networks" "%windir%\system32\drivers\etc\hosts.ics"
echo y|copy "%windir%\system32\drivers\etc\networks" "%windir%\system32\drivers\etc\hosts"