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

Day 0 exploit regarding UnitIDs #323

Closed
H-Park opened this issue Sep 24, 2019 · 1 comment
Closed

Day 0 exploit regarding UnitIDs #323

H-Park opened this issue Sep 24, 2019 · 1 comment

Comments

@H-Park
Copy link

H-Park commented Sep 24, 2019

The difference of IDs between sequentially created units, regardless of which player created them, is 262144 (for probes) plus/minus 2. This can be used to determine how many units your opponent has created since you last created a unit, which can be used to detect ling rushes and among other things.

Proposed fix: have the protocol make a mapping between real unit id and a random tag, then interchange them where appropriate.

See discussion on the discord regarding this.

@H-Park
Copy link
Author

H-Park commented Sep 25, 2019

Closing issue, made a duplicate issue on the proto repo, as this is a proto fix, not an API fix

Blizzard/s2client-proto#161

@H-Park H-Park closed this as completed Sep 25, 2019
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