Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
艦これHacking
Search
ぽんこつ
November 10, 2013
Technology
3.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
艦これHacking
艦これAPIをWiresharkで調べてみた
ぽんこつ
November 10, 2013
More Decks by ぽんこつ
See All by ぽんこつ
Cocos2dx(Ver2)が闇な話
ponkotuy
0
210
Other Decks in Technology
See All in Technology
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
210
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
180
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
hackers_champloo_2026_tidb
makocchi
0
160
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
570
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
150
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
220
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
130
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
For a Future-Friendly Web
brad_frost
184
10k
GitHub's CSS Performance
jonrohan
1033
470k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
ラッコキーワード サービス紹介資料
rakko
1
5.3M
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Become a Pro
speakerdeck
PRO
31
6.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Transcript
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ؋͜ΕHacking 2013 11 ݄ 09
؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ΆΜͭ͜ ΆΜͭ͜ʢ@ponkotuyʣͰ͢ ேى͖Εͳͯ͘༗څ͕Βͳ͍ఔͷࣾச ։ൃ Scala +
Play ͱ CoeeScript ڥ Emacs or IntelliJ(IDE) + Ubuntu ϓϨθϯ Emacs ͷ org-mode + TEX + Beamer ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ͖ͳ؋່རࠜ͞ΜͰ͢ E-2 ߈ུͰແͯ͘͠Ε·ͨ͠ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ؋͜Εʜͬͯ·͢ΑͶʁ ؋͜Εͱ ఇࠃւ܉ͷ܉؋່͕ʹͳͬͯ ҭͯͯΩϟ οΩϟϑϑ͠ͳ͕Β ւҬΛಥഁ͢ΔͨΊʹࢿݯཏ൫ͱઓ͏
ήʔϜͰ͢ʂ ˞࣮ࡍઓಆӡཁૉ͚ͩͳͷͰɺҭͱฤͱࢿݯྔ͕શͯ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ͱ͍͏Θ͚Ͱ ࠓճ؋͜Εͷ API Λ Hacking ͯ͠Έ·͠ΐ͏ʂ
؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ωοτϫʔΫௐࠪํ๏ ؋͜ΕʢFlashʣͷ௨৴ΛௐΔํ๏ʢࢥ͍ͨൣғʣ શύέοτ௨৴Λऔಘͯ͠ FilterʢࠓճΔํ๏ʣ ಛఆϖʔδ͚ͩ Proxy
Λט·ͤΔ .NET ͷ IE ܥϥΠϒϥϦʢʁʣ ؋͜ΕϒϥβܥԼ 2 छྨͷํ๏Ͱड ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ tcpdumpͱ CUI ಛఆωοτϫʔΫσόΠεͷύέοτௐࠪ͢Δπʔϧ ͍ํάάΕ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ͬͯΈΔ ؋͜Εͷૢ࡞Λͨ͠ͱ͖ྲྀΕΔύέοτΛղੳ 125.6.189.39 ͷ Port80 ͱ௨৴͍ͯ͠Δ͜ͱ͕͔Δ
-X ͰόΠφϦσʔλ͕ݟΕΔ ͕ͩૉਓʹ HTTP Ͱ JSON ΓͱΓ͍ͯ͠Δ༷ࢠ͠ ͔͔Βͳ͍ ͜Μͳݪ࢝తͳπʔϧͬͯΒΕΔ͔ʔʢόʔϯʂ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ Wiresharkͱ GUI ύέοτΩϟϓνϟ Filter HTTP ղੳࡁΈσʔλΛ
Export ࠓճຆͲ͜Ε͚ͩͰ͍͚·ͨ͠ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ؋͜ΕͰWireshark Ubuntu ͳΒ apt-get wireshark ཁ
root lter http and ip.addr == 125.6.189.39 ͜ͷঢ়ଶͰૢ࡞͢Δͱσʔλ͕ྲྀΕͯ͘Δ ͋ͱ͖ͳσʔλΛબΜͰ export ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ exportͨ͠ϑΝΠϧ ຊޠ͕ unicode unicode ରԠͷ JSON
ύʔα͕ඞཁ Python Ͱσίʔυͯ͠ PrettyPrint ͠·ͨ͠ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ௨৴ͷશମతͳಛ ҉߸Խ͞Εͯͳ͍ʢ͞ΕͯͨΒརࠜ͞ΜτʔΫͯͨ͠ʣ api_result Ͱ 1 ͓ͦΒ͘
Success api_result_msg ͰޭͷจࣈΛฦ͢ʢҙຯແͦ͞͏ʣ api_data ҎԼʹ༗༻ͳσʔλ͕͋Δ MP3ɻϞϊϥϧͷ 48kHzɺ56kbps ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ߓॳظը໘ ͜ͷը໘ʹભҠ͢Δ࣌ͷ௨৴ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ߓॳظը໘2 actionlog ӈԼͷԋश݁ՌͳͲͷ׆ಈ log logincheck ࢿݯ૿ྔɻೝূܥͰͳ͍
material ࢿݯྔɻࢿݯ 1 ੴ༉ 2 ༀ 3 మ߯ 4 ϘʔΩ 5 ߴݐࡐ 6 ߴम෮ࡐ 7 ։ൃࢿࡐɻlogincheck ͷฦΓԿͷҝʹ͋Δͷ͔ɻ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ deck_port ؋ୂใ api_name ؋ୂ໊ api_ship ؋່൪߸ʢೖखॱʹ
increment ͍ͯ͘͠ IDʣͷ Ϧετ api_mission ԕσʔλ [ւҬ, ԕ ID, ԕؼ࣌ؒ, ʁ] ԕσʔλ͕؋ୂใʹͳͬͯΔͷڵຯਂ͍ɻ͜ΕͰԕ νΣ οΧʔ࡞ΕΔ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ndock ೖڎใ api_complete_time ྃ࣌ؒ api_item1ʙ4 ࣋ͪใ
api_ship_id ؋່൪߸ ͜ΕͰೖڎνΣ οΧʔ࡞Ε·͢Ͷ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ship2 ؋່ͷৄࡉσʔλ HP ͷσʔλͳͲεςʔλεશ෦ ཕܸͳͲඋલޙͷ ࠷େ
HP උલޙͷ͕ແ͍ͷͰɺࠓޙඋͰ HP ্͕Δܥඋແͦ͞͏ͩͱ͔Δ api_luckey ɺྫ͑ඈཾ [40, 89]ɺརࠜ [10, 59] ͳͲ ͋ͱ deck_port ؙ͕͝ͱೖ͍ͬͯΔɻҙຯͳ͍ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ basic ઓදࣔͰݟΕΔϢʔβσʔλ+Ո۩ใͳͲ ؾʹͳΔͷ max_kagu Ո۩ͷ্ݶΛ࣮͢Δ༧ఆͩͬͨʁ play_time
͋Δͱศརͦ͏͕ͩ 0 ʹͳ͍ͬͯΔ pt_challenged ύʔςΟʔػೳ͔ʁ কདྷ࣮༧ఆ or Deprecated ͳΘΕ͍ͯͳ͍ม͋Γ ͜ͷΑ͏ͳಾม basic ͷΈݟΒΕΔ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ߓॳظը໘·ͱΊ ߓॳظը໘͚ͩͰ૬ͷใ͕ೖखՄೳ ؆୯ͳ؋͜Επʔϧ࡞ΔͳΒ͜ΕͰॆ ͨͩ؋໊͕͔Βͣ ID ͔͠ͳ͍
ˠผͰऔΔ͔ϚελʔςʔϒϧΛ༻ҙ͢Δඞཁੑ ؋͜Ε Hacking
Introduction Tools ࣮ࡍʹղੳͯ͠Έͨ ·ͱΊ ·ͱΊ རࠜ࢞͞Μ͔Θ͍͍ ؋͜Εͷ API ؆୯ʹ Hack
Ͱ͖Δ Wireshark ͍͢͝ ߓॳظը໘͚ͩͰେମଗ͏ ؋͜Ε API ΞΫηεແବ͕ଟ͍ʢͦΓΌೣΔΘʣ ΈΜͳ؋͜Επʔϧ࡞ͬͯΈΑ͏ ؋͜Ε Hacking