【实验吧】Just Click

拿到答案需要正确地点击按钮
格式:simCTF{ }

解题链接: http://ctf5.shiyanbar.com/re/rev4.exe 

由于最近在学数据库是c#编程,发现是c#,于是用.net refletor打开:

private void btn_Checker(int para)
{
    int[] numArray = new int[] { 0, 1, 3, 4, 2, 1, 2, 3, 4 };
    if (this.hit < 8)
    {
        this.hit++;
    }
    else
    {
        base.Close();
    }
    if (this.first)
    {
        this.tb1.Text = "";
        this.first = false;
    }
    if (numArray[this.hit] == para)
    {
        this.correct++;
    }
    if (this.correct == 8)
    {
        MessageBox.Show("Succeed!");
        TextBlock block = this.tb1;
        string[] textArray1 = new string[] { block.Text, this.sp1.Tag.ToString(), this.sp2.Tag.ToString(), this.sp3.Tag.ToString(), this.sp4.Tag.ToString() };
        block.Text = string.Concat(textArray1);
    }
}

 于是需要按照0, 1, 3, 4, 2, 1, 2, 3, 4的顺序点击按钮:

可是flag是:

simCTF{Easy_To_Get_Flag_From_DotNET}

原文地址:https://www.cnblogs.com/liuyimin/p/7570949.html