Skip to content
This repository was 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
godsanchez wants to merge 1 commit intomicrosoftarchive:masterfrom
godsanchez:master
Open

Corrected magic number auth bug with leading characters in MS Teams#58
godsanchez wants to merge 1 commit intomicrosoftarchive:masterfrom
godsanchez:master

Conversation

@godsanchez
Copy link
Copy Markdown

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