forked from pentestgeek/phishing-frenzy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified phishing url to include the full url including the http(s) p…
…rotocol and update templates to reflect this change
- Loading branch information
Showing
4 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,6 @@ | |
campaign = create(:campaign) | ||
visit campaign_path(campaign) | ||
fill_in("campaign_test_email", with: "[email protected]") | ||
fill_in("campaign_email_settings_attributes_smtp_server", with: "smtp.secureserver.net") | ||
fill_in("campaign_email_settings_attributes_smtp_server_out", with: "smtpout.secureserver.net") | ||
fill_in("campaign_email_settings_attributes_domain", with: "phishingfrenzy.local") | ||
fill_in("campaign_email_settings_attributes_smtp_username", with: "[email protected]") | ||
|
@@ -81,7 +80,6 @@ | |
fill_in("campaign_campaign_settings_attributes_fqdn", with: "sub.phishingfrenzy.local") | ||
click_on("Save Settings") | ||
expect(page).to have_selector("#campaign_test_email[value='[email protected]']") | ||
expect(page).to have_selector("#campaign_email_settings_attributes_smtp_server[value='smtp.secureserver.net']") | ||
expect(page).to have_selector("#campaign_email_settings_attributes_smtp_server_out[value='smtpout.secureserver.net']") | ||
expect(page).to have_selector("#campaign_email_settings_attributes_domain[value='phishingfrenzy.local']") | ||
expect(page).to have_selector("#campaign_email_settings_attributes_smtp_username[value='[email protected]']") | ||
|
@@ -163,7 +161,7 @@ | |
select("Intel Password Checker", from: "campaign_template_id") | ||
click_on("Save Settings") | ||
click_on("Test") | ||
expect(page).to have_content("Campaign test email sent") | ||
expect(page).to have_content("Campaign test email queued for test") | ||
expect(page).to have_css("#recentBlasts > div > table > tbody > tr:nth-child(1)") | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters