飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 344|回复: 5

[原创] tomatoaux - 简易 VaAux2 实现

[复制链接]

该用户从未签到

发表于 前天 12:58 | 显示全部楼层 |阅读模式
本帖最后由 self 于 2025-7-17 02:55 编辑

穿山甲会往HKCR里无关键值写垃圾,遂写了一个代替。

本软件使用 GPL-2.0-or-later 授权,分发二进制时请同时分发源代码。
本帖不提供成品下载。
tomatoaux-sample.png
只支持 x64,x86 版本给读者留作习题。

[Plain Text] 纯文本查看 复制代码
[email protected] (1-user license) Support ends 2077.7.21
00001J-T6C9Q9-ZT086K-79P0B0-9TDRAG-QCN0N9-1URN5P-ZP07WV-7AZKBW-U4MD7H-XYBW5B
[C] 纯文本查看 复制代码
/*
 * tomatoaux - stub for VaAux2_64.dll
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 * SPDX-FileCopyrightText: 2025 Zephyr Lykos <[email protected]>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
 * USA.
 */
                                   ///
                                  /////
                  #define C(M,   X)case\
             M:strncpy(b,X,d    );break;;
          static char K[      ]="00001J-T6"
        "C9Q9-ZT086K"     "-79P0B0-9TDRAG-QCN0"
      "N9-1URN5P-ZP0"  "7WV-7AZKBW-U4MD7H-XYBW5B",
    U[/*copyright*/]=   "[email protected] "//
   "(1-user license) "      "Support ends "//
  "2077.7.21";typedef void     *p; typedef    int
 unsigned u;typedef char*B;;u    static     S(){;;
 return 0;}static u f(){ return   1;};;   static  u
T(p,B a,B b,u d){if(!a||!b)return  0;b   [d-1]=0;u h
=0x811c9dc5;for(B c=a;*c!=0;c++)h        =(h^(u)*c)*
0x1000193;switch(h){C(0x1a2c7d3c,U     )C(0x14cba9f9
,K);C(0xed32bea0,"1");C(0xab500ee0,"0")C(0xd6746687,
"14")C(0x4c2e1d75,"IP1")C(0xf06485f4,"2025.01.01")C(
0xb07b2531,"43981")case 0x67965ed2:case 0xd075ec0a:
 case 0x79075992:break;default:return /***********/
  GetEnvironmentVariableA(a,b,d-1)<d;}return 1;};;
  static void d(p){}typedef void(*D)(p);typedef u
    (*F)();typedef u(*M)(p,B,B,u);typedef struct
     {D d;F f,g,h,i,j,k,l;M m;}I;static I A={d,
      f,f,f,f,f,S,f,T};static I*V=&A;I**/***/
        FCD4433C_87CB_4055_9A5D_7ADBF73F03C1
           =&V;/* gcc -includewindows.h -O2
              -oVaAux2_64.dll tomato.c
                    -shared   */
PYG19周年生日快乐!
  • TA的每日心情
    开心
    2025-1-14 13:49
  • 签到天数: 393 天

    [LV.9]以坛为家II

    发表于 前天 20:00 | 显示全部楼层
    PYG有你更精彩!
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2025-1-14 20:41
  • 签到天数: 876 天

    [LV.10]以坛为家III

    发表于 前天 22:01 | 显示全部楼层
    膜拜~!
    谢谢大神~!
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2025-1-13 09:04
  • 签到天数: 339 天

    [LV.8]以坛为家I

    发表于 昨天 08:39 | 显示全部楼层
    PYG有你更精彩!
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    慵懒
    2025-1-14 11:55
  • 签到天数: 2832 天

    [LV.Master]伴坛终老

    发表于 昨天 20:49 | 显示全部楼层
    生成的VaAux_64.dll怎么使用呢?
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

    该用户从未签到

     楼主| 发表于 11 小时前 | 显示全部楼层
    email123 发表于 2025-7-16 20:49
    生成的VaAux_64.dll怎么使用呢?

    看图,直接替换 %LOCALAPPDATA%\Microsoft\VisualStudio\<vs版本号>\Extensions\<VAX安装目录>\VaAux2_64.dll。
    PYG19周年生日快乐!
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表