adobe

package
v0.0.0-...-49c7f14 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUsersTarGZReader

func NewUsersTarGZReader(r io.Reader) (*tar.Reader, error)

NewUsersTarGZReader constructs a reader for a users.tar.gz archive.

Types

type Cred

type Cred struct {
	UID      int32
	Username string
	Email    string
	Password []byte
	Hint     string
}

Cred contains Adobe account info for a user.

func ParseRecord

func ParseRecord(record []string) (*Cred, error)

ParseRecord constructs a Cred from the fields of a record.

type CredReader

type CredReader struct {
	// contains filtered or unexported fields
}

CredReader parses a credential dump into records.

func NewCredReader

func NewCredReader(r io.Reader) *CredReader

NewCredReader constructs a CredReader.

func (*CredReader) Read

func (r *CredReader) Read() ([]string, error)

Read reads one record from r.

type ParseError

type ParseError struct {
	Record int
	Line   int
	Err    error
}

ParseError is an error returned during parsing.

func (*ParseError) Error

func (err *ParseError) Error() string

Jump to

Keyboard shortcuts

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