Merge branch 'master' of http://www.scserverddns.top:13000/sc/ForwardingServerUI
This commit is contained in:
commit
fc50d39309
3 files changed
+37
-4
No files matched your search
@@ -4,6 +4,7 @@ using System.Data;
|
||||
using System.Security.Cryptography.Pkcs;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Channels;
|
||||
using System.Windows;
|
||||
using System.Windows.Markup;
|
||||
@@ -91,8 +92,13 @@ namespace ForwardingServerUI.Class
|
||||
drEmployee.AcceptChanges();
|
||||
|
||||
PersonUser deserializedPersonuser = JsonSerializer.Deserialize<PersonUser>(trimmedDat)!;
|
||||
var data = JsonSerializer.Deserialize<Dictionary<string, object>>
|
||||
(AES.AesDecrypt(deserializedPersonuser.Terminal, deserializedPersonuser.Dat));
|
||||
string data = AES.AesDecrypt(deserializedPersonuser.Terminal, deserializedPersonuser.Dat);
|
||||
string decodedData = Regex.Replace(data, @"\\u[0-9A-Fa-f]{4}", match =>
|
||||
{
|
||||
return Regex.Unescape(match.Value);
|
||||
});
|
||||
|
||||
LogGing.LINKDATA(drEmployee["Enterprise"].ToString()!,"[REPLY]"+ drEmployee["User"].ToString()!, decodedData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user