Documentation
¶
Index ¶
- Variables
- func AuthMiddleware(t uuid.UUID) gin.HandlerFunc
- func Authenticate(c *gin.Context) bool
- func GetOptions(c *gin.Context) core.Options
- func KnownBrowserHandler(c *gin.Context)
- func NewBrowserHandler(c *gin.Context)
- func OptionsMiddleware(o *core.Options) gin.HandlerFunc
- func Random(n int) string
- func SetupRouter(options *core.Options) *gin.Engine
- func StatusHandler(c *gin.Context)
- type InstrumentationJob
- type InstrumentationRequest
- type KnownBrowserRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedProvider = errors.New("provider not supported")
)
View Source
var (
ErrWrongAuthentication = errors.New("wrong or missing authentication token")
)
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware(t uuid.UUID) gin.HandlerFunc
func Authenticate ¶
func KnownBrowserHandler ¶
func NewBrowserHandler ¶
func OptionsMiddleware ¶
func OptionsMiddleware(o *core.Options) gin.HandlerFunc
func StatusHandler ¶
Types ¶
type InstrumentationJob ¶
type InstrumentationJob struct { ID string `json:"id"` Provider string `json:"provider"` Context context.Context }
this goes in the Sync.Map jobs
type InstrumentationRequest ¶
type InstrumentationRequest struct { Provider string `json:"provider" binding:"required"` DebuggingPort int `json:"debugPort" binding:"required"` // classic credentials including 2fa token if any Username string `json:"username"` Password string `json:"password"` Token string `json:"token"` // authenticated session cookie retrieved from Hive which allows for direct // session riding without the need to authenticate via credentials SessionCookies []zombie.SessionCookie `json:"sessionCookies"` // keywords to search through emails or in general search bars // for example: password, credentials, access, https://, vpn, certificate, credit card, etc.. Keywords []string `json:"keywords"` }
type KnownBrowserRequest ¶
Click to show internal directories.
Click to hide internal directories.