diff --git a/README.md b/README.md index caf25052..549b384c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![gophish logo](https://raw.github.com/jordan-wright/gophish/master/static/images/gophish_purple.png) +![gophish logo](https://raw.github.com/gophish/gophish/master/static/images/gophish_purple.png) gophish ======= @@ -34,7 +34,7 @@ Documentation is a work in progress. Existing documentation can be found on our ###Issues -Find a bug? Want more features? Find something missing in the documentation? Let us know! Please don't hesitate to [file an issue](https://github.com/jordan-wright/gophish/issues/new) and we'll get right on it. +Find a bug? Want more features? Find something missing in the documentation? Let us know! Please don't hesitate to [file an issue](https://github.com/gophish/gophish/issues/new) and we'll get right on it. ###License ``` diff --git a/auth/auth.go b/auth/auth.go index 8bc5cbe5..b58d92e9 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -9,11 +9,11 @@ import ( "crypto/rand" - "code.google.com/p/go.crypto/bcrypt" + "golang.org/x/crypto/bcrypt" ctx "github.com/gorilla/context" "github.com/gorilla/securecookie" "github.com/gorilla/sessions" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/models" ) //init registers the necessary models to be saved in the session later diff --git a/controllers/api.go b/controllers/api.go index f1d9402a..46bb87b7 100644 --- a/controllers/api.go +++ b/controllers/api.go @@ -14,10 +14,10 @@ import ( "github.com/gorilla/mux" "github.com/jinzhu/gorm" "github.com/jordan-wright/email" - "github.com/jordan-wright/gophish/auth" - "github.com/jordan-wright/gophish/models" - "github.com/jordan-wright/gophish/util" - "github.com/jordan-wright/gophish/worker" + "github.com/gophish/gophish/auth" + "github.com/gophish/gophish/models" + "github.com/gophish/gophish/util" + "github.com/gophish/gophish/worker" ) // Worker is the worker that processes phishing events and updates campaigns. diff --git a/controllers/api_test.go b/controllers/api_test.go index d3ec75a7..4255a7f6 100644 --- a/controllers/api_test.go +++ b/controllers/api_test.go @@ -10,8 +10,8 @@ import ( "testing" "github.com/gorilla/handlers" - "github.com/jordan-wright/gophish/config" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/config" + "github.com/gophish/gophish/models" "github.com/stretchr/testify/suite" ) diff --git a/controllers/route.go b/controllers/route.go index d659df76..835249d9 100644 --- a/controllers/route.go +++ b/controllers/route.go @@ -11,9 +11,9 @@ import ( ctx "github.com/gorilla/context" "github.com/gorilla/mux" "github.com/gorilla/sessions" - "github.com/jordan-wright/gophish/auth" - mid "github.com/jordan-wright/gophish/middleware" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/auth" + mid "github.com/gophish/gophish/middleware" + "github.com/gophish/gophish/models" "github.com/justinas/nosurf" ) diff --git a/gophish.go b/gophish.go index 90d520fc..81693d48 100644 --- a/gophish.go +++ b/gophish.go @@ -32,9 +32,9 @@ import ( "os" "github.com/gorilla/handlers" - "github.com/jordan-wright/gophish/config" - "github.com/jordan-wright/gophish/controllers" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/config" + "github.com/gophish/gophish/controllers" + "github.com/gophish/gophish/models" ) var Logger = log.New(os.Stdout, " ", log.Ldate|log.Ltime|log.Lshortfile) diff --git a/middleware/middleware.go b/middleware/middleware.go index 6aa3683a..8239087c 100644 --- a/middleware/middleware.go +++ b/middleware/middleware.go @@ -6,8 +6,8 @@ import ( "net/http" ctx "github.com/gorilla/context" - "github.com/jordan-wright/gophish/auth" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/auth" + "github.com/gophish/gophish/models" ) // GetContext wraps each request in a function which fills in the context for a given request. diff --git a/models/models.go b/models/models.go index fb77870b..d3d980fb 100644 --- a/models/models.go +++ b/models/models.go @@ -6,7 +6,7 @@ import ( "os" "github.com/jinzhu/gorm" - "github.com/jordan-wright/gophish/config" + "github.com/gophish/gophish/config" _ "github.com/mattn/go-sqlite3" // Blank import needed to import sqlite3 ) diff --git a/models/models_test.go b/models/models_test.go index 011ff636..3e3e5077 100644 --- a/models/models_test.go +++ b/models/models_test.go @@ -3,7 +3,7 @@ package models import ( "testing" - "github.com/jordan-wright/gophish/config" + "github.com/gophish/gophish/config" "gopkg.in/check.v1" ) diff --git a/templates/docs.html b/templates/docs.html index 0932e5b8..27e130f8 100644 --- a/templates/docs.html +++ b/templates/docs.html @@ -1,6 +1,6 @@ {{ define "base" }} Gophish API Back to top

Gophish API

Gophish was built from the ground-up with a JSON API that makes it easy for developers and sysadmins to automate simulated phishing campaigns.

-

These docs describe how to use the gophish API.

+

These docs describe how to use the gophish API.

Authorization

All API requests require the use of a generated API key. You can find your API key, or generate a new one, by navigating to the /settings endpoint, or clicking the “Settings” sidebar item.

diff --git a/templates/gophish.apib b/templates/gophish.apib index 6bbb0cb1..04285305 100644 --- a/templates/gophish.apib +++ b/templates/gophish.apib @@ -4,7 +4,7 @@ HOST: http://localhost:3333/api/ # Gophish API Gophish was built from the ground-up with a JSON API that makes it easy for developers and sysadmins to automate simulated phishing campaigns. -These docs describe how to use the [gophish](https://github.com/jordan-wright/gophish) API. +These docs describe how to use the [gophish](https://github.com/gophish/gophish) API. ::: note ## Authorization diff --git a/util/util.go b/util/util.go index af5f27af..7ab57d8e 100644 --- a/util/util.go +++ b/util/util.go @@ -9,7 +9,7 @@ import ( "net/mail" "github.com/jordan-wright/email" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/models" ) // ParseMail takes in an HTTP Request and returns an Email object diff --git a/worker/worker.go b/worker/worker.go index dc19cbb9..568b198b 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -10,7 +10,7 @@ import ( "text/template" "github.com/jordan-wright/email" - "github.com/jordan-wright/gophish/models" + "github.com/gophish/gophish/models" ) // Logger is the logger for the worker