dnsmasq issue

Author: s0i37Created May 22, 2026Updated May 22, 2026

Wifiphisher cannot run DHCP server if system has another instance of dnsmasq. The following directive in config will solve this problem:

/tmp/dnsmasq.conf

listen-address=10.0.0.1
bind-interfaces

Also after finishing wifiphisher kills all dnsmasq instance:

common/accesspoint.py

def on_exit(self):
  subprocess.call('pkill dnsmasq', shell=True)