MalwareSourceCode/MSIL/Trojan/Win32/P/Trojan.Win32.Patched.mf-9c4f7eb57e580673b883e57f31931bcbce8bd5d8de1a509a25b8b5a175335d9f/Services/BmcCredentialFactory.cs

23 lines
930 B
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: Bmc.Services.BmcCredentialFactory
// Assembly: updateservice, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A6A1FC23-14F7-4CCE-B702-0F9FFD2CD5AC
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan.Win32.Patched.mf-9c4f7eb57e580673b883e57f31931bcbce8bd5d8de1a509a25b8b5a175335d9f.exe
using Bmc.RegistryAccess.Ticket;
using Bmc.Services.Ticket;
using Net.LShift.Utilities;
using System.Net;
namespace Bmc.Services
{
public class BmcCredentialFactory : ICredentialFactory
{
private SecureStateManager SecureStateManager;
public BmcCredentialFactory(SecureStateManager SecureStateManager) => this.SecureStateManager = SecureStateManager;
public NetworkCredential GetCredential() => new NetworkCredential(this.SecureStateManager[(SECURE_FIELD) 0], this.SecureStateManager[(SECURE_FIELD) 2], (string) null);
}
}