Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error parsing regexp: invalid UTF-8: �\^�v� #6

Open
fitrarhm opened this issue Nov 3, 2022 · 0 comments
Open

error parsing regexp: invalid UTF-8: �\^�v� #6

fitrarhm opened this issue Nov 3, 2022 · 0 comments

Comments

@fitrarhm
Copy link

fitrarhm commented Nov 3, 2022

I got issue when using known plaintext that doesn't have valid UTF, whether it's in string mode or hex mode.

panic: regexp: Compile("\xe0\^\xc8v\xe0"): error parsing regexp: invalid UTF-8: �\^�v�

goroutine 1 [running]:
regexp.MustCompile({0xc00000e17a, 0x6})
C:/Program Files/Go/src/regexp/regexp.go:319 +0xbb
github.com/tomchop/unxor/unxorlib.FindKey({0xc00010a000, 0x80, 0x200}, {0xc00007dea0, 0x6, 0x20})
D:/GO/Developments/pkg/mod/github.com/tomchop/[email protected]/unxorlib/unxor.go:51 +0x3da
main.main()
D:/sample/test/unxor/unxor.go:53 +0x265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant