Commit Graph

620 Commits (0c5925aeec5f4a686190b30d8dcddb2501c8552c)

Author SHA1 Message Date
Rob Cutmore 3a9bc91415 Add tests for getting group(s) 2016-07-16 07:53:56 -04:00
Rob Cutmore b5b0f0ddf8 Use generic names for Group tests 2016-07-15 07:37:16 -04:00
Rob Cutmore bc678878e2 Put User tests together 2016-07-15 07:31:44 -04:00
Rob Cutmore e028806b5a Add cleanup between tests for models 2016-07-15 07:28:11 -04:00
Jordan Wright e746a86816 Implementing new alert dialogs. 2016-07-11 23:31:11 -05:00
Jordan Wright 737acbdb4e Remove unnecessary CKEditor samples 2016-07-11 22:21:01 -05:00
Jordan Wright 8cfdd07663 Merge pull request #322 from gophish/290-stop-campaign
Implement the ability to complete a campaign. Fixes #290
2016-07-11 22:16:27 -05:00
Jordan Wright 1dbf061d87 Implement the ability to complete a campaign. Fixes #290.
First implementation of new alert format.
2016-07-11 22:11:40 -05:00
Jordan Wright ca43a57767 Merge pull request #320 from rcutmore/web-group-editing
Validate target input on web front end
2016-07-10 17:30:33 -05:00
Rob Cutmore f88e68077e Add/update table when adding targets via CSV too 2016-07-09 16:15:47 -04:00
Rob Cutmore 21c55c579c Add/update group target as needed
When user submits a new target, target data table is checked for an
existing entry based on target email. If an existing entry is found
then it is updated, otherwise a new row is added to table. Target
email addresses are now converted to lower case to help prevent
duplicates as well.
2016-07-09 15:46:06 -04:00
Rob Cutmore 3996a702fe Clean up formatting of targets modal events 2016-07-09 09:06:30 -04:00
Jordan Wright 5cdfcbfe37 Now setting configured hostname when sending emails. Fixes #317 2016-07-06 23:25:28 -05:00
Jordan Wright d05a062a17 Merge pull request #315 from rcutmore/group-editing
Add target update capability to API - @rcutmore
2016-07-06 23:12:20 -05:00
Rob Cutmore 92f4ca6a90 Add empty attribute test for PutGroup
If passing a Target instance to the database Updates method then
empty attributes will be ignored. Using a map[string]interface
ensures all changed attributes, even empty ones, are persisted to
database.
2016-07-04 06:39:38 -04:00
Rob Cutmore 731c621095 Add test for PutGroup function 2016-07-02 18:22:44 -04:00
Rob Cutmore ec1c711b9b Allow group targets to be updated, fixes #18 2016-07-02 08:01:24 -04:00
Rob Cutmore 34021d9e3a Update comments for PutGroup function 2016-06-26 09:31:03 -04:00
Rob Cutmore 97c9bd16d1 Fix comments for group API functions 2016-06-23 06:04:35 -04:00
Jordan Wright 6558fe06d1 Merge pull request #297 from rcutmore/cleanup-campaign-copy
Remove groups from campaign copy
2016-06-13 17:22:39 -05:00
Rob Cutmore 00d1994671 Remove groups from campaign copy (Fixes #295)
An error was being raised when trying to copy groups for a campaign
because the individual targets for a campaign are tracked, not the
groups.
2016-06-13 06:17:11 -04:00
Jordan Wright 83f221e226 Merge pull request #296 from rcutmore/add-campaign-groups
Add selected group hint in campaign modal
2016-06-11 18:12:41 -05:00
Rob Cutmore aa8f80c694 Add selected group hint in campaign modal 2016-06-11 12:30:26 -04:00
Jordan Wright dff0e9ef25 Merge pull request #291 from rcutmore/fix-group-removal
Fix group removal
2016-06-09 23:20:03 -05:00
Rob Cutmore 5ca7744270 Fix indentation for group form submit 2016-06-09 08:14:26 -04:00
Rob Cutmore 9ec4dbe917 Fix campaign group removal (fixes #249)
Every time a group was added, the event handler for removing group was
set for all rows in group table. This change ensures the event handler
is only set for the newly added group.
2016-06-09 08:11:51 -04:00
Jordan Wright c5d6792bba Added /campaigns/:id/results endpoint to return campaign summary and make results page much quicker.
Fixes 282.
2016-06-07 22:31:55 -05:00
Jordan Wright 3d5b330c61 Merge branch 'master' of github.com:gophish/gophish 2016-06-07 21:42:31 -05:00
Jordan Wright 082023aae0 Adding the ability to schedule campaigns. Fixes #21 2016-06-07 21:42:09 -05:00
Jordan Wright 5df1e9500e Merge pull request #284 from rcutmore/add-campaign-group
Clear input after adding group to campaign
2016-06-05 17:53:08 -05:00
Rob Cutmore 80c799e0cc Clear input after adding group to campaign 2016-06-05 18:00:52 -04:00
Jordan Wright a8aac75f99 Migrating to use github.com/gomail/gomail to provide:
Better auth compatibility
(support for upcoming) embedded images
Much faster email sending (sending multiple emails per connection)
2016-05-30 14:55:45 -05:00
Jordan Wright 1933eb7ff1 Adding better error handling for SMTP server
JSBeautify sending_profiles.js
2016-05-30 14:53:32 -05:00
Jordan Wright 8211116375 Fixing some minor xss issues - Fixes #272 2016-05-25 18:35:47 -05:00
Jordan Wright c8155a59fe Merge pull request #243 from SwitHak/SwitHak-LangPack1
Update Gophish syntax
2016-04-18 20:03:23 -05:00
SwitHak a8bf8b3aee Update gophish syntax
Add Gophish where gophish is write.
This time, no pictures :)

@SwitHak
2016-04-18 21:23:57 +02:00
Jordan Wright 0f439d8a20 Merge pull request #229 from DeveloppSoft/patch-1
Making tracker image fully invisible
2016-04-06 11:37:36 -05:00
Jordan Wright c2bfac2794 Merge pull request #233 from rcutmore/cleanup-templates
Clean up templates
2016-04-06 11:37:01 -05:00
Rob Cutmore a6379fc83d Clean up templates
- Updated login and register templates to use same font for logo text
  that other templates use.

- Removed commented out CSS link.
2016-04-06 07:47:09 -04:00
Eliott T 7f1aeb02d5 Update worker.go
Added single quotes
2016-04-06 07:32:20 +02:00
DeveloppSoft c83ce80d13 Making tracker image fully invisible
At the moment the tracker is a 1x1 image, changed the HTML code to make it fully invisible.
2016-04-05 17:36:19 +02:00
Jordan Wright 83a17e8c2d Added early catching of invalid template values. Fixes #193 2016-04-02 18:33:25 -05:00
Jordan Wright 776e54c856 Updated GetCampaign(s) to fail gracefully if certain attributes have since been deleted. Fixes #197 2016-03-23 23:41:17 -05:00
Jordan Wright 49b0646454 Fixed static file handling on phishing server + documentation. Fixes #164 2016-03-23 14:11:47 -05:00
Jordan Wright 9322d70fce Starting to fix some validation issues. 2016-03-21 19:30:43 -05:00
Jordan Wright 16b225b189 Fixed issue where it will now stay on same page after ajax update 2016-03-19 20:51:42 -05:00
Jordan Wright b10c4b3d3a Now returning valid tracking image. Fixes #202 2016-03-18 23:35:07 -05:00
Jordan Wright 52b9eda3b2 Added support for redirect URL's after creds are submitted. Fixes #210 2016-03-18 20:19:13 -05:00
Jordan Wright 9051ee7656 Updated README 2016-03-13 12:59:53 -05:00
Jordan Wright 92531db4dc Merge pull request #207 from gophish/201-converting-links
Added the ability to convert links on email import to point to the landing page
2016-03-10 20:41:40 -06:00