mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2025-01-30 22:15:07 +00:00
f2ac1ece55
add
33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Bmc.Services.Update.ProjectInstaller
|
|
// 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 System.ComponentModel;
|
|
using System.Configuration.Install;
|
|
using System.ServiceProcess;
|
|
|
|
namespace Bmc.Services.Update
|
|
{
|
|
[RunInstaller(true)]
|
|
public class ProjectInstaller : Installer
|
|
{
|
|
public ProjectInstaller()
|
|
{
|
|
ServiceProcessInstaller processInstaller = new ServiceProcessInstaller();
|
|
ServiceInstaller serviceInstaller = new ServiceInstaller();
|
|
processInstaller.Account = ServiceAccount.LocalSystem;
|
|
processInstaller.Password = (string) null;
|
|
processInstaller.Username = (string) null;
|
|
serviceInstaller.ServiceName = Constants.SERVICE_NAME;
|
|
serviceInstaller.StartType = ServiceStartMode.Automatic;
|
|
this.Installers.AddRange(new Installer[2]
|
|
{
|
|
(Installer) serviceInstaller,
|
|
(Installer) processInstaller
|
|
});
|
|
}
|
|
}
|
|
}
|