Repository navigation
DNS Spoofing
7h30th3r0n3 edited this page Jan 29, 2026
·
3 revisions
DNS spoofing redirects victim requests to a local phishing page. RaspyJack uses Ettercap's dns_spoof plugin and runs a PHP server for the selected template.
- ettercap (dns_spoof plugin + ARP MITM)
- php (built-in web server)
- Rewrites
/etc/ettercap/etter.dnsto point spoofed domains to the Pi IP. - Starts a PHP web server from the selected template in
DNSSpoof/sites/. - Runs Ettercap in ARP MITM mode with
dns_spoof.
-
ettercap-text-onlyandphpinstalled by the installer. - An active interface with network access.
Templates are stored in:
DNSSpoof/sites/<site_name>/
Add a new site by:
- Creating a folder in
DNSSpoof/sites/. - Adding its name to
SITESinraspyjack.py.
Captured data is stored in:
DNSSpoof/captures/
-
Q: The phishing page doesn’t load on the victim.
A: Ensure the victim is on the same LAN, the interface is correct, and DNS spoofing is running. Also confirm port 80 is reachable. -
Q: Can I customize a template?
A: Yes, edit the HTML/PHP files in the selected site folder. -
Q: “php: Address already in use”.
A: Another PHP server is running. Stop it or reboot before starting again. -
Q: Ettercap fails to start.
A: Ensureettercap-text-onlyis installed and the interface is up. -
Q: Captures folder stays empty.
A: The phishing page must receive form submissions; test with a lab client.
RaspyJack is for educational and authorized testing only. Use responsibly.
RaspyJack Wiki
Getting Started
Using RaspyJack
Payloads
Built-in Tools
Utilities
Reference
Radio & SDR
NFC & RFID
WebUI
Hardware