Skip to content

Commit 56a6703

Browse files
Add files via upload
1 parent c23035f commit 56a6703

File tree

54 files changed

+1426
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1426
-0
lines changed

LNK Exploit/Lnk-Compiler.exe

5 KB
Binary file not shown.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.7.34221.43
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Lnk-Compiler", "Lnk-Compiler\Lnk-Compiler.csproj", "{C3283C68-CE8A-4D80-AEA9-DB15AF8ABDCB}"
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+
{C3283C68-CE8A-4D80-AEA9-DB15AF8ABDCB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{C3283C68-CE8A-4D80-AEA9-DB15AF8ABDCB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{C3283C68-CE8A-4D80-AEA9-DB15AF8ABDCB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{C3283C68-CE8A-4D80-AEA9-DB15AF8ABDCB}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {337D2112-2B27-478F-B310-D62E701FA7A3}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net46</TargetFramework>
6+
<RootNamespace>Millenium_Compiler</RootNamespace>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System;
2+
using System.IO;
3+
4+
internal class Program
5+
{
6+
[STAThread]
7+
private static void Main(string[] args)
8+
{
9+
string icon = "";
10+
11+
if (File.Exists("src\\icon.ico")&&File.Exists("cleansrc\\main.py")&&Directory.Exists("src"))
12+
{
13+
icon = Convert.ToBase64String(File.ReadAllBytes("src\\icon.ico"));
14+
string textToAppend = File.ReadAllText("cleansrc\\\\main.py");
15+
textToAppend = textToAppend.Replace("icon = \"\"", "icon = \"" + icon + "\"");
16+
File.WriteAllText("src\\main.py", textToAppend);
17+
System.Diagnostics.Process.Start("build.bat");
18+
}
19+
else
20+
{
21+
Console.WriteLine("Some of the necessary files is missing");
22+
string a = Console.ReadLine();
23+
}
24+
}
25+
}
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
5+
</startup>
6+
</configuration>
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// Этот код создан программой.
4+
// Исполняемая версия:4.0.30319.42000
5+
//
6+
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
7+
// повторной генерации кода.
8+
// </auto-generated>
9+
//------------------------------------------------------------------------------
10+
11+
using System;
12+
using System.Reflection;
13+
14+
[assembly: System.Reflection.AssemblyCompanyAttribute("Lnk-Compiler")]
15+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
16+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
17+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
18+
[assembly: System.Reflection.AssemblyProductAttribute("Lnk-Compiler")]
19+
[assembly: System.Reflection.AssemblyTitleAttribute("Lnk-Compiler")]
20+
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
21+
22+
// Создано классом WriteCodeFragment MSBuild.
23+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6bc8d4b24542cc8ed4782776dba533bb50ec5e2c
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
is_global = true
2+
build_property.RootNamespace = Millenium_Compiler
3+
build_property.ProjectDir = C:\Users\attat\OneDrive\Документы\GitHub\LNK Exploit for Public\LNK Exploit (source code)\Lnk-Compiler\Lnk-Compiler\

0 commit comments

Comments
 (0)