/root/payloads/switch2/spoofhostfile. This can be achieved by either using an SCP graphical utility such as WinSCP or FileZilla, or from the command line via SSH.
spoofhostfile with nano
#with the domain you wish to spoof, and the IP address with the spoofed destination.
spoofhostfile configured and saved, power off the Packet Squirrel and flip the switch to position 2. Now place the Packet Squirrel inline between a target and the network. When it powers on the DNS spoof payload will run, indicated by a single blinking yellow LED.