Documentation ¶
Index ¶
- Constants
- Variables
- func CheckExistsProcess(name string) (bool, int)
- func CheckForAdmin() bool
- func Clean()
- func Close()
- func CloseLogFile()
- func CloseProcess(name string)
- func DecXOR(str1, str2 string) (string, bool)
- func EncXOR(str1, str2 string) string
- func ExtractZip(arch string, out string) bool
- func GetAlert() string
- func GetHttpClient() *http.Client
- func GetHttpServerAddress() string
- func GetInfoOS() string
- func GetLocalHttpServerAddress() string
- func GetLocalServerAddress() string
- func GetMac() string
- func GetMainServerAddress() string
- func GetParentFolder() string
- func GetSHA256(str string) string
- func GetVNCAddress() string
- func HelperService()
- func LoadOptions() error
- func RandInt(min int, max int) int
- func RandomNumber(l int) string
- func RandomString(l int) string
- func ReOpenLogFile()
- func Reload()
- func RestartSystem() bool
- func RotateLogFiles()
- func SaveOptions() bool
- func SetAlert(message string)
- func SetDefaultOptions()
- type Contact
- type Profile
Constants ¶
View Source
const ( WhiteLabelName = "reVisit" WhiteLabelFileName = "admin.exe" WhiteLabelCommunicatorFileName = "communicator.exe" RevisitVersion = "1.20" DefaultMainServerName = "server.rvisit.net" DefaultNumberPassword = false WaitCountRestartSrv = 10 WaitCount = 15 WaitIdle = 500 WaitAfterConnect = 250 WaitSendMess = 50 WaitPing = 10 MaxEncPass = 48 LengthPass = 6 LengthToken = 16 HttpTimeout = 30 )
Variables ¶
View Source
var ( //конфиг тут храним Options options Flags = flags{ ReInstallVNC: false, Reload: false, Terminated: false, Password: false, ChRefreshAgents: make(chan bool), } //текстовая расшифровка статических сообщений MessStaticText = []string{ "пустое сообщение", "ошибка сети", "ошибка прокси", "ошибка авторизации", "ошибка VNC", "ошибка времени ожидания", "отсутствует пир", "не правильный тип подключения", "ошибка авторизации", "учетная запись занята", "не удалось отправить письмо", "регистрация выполнена"} )
Functions ¶
func CheckExistsProcess ¶
func CheckForAdmin ¶
func CheckForAdmin() bool
func CloseLogFile ¶
func CloseLogFile()
func CloseProcess ¶
func CloseProcess(name string)
func ExtractZip ¶
func GetHttpClient ¶
func GetHttpServerAddress ¶
func GetHttpServerAddress() string
func GetLocalHttpServerAddress ¶
func GetLocalHttpServerAddress() string
func GetLocalServerAddress ¶
func GetLocalServerAddress() string
func GetMainServerAddress ¶
func GetMainServerAddress() string
func GetParentFolder ¶
func GetParentFolder() string
func GetVNCAddress ¶
func GetVNCAddress() string
func HelperService ¶
func HelperService()
func LoadOptions ¶
func LoadOptions() error
func RandomNumber ¶
func RandomString ¶
func ReOpenLogFile ¶
func ReOpenLogFile()
func RestartSystem ¶
func RestartSystem() bool
func RotateLogFiles ¶
func RotateLogFiles()
func SaveOptions ¶
func SaveOptions() bool
func SetDefaultOptions ¶
func SetDefaultOptions()
Types ¶
Click to show internal directories.
Click to hide internal directories.