hzzz2 / go-shellcode-loader Goto Github PK
View Code? Open in Web Editor NEWGO免杀shellcode加载器混淆AES加密
GO免杀shellcode加载器混淆AES加密
如图,er而且Google找不到解决方法,我将go卸载重装,仍然会这样
C:\Users\Tajang\AppData\Local\Temp\garble-shared2514198858\runtime\ezwnxcZ.s:205: expected '(', found /
asm: InitTextSym double init for sync
panic: invalid use of LSym - NewFuncInfo with Extra of type *obj.FuncInfo
goroutine 1 [running]:
cmd/internal/obj.(*LSym).NewFuncInfo(0x53aceb?)
c:/go/src/cmd/internal/obj/link.go:516 +0xf4
cmd/internal/obj.(*Link).InitTextSym(0xc00012e400, 0xc000220e00, 0x4)
c:/go/src/cmd/internal/obj/plist.go:170 +0xfc
cmd/asm/internal/asm.(*Parser).asmText(0xc000123e78, {0xc000123d18, 0x3, 0x0?})
c:/go/src/cmd/asm/internal/asm/asm.go:181 +0x505
cmd/asm/internal/asm.(*Parser).pseudo(0xc000123e78?, {0xc000226148?, 0xc000226140?}, {0xc000123d18?, 0x0?, 0x0?})
c:/go/src/cmd/asm/internal/asm/parse.go:298 +0x54
cmd/asm/internal/asm.(*Parser).Parse(0xc000123e78)
c:/go/src/cmd/asm/internal/asm/parse.go:106 +0xd6
main.main()
c:/go/src/cmd/asm/main.go:93 +0x805
exit status 2
exit status 2
golang想添加mani.manifest资源,要用无参编译(不跟go文件名字):
go build
但是混淆这里又要跟go文件名字才能执行
garble build [build flags] [packages]
garble -tiny -literals -seed=random build -ldflags="-w -s -H windowsgui" -race go-sc.go
请问,能提供下解决思路吗?感谢大佬
我现在是2023/2/20,当我按照README默认安装最新的garble打包exe时,遇到了如下错误
C:\Users\Tajang\AppData\Local\Temp\garble-shared2514198858\runtime\ezwnxcZ.s:205: expected '(', found /
asm: InitTextSym double init for sync
panic: invalid use of LSym - NewFuncInfo with Extra of type *obj.FuncInfo
goroutine 1 [running]:
cmd/internal/obj.(*LSym).NewFuncInfo(0x53aceb?)
c:/go/src/cmd/internal/obj/link.go:516 +0xf4
cmd/internal/obj.(*Link).InitTextSym(0xc00012e400, 0xc000220e00, 0x4)
c:/go/src/cmd/internal/obj/plist.go:170 +0xfc
cmd/asm/internal/asm.(*Parser).asmText(0xc000123e78, {0xc000123d18, 0x3, 0x0?})
c:/go/src/cmd/asm/internal/asm/asm.go:181 +0x505
cmd/asm/internal/asm.(*Parser).pseudo(0xc000123e78?, {0xc000226148?, 0xc000226140?}, {0xc000123d18?, 0x0?, 0x0?})
c:/go/src/cmd/asm/internal/asm/parse.go:298 +0x54
cmd/asm/internal/asm.(*Parser).Parse(0xc000123e78)
c:/go/src/cmd/asm/internal/asm/parse.go:106 +0xd6
main.main()
c:/go/src/cmd/asm/main.go:93 +0x805
exit status 2
exit status 2
这是因为最新garble做了一些变化导致了错误,而太旧版本的garble v0.7.0以前不支持go1.19,所以安装garble那一步按照下列方式安装
go install mvdan.cc/garble@v0.7.1
运行命令
/home/kali/go/bin/garble -tiny -literals -seed=random build -ldflags="-w -s -H windowsgui" -race go-sc.go
报错:go list error: exit status 2: # command-line-arguments
./go-sc.go:13:26: undefined: syscall.NewLazyDLL
版本信息:
go version go1.19.8 linux/amd64
garble版本0.9.3
./go-sc.go:13:26: undefined: syscall.NewLazyDLL
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.