Add files via upload

This commit is contained in:
Bouletmarc 2022-10-31 00:24:39 -04:00 committed by GitHub
parent b4186ebb20
commit 64300d0c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 417 additions and 0 deletions

15
AssemblyInfo.cs Normal file
View File

@ -0,0 +1,15 @@
// Assembly DDDL KG, Version 1.0.0.0
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)]
[assembly: System.Reflection.AssemblyCopyright("Copyright \x00a9 Tecnologia Compartida 2011")]
[assembly: System.Reflection.AssemblyTitle("Detroit DDDL KG")]
[assembly: System.Reflection.AssemblyProduct("Detroit DDDL KG")]
[assembly: System.Reflection.AssemblyConfiguration("")]
[assembly: System.Runtime.InteropServices.Guid("6a9a6a50-4de5-4b22-b1b9-d52fa70e8010")]
[assembly: System.Reflection.AssemblyDescription("")]
[assembly: System.Reflection.AssemblyCompany("Tecnologia Compartida")]
[assembly: System.Runtime.InteropServices.ComVisible(false)]
[assembly: System.Reflection.AssemblyFileVersion("1.0.0.0")]
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
[assembly: System.Reflection.AssemblyTrademark("")]

14
Class0.cs Normal file
View File

@ -0,0 +1,14 @@
using System;
using System.Windows.Forms;
internal static class Class0
{
[STAThread]
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new dddl());
}
}

48
DDDL KG.csproj Normal file
View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<ProjectType>local</ProjectType>
<ProjectVersion>7.10.377</ProjectVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C6776D6D-5E3D-41CD-9566-1CF99AC38A3B}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<AssemblyName>DDDL KG</AssemblyName>
<OutputType>WinExe</OutputType>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Reference Include="System.Windows.Forms" />
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Compile Include="AssemblyInfo.cs" />
<Compile Include="Global.cs" />
<Compile Include="dddl.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Class0.cs" />
<Compile Include="Detroit_DDDL_KG\Properties\Settings.cs" />
<Compile Include="Detroit_DDDL_KG\Properties\Resources.cs" />
<EmbeddedResource Include="Detroit_DDDL_KG.Properties.Resources.resources" />
<EmbeddedResource Include="dddl.resources" />
</ItemGroup>
</Project>

25
DDDL KG.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29418.71
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DDDL KG", "DDDL KG.csproj", "{C6776D6D-5E3D-41CD-9566-1CF99AC38A3B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C6776D6D-5E3D-41CD-9566-1CF99AC38A3B}.Debug|x86.ActiveCfg = Debug|x86
{C6776D6D-5E3D-41CD-9566-1CF99AC38A3B}.Debug|x86.Build.0 = Debug|x86
{C6776D6D-5E3D-41CD-9566-1CF99AC38A3B}.Release|x86.ActiveCfg = Release|x86
{C6776D6D-5E3D-41CD-9566-1CF99AC38A3B}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {24EBEE5B-A59F-46B4-AE4D-A8A7B106761C}
EndGlobalSection
EndGlobal

Binary file not shown.

View File

@ -0,0 +1,44 @@
namespace Detroit_DDDL_KG.Properties
{
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.Resources;
using System.Runtime.CompilerServices;
[DebuggerNonUserCode, CompilerGenerated, GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
internal class Resources
{
private static System.Resources.ResourceManager resourceManager_0;
private static CultureInfo cultureInfo_0;
internal Resources()
{
}
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal static System.Resources.ResourceManager ResourceManager
{
get
{
if (resourceManager_0 == null)
{
resourceManager_0 = new System.Resources.ResourceManager("Detroit_DDDL_KG.Properties.Resources", typeof(Resources).Assembly);
}
return resourceManager_0;
}
}
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal static CultureInfo Culture
{
get =>
cultureInfo_0;
set =>
cultureInfo_0 = value;
}
}
}

View File

@ -0,0 +1,16 @@
namespace Detroit_DDDL_KG.Properties
{
using System.CodeDom.Compiler;
using System.Configuration;
using System.Runtime.CompilerServices;
[CompilerGenerated, GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed class Settings : ApplicationSettingsBase
{
private static Settings settings_0 = ((Settings) Synchronized(new Settings()));
public static Settings Default =>
settings_0;
}
}

1
Global.cs Normal file
View File

@ -0,0 +1 @@


BIN
bin/Debug/DDDL KG.exe Normal file

Binary file not shown.

BIN
bin/Debug/DDDL KG.pdb Normal file

Binary file not shown.

249
dddl.cs Normal file
View File

@ -0,0 +1,249 @@
using System;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.Text;
using System.Windows.Forms;
public class dddl : Form
{
private IContainer icontainer_0;
private ComboBox comboBox_0;
private ComboBox comboBox_1;
private TextBox textBox_0;
private Label label1;
private Label label2;
private Label label3;
private Label label4;
private Label label5;
private Label label6;
private TextBox pcid;
private TextBox textBox_1;
private Button button1;
private Label label7;
public dddl()
{
this.InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
byte num = 7;
string text = this.pcid.Text;
if ((this.pcid.Text != "00-00-00-00-00") && (text.Length == 14))
{
byte[] buffer = new byte[] { 0xff, 0xff, 0xff, 120, 0x67 };
byte[] buffer2 = smethod_0(text.Replace("-", ""));
buffer[0] = (byte) (buffer[0] ^ buffer[3]);
buffer[1] = (byte) (buffer[1] ^ buffer[4]);
buffer[2] = (byte) (buffer[2] ^ buffer[3]);
int index = 0;
while (true)
{
if (index >= 5)
{
int num4 = 0;
while (true)
{
if (num4 >= 5)
{
int num5 = 0;
while (true)
{
if (num5 >= 5)
{
string str2 = smethod_2(buffer, true);
this.textBox_1.Text = str2;
break;
}
buffer[num5] = (byte) (buffer[num5] ^ 0x69);
num5++;
}
break;
}
buffer[num4] = (byte) (buffer[num4] ^ num);
num4++;
}
break;
}
buffer[index] = (byte) (buffer[index] ^ buffer2[index]);
index++;
}
}
}
private void dddl_Load(object sender, EventArgs e)
{
this.comboBox_0.SelectedIndex = 0;
this.comboBox_1.SelectedIndex = 0;
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.icontainer_0 != null))
{
this.icontainer_0.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
ComponentResourceManager manager = new ComponentResourceManager(typeof(dddl));
this.comboBox_0 = new ComboBox();
this.comboBox_1 = new ComboBox();
this.textBox_0 = new TextBox();
this.label1 = new Label();
this.label2 = new Label();
this.label3 = new Label();
this.label4 = new Label();
this.label5 = new Label();
this.label6 = new Label();
this.pcid = new TextBox();
this.textBox_1 = new TextBox();
this.button1 = new Button();
this.label7 = new Label();
base.SuspendLayout();
this.comboBox_0.DropDownStyle = ComboBoxStyle.DropDownList;
this.comboBox_0.Enabled = false;
this.comboBox_0.FormattingEnabled = true;
object[] items = new object[] { "15", "14", "13", "12", "11", "10", "9", "8", "7", "6", "5", "4", "3", "2", "1" };
this.comboBox_0.Items.AddRange(items);
this.comboBox_0.Location = new Point(0x1d, 40);
this.comboBox_0.Name = "rl";
this.comboBox_0.Size = new Size(0x2e, 0x15);
this.comboBox_0.TabIndex = 0;
this.comboBox_1.DropDownStyle = ComboBoxStyle.DropDownList;
this.comboBox_1.Enabled = false;
this.comboBox_1.FormattingEnabled = true;
object[] objArray2 = new object[] { "15", "14", "13", "12", "11", "10", "9", "8", "7", "6", "5", "4", "3", "2", "1" };
this.comboBox_1.Items.AddRange(objArray2);
this.comboBox_1.Location = new Point(0x53, 40);
this.comboBox_1.Name = "wl";
this.comboBox_1.Size = new Size(0x2e, 0x15);
this.comboBox_1.TabIndex = 1;
this.textBox_0.Enabled = false;
this.textBox_0.Location = new Point(0x99, 0x29);
this.textBox_0.Name = "tb1";
this.textBox_0.Size = new Size(60, 20);
this.textBox_0.TabIndex = 2;
this.textBox_0.Text = "65535";
this.label1.AutoSize = true;
this.label1.Location = new Point(0x2a, 0x17);
this.label1.Name = "label1";
this.label1.Size = new Size(0x21, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Read";
this.label2.AutoSize = true;
this.label2.Location = new Point(0x54, 0x17);
this.label2.Name = "label2";
this.label2.Size = new Size(0x20, 13);
this.label2.TabIndex = 4;
this.label2.Text = "Write";
this.label3.AutoSize = true;
this.label3.Location = new Point(0x97, 0x17);
this.label3.Name = "label3";
this.label3.Size = new Size(0x3f, 13);
this.label3.TabIndex = 5;
this.label3.Text = "Expire Days";
this.label4.AutoSize = true;
this.label4.Location = new Point(0x49, 0x17);
this.label4.Name = "label4";
this.label4.Size = new Size(12, 13);
this.label4.TabIndex = 6;
this.label4.Text = "/";
this.label5.AutoSize = true;
this.label5.Location = new Point(0x1a, 0x41);
this.label5.Name = "label5";
this.label5.Size = new Size(0x42, 13);
this.label5.TabIndex = 7;
this.label5.Text = "Computer ID";
this.label6.AutoSize = true;
this.label6.Location = new Point(0x1a, 0x6a);
this.label6.Name = "label6";
this.label6.Size = new Size(70, 13);
this.label6.TabIndex = 8;
this.label6.Text = "Access Code";
this.pcid.Location = new Point(0x1c, 0x52);
this.pcid.Name = "pcid";
this.pcid.Size = new Size(100, 20);
this.pcid.TabIndex = 9;
this.pcid.Text = "00-00-00-00-00";
this.textBox_1.Location = new Point(0x1c, 0x7a);
this.textBox_1.Name = "tb2";
this.textBox_1.ReadOnly = true;
this.textBox_1.Size = new Size(100, 20);
this.textBox_1.TabIndex = 10;
this.button1.Location = new Point(0x9a, 0x52);
this.button1.Name = "button1";
this.button1.Size = new Size(60, 60);
this.button1.TabIndex = 11;
this.button1.Text = "Generate";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new EventHandler(this.button1_Click);
this.label7.AutoSize = true;
this.label7.ForeColor = Color.Silver;
this.label7.Location = new Point(140, 150);
this.label7.Name = "label7";
this.label7.Size = new Size(0x5d, 13);
this.label7.TabIndex = 12;
this.label7.Text = "Coded by C#4v32";
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
base.ClientSize = new Size(0xf4, 0xac);
base.Controls.Add(this.label7);
base.Controls.Add(this.button1);
base.Controls.Add(this.textBox_1);
base.Controls.Add(this.pcid);
base.Controls.Add(this.label6);
base.Controls.Add(this.label5);
base.Controls.Add(this.label4);
base.Controls.Add(this.label3);
base.Controls.Add(this.label2);
base.Controls.Add(this.label1);
base.Controls.Add(this.textBox_0);
base.Controls.Add(this.comboBox_1);
base.Controls.Add(this.comboBox_0);
base.FormBorderStyle = FormBorderStyle.FixedSingle;
base.Icon = (Icon) manager.GetObject("$this.Icon");
base.MaximizeBox = false;
base.Name = "dddl";
base.StartPosition = FormStartPosition.CenterScreen;
this.Text = "DDDL 7.0x";
base.Load += new EventHandler(this.dddl_Load);
base.ResumeLayout(false);
base.PerformLayout();
}
public static byte[] smethod_0(string string_0)
{
string_0 = string_0.Replace("-", "");
int num = string_0.Length / 2;
byte[] buffer = new byte[num];
for (int i = 0; i < num; i++)
{
buffer[i] = byte.Parse(string_0.Substring(i * 2, 2), NumberStyles.HexNumber, CultureInfo.InvariantCulture);
}
return buffer;
}
public static string smethod_1(byte[] byte_0) =>
smethod_2(byte_0, false);
public static string smethod_2(byte[] byte_0, bool bool_0)
{
StringBuilder builder = new StringBuilder();
for (int i = 0; i < byte_0.Length; i++)
{
object[] args = new object[] { byte_0[i] };
builder.Append(string.Format(CultureInfo.InvariantCulture, "{0:X2}", args));
if (bool_0 && (i < (byte_0.Length - 1)))
{
builder.Append("-");
}
}
return builder.ToString();
}
}

BIN
dddl.resources Normal file

Binary file not shown.

View File

@ -0,0 +1,5 @@
C:\Users\boule\Desktop\Detroit Diesel DDDL 7.05\KeyGen\project\obj\x86\Debug\DDDL KG.csprojAssemblyReference.cache
C:\Users\boule\Desktop\Detroit Diesel DDDL 7.05\KeyGen\project\bin\Debug\DDDL KG.exe
C:\Users\boule\Desktop\Detroit Diesel DDDL 7.05\KeyGen\project\bin\Debug\DDDL KG.pdb
C:\Users\boule\Desktop\Detroit Diesel DDDL 7.05\KeyGen\project\obj\x86\Debug\DDDL KG.exe
C:\Users\boule\Desktop\Detroit Diesel DDDL 7.05\KeyGen\project\obj\x86\Debug\DDDL KG.pdb

Binary file not shown.

BIN
obj/x86/Debug/DDDL KG.exe Normal file

Binary file not shown.

BIN
obj/x86/Debug/DDDL KG.pdb Normal file

Binary file not shown.