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

Fixing 64 bit identification by User Agent #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thiagomayllart
Copy link

I have recently identified that Office 2016 actually uses another header to differentiate 64bits from 32bit:

UA-CPU: AMD64

The current version of EvilClippy is not able to serve the correct template because it is not analyzing the value of this header, so it ends up serving x86 template for x64.

I'm not sure if that happens to other versions, so I just added another check for this specific header and the presence of the string "64" in the value of the header.

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

Successfully merging this pull request may close these issues.

1 participant