utils

package
v0.0.0-...-5be2fdd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UtilMarshaller

type UtilMarshaller struct{}

UtilMarshaller wraps class to protect global namespace

func (*UtilMarshaller) CrackHash

func (um *UtilMarshaller) CrackHash(s *models.SIPStruct, dict string, verbose bool) (string, error)

CrackHash is a setter to attempt hash collisions

func (*UtilMarshaller) ParseAuthHeader

func (um *UtilMarshaller) ParseAuthHeader(hdr map[string]string) map[string]string

ParseAuthHeader to extract header value

func (*UtilMarshaller) ParseResponse

func (um *UtilMarshaller) ParseResponse(path string) (map[string]string, error)

ParseResponse extracts params from SIP reponse body

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL