Submit Search
Upload
LTっぽくブログを書いてみるテスト
•
Download as PPTX, PDF
•
0 likes
•
852 views
Yuji Kazan
Follow
@が付いたURLって面白いですね
Read less
Read more
Report
Share
Report
Share
1 of 17
Download now
Recommended
まぼろしのむいかめ in #upcamp 2013 Toyko
まぼろしのむいかめ in #upcamp 2013 Toyko
sters
微妙なサイトを自分好みに勝手に改造しちゃおう! ※Chromeの拡張機能で
微妙なサイトを自分好みに勝手に改造しちゃおう! ※Chromeの拡張機能で
Tomoko Sato
モブログのすすめ – スマホを活用すれば読まれるWordPressが作れる in WordCamp 2015 Tokyo
モブログのすすめ – スマホを活用すれば読まれるWordPressが作れる in WordCamp 2015 Tokyo
isloop @wayohoo.com
Tdm資料 yarumi 0.07_111217
Tdm資料 yarumi 0.07_111217
yarumiyaruo
できる!?Companion
できる!?Companion
Yuji Kazan
After companion installarion
After companion installarion
Yuji Kazan
Windows Azureの登録
Windows Azureの登録
Yuji Kazan
インストールマニアックスでOSSの脆弱性をたくさん見つけたよ
インストールマニアックスでOSSの脆弱性をたくさん見つけたよ
Yuji Kazan
Recommended
まぼろしのむいかめ in #upcamp 2013 Toyko
まぼろしのむいかめ in #upcamp 2013 Toyko
sters
微妙なサイトを自分好みに勝手に改造しちゃおう! ※Chromeの拡張機能で
微妙なサイトを自分好みに勝手に改造しちゃおう! ※Chromeの拡張機能で
Tomoko Sato
モブログのすすめ – スマホを活用すれば読まれるWordPressが作れる in WordCamp 2015 Tokyo
モブログのすすめ – スマホを活用すれば読まれるWordPressが作れる in WordCamp 2015 Tokyo
isloop @wayohoo.com
Tdm資料 yarumi 0.07_111217
Tdm資料 yarumi 0.07_111217
yarumiyaruo
できる!?Companion
できる!?Companion
Yuji Kazan
After companion installarion
After companion installarion
Yuji Kazan
Windows Azureの登録
Windows Azureの登録
Yuji Kazan
インストールマニアックスでOSSの脆弱性をたくさん見つけたよ
インストールマニアックスでOSSの脆弱性をたくさん見つけたよ
Yuji Kazan
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
LTっぽくブログを書いてみるテスト
1.
LTっぽく ブログを書いてみるテスト
山本洋介山 @yousukezan
2.
自己紹介 • カリスマノーワーカー • たまに原稿とかも書いています •
普段の仕事はブラウザ間のドラッグ&ド ロップ • だいたいは寝てます
3.
普段の仕事のドラッグアンドド
ロップ • 場所をミスるとエラー
4.
慌てて戻ると入力してたページが
消える • 入力してたページと違う!!
5.
Firefoxのバグ!? •
こいつは困った • 入力してたページが消えるのは困る • ミスすんなって話は聞かない • どんなときに起きるのか調査しないと!
6.
いろいろ試す • bogusならhttp://www.bogus.jp/を開く • bogus
jp(半角空き)だとエラー!!!! • http://bogus.jp/とかちゃんとしたURLをド ラッグアンドドロップすればそこが開く • http://bogus.jp/だとhttp://http.com/を開 く
7.
ここまでは前振り
マジで!?
8.
たまたま@の入ったURLを試す • http://hoge@bogus.jp/ みたいなURL • @の付いたURLはRFC的には全くもって正しい •
@の前は認証に使う文字列なのでbogus.jpへ アクセス • FirefoxだとこのURLへのアクセスはフィッシ ングの疑いがあると警告がでる • Chrome的にはこのURLは素通し • IEは読まない
9.
ややこしいURL • http://google.jp@bogus.jp/
みたいにするとややこしい • とはいえURL的にはhttp://bogus.jp/に行く のが常識でしょ • それはともかく前の方のドメインに向か う前提のプログラムとかあるかもね
10.
前の方のドメインに向かう前提の
プログラムを考えてみた • <?php $base="http://bogus.jp"; echo '<script src="'.htmlspecialchars($base.$_GET["file"]).'" ></script>'; ?>
11.
間抜けなプログラム • http://bogus.jp/scriptsrcxss.php?file=/base.js みたいに外部JSを読み込む間抜けなプログラ ム • htmlspecialchars
でXSS対策も万全なはず (いい加減) • 実際には存在しない…はず
12.
スクリプト読み込めるんじゃ
ね? • http://bogus.jp/scriptsrcxss.php?file=@packet monster.com/x • みたいなURLでhttp://packetmonster.com/x が読み込まれるんじゃね?
13.
警告もなくスクリプトを読み込
む
14.
なぜ? • 生成されるURLが <script src="http://packetmonster.com@bogus.jp/x"></scri pt> となるんだからhttp://bogus.jp/xが読まれてあた りまえ。 何か問題でも? • 残念ながら/が入ると読まれないので注意 •
http://packetmonster.com/php/@bogus.jp/x みたいなのはダメ
15.
MozillaとGoogleに聞いてみた • こんなURLで警告なく読み込めるのってブ
ラウザが悪くね? • 返信:プログラムが悪いんじゃクソボ ケ!(意訳) • これもまあ想定通り(URL的には正しいも んね)
16.
結論 • こんな間抜けなコード書く人はいないと
思いますが、こんなことも起きるんです ね • 実際にこんなプログラムがあると面白い ので誰か教えてください • phperにとっては常識的なのかもしれませ ん(;´Д`)
17.
終わり • LTっぽくブログを書いてみました • 最後までお読みいただきありがとうござ
いました
Download now