Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Corrected magic number auth bug with leading characters in MS Teams #58

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

Conversation

godsanchez
Copy link

Magic number string comparison was thrown off in MS Teams by user potentially pasting leading/trailing carriage return, etc., modified code to check for "containing" substring instead, while limiting comparison string length (to protect against brute force attempts).

Note: text.Length (comparison string length) limited to 18 to account for possible leading AND trailing characters

Magic number string comparison was thrown off in MS Teams by user potentially pasting leading/trailing carriage return, etc., modified code to  check for "containing" substring instead, while limiting comparison string length (to protect against brute force attempts).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant