v0.1 - initial commit

This commit is contained in:
2026-07-18 21:37:15 +03:00
commit 9b89f4cb8e
153 changed files with 22887 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
//go:build !windows
package winpwn
import "errors"
// VerifyAuthenticodeSignature is only available when winpwn is built for
// Windows (it shells out to wintrust.dll via WinVerifyTrust). Use
// CheckSecResult.AuthenticodeSigned for the cross-platform presence-only
// check.
func VerifyAuthenticodeSignature(path string) (bool, error) {
return false, errors.New("VerifyAuthenticodeSignature requires GOOS=windows")
}