-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
user/module : use const for SSL masterKey function hook.
1. SSL_do_handshake for Android. 2. SSL_write for Linux `SSL_do_handshake` was null sometimes on Linux . Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//go:build androidgki | ||
// +build androidgki | ||
|
||
package module | ||
|
||
/* | ||
Copyright © 2022 CFC4N <cfc4n.cs@gmail.com> | ||
*/ | ||
|
||
const ( | ||
PROBE_OPENSSL_MASTERKEY_FUNC = "SSL_do_handshake" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//go:build !androidgki | ||
// +build !androidgki | ||
|
||
package module | ||
|
||
/* | ||
Copyright © 2022 CFC4N <cfc4n.cs@gmail.com> | ||
*/ | ||
|
||
const ( | ||
PROBE_OPENSSL_MASTERKEY_FUNC = "SSL_write" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters