Upgrade to Pro — share decks privately, control downloads, hide ads and more …

メガネとBluetooth Low Energyでお喋りする

KOBA789
November 20, 2021

メガネとBluetooth Low Energyでお喋りする

Kernel/VM 探検隊 online part4 で発表したスライドです。
https://kernelvm.connpass.com/event/225573/

コードやデモは以下にあります。
https://github.com/KOBA789/memex

この解析作業の模様は一部録画があります。合わせてご覧ください。
https://www.youtube.com/watch?v=9B1MZC_yb1g

KOBA789

November 20, 2021
Tweet

More Decks by KOBA789

Other Decks in Programming

Transcript

  1. KOBA789 ͓͔͛͞·Ͱब৬͠·ͨ͠ ‣ ࢓ࣄ ‣ 3VTUͰਓ޻Ӵ੕ͷιϑτ΢ΣΞΛॻ͍ͨΓ ‣ झຯ ‣ ࣗ࡞%#.4Λ࡞ͬͨΓ

    ‣ ϒϥ΢βͰಈ͘ి࣓ϦϨʔճ࿏$"% 
 γϛϡϨʔλΛ࡞ͬͨΓ 
 ʢ,FSOFM7.୳ݕୂPOMJOFQBSUͷͱ͖ͷωλʣ ‣ :PV5VCFS׆ಈΛ΍ͬͨΓ΍Βͳ͔ͬͨΓ
  2. #-&Λ஻ΔϝΨω ങͬͪͬͨ w ֤छηϯαʔ෇͖ w Ճ଎౓ηϯαʔ w δϟΠϩηϯαʔ w ےిηϯαʔʢ·͹͖ͨͱ͔ʣ

    w 8FC4PDLFUͷ࢓༷͕ެ։͞Ε͍ͯΔ https://twitter.com/KOBA789/status/1454285016129687553
  3. #-&Λ஻ΔϝΨω ങͬͪͬͨ w ֤छηϯαʔ෇͖ w Ճ଎౓ηϯαʔ w δϟΠϩηϯαʔ w ےిηϯαʔʢ·͹͖ͨͱ͔ʣ

    w 8FC4PDLFUͷ࢓༷͕ެ։͞Ε͍ͯΔ https://twitter.com/KOBA789/status/1454285016129687553
  4. #-&Λ஻ΔϝΨω ങͬͪͬͨ w ֤छηϯαʔ෇͖ w Ճ଎౓ηϯαʔ w δϟΠϩηϯαʔ w ےిηϯαʔʢ·͹͖ͨͱ͔ʣ

    w 8FC4PDLFUͷ࢓༷͕ެ։͞Ε͍ͯΔ https://twitter.com/KOBA789/status/1454285016129687553 🤔#-&Ͱ͸ͳ͍ͷ͔ʁ
  5. 14 18 dd 6a 3f 6b 7f 6c 9b ff

    88 6f c5 b4 61 41 30 9e 0a ab 14 18 dd 67 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9e 0b ab 14 18 dd 68 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9e 0a ab 14 18 dd 65 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 ae 0c ab 14 18 dd 66 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 8d 0a ab 14 18 dd 63 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 7e 08 ab 14 18 dd 64 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 6f 0b ab 14 18 dd 61 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 81 09 ab 14 18 dd 62 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 de 0c ab 14 18 dd 5f 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 08 08 ab 14 18 dd 60 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 3b 0f ab 14 18 dd 5d 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 e2 00 ab 14 18 dd 5e 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 76 05 ab 14 18 dd 5b 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 64 02 ab 14 18 dd 5c 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 4b 1a 0e ab 14 18 dd 59 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 30 fe 04 ab 14 18 dd 5a 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 00 07 ab 14 18 dd 57 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 a1 06 ab 14 18 dd 58 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 e0 05 ab 14 18 dd 55 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 5c 03 ab 14 18 dd 56 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 0b 0b ab 14 18 dd 53 3f 6b 7f 6c 9b ff 88 6f c5 b4 60 40 30 c6 0a ab 14 18 dd 54 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 99 03 ab
  6. 14 18 dd 6a 3f 6b 7f 6c 9b ff

    88 6f c5 b4 61 41 30 9e 0a ab 14 18 dd 67 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9e 0b ab 14 18 dd 68 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9e 0a ab 14 18 dd 65 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 ae 0c ab 14 18 dd 66 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 8d 0a ab 14 18 dd 63 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 7e 08 ab 14 18 dd 64 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 6f 0b ab 14 18 dd 61 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 81 09 ab 14 18 dd 62 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 de 0c ab 14 18 dd 5f 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 08 08 ab 14 18 dd 60 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 3b 0f ab 14 18 dd 5d 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 e2 00 ab 14 18 dd 5e 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 76 05 ab 14 18 dd 5b 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 64 02 ab 14 18 dd 5c 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 4b 1a 0e ab 14 18 dd 59 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 30 fe 04 ab 14 18 dd 5a 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 00 07 ab 14 18 dd 57 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 a1 06 ab 14 18 dd 58 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 e0 05 ab 14 18 dd 55 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 5c 03 ab 14 18 dd 56 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 0b 0b ab 14 18 dd 53 3f 6b 7f 6c 9b ff 88 6f c5 b4 60 40 30 c6 0a ab 14 18 dd 54 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 99 03 ab γʔέϯε൪߸ͷΑ͏͕ͩɺ 
 ୯ௐ૿Ճ͡Όͳ͍
  7. 14 18 dd 6a 3f 6b 7f 6c 9b ff

    88 6f c5 b4 61 41 30 9e 0a ab 14 18 dd 67 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9e 0b ab 14 18 dd 68 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9e 0a ab 14 18 dd 65 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 ae 0c ab 14 18 dd 66 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 8d 0a ab 14 18 dd 63 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 7e 08 ab 14 18 dd 64 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 6f 0b ab 14 18 dd 61 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 81 09 ab 14 18 dd 62 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 de 0c ab 14 18 dd 5f 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 08 08 ab 14 18 dd 60 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 3b 0f ab 14 18 dd 5d 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 e2 00 ab 14 18 dd 5e 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 76 05 ab 14 18 dd 5b 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 64 02 ab 14 18 dd 5c 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 4b 1a 0e ab 14 18 dd 59 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 30 fe 04 ab 14 18 dd 5a 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 00 07 ab 14 18 dd 57 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 a1 06 ab 14 18 dd 58 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 e0 05 ab 14 18 dd 55 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 5c 03 ab 14 18 dd 56 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 30 0b 0b ab 14 18 dd 53 3f 6b 7f 6c 9b ff 88 6f c5 b4 60 40 30 c6 0a ab 14 18 dd 54 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 40 31 99 03 ab Ճ଎౓ηϯαʔͷ஋ͬΆ͍͕ɺ 
 ࣠ͳͷʹCZUFʁ
  8. άϥϑͷҐ૬Λἧ͑Δ ͳʹΛ໨ҹʹҐ૬Λἧ͑Δ͔ w ·͹͖ͨͨ͠ͱ͖͚ͩมԽ͢ΔΦΫςοτ͕͋Δ w ϫϯγϣοτͳͷͰҐ૬߹Θͤʹ࢖͍΍͍͢ 14 18 dd 7f

    3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 c9 0c ab 14 18 dd 80 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 e8 0c ab 14 18 dd 7d 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 eb 0f ab 14 18 dd 7e 3f 7b bb 6c 9b ff 88 6f c5 b4 61 41 30 5d 03 ab 14 18 dd 7b 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 8b 0e ab 14 18 dd 7c 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 30 eb 0e ab 14 18 dd 79 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 ab 07 ab 14 18 dd 7a 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 42 31 ab 06 ab 14 18 dd 77 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 31 0b 02 ab 14 18 dd 78 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 1b 0a ab 14 18 dd 75 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 1b 00 ab 14 18 dd 76 3f 6b 7f 6c 9b ff 88 6f c5 b4 61 41 30 9c 03 ab
  9. ؔ܎ͷ͋Δྻ͕ߜΓࠐΊͨΒϒϧʔτϑΥʔε ,0#"͸਺ֶ͕Ͱ͖ͳ͍ w y=(x^a)+b というエンコードを期待する w ͨ͘͞Μͷ Y Z ͷ૊͔ΒB

    CΛٻΊΔ w ࿈ཱํఔࣜͱͯ͠ղ͚ͦ͏ͳؾ΋͢Δ w ߴʑ ͷ୳ࡧൣғͳͷͰྗۀͰղ͘ for (let a = 0; a < max; a ++) { for (let b = 0; b < max; b ++) { if (constraints.every(([o, e]) => (((o ^ a) + b) % max) === e)) { console.log(a, b); } } }