I’m looking for a script that uses arp poisoning to impersonate the network DNS server and blocks all requests to ad servers.
Connect the device to any network and you’ve automatically got ad blockers for all devices without configuring anything.
Hacking for good.
Pihole?
You have to set Pihole up. This would intercept all DNS traffic through a MiTM, and block ads.
Like, magically?
It’s in the WiFi.
Running a constant arp poisoning attack on a whole network trying to mitm the dns server just to block ads is going to be unreliable as hell, and it’ll screw with more than just dns traffic.
If you control the network, it’s far simpler and more reliable to point clients to a dns server that blocks ads. And if you don’t control the network, probably shouldn’t be attacking it this chaotically.

