-
-
[原创]第一题WP
-
发表于: 2019-12-2 10:31 2192
-
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | int __thiscall sub_401830(CWnd * this ) { struct CString *v1; // ST08_4 CWnd *v2; // eax int v3; // eax char Str1[8]; // [esp+4Ch] [ebp-18h] int i; // [esp+54h] [ebp-10h] const char *v7; // [esp+58h] [ebp-Ch] char *Str; // [esp+5Ch] [ebp-8h] CWnd *v9; // [esp+60h] [ebp-4h] v9 = this ; v1 = (CWnd *)(( char *) this + 100); v2 = CWnd::GetDlgItem( this , 1002); CWnd::GetWindowTextA(v2, v1); v3 = sub_401970(( char *)v9 + 100); Str = CString::GetBuffer((CWnd *)(( char *)v9 + 100), v3); if ( ! strlen (Str) ) return CWnd::MessageBoxA(v9, "请输入password!" , 0, 0); v7 = "cuk!ogl" ; for ( i = 0; Str[i]; ++i ) { if ( Str[i] > 57 || Str[i] < 48 ) sub_4017B0(); else Str1[i] = v7[Str[i] - 48]; } Str1[i] = 0; return sub_4017F0(Str1); } |
1 2 3 4 5 6 7 8 9 10 | int __cdecl sub_4017F0( char *Str1) { int result; // eax if ( ! strcmp (Str1, "goluck!" ) ) result = sub_401770(); else result = sub_4017B0(); return result; } |
这个几乎就是源码,一看代码就知道了
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
他的文章
- [原创]第一题WP 2193
- [原创]第四题:西部乐园赛题 2651
- [原创]2019ctfQ2第六题 2863
- [原创]Q2第一题wp 2179
赞赏
雪币:
留言: