$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
艦これHacking
Search
ぽんこつ
November 10, 2013
Technology
0
3.8k
艦これHacking
艦これAPIをWiresharkで調べてみた
ぽんこつ
November 10, 2013
Tweet
Share
More Decks by ぽんこつ
See All by ぽんこつ
Cocos2dx(Ver2)が闇な話
ponkotuy
0
210
Other Decks in Technology
See All in Technology
日本の AI 開発と世界の潮流 / GenAI Development in Japan
hariby
1
230
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
120
Strands AgentsとNova 2 SonicでS2Sを実践してみた
yama3133
1
1.6k
Amazon Bedrock Knowledge Bases × メタデータ活用で実現する検証可能な RAG 設計
tomoaki25
6
2.2k
re:Invent2025 3つの Frontier Agents を紹介 / introducing-3-frontier-agents
tomoki10
0
400
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.1k
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1.1k
特別捜査官等研修会
nomizone
0
540
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
0
200
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9.9k
まだ間に合う! Agentic AI on AWSの現在地をやさしく一挙おさらい
minorun365
17
2.4k
オープンソースKeycloakのMCP認可サーバの仕様の対応状況 / 20251219 OpenID BizDay #18 LT Keycloak
oidfj
0
120
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
160
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
Tell your own story through comics
letsgokoyo
0
750
The Curious Case for Waylosing
cassininazir
0
190
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
1.9k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Claude Code のすすめ
schroneko
65
200k
Code Reviewing Like a Champion
maltzj
527
40k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
91
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