连续复制
一键复制
一键打包

1、搜索 promptTextyield ybe(n)这个函数

function eE() {
  return B(this, null, function* () {
    let t = yield me.window.showInputBox({
      prompt: oe.promptText,
      placeHolder: oe.placeHolder,
      ignoreFocusOut: !0
    });
    if (t) {
      // 以下更改代码
      let n = '{ "signature":"9A67311816caZfsGXE6TxeS4NyN2UkaQC"}';
      yield ybe(n);
      // let r;
      // if (t.length > 32) try {
      //   var e = JSON.parse(t);
      //   e.signature && (r = t);
      // } catch (n) {
      //   r = void 0;
      // }
      // r || (r = yield me.window.withProgress({
      //   location: me.ProgressLocation.Notification,
      //   title: oe.phptools_activate_title
      // }, () => B(this, null, function* () {
      //   // console.log(111111111111,$r(mbe), $r(hbe), new (JN())($r(R6)).encrypt(t, "base64").replace(/\+/g, "-").replace(/\//g, "|").replace(/=/g, "_"), () => eE());
      //   return yield O6($r(mbe), $r(hbe), new (JN())($r(R6)).encrypt(t, "base64").replace(/\+/g, "-").replace(/\//g, "|").replace(/=/g, "_"), () => eE());
      // }))), r && (yield ybe(r));
    } 
    //else _u();
  });
}

2、搜索 ybe( 上面的函数名称

function ybe(t) {
  // 以下更改代码 pu.globalState.update('Ahmed', t)
  return B(this, null, function* () {
    try {
      // pu.globalState.update(eI + $r(Zh) + "." + (0, qp.userInfo)().username, t)
      switch (JSON.parse(t),pu.globalState.update('Ahmed', t), si.appendLine(oe.licenseStored), (yield fu())[0]) {
        case 2:
          me.window.showInformationMessage(oe.activationSucceeded);
          break;
        case 1:
          me.window.showInformationMessage(oe.expired);
          break;
        case 3:
        default:
          me.window.showInformationMessage(oe.invalidLicenseKey);
          break;
      }
    } catch (e) {
      si.appendLine(oe.licenseError), me.window.showErrorMessage(oe.invalidLicenseKey), bi(e), _u();
    }
    N6();
  });
}

3、搜索 .expiration

function fu() {
  return B(this, null, function* () {
    // let t = yield Tbe();
    // 以下主要代码 找到连续三个冒号取第二个冒号值,三个值分别代表(expired flag,valid flag,invalid flag)
    return  [2, !0]
    // if (t) {
    //   var e = Cm()((0, qp.userInfo)().username) + "#" + t.license + "#" + t.expiration,
    //     r = new (JN())($r(R6)).verify(e, t.signature, "utf8", "base64");
    //   return r ? (yield Cbe(t)) ? [1, !0] : [2, !0] : [3, !0];
    // } else return [0, !1];
  });
}

4、最后激活

* Save and reload vscode
* `ctrl+p`
* type `activate `in the command palette and choose PHP Tools
* Enter this fake key "`9A67311816caZfsGXE6TxeS4NyN2UkaQC`"