enums

package
v0.0.0-...-70aaee8 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DangerousCommand  = "The %s command can be dangerous to use remotely"
	CantReadOutputCmd = "I cannot read the output of the command: %s"
	CantSendOutputCmd = "I cannot send the output of the command: %s"
	CantCloseFile     = "I cannot close the file: %s"
	CantWriteFile     = "I cannot write to the file: %s"
	ParamsRequired    = "Token and command required"
	WrongToken        = "The indicated token is invalid"
	CantClearTerminal = "I cannot delete the terminal: %s"
	CantStartServer   = "I cannot initialize the server: %s"
	CantSaveLog       = "I cannot save log:  %s"
	CommandNotFound   = "Command \"%s\" was not found"
)
View Source
var (
	// Debian lists commands that can be dangerous when used remotely by code.
	Debian = []string{
		"rm",
		"dd",
		"echo",
		"chmod",
		"shutdown",
		"reboot",
		"wget",
		"mv",
		"chown",
		"iptables",
		"kill",
		"dkpg",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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