mirror of https://github.com/gophish/gophish
import referances correction
parent
2acb3a0254
commit
72b8112d38
|
@ -20,7 +20,7 @@ import (
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
"github.com/jordan-wright/email"
|
"github.com/jordan-wright/email"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Worker is the worker that processes phishing events and updates campaigns.
|
// Worker is the worker that processes phishing events and updates campaigns.
|
||||||
|
|
|
@ -21,7 +21,7 @@ import (
|
||||||
"github.com/gorilla/csrf"
|
"github.com/gorilla/csrf"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/gorilla/sessions"
|
"github.com/gorilla/sessions"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Logger is used to send logging messages to stdout.
|
// Logger is used to send logging messages to stdout.
|
||||||
|
|
|
@ -35,10 +35,10 @@ import (
|
||||||
|
|
||||||
"github.com/NYTimes/gziphandler"
|
"github.com/NYTimes/gziphandler"
|
||||||
"github.com/gophish/gophish/auth"
|
"github.com/gophish/gophish/auth"
|
||||||
"./config"
|
"github.com/gophish/gophish/config"
|
||||||
"./controllers"
|
"github.com/gophish/gophish/controllers"
|
||||||
"github.com/gophish/gophish/models"
|
"github.com/gophish/gophish/models"
|
||||||
"./util"
|
"github.com/gophish/gophish/util"
|
||||||
"github.com/gorilla/handlers"
|
"github.com/gorilla/handlers"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Campaign is a struct representing a created campaign
|
// Campaign is a struct representing a created campaign
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Group contains the fields needed for a user -> group mapping
|
// Group contains the fields needed for a user -> group mapping
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
"github.com/gophish/gophish/config"
|
"github.com/gophish/gophish/config"
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
_ "github.com/mattn/go-sqlite3" // Blank import needed to import sqlite3
|
_ "github.com/mattn/go-sqlite3" // Blank import needed to import sqlite3
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
var db *gorm.DB
|
var db *gorm.DB
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/PuerkitoBio/goquery"
|
"github.com/PuerkitoBio/goquery"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Page contains the fields used for a Page model
|
// Page contains the fields used for a Page model
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
"github.com/oschwald/maxminddb-golang"
|
"github.com/oschwald/maxminddb-golang"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type mmCity struct {
|
type mmCity struct {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SMTP contains the attributes needed to handle the sending of campaign emails
|
// SMTP contains the attributes needed to handle the sending of campaign emails
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
"../util"
|
"github.com/gophish/gophish/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Template models hold the attributes for an email template to be sent to targets
|
// Template models hold the attributes for an email template to be sent to targets
|
||||||
|
|
|
@ -159,5 +159,5 @@
|
||||||
"Campaign not found!": "{{T "Campaign not found!"}}",
|
"Campaign not found!": "{{T "Campaign not found!"}}",
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/src/app/campaign_results.js"></script>
|
<script src="/js/dist/app/campaign_results.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -175,5 +175,5 @@
|
||||||
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/src/app/campaigns.js"></script>
|
<script src="/js/dist/app/campaigns.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -99,5 +99,5 @@
|
||||||
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
"Error fetching campaigns": "{{T "Error fetching campaigns"}}"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/src/app/dashboard.js"></script>
|
<script src="/js/dist/app/dashboard.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -149,5 +149,5 @@
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/ckeditor/ckeditor.js"></script>
|
<script src="/js/ckeditor/ckeditor.js"></script>
|
||||||
<script src="/js/ckeditor/adapters/jquery.js"></script>
|
<script src="/js/ckeditor/adapters/jquery.js"></script>
|
||||||
<script src="/js/src/app/sending_profiles.js"></script>
|
<script src="/js/dist/app/sending_profiles.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -168,5 +168,5 @@
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/src/vendor/ckeditor/ckeditor.js"></script>
|
<script src="/js/src/vendor/ckeditor/ckeditor.js"></script>
|
||||||
<script src="/js/src/vendor/ckeditor/adapters/jquery.js"></script>
|
<script src="/js/src/vendor/ckeditor/adapters/jquery.js"></script>
|
||||||
<script src="/js/src/app/templates.js"></script>
|
<script src="/js/dist/app/templates.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -130,5 +130,5 @@
|
||||||
"Error fetching groups": "{{T "Error fetching groups"}}"
|
"Error fetching groups": "{{T "Error fetching groups"}}"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="/js/src/app/users.js"></script>
|
<script src="/js/dist/app/users.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue