Documentation
¶
Index ¶
- func CatCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func CdCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func DownloadCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func LsCmd(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 PerformDownload(remotePath string, fileName string, destination string, ctx *grumble.Context, ...) (*sliverpb.Download, error)
- func PrintCat(download *sliverpb.Download, ctx *grumble.Context, ...)
- func PrintDownload(download *sliverpb.Download, ctx *grumble.Context, ...)
- func PrintLs(ls *sliverpb.Ls, flags grumble.FlagMap, filter string, ...)
- 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 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 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 MvCmd ¶ added in v1.5.10
func MvCmd(ctx *grumble.Context, con *console.SliverConsoleClient) (err error)
func PerformDownload ¶ added in v1.5.13
func PrintDownload ¶ added in v1.5.0
func PrintDownload(download *sliverpb.Download, ctx *grumble.Context, con *console.SliverConsoleClient)
PrintDownload - Print the download response, and save file to disk
func PrintLs ¶
func PrintLs(ls *sliverpb.Ls, flags grumble.FlagMap, filter string, con *console.SliverConsoleClient)
PrintLs - 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 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.
Click to show internal directories.
Click to hide internal directories.