Release 2.2.1

This commit is contained in:
wh1te909 2022-08-01 15:44:59 -07:00
commit f6ec32a8d6
5 changed files with 9 additions and 9 deletions

View File

@ -147,7 +147,7 @@ func (a *Agent) RunScript(code string, shell string, args []string, timeout int,
var timedOut = false var timedOut = false
cmd := exec.Command(exe, cmdArgs...) cmd := exec.Command(exe, cmdArgs...)
if runasuser { if runasuser {
token, err := wintoken.GetInteractiveToken(wintoken.TokenLinked) token, err := wintoken.GetInteractiveToken(wintoken.TokenImpersonation)
if err != nil { if err != nil {
return "", err.Error(), 66, err return "", err.Error(), 66, err
} }
@ -277,7 +277,7 @@ func CMDShell(shell string, cmdArgs []string, command string, timeout int, detac
} }
if runasuser { if runasuser {
token, err := wintoken.GetInteractiveToken(wintoken.TokenLinked) token, err := wintoken.GetInteractiveToken(wintoken.TokenImpersonation)
if err != nil { if err != nil {
return [2]string{"", CleanString(err.Error())}, err return [2]string{"", CleanString(err.Error())}, err
} }

View File

@ -3,7 +3,7 @@
<assemblyIdentity <assemblyIdentity
type="win32" type="win32"
name="TacticalRMM" name="TacticalRMM"
version="2.2.0.0" version="2.2.1.0"
processorArchitecture="*"/> processorArchitecture="*"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security> <security>

View File

@ -1,5 +1,5 @@
#define MyAppName "Tactical RMM Agent" #define MyAppName "Tactical RMM Agent"
#define MyAppVersion "2.2.0" #define MyAppVersion "2.2.1"
#define MyAppPublisher "AmidaWare LLC" #define MyAppPublisher "AmidaWare LLC"
#define MyAppURL "https://github.com/amidaware" #define MyAppURL "https://github.com/amidaware"
#define MyAppExeName "tacticalrmm.exe" #define MyAppExeName "tacticalrmm.exe"

View File

@ -25,7 +25,7 @@ import (
) )
var ( var (
version = "2.2.0" version = "2.2.1"
log = logrus.New() log = logrus.New()
logFile *os.File logFile *os.File
) )

View File

@ -3,13 +3,13 @@
"FileVersion": { "FileVersion": {
"Major": 2, "Major": 2,
"Minor": 2, "Minor": 2,
"Patch": 0, "Patch": 1,
"Build": 0 "Build": 0
}, },
"ProductVersion": { "ProductVersion": {
"Major": 2, "Major": 2,
"Minor": 2, "Minor": 2,
"Patch": 0, "Patch": 1,
"Build": 0 "Build": 0
}, },
"FileFlagsMask": "3f", "FileFlagsMask": "3f",
@ -22,14 +22,14 @@
"Comments": "", "Comments": "",
"CompanyName": "AmidaWare LLC", "CompanyName": "AmidaWare LLC",
"FileDescription": "Tactical RMM Agent", "FileDescription": "Tactical RMM Agent",
"FileVersion": "v2.2.0.0", "FileVersion": "v2.2.1.0",
"InternalName": "tacticalrmm.exe", "InternalName": "tacticalrmm.exe",
"LegalCopyright": "Copyright (c) 2022 AmidaWare LLC", "LegalCopyright": "Copyright (c) 2022 AmidaWare LLC",
"LegalTrademarks": "", "LegalTrademarks": "",
"OriginalFilename": "tacticalrmm.exe", "OriginalFilename": "tacticalrmm.exe",
"PrivateBuild": "", "PrivateBuild": "",
"ProductName": "Tactical RMM Agent", "ProductName": "Tactical RMM Agent",
"ProductVersion": "v2.2.0.0", "ProductVersion": "v2.2.1.0",
"SpecialBuild": "" "SpecialBuild": ""
}, },
"VarFileInfo": { "VarFileInfo": {