Documentation
¶
Index ¶
- Constants
- func InnerSubstring(str string, prefix string, suffix string) string
- type Trace
- type Tracker
- func (module *Tracker) AddToCookieJar(v *Victim, cookie necrobrowser.SessionCookie)
- func (module *Tracker) Author() string
- func (module *Tracker) Description() string
- func (module *Tracker) GetVictim(t *Trace) (v *Victim, err error)
- func (module *Tracker) IsEnabled() bool
- func (module *Tracker) Name() string
- func (module *Tracker) Prompt(what string)
- func (module *Tracker) Push(v *Victim)
- func (module *Tracker) ShowCredentials()
- func (module *Tracker) ShowVictims()
- func (module *Tracker) TrackRequest(request *http.Request) (t *Trace)
- func (module *Tracker) TrackResponse(response *http.Response) (victim *Victim)
- type Victim
- type VictimCredentials
Constants ¶
View Source
const ( // Name of this module Name = "tracker" // Description of this module Description = "Uniquely track clients via unique identifiers, while harvesting for web credentials and sessions" // Author of this module Author = "Muraena Team" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Trace ¶
Trace object structure
func (*Trace) ExtractCredentials ¶
ExtractCredentials extracts credentials from a request body and stores within a VictimCredentials object
func (*Trace) HijackSession ¶
If the request URL matches those defined in authSession in the config, then pass the cookies in the CookieJar to necrobrowser to hijack the session
type Tracker ¶
type Tracker struct { session.SessionModule Enabled bool Type string Identifier string ValidatorRegex *regexp.Regexp Victims sync.Map }
Tracker module
func (*Tracker) AddToCookieJar ¶
func (module *Tracker) AddToCookieJar(v *Victim, cookie necrobrowser.SessionCookie)
func (*Tracker) Description ¶
Description returns the module description
func (*Tracker) Prompt ¶ added in v0.1.2
Prompt prints module status based on the provided parameters
func (*Tracker) ShowCredentials ¶
func (module *Tracker) ShowCredentials()
ShowCredentials prints the credentials in the CLI
func (*Tracker) ShowVictims ¶
func (module *Tracker) ShowVictims()
ShowVictims prints the Victims in the CLI
func (*Tracker) TrackRequest ¶
TrackRequest tracks an HTTP Request
type Victim ¶
type Victim struct { ID string // UUID IP string UA string FirstSeen time.Time LastSeen time.Time Username string Password string Token string // 2FA token Credentials []*VictimCredentials // map of "cookie name" -> SessionCookie struct Cookies sync.Map RequestCount int }
Victim identifies a User-Agent being tracked
Click to show internal directories.
Click to hide internal directories.