dropbox

package
v0.0.0-...-2ef0b57 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of this zombie
	Name = "Dropbox"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Dropbox

type Dropbox struct {
	zombie.Target
	URL           string
	SecurityURL   string
	Selector      string
	InjectionFile string
}

func NewDrobox

func NewDrobox(target zombie.Target) *Dropbox

func (*Dropbox) Instrument

func (z *Dropbox) Instrument() (interface{}, error)

Instrument instructs the chrome context to perform operations on the defined target

func (*Dropbox) Name

func (z *Dropbox) Name() string

Name returns the action name

func (*Dropbox) SetContext

func (z *Dropbox) SetContext(c context.Context)

SetContext updates the zombie context object

func (*Dropbox) SetLootPath

func (z *Dropbox) SetLootPath(lp string)

SetTarget updates the zombie target object

func (*Dropbox) UploadFile

func (z *Dropbox) UploadFile() chromedp.Tasks

UploadFile uploads a file in a Dropbox defined location

type Extrusion

type Extrusion struct {
	Keys         string // base64 encoded /settings/keys HTML page content
	Security     string // base64 encoded /settings/security HTML page content
	Profile      string
	Account      string
	Emails       string
	Repositories map[string]string // full path - base64 encoded .zip content
}

Jump to

Keyboard shortcuts

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