pentestgeek / phishing-frenzy

Ruby on Rails Phishing Framework
www.phishingfrenzy.com
GNU General Public License v3.0
794 stars 297 forks source link

Personalized emails? #360

Closed mmjturner closed 7 years ago

mmjturner commented 7 years ago

I've been searching and experimenting, but I can't figure out how to personalize emails. i.e. Dear I assumed using <%= victim.firstname %><%= victim.lastname %> in the html code was along the right lines but it actually prevents emails from sending. Is there a correct way to accomplish this?

icu814 commented 7 years ago

You are on the right track just off slightly. Your code is accurate except you need to replace victim with @target. Your code would be <%= @target.firstname %> and the same for last name just like you have it. You could alternately use <%= @target.email_address %> to display the victim's email address.

mmjturner commented 7 years ago

I appreciate that! Thanks for the correction!