filesystem

package
v1.4.21 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: GPL-3.0 Imports: 21 Imported by: 2

README

Filesystem

This package implements file system commands such as ls, cd, rm, download, upload, etc.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatCmd

func CatCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

CatCmd - Display the contents of a remote file

func CdCmd

func CdCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

CdCmd - Change directory on the remote system

func DownloadCmd

func DownloadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

DownloadCmd - Download a file from the remote system

func LsCmd

func LsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

LsCmd - List the contents of a remote directory

func MkdirCmd

func MkdirCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

MkdirCmd - Make a remote directory

func PrintLs

func PrintLs(ls *sliverpb.Ls, con *console.SliverConsoleClient, flags grumble.FlagMap, filter string)

PrintLs - Display an sliverpb.Ls object

func PwdCmd

func PwdCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

PwdCmd - Print the remote working directory

func RmCmd

func RmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

RmCmd - Remove a directory from the remote file system

func UploadCmd

func UploadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

UploadCmd - Upload a file to the remote system

Types

This section is empty.

Jump to

Keyboard shortcuts

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