Quote:
Originally Posted by kql778
So, if using aimbot, is there any way to avoid having your behavior detected by Anybrain?
plz post Blocker + Unblocker bats again
|
in my personal opinion u should not block it my two cents on it,
1. because blocking the anybrain domain/IP might lead to u being flagged later
2. for now sure u can block on client might work but if later they move the communication from rust server to anybrain backend then the script would be redundant.
regardless if u still want the bat file to block u can use this.
Code:
echo off
title Block Anybrain Anti-Cheat
echo =================================================
echo Blocking Anybrain domains and IP addresses...
echo =================================================
net session >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: This script must be run as Administrator.
echo Right-click the file and select "Run as administrator".
pause
exit /b
)
echo Adding domain to hosts file...
echo 0.0.0.0 deeep-storage.anybrain.gg >> %SystemRoot%\System32\drivers\etc\hosts
echo 0.0.0.0 anybrain.gg >> %SystemRoot%\System32\drivers\etc\hosts
echo 0.0.0.0 api.anybrain.gg >> %SystemRoot%\System32\drivers\etc\hosts
echo Flushing DNS cache...
ipconfig /flushdns
echo Resetting WinHTTP proxy...
netsh winhttp reset proxy
echo Creating outbound firewall rule for IP 20.238.208.24...
netsh advfirewall firewall add rule name="Block_Anybrain_IP" dir=out remoteip=20.238.208.24 action=block
echo Adding null route for 20.238.208.24...
route add 20.238.208.24 mask 255.255.255.255 0.0.0.0 metric 1 >nul 2>&1
if %errorlevel% neq 0 (
echo [Warning] Route addition failed (this is common on VPNs or WiFi).
echo The firewall and hosts rules are still active though.
)
echo.
echo =================================================
echo [SUCCESS] Anybrain should now be blocked.
echo To revert these changes, run the Unblock script.
echo =================================================
pause
for unblock
Code:
echo off
title Unblock Anybrain Anti-Cheat
echo =================================================
echo Removing Anybrain blocks and restoring settings...
echo =================================================
net session >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: This script must be run as Administrator.
pause
exit /b
)
echo Removing domain entries from hosts file...
powershell -Command "$hostsPath = '%SystemRoot%\System32\drivers\etc\hosts'; $content = Get-Content $hostsPath; $content = $content | Where-Object { $_ -notmatch 'anybrain' -and $_ -notmatch 'deeep-storage' }; $content | Set-Content $hostsPath"
echo Flushing DNS cache...
ipconfig /flushdns
echo Deleting firewall rule...
netsh advfirewall firewall delete rule name="Block_Anybrain_IP"
echo Removing null route...
route delete 20.238.208.24 >nul 2>&1
echo.
echo =================================================
echo [SUCCESS] All blocks have been removed.
echo =================================================
pause
forgot to mention if u use a VPN it will just bypass the script rule so this is for non VPN only