򾺲*

 һܴa
 ע

QQ

ֻһ_ʼ

1234һ
б l
鿴: 1653|؏: 31
ӡ һ} һ}

nba篮彩*分析 : [ԭ] Affinic DebuggeroBעԙC

    [朽]
  • TAÿ
    _
    2020-1-1 17:46
  • 씵: 6

    [LV.2]żI

    Dָnj
    l 2019-12-13 21:25:46 | ֻԓ |ֻD |g[ |xģʽ
    BinCrack 2019-12-13 21:28 ݋

    򾺲* ȫWװlδSֹDd
    pʮIˎױһᵽgdb{ԇGUIǰ˹ߡAffinicDebuggerÑTODIDAȿҕ{ԇܲзʽ{ԇgdbһ}IDAְ֧׿{ԇOӲc޸ăȺ˘־gdbԄOӲcùǻ˰rgoB@̘IܛעԙCȫ\ܛrܛע߉݋ϣo̫˽IDA÷ṩһc𵽒u
    ܛܛBԼ̘I棨ṩMdڙ߰ţd朽ՈОg[پW//www.affinic.com/?page_id=109
    ֱӌIDAͨ^ַԺܿ춨λPIC

    ȻPעv13׃sub_4766D0ַ001ɳɹ
    ψDʾ@涼һƫҪIDAĽYwo҂oB@Hһ̎a
    [C++] ı鿴 ƴa
    QDate::QDate(
            (QDate *)&v13,
            *(unsigned __int16 *)(v2 + 30),
            *(unsigned __int16 *)(v2 + 32),
            *(unsigned __int16 *)(v2 + 34));
    
    ƫ30̎year׃32̎month׃34̎day׃ԴĴa߉݋҂߀ԭYw@ֱӽoȫYw
    ߀ԭYwIDAF5δaӽԴacψDδ̎ČעጺͲ^
    verifyDateҲ]ʲô÷snָλ@ȡһַԼψDtruefalse׃O
    [C++] ı鿴 ƴa
    int __thiscall verifyDate(myStruc *this, int a2)
    {
      myStruc *v2; // ebx
      char *v3; // esi
      char *v4; // eax
      char *v5; // eax
      char v6; // cl
      char *v7; // eax
      char v8; // cl
      char *v9; // eax
      char v10; // cl
      unsigned __int16 v11; // ax
      char *v12; // eax
      char v13; // cl
      unsigned __int16 v14; // ax
      char *v15; // eax
      char v16; // cl
      unsigned __int16 v17; // ax
      unsigned int year_l; // ebp
      char *v19; // eax
      char v20; // cl
      unsigned __int16 v21; // ax
      unsigned int year_h; // edi
      char v23; // al
      __int16 true_; // ax
      unsigned int day_h; // edx
      char day_l; // si
      unsigned int month_; // ecx
      unsigned __int16 v29; // [esp+14h] [ebp-2Ch]
      char v30; // [esp+1Ah] [ebp-26h]
      char sn; // [esp+1Ch] [ebp-24h]
      int false_; // [esp+20h] [ebp-20h]
      unsigned int month__; // [esp+24h] [ebp-1Ch]
      unsigned int day_h_; // [esp+28h] [ebp-18h]
      int day_l_; // [esp+2Ch] [ebp-14h]
      int v36; // [esp+30h] [ebp-10h]
      int v37; // [esp+3Ch] [ebp-4h]
    
      v2 = this;
      v3 = &this->sn;
      v36 = 0;
      QString::QString(&sn, &this->sn);
      v4 = *v3;
      v37 = 1;
      if ( *(v4 + 1) == '0' )
      {
        v5 = QString::at(&sn, &v30, 47);
        if ( *v5 <= 0xFFu )
        {
          v6 = *v5;
          if ( (*v5 - '0') <= 9u )
          {
            false_ = (v6 - '0');
    LABEL_6:
            QString::remove(&sn, 47, 1);
            v7 = QString::at(&sn, &v30, 39);
            if ( *v7 <= 0xFFu )
            {
              v8 = *v7;
              if ( (*v7 - 48) <= 9u )
              {
                day_l_ = (v8 - '0');
    LABEL_9:
                QString::remove(&sn, 39, 1);
                v9 = QString::at(&sn, &v30, 31);
                if ( *v9 <= 0xFFu )
                {
                  v10 = *v9;
                  if ( (*v9 - 48) <= 9u )
                  {
                    v11 = v10 - 48;
    LABEL_12:
                    day_h_ = v11;
                    QString::remove(&sn, 31, 1);
                    v12 = QString::at(&sn, &v30, 23);
                    if ( *v12 <= 0xFFu )
                    {
                      v13 = *v12;
                      if ( (*v12 - 48) <= 9u )
                      {
                        v14 = v13 - 48;
    LABEL_15:
                        month__ = v14;
                        QString::remove(&sn, 23, 1);
                        v15 = QString::at(&sn, &v30, 15);
                        if ( *v15 <= 0xFFu )
                        {
                          v16 = *v15;
                          if ( (*v15 - 48) <= 9u )
                          {
                            v17 = v16 - '0';
    LABEL_18:
                            year_l = v17;
                            QString::remove(&sn, 15, 1);
                            v19 = QString::at(&sn, &v30, 7);
                            if ( *v19 <= 0xFFu )
                            {
                              v20 = *v19;
                              if ( (*v19 - 48) <= 9u )
                              {
                                v21 = v20 - 48;
    LABEL_21:
                                year_h = v21;
                                QString::remove(&sn, 7, 1);
                                QString::at(&sn, &v29, 0);
                                QString::remove(&sn, 0, 1);
                                v23 = v29;
                                if ( v29 <= 0xFFu )
                                {
                                  if ( (v29 - 48) <= 9u )
                                  {
                                    true_ = v29 - 48;
                                    goto LABEL_24;
                                  }
                                }
                                else
                                {
                                  v23 = 0;
                                }
                                true_ = v23 - '7';
    LABEL_24:
                                day_h = day_h_;
                                day_l = day_l_;
                                v2->true = true_;
                                v2->false = false_;
                                month_ = month__;
                                v2->year = 16 * (year_h & 0xF) + 2010 + (year_l & 0xF);
                                v2->month = month_ & 0xF;
                                v2->day = (day_l & 0x1F) + 32 * (day_h & 0xF);
                                v2->field_26 = ((day_h >> 4) & 1)
                                             + ((month_ >> 3) & 2)
                                             + ((year_l >> 2) & 4)
                                             + ((year_h >> 1) & 8);
                                QString::QString(a2, &sn);
                                goto LABEL_25;
                              }
                            }
                            else
                            {
                              v20 = 0;
                            }
                            v21 = v20 - 55;
                            goto LABEL_21;
                          }
                        }
                        else
                        {
                          v16 = 0;
                        }
                        v17 = v16 - 55;
                        goto LABEL_18;
                      }
                    }
                    else
                    {
                      v13 = 0;
                    }
                    v14 = v13 - 55;
                    goto LABEL_15;
                  }
                }
                else
                {
                  v10 = 0;
                }
                v11 = v10 - 55;
                goto LABEL_12;
              }
            }
            else
            {
              v8 = 0;
            }
            day_l_ = (v8 - '7');
            goto LABEL_9;
          }
        }
        else
        {
          v6 = 0;
        }
        false_ = (v6 - 55);
        goto LABEL_6;
      }
      v2->true = 0;
      QString::QString(a2, &sn);
    LABEL_25:
      v36 = 1;
      LOBYTE(v37) = 0;
      QString::~QString(&sn);
      return a2;
    }
    һfinalEncrypt
    [C++] ı鿴 ƴa
    int __thiscall finalEncrypt(myStruc *this, int a2)
    {
      myStruc *v2; // ebp
      QString *email; // ebx
      int v4; // eax
      QString *name; // edi
      int v6; // eax
      int v7; // eax
      const struct QString *suc_001; // ebp
      int v9; // eax
      int v10; // eax
      int v11; // eax
      QString *v12; // eax
      QString *v13; // eax
      signed int cur; // edi
      __int16 v15; // si
      char *v16; // ebx
      unsigned int tmp; // eax
      char v18; // al
      int v20; // [esp+8Ch] [ebp-5Ch]
      char v21; // [esp+90h] [ebp-58h]
      char totalStr; // [esp+94h] [ebp-54h]
      int v23; // [esp+98h] [ebp-50h]
      int v24; // [esp+9Ch] [ebp-4Ch]
      const struct QString *fail_DG; // [esp+A0h] [ebp-48h]
      char v26; // [esp+A4h] [ebp-44h]
      char v27; // [esp+A8h] [ebp-40h]
      const struct QString *suc_001_; // [esp+ACh] [ebp-3Ch]
      int v29; // [esp+B0h] [ebp-38h]
      char v30[35]; // [esp+B4h] [ebp-34h]
      char v31; // [esp+D7h] [ebp-11h]
      int v32; // [esp+E4h] [ebp-4h]
    
      v2 = this;
      v24 = a2;
      v29 = a2;
      v23 = 0;
      QString::QString(&v21);
      email = &v2->email;
      v32 = 1;
      v4 = QString::trimmed(&v2->email, &v20);
      LOBYTE(v32) = 2;
      QString::operator=(&v2->email, v4);
      LOBYTE(v32) = 1;
      QString::~QString(&v20);
      name = &v2->name;
      v6 = QString::trimmed(&v2->name, &v20);
      LOBYTE(v32) = 3;
      QString::operator=(&v2->name, v6);
      LOBYTE(v32) = 1;
      QString::~QString(&v20);
      if ( *(v2->email + 4) && *(*name + 4) )
      {
        fail_DG = &v2->DG;
        v7 = QString::left(&v2->DG, &v20, 2);
        LOBYTE(v32) = 4;
        QString::operator=(&v2->DG, v7);
        LOBYTE(v32) = 1;
        QString::~QString(&v20);
        suc_001 = &v2->succeed;
        suc_001_ = suc_001;
        v9 = QString::left(suc_001, &v20, 3);
        LOBYTE(v32) = 5;
        QString::operator=(suc_001, v9);
        LOBYTE(v32) = 1;
        QString::~QString(&v20);
        while ( *(*name + 4) < 25 )
          QString::append(name, name);              // nameUչ25ַ
        v10 = QString::left(name, &v20, 25);
        LOBYTE(v32) = 6;
        QString::operator=(name, v10);
        LOBYTE(v32) = 1;
        QString::~QString(&v20);
        while ( *(*email + 4) < 40 )
          QString::append(email, email);            // emailUչ40ַ
        v11 = QString::left(email, &v20, 40);
        LOBYTE(v32) = 7;
        QString::operator=(email, v11);
        LOBYTE(v32) = 1;
        QString::~QString(&v20);
        v12 = sub_E63F90(&v27, fail_DG, name);      // ַƴӺڶƴ
        LOBYTE(v32) = 8;
        v13 = sub_E63F90(&v26, v12, suc_001_);      // ַƴ
        LOBYTE(v32) = 9;
        sub_E63F90(&totalStr, v13, email);          // ַƴ
        LOBYTE(v32) = 11;
        QString::~QString(&v26);
        LOBYTE(v32) = 12;
        QString::~QString(&v27);
        cur = 0;
        do
        {
          v15 = *QString::at(&totalStr, &fail_DG, cur);// KƴtotalStrDG+name+001+email
          v16 = &v30[cur];
          tmp = ((v15 + *QString::at(&totalStr, &v20, &v30[cur + 35 - v30])) % 34);// (totalStr[cur]+totalStr[cur+35])%34
          if ( tmp >= 10 )
            v18 = tmp + 55;
          else
            v18 = tmp + 48;
          ++cur;
          *v16 = v18;
        }
        while ( cur < 35 );
        v31 = 0;
        QString::operator=(&v21, v30);
        v20 = QString::fromAscii_helper("-", 1);
        LOBYTE(v32) = 13;
        QString::insert(&v21, 30, &v20);            // ָλò롮-
        LOBYTE(v32) = 12;
        QString::~QString(&v20);
        v20 = QString::fromAscii_helper("-", 1);
        LOBYTE(v32) = 14;
        QString::insert(&v21, 25, &v20);
        LOBYTE(v32) = 12;
        QString::~QString(&v20);
        v20 = QString::fromAscii_helper("-", 1);
        LOBYTE(v32) = 15;
        QString::insert(&v21, 20, &v20);
        LOBYTE(v32) = 12;
        QString::~QString(&v20);
        v20 = QString::fromAscii_helper("-", 1);
        LOBYTE(v32) = 16;
        QString::insert(&v21, 15, &v20);
        LOBYTE(v32) = 12;
        QString::~QString(&v20);
        v20 = QString::fromAscii_helper("-", 1);
        LOBYTE(v32) = 17;
        QString::insert(&v21, 10, &v20);
        LOBYTE(v32) = 12;
        QString::~QString(&v20);
        v20 = QString::fromAscii_helper("-", 1);
        LOBYTE(v32) = 18;
        QString::insert(&v21, 5, &v20);
        LOBYTE(v32) = 12;
        QString::~QString(&v20);
        QString::QString(v24, &v21);
        v23 = 1;
        LOBYTE(v32) = 1;
        QString::~QString(&totalStr);
      }
      else
      {
        QString::QString(v24, &v21);
        v23 = 1;
      }
      LOBYTE(v32) = 0;
      QString::~QString(&v21);
      return v24;
    }
    ˷ꮅעԳɹЧD
    עԙCԴa
    [Python] ı鿴 ƴa
    # -*- coding: UTF-8 -*-
    name='bin'*25
    email='[email protected]'*40
    totalStr = 'DG' + name[:25] + '001' + email[:40]
    sn=[]
    for i in range(35):
        tmp = (ord(totalStr[i]) + ord(totalStr[i+35]))%34
        if tmp>=10:
            sn.append(chr(tmp + 55))
        else:
            sn.append(chr(tmp + 48))
    sn.insert(30,'-')
    sn.insert(25,'-')
    sn.insert(20,'-')
    sn.insert(15,'-')
    sn.insert(10,'-')
    sn.insert(5,'-')
    #̶ڕrg
    sn.insert(0,'1')
    sn.insert(7,'4')
    sn.insert(15,'>')
    sn.insert(23,'8')
    sn.insert(31,'0')
    sn.insert(39,'8')
    sn.insert(47,'0')
    print "".join(sn)

    9.png (58.05 KB, dΔ: 6)

    9.png

    u

    12 +25 +30
    gagmeng + 5 + 5 xlԭƷPYG
    sw081 + 1 + 1
    gaosld + 1 + 1 xlԭƷPYG
    cjteam + 1 + 1 PYG
    Rooking + 5 + 10 ԭƷ x
    + 1 + 1 PYG
    Dweling + 1 + 1 ˮouֶж
    wkxq + 2 + 2 ԭƷ x
    llh001 + 1 + 1 PYG
    samvon + 1 PYG

    鿴ȫu

  • TAÿ
    _
    2020-2-13 00:57
  • 씵: 19

    [LV.4]żIII

    l 2019-12-13 21:42:23 | ֻԓ
    WWx
  • TAÿ
    ^
    10 Сrǰ
  • 씵: 117

    [LV.6]סII

    l 2019-12-13 21:49:32 | ֻԓ
    ǰ
  • TAÿ
    o
    2019-12-27 22:14
  • 씵: 10

    [LV.3]żII

    l 2019-12-13 22:50:59 | ֻԓ
    @_dzѽ
  • TAÿ
    _
    2020-2-13 00:57
  • 씵: 19

    [LV.4]żIII

    ذ
    l 2019-12-13 23:09:55 | ֻԓ

    WWx 픸
  • TAÿ
    _
    2020-3-29 10:03
  • 씵: 845

    [LV.10]ԉIII

    7#
    l 2019-12-14 11:31:59 | ֻԓ
    x 픸
  • TAÿ
    ^
    2020-3-10 11:16
  • 씵: 14

    [LV.3]żII

    8#
    l 2019-12-14 14:20:20 | ֻԓ
    @Dždzx
  • TAÿ
    _
    5 ǰ
  • 씵: 77

    [LV.6]סII

    9#
    l 2019-12-14 15:23:01 | ֻԓ
    XhƼ
  • TAÿ
    ^
    1 Сrǰ
  • 씵: 591

    [LV.9]ԉII

    10#
    l 2019-12-14 18:32:04 | ֻԓ
    Wx
    1234һ
    б l

    eҎt

    P]

    վL]һl /1 һl

    С|֙C|Archiver|򾺲* ( ICP15107817̖-2 )|ߴaٝ

    Powered by Discuz! X3.3© 2001-2017 Comsenz Inc.

      
    ٻ؏ 򾺲* б