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.
Click to show internal directories.
Click to hide internal directories.