Skip to content

Instantly share code, notes, and snippets.

@0xswitch
Created March 31, 2018 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xswitch/5c424e2a88f57102cbb079f4ec970016 to your computer and use it in GitHub Desktop.
Save 0xswitch/5c424e2a88f57102cbb079f4ec970016 to your computer and use it in GitHub Desktop.
// Decompiled with JetBrains decompiler
// Type: AingeiRai5HahfeiThe2
// Assembly: AingeiRai5HahfeiThe2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 3B6074DF-714F-4105-BC14-49801EE8A52C
// Assembly location: C:\Users\switch\Desktop\NDH16\extract.exe
using System;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
[ComVisible(true)]
public class AingeiRai5HahfeiThe2 : Form
{
private int[] az5nieghahj0Iekah0ph = new int[22]
{
21,
91,
20,
0,
126,
0,
61,
24,
2,
82,
7,
17,
88,
22,
18,
21,
114,
117,
15,
80,
59,
24
};
private Button Aof0roo2eej3ahSh1eis;
private TextBox ta4vo2Ahk5yaep2oShuu;
private Label Xahhu2ieSh5ieFohPiGh;
private string Tai8Aip0ua3ULi6zo1je;
public AingeiRai5HahfeiThe2()
{
this.Jojei5ahyah2yah5laeK();
}
public void Aa6bi4uidan4shahSee9(string ain7aek2Thae3Boh7ohh)
{
this.Tai8Aip0ua3ULi6zo1je = ain7aek2Thae3Boh7ohh.Substring(ain7aek2Thae3Boh7ohh.Length - 22);
}
public void Joh8achoo1aepahjeiy9()
{
Application.Run((Form) this);
}
private void Jojei5ahyah2yah5laeK()
{
this.Aof0roo2eej3ahSh1eis = new Button();
this.ta4vo2Ahk5yaep2oShuu = new TextBox();
this.Xahhu2ieSh5ieFohPiGh = new Label();
this.SuspendLayout();
this.Aof0roo2eej3ahSh1eis.Location = new Point(12, 102);
this.Aof0roo2eej3ahSh1eis.Name = "btnOk";
this.Aof0roo2eej3ahSh1eis.Size = new Size(259, 23);
this.Aof0roo2eej3ahSh1eis.TabIndex = 0;
this.Aof0roo2eej3ahSh1eis.Text = "Validate";
this.Aof0roo2eej3ahSh1eis.UseVisualStyleBackColor = true;
this.Aof0roo2eej3ahSh1eis.Click += new EventHandler(this.Eey4jie0raer7Miiphuo);
this.ta4vo2Ahk5yaep2oShuu.Location = new Point(12, 39);
this.ta4vo2Ahk5yaep2oShuu.Name = "magicTxt";
this.ta4vo2Ahk5yaep2oShuu.Size = new Size(259, 20);
this.ta4vo2Ahk5yaep2oShuu.TabIndex = 1;
this.Xahhu2ieSh5ieFohPiGh.AutoSize = true;
this.Xahhu2ieSh5ieFohPiGh.Location = new Point(9, 9);
this.Xahhu2ieSh5ieFohPiGh.Name = "magicLbl";
this.Xahhu2ieSh5ieFohPiGh.Size = new Size(110, 13);
this.Xahhu2ieSh5ieFohPiGh.TabIndex = 2;
this.Xahhu2ieSh5ieFohPiGh.Text = "Enter the magic word:";
this.ClientSize = new Size(284, 138);
this.Controls.Add((Control) this.Xahhu2ieSh5ieFohPiGh);
this.Controls.Add((Control) this.ta4vo2Ahk5yaep2oShuu);
this.Controls.Add((Control) this.Aof0roo2eej3ahSh1eis);
this.Name = "SoStealthy";
this.ResumeLayout(false);
this.PerformLayout();
}
private bool MeeBish0iotho9biBuJi(string magicWord)
{
for (int index = 0; index < this.Tai8Aip0ua3ULi6zo1je.Length; ++index)
{
if ((long) ((uint) magicWord[index] ^ (uint) this.Tai8Aip0ua3ULi6zo1je[index]) != (long) this.az5nieghahj0Iekah0ph[index])
return false;
}
return true;
}
private void Eey4jie0raer7Miiphuo(object ahrah0iwoChohs2dai4a, EventArgs ahH5eedeiYohquei8goo)
{
if (Debugger.IsAttached)
{
int num1 = (int) MessageBox.Show("Don't try your dirty tricks on me!");
}
else if (this.ta4vo2Ahk5yaep2oShuu.Text.Length == 0)
{
int num2 = (int) MessageBox.Show("You must fill this field!");
}
else if (this.MeeBish0iotho9biBuJi(this.ta4vo2Ahk5yaep2oShuu.Text))
{
int num3 = (int) MessageBox.Show("SUCCESS !\nSubmit NDH{" + this.ta4vo2Ahk5yaep2oShuu.Text + "} to validate.");
}
else
{
int num4 = (int) MessageBox.Show("YOU DIDN'T SAY THE MAGIC WORD !!!");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment