mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-21 02:46:10 +00:00
f2ac1ece55
add
77 lines
2.5 KiB
C#
77 lines
2.5 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Facebook_Hacker_V._9.My.MySettings
|
|
// Assembly: Facebook_Hacker_V._9, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: CFD63BAC-76DE-4D07-BDC2-B460826D976D
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.Win32.Koobface.a-7b67369767465c4cc73553b90c445907f437ba1ed890c405e2e6b415ec618332.exe
|
|
|
|
using Microsoft.VisualBasic.ApplicationServices;
|
|
using Microsoft.VisualBasic.CompilerServices;
|
|
using System;
|
|
using System.CodeDom.Compiler;
|
|
using System.ComponentModel;
|
|
using System.Configuration;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Threading;
|
|
|
|
namespace Facebook_Hacker_V._9.My
|
|
{
|
|
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
|
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
|
[CompilerGenerated]
|
|
internal sealed class MySettings : ApplicationSettingsBase
|
|
{
|
|
private static MySettings defaultInstance = (MySettings) SettingsBase.Synchronized((SettingsBase) new MySettings());
|
|
private static bool addedHandler;
|
|
private static object addedHandlerLockObject = RuntimeHelpers.GetObjectValue(new object());
|
|
|
|
[DebuggerNonUserCode]
|
|
public MySettings()
|
|
{
|
|
}
|
|
|
|
[DebuggerNonUserCode]
|
|
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
|
private static void AutoSaveSettings(object sender, EventArgs e)
|
|
{
|
|
if (!MyProject.Application.SaveMySettingsOnExit)
|
|
return;
|
|
MySettingsProperty.Settings.Save();
|
|
}
|
|
|
|
public static MySettings Default
|
|
{
|
|
get
|
|
{
|
|
if (!MySettings.addedHandler)
|
|
{
|
|
object handlerLockObject = MySettings.addedHandlerLockObject;
|
|
ObjectFlowControl.CheckForSyncLockOnValueType(handlerLockObject);
|
|
bool lockTaken = false;
|
|
try
|
|
{
|
|
Monitor.Enter(handlerLockObject, ref lockTaken);
|
|
if (!MySettings.addedHandler)
|
|
{
|
|
MyProject.Application.Shutdown += (ShutdownEventHandler) ((sender, e) =>
|
|
{
|
|
if (!MyProject.Application.SaveMySettingsOnExit)
|
|
return;
|
|
MySettingsProperty.Settings.Save();
|
|
});
|
|
MySettings.addedHandler = true;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (lockTaken)
|
|
Monitor.Exit(handlerLockObject);
|
|
}
|
|
}
|
|
MySettings defaultInstance = MySettings.defaultInstance;
|
|
return defaultInstance;
|
|
}
|
|
}
|
|
}
|
|
}
|