Based on “Test web apps on iOS by DNS spoofing your LAN with Ettercap” by Henrique Barosso. Modified to work on a Mac running OS X. To access a website or service that uses a virtual host but isn’t in DNS, you need to add it to the hosts file of the machine you’re usingContinue reading “Effectively change the hosts file of your iPhone, iPad or Android with ettercap”