Hello!
I’m trying to use Nixpkgs’s ettercap
package. Specifically, I want to use Ettercap’s dns_spoof
plugin. The documentation for Ettercap’s dns_spoof
plugin says:
You can choose to which addresses the plugin has to reply, and the expiry time in seconds (TTL) by modifying the etter.dns file.
Where am I supposed to put the etter.dns
file? I can see that there is a file named etter.dns
located at "${pkgs.ettercap}/etc/ettercap/etter.dns"
, but that’s in the Nix store, so I can’t modify it directly. Do I need to override the package in order to modify the etter.dns
file that’s in the Nix store? Or, can I create a new etter.dns
file somewhere else and still have Ettercap load it?