gophish: github.com/gophish/gophish/util Index | Files

package util

import "github.com/gophish/gophish/util"

Package util provides misc utility functions for gophish

Index

Package Files

doc.go util.go

func CheckAndCreateSSL Uses

func CheckAndCreateSSL(cp string, kp string) error

CheckAndCreateSSL is a helper to setup self-signed certificates for the administrative interface.

func ParseCSV Uses

func ParseCSV(r *http.Request) ([]models.Target, error)

ParseCSV contains the logic to parse the user provided csv file containing Target entries

func ParseMail Uses

func ParseMail(r *http.Request) (email.Email, error)

ParseMail takes in an HTTP Request and returns an Email object TODO: This function will likely be changed to take in a []byte

Package util imports 19 packages (graph) and is imported by 22 packages. Updated 2020-06-30. Refresh now. Tools for package owners.