websites

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: GPL-3.0 Imports: 21 Imported by: 1

README

client/command/websites

Overview

Implements the 'websites' command group for the Sliver client console. Handlers map Cobra invocations to websites workflows such as websites ADD content, websites RM content, websites RM, and websites update content.

Go Files

  • commands.go – Registers website management commands for hosted phishing content.
  • websites-add-content.go – Uploads new site content (files or strings) to the server.
  • websites-rm-content.go – Removes specific content entries from a hosted site.
  • websites-rm.go – Deletes entire website definitions from the server.
  • websites-update-content.go – Replaces or updates existing hosted content assets.
  • websites.go – Lists configured websites and prints their metadata.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands added in v1.6.0

func Commands(con *console.SliverClient) []*cobra.Command

Commands returns the “ command and its subcommands.

func ListWebsiteContent

func ListWebsiteContent(websiteName string, con *console.SliverClient)

ListWebsiteContent - List the static contents of a website.

func ListWebsites

func ListWebsites(cmd *cobra.Command, con *console.SliverClient, args []string)

ListWebsites - Display a list of websites.

func PrintWebsite added in v1.5.0

func PrintWebsite(web *clientpb.Website, con *console.SliverClient)

PrintWebsite - Print a website and its contents, paths, etc.

func WebsiteNameCompleter added in v1.6.0

func WebsiteNameCompleter(con *console.SliverClient) carapace.Action

WebsiteNameCompleter completes the names of available websites.

func WebsiteRmCmd

func WebsiteRmCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

WebsiteRmCmd - Remove a website and all its static content.

func WebsitesAddContentCmd

func WebsitesAddContentCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

WebsitesAddContentCmd - Add static content to a website.

func WebsitesCmd

func WebsitesCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

WebsitesCmd - Manage websites.

func WebsitesRmContent

func WebsitesRmContent(cmd *cobra.Command, con *console.SliverClient, args []string)

WebsitesRmContent - Remove static content from a website.

func WebsitesUpdateContentCmd

func WebsitesUpdateContentCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

WebsitesUpdateContentCmd - Update metadata about static website content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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