Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akkuman/toolset
/ functions
Functions
112 in github.com/akkuman/toolset
⨍
Functions
112
◇
Types & classes
20
↓ 11 callers
Function
NewError
(ctx *gin.Context, status int, err error)
httputil/error.go:10
↓ 8 callers
Method
Run
()
plugins/plugins.go:18
↓ 6 callers
Function
NewPreloadDllHijackBase
NewPreloadDllHijackBase 根据传入的子组件来创建一个完整的插件
plugins/preload_dllhijack.go:91
↓ 3 callers
Function
CustomEncryptData
CustomEncryptData 私有的文件加密逻辑
utils/utils.go:122
↓ 3 callers
Method
GetPluginDataPath
()
plugins/plugins.go:25
↓ 3 callers
Function
RandInt63
(from int64, to int64)
utils/utils.go:41
↓ 3 callers
Function
RandStringRunes
(n int64)
utils/utils.go:33
↓ 3 callers
Function
VirtualProtect
(lpAddress unsafe.Pointer, dwSize uintptr, flNewProtect uint32, lpflOldProtect unsafe.Pointer)
data/preload_dll_hijack_x86/main.go:33
↓ 3 callers
Function
ZipData
ZipData 压缩数据
utils/utils.go:135
↓ 3 callers
Function
bytesToIntStr
bytesToIntStr []byte{123, 456} => []string{"123", "456"}
utils/utils.go:166
↓ 3 callers
Method
getLoaderPath
getLoaderPath 获取生成的loader的路径
plugins/shellcode_runner.go:30
↓ 2 callers
Function
CopyDir
CopyDir 拷贝一个目录到另一个目录
utils/utils.go:106
↓ 2 callers
Function
DllHijackConfig
()
plugins/preload_dllhijack.go:19
↓ 2 callers
Method
GetDllName
()
plugins/preload_dllhijack.go:83
↓ 2 callers
Method
GetIsX64Arch
()
plugins/preload_dllhijack.go:85
↓ 2 callers
Method
GetRootPath
()
plugins/plugins.go:21
↓ 2 callers
Function
UpdateTplFile
UpdateTplFile 根据所给的tpl文件路径和data以及funcs更新模板文件
utils/utils.go:200
↓ 2 callers
Function
XorEncryptDecrypt
XorEncryptDecrypt 异或加解密
utils/utils.go:68
↓ 2 callers
Method
buildTmpWorkDir
buildTmpWorkDir 新建一个临时目录作为工作目录,并把所有的所需的基础文件拷贝过去
plugins/plugins.go:50
↓ 2 callers
Method
defToExp
defToExp 将 def 文件转为 exp 文件
plugins/plugins.go:39
↓ 1 callers
Function
CopyFile
CopyFile 拷贝文件
utils/utils.go:76
↓ 1 callers
Function
CryptStringToBytesRc4
CryptStringToBytesRc4 采用rc4加密一个字符串,返回加密后的数据和rc4key
utils/utils.go:157
↓ 1 callers
Function
E
(shellcodeFilepath string)
data/dll_proxyer/main.go:69
↓ 1 callers
Method
GetDllExports
()
plugins/preload_dllhijack.go:86
↓ 1 callers
Function
GetExecutableDir
()
utils/utils.go:58
↓ 1 callers
Method
GetExtraFileList
()
plugins/preload_dllhijack.go:87
↓ 1 callers
Method
GetFoundationPath
(pluginRootPath string)
plugins/preload_dllhijack.go:81
↓ 1 callers
Method
GetMainProgramName
()
plugins/preload_dllhijack.go:82
↓ 1 callers
Method
GetPluginName
()
plugins/preload_dllhijack.go:84
↓ 1 callers
Function
InjectShllcodeToSignExe
InjectShllcodeToSignExe 注入shellcode到签名的exe里面去
utils/utils.go:218
↓ 1 callers
Function
NewController
()
controller/controller.go:5
↓ 1 callers
Function
NewDllProxyer
(shellcode []byte, dllData []byte, dllName string, x64 bool)
plugins/dll_proxyer.go:24
↓ 1 callers
Function
NewShellcodeLoader
(shellcode []byte, reGenerate, x64 bool)
plugins/shellcode_runner.go:18
↓ 1 callers
Function
OnProcessAttach
OnProcessAttach is an async callback (hook). export OnProcessAttach
data/dll_proxyer/main.go:101
↓ 1 callers
Function
PathExist
(name string)
utils/utils.go:49
↓ 1 callers
Function
RUN
(buf []byte)
data/preload_dll_hijack_x86/main.go:42
↓ 1 callers
Method
Run
()
plugins/dll_proxyer.go:93
↓ 1 callers
Method
Run
()
plugins/shellcode_runner.go:78
↓ 1 callers
Method
SetShellcdoe
([]byte)
plugins/plugins.go:17
↓ 1 callers
Function
TplBytes
TplBytes : 将byte数组填充为模板中的字符串
utils/utils.go:194
↓ 1 callers
Function
TplStrXorEncode
TplStrXorEncode 返回xorEncode函数的字符串
utils/utils.go:182
↓ 1 callers
Function
X
* NTSTATUS NtProtectVirtualMemory( IN HANDLE, IN OUT PVOID*, IN OUT SIZE_T*, IN ULONG, OUT PULONG ) */ 执行shellcode inspired by: https://gith
data/dll_proxyer/main.go:37
↓ 1 callers
Function
XorEncryptDecrypt
XorEncryptDecrypt 异或加解密
data/preload_dll_hijack_x86/main.go:58
↓ 1 callers
Function
XorEncryptDecrypt
XorEncryptDecrypt 异或加解密
data/dll_proxyer/main.go:62
↓ 1 callers
Function
XorEncryptDecrypt
XorEncryptDecrypt 异或加解密
data/shellcode_runner/windows_amd64/main.go:59
↓ 1 callers
Function
XorEncryptDecrypt
XorEncryptDecrypt 异或加解密
data/shellcode_runner/windows_386/main.go:59
↓ 1 callers
Method
buildEvilDll
(workDir string, x64 bool, expPath string)
plugins/dll_proxyer.go:57
↓ 1 callers
Method
buildEvilDll
(workDir string, x64 bool, expPath string)
plugins/preload_dllhijack.go:112
↓ 1 callers
Function
decryptShellcode
(shellcodeData []byte)
data/preload_dll_hijack_x86/main.go:65
↓ 1 callers
Function
extractShellcode
(data []byte, pattern []byte)
data/preload_dll_hijack_x86/main.go:91
↓ 1 callers
Method
genDefContent
genDefContent 根据原始dll文件名称和导出表生成def文件内容
plugins/dll_proxyer.go:49
↓ 1 callers
Method
getBuildWorkDir
getBuildWorkDir 获取执行编译命令的工作目录
plugins/shellcode_runner.go:39
↓ 1 callers
Method
getDlltoolPath
getDlltoolPath 获取系统中 dlltool 的路径
plugins/plugins.go:30
↓ 1 callers
Method
getExports
getExports 获取 dll 的导出表
plugins/dll_proxyer.go:37
↓ 1 callers
Method
getLoader
()
plugins/shellcode_runner.go:87
↓ 1 callers
Method
getShellcodeData
getShellcodeData 对shellcode做变形后的data
plugins/shellcode_runner.go:48
↓ 1 callers
Method
getZipPath
getZipPath 获取loader和payload打包文件路径
plugins/shellcode_runner.go:59
↓ 1 callers
Method
loaderIsExist
loaderIsExist 获取shellcode loader是否存在
plugins/shellcode_runner.go:53
↓ 1 callers
Method
updateDefFile
(defFilePath string, exports []string, dllName string)
plugins/preload_dllhijack.go:103
↓ 1 callers
Function
updateMainGoFile
updateMainGoFile 更新源代码文件
plugins/preload_dllhijack.go:149
↓ 1 callers
Function
workman
data/preload_dll_hijack_x86/dllmain.c:4
↓ 1 callers
Function
xxx
* NTSTATUS NtProtectVirtualMemory( IN HANDLE, IN OUT PVOID*, IN OUT SIZE_T*, IN ULONG, OUT PULONG ) */ 执行shellcode inspired by: https://gith
data/shellcode_runner/windows_amd64/main.go:32
↓ 1 callers
Function
xxx
* NTSTATUS NtProtectVirtualMemory( IN HANDLE, IN OUT PVOID*, IN OUT SIZE_T*, IN ULONG, OUT PULONG ) */ 执行shellcode inspired by: https://gith
data/shellcode_runner/windows_386/main.go:32
Method
DllHijack
DllHijack godoc @Summary generate a white + black @Description generate a white + black evil program @Tags pretender @Accept json @Produce octet-strea
controller/dllhijack.go:38
Method
DllHijackConfig
DllHijackConfig godoc @Summary get dll hijack option @Description get all valid dll hijack option @Tags config @Accept json @Produce json @Success 200
controller/dllhijack.go:22
Function
DllMain
data/preload_dll_hijack_x86/dllmain.c:29
Function
DllMain
data/dll_proxyer/dllmain.c:16
Method
DllProxyer
DllProxyer godoc @Summary generate a evil dll proxyer @Description Generate a evil dll proxyer according to shellcode and dll provided by the user @De
controller/proxyer.go:28
Method
GetDllExports
()
plugins/preload_dllhijack_powerpoint2007.go:20
Method
GetDllExports
()
plugins/preload_dllhijack_cloudmusic.go:24
Method
GetDllExports
()
plugins/preload_dllhijack_steam.go:20
Method
GetDllExports
()
plugins/preload_dllhijack_XLLiveUD.go:20
Method
GetDllExports
()
plugins/preload_dllhijack_vscode.go:20
Method
GetDllExports
()
plugins/preload_dllhijack_Thunder.go:20
Method
GetDllName
()
plugins/preload_dllhijack_powerpoint2007.go:12
Method
GetDllName
()
plugins/preload_dllhijack_cloudmusic.go:12
Method
GetDllName
()
plugins/preload_dllhijack_steam.go:12
Method
GetDllName
()
plugins/preload_dllhijack_XLLiveUD.go:12
Method
GetDllName
()
plugins/preload_dllhijack_vscode.go:12
Method
GetDllName
()
plugins/preload_dllhijack_Thunder.go:12
Method
GetExtraFileList
GetExtraFileList 获取额外的文件列表,某些情况下exe可能导入的dll不止一个,但我们只对其中一个进行劫持,其他的dll在该列表中体现
plugins/preload_dllhijack_steam.go:39
Method
GetExtraFileList
GetExtraFileList 获取额外的文件列表,某些情况下exe可能导入的dll不止一个,但我们只对其中一个进行劫持,其他的dll在该列表中体现
plugins/preload_dllhijack_vscode.go:32
Method
GetExtraFileList
GetExtraFileList 获取额外的文件列表,某些情况下exe可能导入的dll不止一个,但我们只对其中一个进行劫持,其他的dll在该列表中体现
plugins/preload_dllhijack.go:68
Method
GetFoundationPath
GetFoundationPath 获取子组件的下级基础文件夹(用来构建dll)
plugins/preload_dllhijack.go:58
Method
GetIsX64Arch
()
plugins/preload_dllhijack_cloudmusic.go:20
Method
GetIsX64Arch
GetIsX64Arch 是否为64位
plugins/preload_dllhijack.go:63
Method
GetMainProgramName
()
plugins/preload_dllhijack_powerpoint2007.go:8
Method
GetMainProgramName
()
plugins/preload_dllhijack_cloudmusic.go:8
Method
GetMainProgramName
()
plugins/preload_dllhijack_steam.go:8
Method
GetMainProgramName
()
plugins/preload_dllhijack_XLLiveUD.go:8
Method
GetMainProgramName
()
plugins/preload_dllhijack_vscode.go:8
Method
GetMainProgramName
()
plugins/preload_dllhijack_Thunder.go:8
Method
GetPluginName
()
plugins/preload_dllhijack_powerpoint2007.go:16
Method
GetPluginName
()
plugins/preload_dllhijack_cloudmusic.go:16
Method
GetPluginName
()
plugins/preload_dllhijack_steam.go:16
Method
GetPluginName
()
plugins/preload_dllhijack_XLLiveUD.go:16
Method
GetPluginName
()
plugins/preload_dllhijack_vscode.go:16
Method
GetPluginName
()
plugins/preload_dllhijack_Thunder.go:16
Function
MyThreadFunction
data/dll_proxyer/dllmain.c:9
Function
OnProcessAttach
export OnProcessAttach
data/preload_dll_hijack_x86/main.go:112
next →
1–100 of 112, ranked by callers