Skip to content

Instantly share code, notes, and snippets.

View jaenster's full-sized avatar

Jan Stoots jaenster

View GitHub Profile
0eNrtV8tu4yAU/ZWItVMBJn4tu+5yZjUaRU6CLDQOWIDbRlX+vWC3bqZNbK69q7qyAHM4nPs49gva1S1vtJB2u1PqHypePmYMKv5cDP2a2CvZTxtRybL2c/bUcFQgYfkRRUiWRz/iz43mxqytLqVplLbrHa8tOkdIyAN/RgU5R8tBaADIvtSVWj+VlZIXO+Pz3whxaYUVvL9QNzhtZXvcce34TbGIUKOM2+5g3dH+RoTcbSJ0QkVyt3EnHYTm+36deZ6fDqBfDjBNLax1a9egO+A0BDiewZxCmDMQ8zic+QYEjDvgLAQ4GYAnpcD5mxT5Z+DkCnC6IEuCmGfhzAfgIOY5ABhDgH1cAFFk4VoQAuAcgzjTBTUTxj0GcKcg7gyAzG4ju37YNc7iouNHqC4dlJt7UOWhC+Aj16bbQTPCUpanSUpwskk+Wiv2JH9cYzr3MR5aY5A/TIU3z291cRpkE2NU6RhVBq8ejC+4BlnBNORN+01GLSHk+mzs+jNMAFNIqLIZB8Tj+uYzIBlEX5ANDJmbT4tBvtZY66pTV1q552S+9Z3vreZVa5vWt4YQRxjLDwLgHy+olux6NAmbpQkFagL6PhsyMESTZEEJ3dIknaUJA2qSLSikjvm47/6Wdbjzkmtg6+6/7n8nF7JalfKw6tH96NeTWt27Lat7x9m417+XZ5cu+R759v0LZUTM8yvFIgJz
@amtal
amtal / Hybrids.md
Created January 17, 2017 08:28
Walkthrough of two dupes and an item corruption exploit for Diablo 2 in layman's terms

This is a common-jargon walkthrough of an interesting Diablo 2 exploit. It provides the necessary background information (network protocol and game mechanics) to gain some understanding of the primitives from which it's constructed. Since the exploit is against a black-box network service with no available code, exact details and subtleties remain a mystery. :)

Exploit effects

Diablo 2 items can have a list of properties with various effects. The most common items (normal or "white" ones) have very few possible effects; however, all items can have sockets. Rune and gem-type items can be inserted into sockets. Some sequences of runes are special - inserting them into a white item makes a runeword item with predictable special properties.

Here's an example runeword "Peace" created by inserting Shael, Thul, and Amn runes into a 3-socket Light Plate:

Peace + Enigma hybrid