Skip to content

Commit 7258273

Browse files
committed
Add CrackMe01
1 parent 6d29323 commit 7258273

12 files changed

+6682
-0
lines changed

CrackMe01/CrackMe.sln

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.1022
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CrackMe", "CrackMe\CrackMe.vcxproj", "{81AA071F-A651-439D-B58E-92BABA0488DE}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Debug|x64.ActiveCfg = Debug|x64
17+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Debug|x64.Build.0 = Debug|x64
18+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Debug|x86.ActiveCfg = Debug|Win32
19+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Debug|x86.Build.0 = Debug|Win32
20+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Release|x64.ActiveCfg = Release|x64
21+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Release|x64.Build.0 = Release|x64
22+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Release|x86.ActiveCfg = Release|Win32
23+
{81AA071F-A651-439D-B58E-92BABA0488DE}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {2D4047B4-3D31-4D80-B9C7-2C7737531CA7}
30+
EndGlobalSection
31+
EndGlobal

CrackMe01/CrackMe/AboutForm.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include "AboutForm.h"
2+

CrackMe01/CrackMe/AboutForm.h

+251
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,251 @@
1+
#pragma once
2+
3+
namespace CrackMe {
4+
5+
using namespace System;
6+
using namespace System::ComponentModel;
7+
using namespace System::Collections;
8+
using namespace System::Windows::Forms;
9+
using namespace System::Data;
10+
using namespace System::Drawing;
11+
12+
/// <summary>
13+
/// Summary for AboutForm
14+
/// </summary>
15+
public ref class AboutForm : public System::Windows::Forms::Form
16+
{
17+
public:
18+
AboutForm(void)
19+
{
20+
InitializeComponent();
21+
//
22+
//TODO: Add the constructor code here
23+
//
24+
}
25+
26+
protected:
27+
/// <summary>
28+
/// Clean up any resources being used.
29+
/// </summary>
30+
~AboutForm()
31+
{
32+
if (components)
33+
{
34+
delete components;
35+
}
36+
}
37+
private: System::Windows::Forms::Label^ labelLevelContent;
38+
private: System::Windows::Forms::Label^ labelLevel;
39+
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel1;
40+
private: System::Windows::Forms::Label^ labelAuthor;
41+
private: System::Windows::Forms::Label^ labelAuthorContent;
42+
private: System::Windows::Forms::Label^ labelDeadline;
43+
private: System::Windows::Forms::Label^ labelDeadlineContent;
44+
private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel2;
45+
private: System::Windows::Forms::Button^ buttonAboutOK;
46+
private: System::Windows::Forms::Label^ labelinstruction;
47+
private: System::Windows::Forms::Label^ labelinstructionContent;
48+
private: System::Windows::Forms::Panel^ panel1;
49+
private:
50+
/// <summary>
51+
/// Required designer variable.
52+
/// </summary>
53+
System::ComponentModel::Container ^components;
54+
55+
#pragma region Windows Form Designer generated code
56+
/// <summary>
57+
/// Required method for Designer support - do not modify
58+
/// the contents of this method with the code editor.
59+
/// </summary>
60+
void InitializeComponent(void)
61+
{
62+
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(AboutForm::typeid));
63+
this->labelLevelContent = (gcnew System::Windows::Forms::Label());
64+
this->labelLevel = (gcnew System::Windows::Forms::Label());
65+
this->tableLayoutPanel1 = (gcnew System::Windows::Forms::TableLayoutPanel());
66+
this->labelAuthor = (gcnew System::Windows::Forms::Label());
67+
this->labelAuthorContent = (gcnew System::Windows::Forms::Label());
68+
this->labelDeadline = (gcnew System::Windows::Forms::Label());
69+
this->labelDeadlineContent = (gcnew System::Windows::Forms::Label());
70+
this->labelinstruction = (gcnew System::Windows::Forms::Label());
71+
this->labelinstructionContent = (gcnew System::Windows::Forms::Label());
72+
this->tableLayoutPanel2 = (gcnew System::Windows::Forms::TableLayoutPanel());
73+
this->buttonAboutOK = (gcnew System::Windows::Forms::Button());
74+
this->panel1 = (gcnew System::Windows::Forms::Panel());
75+
this->tableLayoutPanel1->SuspendLayout();
76+
this->tableLayoutPanel2->SuspendLayout();
77+
this->panel1->SuspendLayout();
78+
this->SuspendLayout();
79+
//
80+
// labelLevelContent
81+
//
82+
this->labelLevelContent->Anchor = System::Windows::Forms::AnchorStyles::Left;
83+
this->labelLevelContent->AutoSize = true;
84+
this->labelLevelContent->Location = System::Drawing::Point(91, 10);
85+
this->labelLevelContent->Name = L"labelLevelContent";
86+
this->labelLevelContent->Size = System::Drawing::Size(13, 13);
87+
this->labelLevelContent->TabIndex = 2;
88+
this->labelLevelContent->Text = L"1";
89+
//
90+
// labelLevel
91+
//
92+
this->labelLevel->Anchor = System::Windows::Forms::AnchorStyles::Right;
93+
this->labelLevel->AutoSize = true;
94+
this->labelLevel->Location = System::Drawing::Point(49, 10);
95+
this->labelLevel->Name = L"labelLevel";
96+
this->labelLevel->Size = System::Drawing::Size(36, 13);
97+
this->labelLevel->TabIndex = 0;
98+
this->labelLevel->Text = L"Level:";
99+
//
100+
// tableLayoutPanel1
101+
//
102+
this->tableLayoutPanel1->ColumnCount = 2;
103+
this->tableLayoutPanel1->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
104+
35)));
105+
this->tableLayoutPanel1->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
106+
65)));
107+
this->tableLayoutPanel1->Controls->Add(this->labelLevel, 0, 0);
108+
this->tableLayoutPanel1->Controls->Add(this->labelAuthor, 0, 1);
109+
this->tableLayoutPanel1->Controls->Add(this->labelLevelContent, 1, 0);
110+
this->tableLayoutPanel1->Controls->Add(this->labelAuthorContent, 1, 1);
111+
this->tableLayoutPanel1->Controls->Add(this->labelDeadline, 0, 2);
112+
this->tableLayoutPanel1->Controls->Add(this->labelDeadlineContent, 1, 2);
113+
this->tableLayoutPanel1->Controls->Add(this->labelinstruction, 0, 3);
114+
this->tableLayoutPanel1->Controls->Add(this->labelinstructionContent, 1, 3);
115+
this->tableLayoutPanel1->Dock = System::Windows::Forms::DockStyle::Fill;
116+
this->tableLayoutPanel1->Location = System::Drawing::Point(0, 0);
117+
this->tableLayoutPanel1->Name = L"tableLayoutPanel1";
118+
this->tableLayoutPanel1->RowCount = 4;
119+
this->tableLayoutPanel1->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
120+
this->tableLayoutPanel1->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
121+
this->tableLayoutPanel1->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
122+
this->tableLayoutPanel1->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 25)));
123+
this->tableLayoutPanel1->Size = System::Drawing::Size(253, 139);
124+
this->tableLayoutPanel1->TabIndex = 0;
125+
//
126+
// labelAuthor
127+
//
128+
this->labelAuthor->Anchor = System::Windows::Forms::AnchorStyles::Right;
129+
this->labelAuthor->AutoSize = true;
130+
this->labelAuthor->Location = System::Drawing::Point(44, 44);
131+
this->labelAuthor->Name = L"labelAuthor";
132+
this->labelAuthor->Size = System::Drawing::Size(41, 13);
133+
this->labelAuthor->TabIndex = 1;
134+
this->labelAuthor->Text = L"Author:";
135+
//
136+
// labelAuthorContent
137+
//
138+
this->labelAuthorContent->Anchor = System::Windows::Forms::AnchorStyles::Left;
139+
this->labelAuthorContent->AutoSize = true;
140+
this->labelAuthorContent->Location = System::Drawing::Point(91, 44);
141+
this->labelAuthorContent->Name = L"labelAuthorContent";
142+
this->labelAuthorContent->Size = System::Drawing::Size(123, 13);
143+
this->labelAuthorContent->TabIndex = 3;
144+
this->labelAuthorContent->Text = L"ClaimToFame CTF 20XX";
145+
//
146+
// labelDeadline
147+
//
148+
this->labelDeadline->Anchor = System::Windows::Forms::AnchorStyles::Right;
149+
this->labelDeadline->AutoSize = true;
150+
this->labelDeadline->Location = System::Drawing::Point(33, 78);
151+
this->labelDeadline->Name = L"labelDeadline";
152+
this->labelDeadline->Size = System::Drawing::Size(52, 13);
153+
this->labelDeadline->TabIndex = 4;
154+
this->labelDeadline->Text = L"Deadline:";
155+
//
156+
// labelDeadlineContent
157+
//
158+
this->labelDeadlineContent->Anchor = System::Windows::Forms::AnchorStyles::Left;
159+
this->labelDeadlineContent->AutoSize = true;
160+
this->labelDeadlineContent->Location = System::Drawing::Point(91, 78);
161+
this->labelDeadlineContent->Name = L"labelDeadlineContent";
162+
this->labelDeadlineContent->Size = System::Drawing::Size(83, 13);
163+
this->labelDeadlineContent->TabIndex = 5;
164+
this->labelDeadlineContent->Text = L"25th Dec, 20XX";
165+
//
166+
// labelinstruction
167+
//
168+
this->labelinstruction->Anchor = System::Windows::Forms::AnchorStyles::Right;
169+
this->labelinstruction->AutoSize = true;
170+
this->labelinstruction->Location = System::Drawing::Point(26, 114);
171+
this->labelinstruction->Name = L"labelinstruction";
172+
this->labelinstruction->Size = System::Drawing::Size(59, 13);
173+
this->labelinstruction->TabIndex = 6;
174+
this->labelinstruction->Text = L"Instruction:";
175+
//
176+
// labelinstructionContent
177+
//
178+
this->labelinstructionContent->Anchor = System::Windows::Forms::AnchorStyles::Left;
179+
this->labelinstructionContent->AutoSize = true;
180+
this->labelinstructionContent->Location = System::Drawing::Point(91, 114);
181+
this->labelinstructionContent->Name = L"labelinstructionContent";
182+
this->labelinstructionContent->Size = System::Drawing::Size(117, 13);
183+
this->labelinstructionContent->TabIndex = 7;
184+
this->labelinstructionContent->Text = L"Get the valid serial key!";
185+
//
186+
// tableLayoutPanel2
187+
//
188+
this->tableLayoutPanel2->ColumnCount = 1;
189+
this->tableLayoutPanel2->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
190+
50)));
191+
this->tableLayoutPanel2->Controls->Add(this->buttonAboutOK, 0, 0);
192+
this->tableLayoutPanel2->Dock = System::Windows::Forms::DockStyle::Bottom;
193+
this->tableLayoutPanel2->Location = System::Drawing::Point(0, 158);
194+
this->tableLayoutPanel2->Name = L"tableLayoutPanel2";
195+
this->tableLayoutPanel2->RowCount = 1;
196+
this->tableLayoutPanel2->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent, 50)));
197+
this->tableLayoutPanel2->Size = System::Drawing::Size(279, 34);
198+
this->tableLayoutPanel2->TabIndex = 1;
199+
//
200+
// buttonAboutOK
201+
//
202+
this->buttonAboutOK->Anchor = System::Windows::Forms::AnchorStyles::None;
203+
this->buttonAboutOK->Location = System::Drawing::Point(102, 5);
204+
this->buttonAboutOK->Name = L"buttonAboutOK";
205+
this->buttonAboutOK->Size = System::Drawing::Size(75, 23);
206+
this->buttonAboutOK->TabIndex = 0;
207+
this->buttonAboutOK->Text = L"OK";
208+
this->buttonAboutOK->UseVisualStyleBackColor = true;
209+
this->buttonAboutOK->Click += gcnew System::EventHandler(this, &AboutForm::buttonAboutOK_Click);
210+
//
211+
// panel1
212+
//
213+
this->panel1->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
214+
this->panel1->Controls->Add(this->tableLayoutPanel1);
215+
this->panel1->Location = System::Drawing::Point(12, 12);
216+
this->panel1->Name = L"panel1";
217+
this->panel1->Size = System::Drawing::Size(255, 141);
218+
this->panel1->TabIndex = 2;
219+
//
220+
// AboutForm
221+
//
222+
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
223+
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
224+
this->ClientSize = System::Drawing::Size(279, 192);
225+
this->Controls->Add(this->panel1);
226+
this->Controls->Add(this->tableLayoutPanel2);
227+
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::Fixed3D;
228+
this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon")));
229+
this->MaximizeBox = false;
230+
this->MinimizeBox = false;
231+
this->Name = L"AboutForm";
232+
this->ShowInTaskbar = false;
233+
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
234+
this->Text = L"About";
235+
this->Load += gcnew System::EventHandler(this, &AboutForm::AboutForm_Load);
236+
this->tableLayoutPanel1->ResumeLayout(false);
237+
this->tableLayoutPanel1->PerformLayout();
238+
this->tableLayoutPanel2->ResumeLayout(false);
239+
this->panel1->ResumeLayout(false);
240+
this->ResumeLayout(false);
241+
242+
}
243+
#pragma endregion
244+
private: System::Void AboutForm_Load(System::Object^ sender, System::EventArgs^ e) {
245+
}
246+
247+
private: System::Void buttonAboutOK_Click(System::Object^ sender, System::EventArgs^ e) {
248+
this->Close();
249+
}
250+
};
251+
}

0 commit comments

Comments
 (0)