-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Possibility to use firstname, lastname as dynamic fields in php pages #300
Comments
The easiest way, at present, is to modify https://github.com/pentestgeek/phishing-frenzy/blob/master/app/controllers/reports_controller.rb#L71 so the |
That value will be found in the PHP header injected in the top of each file, https://github.com/pentestgeek/phishing-frenzy/blob/e6d13c25e16bab8dd4a5bc987c248258cf4b9891/app/views/reports/tags.txt.erb:
You are probably best off editing the files directly in the public/deployed/campaign_id folder rather than via templates at that stage. |
Thanks for your fast answer; I have studied it, but have some questions. |
The finish string will be retrieved in the PHP snippet injected into every page.
|
You could probably put in PHP tags somewhere in the page to show this: |
thanks; just one more: is the 'results' string used for anything? if i add other data as you suggest will it not messup something else? |
When designing email templates you can use dynamic tags like this:
<%= @target.firstname %>
<%= @target.lastname %>
<%= @target.email_address %>
These dynamic tags don't work anymore in the php landing pages that the user visits.
Questions:
The text was updated successfully, but these errors were encountered: