module
Version:
v0.0.0-...-2b71614
Opens a new window with list of versions in this module.
Published: Nov 15, 2024
License: MIT
Opens a new window with license information.
README
¶
ThiefBypassGo
主程序为cmd/main.go
,该程序用于迅速拷贝程序信息到指定程序中,也可用于提取相关资源。
功能支持
编译
go build -o ThiefBypassGo.exe .\main.go
使用方法
Usage:
Icon Extract: program -mode icon-extract -input <input_file> -output <output_ico> [-width width] [-height height] [-index icon_index]
Icon Change: program -mode icon-change -icon <ico_file> -exe <exe_file>
Icon Replace: program -mode icon-replace -input <input_exe> -output <output_exe>
Resource Add Res: program -mode res-add -input <exe_file> -output <res_file> -type <res_type> -id <res_id> -lang <res_lang>
Resource Extract: program -mode res-extract -input <exe_file> -output <res_file> -type <res_type> -id <res_id> -lang <res_lang>
Resource Replace: program -mode res-replace -input <input_exe> -output <output_exe> -type <res_type> -id <res_id> -lang <res_lang>
Auto Mode: program -auto -input <input_exe> -output <output_exe>
------------------------------------------------------------------------------------------------
Demo 1: program -mode icon-replace -input calc.exe -output target.exe
Demo 2: program -mode res-replace -input calc.exe -output target.exe -type 16 -id 1 -lang 0
------------------------------------------------------------------------------------------------
Version: program -version|-v
资源文件替换列表(勾选为常用参数):
// 常用资源类型定义(type)
const (
RT_CURSOR = 1
RT_BITMAP = 2
RT_ICON = 3
RT_MENU = 4
RT_DIALOG = 5
RT_STRING = 6
RT_FONTDIR = 7
RT_FONT = 8
RT_ACCELERATOR = 9
RT_RCDATA = 10
RT_MESSAGETABLE = 11
RT_GROUP_CURSOR = 12
RT_GROUP_ICON = 14
RT_VERSION = 16 √
RT_DLGINCLUDE = 17
RT_PLUGPLAY = 19
RT_VXD = 20
RT_ANICURSOR = 21
RT_ANIICON = 22
RT_HTML = 23
RT_MANIFEST = 24 √
)
// 常用语言(id)
const (
LANG_NEUTRAL = 0
LANG_ENGLISH_US = 1033 // 英语(美国)
LANG_CHINESE_CN = 2052 // 中文(简体)
LANG_JAPANESE = 1041 // 日语
)
Directories
¶
Click to show internal directories.
Click to hide internal directories.