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

Fake replacement VBA code not appearing in Editor #46

Open
evandrix opened this issue Jun 21, 2021 · 2 comments
Open

Fake replacement VBA code not appearing in Editor #46

evandrix opened this issue Jun 21, 2021 · 2 comments

Comments

@evandrix
Copy link

evandrix commented Jun 21, 2021

I'm trying to hide the actual code in P-Code, and show a fake VBA code in the Editor, on Excel 365.

For some reason, this byte

version[0] = 0xB2;
is 0xB5, not 0xB2, on my copy.

  • using 0xB2 in my target environment crashes Excel with VBA errors
  • using 0xB5 shows the actual code in the Editor

Wondering if anyone has come across such a situation before?

@evandrix
Copy link
Author

Hex dump of original _VBA_PROJECT stream:
00000000   CC 61 B5 00 00 03 00 FF  09 04 00 00 09 04 00 00   Ìaµ····ÿ········
...

@evandrix
Copy link
Author

evandrix commented Jun 21, 2021

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