Documentation ¶
Index ¶
- func CatCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func CdCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ChmodCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ChownCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func ChtimesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func DownloadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func HandleDownloadResponse(download *sliverpb.Download, ctx *grumble.Context, ...)
- func LsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func MemfilesAddCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func MemfilesListCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func MemfilesRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func MkdirCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func MvCmd(ctx *grumble.Context, con *console.SliverConsoleClient) (err error)
- func PrintAddMemfile(memfilesAdd *sliverpb.MemfilesAdd, con *console.SliverConsoleClient)
- func PrintCat(download *sliverpb.Download, ctx *grumble.Context, ...)
- func PrintChmod(chmod *sliverpb.Chmod, con *console.SliverConsoleClient)
- func PrintChown(chown *sliverpb.Chown, con *console.SliverConsoleClient)
- func PrintChtimes(chtimes *sliverpb.Chtimes, con *console.SliverConsoleClient)
- func PrintLs(ls *sliverpb.Ls, flags grumble.FlagMap, con *console.SliverConsoleClient)
- func PrintMemfiles(ls *sliverpb.Ls, con *console.SliverConsoleClient)
- func PrintMkdir(mkdir *sliverpb.Mkdir, con *console.SliverConsoleClient)
- func PrintMv(mv *sliverpb.Mv, con *console.SliverConsoleClient)
- func PrintPwd(pwd *sliverpb.Pwd, con *console.SliverConsoleClient)
- func PrintRm(rm *sliverpb.Rm, con *console.SliverConsoleClient)
- func PrintRmMemfile(memfilesList *sliverpb.MemfilesRm, con *console.SliverConsoleClient)
- func PrintUpload(upload *sliverpb.Upload, con *console.SliverConsoleClient)
- func PwdCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func RmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func UploadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
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 ChmodCmd ¶ added in v1.5.37
func ChmodCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ChmodCmd - Change the permissions of a file on the remote file system
func ChownCmd ¶ added in v1.5.37
func ChownCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ChownCmd - Change the owner of a file on the remote file system
func ChtimesCmd ¶ added in v1.5.37
func ChtimesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
ChtimesCmd - Change the access and modified time of a file on the remote file system
func DownloadCmd ¶
func DownloadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
func HandleDownloadResponse ¶ added in v1.5.16
func LsCmd ¶
func LsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
LsCmd - List the contents of a remote directory
func MemfilesAddCmd ¶ added in v1.5.40
func MemfilesAddCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
MemfilesAddCmd - Add memfile
func MemfilesListCmd ¶ added in v1.5.40
func MemfilesListCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
MemfilesListCmd - List memfiles
func MemfilesRmCmd ¶ added in v1.5.40
func MemfilesRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
MemfilesRmCmd - Remove a memfile
func MkdirCmd ¶
func MkdirCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
MkdirCmd - Make a remote directory
func MvCmd ¶ added in v1.5.10
func MvCmd(ctx *grumble.Context, con *console.SliverConsoleClient) (err error)
func PrintAddMemfile ¶ added in v1.5.40
func PrintAddMemfile(memfilesAdd *sliverpb.MemfilesAdd, con *console.SliverConsoleClient)
PrintAddMemfile - Print the memfiles response
func PrintChmod ¶ added in v1.5.37
func PrintChmod(chmod *sliverpb.Chmod, con *console.SliverConsoleClient)
PrintChmod - Print the chmod response
func PrintChown ¶ added in v1.5.37
func PrintChown(chown *sliverpb.Chown, con *console.SliverConsoleClient)
PrintChown - Print the chown response
func PrintChtimes ¶ added in v1.5.37
func PrintChtimes(chtimes *sliverpb.Chtimes, con *console.SliverConsoleClient)
PrintChtimes - Print the Chtimes response
func PrintMemfiles ¶ added in v1.5.40
func PrintMemfiles(ls *sliverpb.Ls, con *console.SliverConsoleClient)
PrintMemfiles - Display an sliverpb.Ls object
func PrintMkdir ¶ added in v1.5.0
func PrintMkdir(mkdir *sliverpb.Mkdir, con *console.SliverConsoleClient)
PrintMkdir - Print make directory
func PrintMv ¶ added in v1.5.10
func PrintMv(mv *sliverpb.Mv, con *console.SliverConsoleClient)
PrintMv - Print the renamed file
func PrintPwd ¶ added in v1.5.0
func PrintPwd(pwd *sliverpb.Pwd, con *console.SliverConsoleClient)
PrintPwd - Print the remote working directory
func PrintRm ¶ added in v1.5.0
func PrintRm(rm *sliverpb.Rm, con *console.SliverConsoleClient)
PrintRm - Print the rm response
func PrintRmMemfile ¶ added in v1.5.40
func PrintRmMemfile(memfilesList *sliverpb.MemfilesRm, con *console.SliverConsoleClient)
PrintRmMemfile - Remove a memfile
func PrintUpload ¶ added in v1.5.0
func PrintUpload(upload *sliverpb.Upload, con *console.SliverConsoleClient)
PrintUpload - Print the result of the upload command
func PwdCmd ¶
func PwdCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
PwdCmd - Print the remote working directory
Types ¶
This section is empty.