Commit Graph

654 Commits (e634cbd6705a49feaabdec9d1d921ba5b9374713)

Author SHA1 Message Date
Jordan Wright 420410b52c Refactored result updating to be in result.go.
Added the modified_date field to results so it's easy to keep track of the last results that were modified without having to parse every event. Updated the tests to reflect the changes.
2018-05-26 21:26:34 -05:00
Jordan Wright 222399c5f6 De-emphasized campaign report icon while we don't have clients available. 2018-05-24 20:32:08 -05:00
Jordan Wright f7dee1e938 Removed directory listing of static assets. Fixes #1077. Fixes #815 2018-05-23 23:03:48 -05:00
Jordan Wright 23f0c21555
Bumping version to 0.6.0 2018-05-03 19:13:07 -05:00
Jordan Wright 5d23263898
Moved logging to logrus package. Not perfect yet (still want to update the access logs), but should set the foundation to make better logging in the future. 2018-05-03 19:07:41 -05:00
Jordan Wright 5f3c94d0cf
Add support for authenticating to the API via an Authorization Bearer token. 2018-04-21 12:19:58 -05:00
Jordan Wright e1d5c809b2
Removed redundant </div> tag. Fixes #1041 2018-04-20 20:47:29 -05:00
Jordan Wright 0b91404c4f
Resetting connection properly when the underlying TCP connection breaks. Fixes #997 2018-04-20 20:33:00 -05:00
Jordan Wright 3a7a62e9d6
Changed /api/reset to require API key instead of just requiring a valid session. Fixes #1028 2018-03-29 20:59:26 -05:00
Jordan Wright 535fbf487b
Bumped required Go version to 1.8 2018-03-26 21:13:11 -05:00
Jordan Wright 2131c17c33
Fixing SSRF by requiring an API key for all import endpoints. Fixes #1026 2018-03-26 21:04:22 -05:00
Jordan Wright 9ba3f04d1e
For now, avoid rendering the "campaign created" events on the timeline to make things more consolidated. Fixes #999 2018-03-22 22:16:59 -05:00
Jordan Wright 2ff0c3d95c
Storing the underlying connection error after the max connection attempts have been reached. Fixes #963 2018-03-22 22:05:24 -05:00
Jordan Wright eb2f0e38c7
Better handling of template errors when rendering the phishing page. Fixes #1008. 2018-03-22 21:29:07 -05:00
Jordan Wright f21536da7c
Adding "Report Email" Support (#1014)
Adds the capability to report phishing campaigns using an email client extension.

**Note: Gophish does not currently provide an email client extension out of the box. This is simply a mechanism to let existing email client add-ons send report status information to Gophish, and have that information reflected in the dashboard.**
2018-03-18 22:03:00 -05:00
derpadoo 709e83bade Ansible zip folder reorg (#1002)
* Updated README

* Updated playbook to work with new .zip file structure and cleaned up misc. parts

* Added missing quotes to be safe for variable interpretation
2018-03-13 19:53:20 -05:00
Jordan Wright c9ff8714a0
Moved rid parameter to a separate constant. Fixes #911 2018-02-22 23:02:27 -06:00
Jordan Wright 1426376aa5
Added --disable-mailer flag to prevent starting the built-in mailer. Fixes #935 2018-02-22 22:26:59 -06:00
Jordan Wright 3d58d8362e
Moved creation of URLs to net.URL instances to handle custom paths and parameters. Fixes #969 2018-02-22 22:11:28 -06:00
Konrads Smelkovs 29555085c0 If Subject is empty, don't set the header
Fixes #955
2018-02-10 13:46:08 -06:00
Jordan Wright 0f4ac70049
Fixed the way the initial admin is created to better support MySQL installations. Fixes #948 2018-02-08 19:04:59 -06:00
Jordan Wright 8d37bb1b39
Updated README to point to correct admin server URL 2018-01-27 14:02:59 -06:00
Jordan Wright 31a233197e
Bumping to version 0.5.0 2018-01-21 20:51:54 -06:00
Shuhei Kitagawa 44afb2b965 Isolate model tests (#933)
* isolates Group model tests

* move SMTP related tests from models_test.go to smtp_test.go

* isolate Page model tests

* isolate Result model tests
2018-01-19 18:11:00 -06:00
Shuhei Kitagawa 55b0da4aa9 Separate user model test cases into a independent test file (#930) 2018-01-18 19:54:12 -06:00
Jordan Wright ea558522a0
Events are now displayed with per-second accuracy. Fixes #909 2018-01-13 18:41:08 -06:00
Jordan Wright 8def08f46d
Changed select2 dropdowns to be in alphabetical format. Fixes #899 2018-01-13 18:12:09 -06:00
Jordan Wright e995b0fcb7 Adding ability to use template variables in the campaign URL. Fixes #844 2018-01-13 17:49:42 -06:00
Shuhei Kitagawa d7810ddd2b Fix to raise error when trying to register a duplicate username (#926)
This corrects a minor error from recent changes in which registering an existing username didn't throw an error.
2018-01-13 16:35:58 -06:00
Shuhei Kitagawa 405bc5effe Refactor GetUserByUsername method not to suppress an error (#920)
Also adding some other tests for the User models.
2018-01-11 18:37:38 -06:00
Shuhei Kitagawa db19f0ac2a Remove redundant return nil statement in user.go (#921)
Removing some redundant statements in user.go.
Adding test cases for user models.
2018-01-11 18:11:57 -06:00
Thiago-Medeiros a5c6ffb572 Fix MySQL syntax error in maillogs migration.
update autoincrement -> auto_increment
add ";" after drop table
2018-01-07 16:43:26 -06:00
Shuhei Kitagawa 7d67ccc3da Adjust CSS to support long table values 2018-01-07 16:42:11 -06:00
Shuhei Kitagawa 3f5a8262f8 Add gophish_admin.crt and gophish_admin.key to .gitignore (#916) 2018-01-07 16:40:41 -06:00
Shuhei Kitagawa 1ad714a755 Update copyright year from 2017 to 2018 (#917) 2018-01-07 16:39:00 -06:00
Jordan Wright 44154f3bf0 Removing duplicates in campaigns. Fixes #855 2017-12-11 22:12:17 -06:00
Jordan Wright aa8c770e73 Adding "next" parameter to support redirecting after successful login. 2017-12-10 21:40:46 -06:00
Jordan Wright 227da5c7b9 Change failed login status code to 401. Fixes #833 2017-12-10 18:11:32 -06:00
Jordan Wright 76ece15b71
Email refactoring (#878)
The initial pass at refactoring the way we send emails.
2017-12-09 15:42:07 -06:00
Jordan Wright 18d92a8f74
Update .travis.yml
Removing unsupported Go versions <= 1.6
2017-12-05 21:47:35 -06:00
Jordan Wright d6449923ab
Create ISSUE_TEMPLATE.md
Added an issue template to be used when creating new issues.
2017-11-01 21:06:24 -05:00
Jordan Wright 62b2bb4780 Merge commit '3972fe5993ec409bd94bd9f3ca52b534d0f9a8f4' 2017-10-02 19:47:09 -05:00
Jordan Wright b742f28f92 Fixing dev dependencies
Fixes #775
Fixes #776
2017-10-02 19:43:23 -05:00
Jordan Wright 3972fe5993 Fixing dev dependencies
Fixes #775
Fixes #776
2017-10-02 19:40:56 -05:00
Jordan Wright e785af5c0a Disabled turboThreshold to allow campaign timeline renders for campaigns with > 1k events. Fixes #765
Moved datatables `draw()` functions to the end of a table render, rather than on every row
2017-09-26 21:29:15 -05:00
Jordan Wright 0d03d01fa5 Fixed CSV Parsing to allow emails in <email@example.com> syntax. Fixes #764 2017-09-24 17:50:58 -05:00
Jordan Wright 10ff5c181b Using SetAddressHeader to better format the SMTP From Address. Fixes #135. 2017-09-21 19:39:27 -05:00
Jordan Wright 8433882186 Updated papaparse. Changed export csv name to campaign.name - scope.csv syntax. Fixes #751 2017-09-19 20:33:26 -05:00
Jordan Wright 06cf4e9d55 Updating README 2017-09-17 12:30:44 -05:00
Jordan Wright 6f81f1f2e2 Making the results map an optional setting stored in localStorage. Fixes #747
Also does more formatting fixes for various files.
2017-09-16 23:30:04 -05:00