Leanpub Header

Skip to main content

JavaScript for 駭客 (繁體中文版)

學習像駭客一樣思考

學習如何在JavaScript中發現有趣的行為和漏洞。閱讀本書,您將找到最新和最優的技術來破解JavaScript並生成XSS payloads。包括僅使用+[]()!字符構建JavaScript的方法。從未聽說過DOM Clobbering?本書包含所有詳細信息。

This book is a translation into Chinese (Traditional) of JavaScript for hackers which was originally written in English

Minimum price

$20.00

$35.00

You pay

$35.00

Authors earn

$28.00
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
About

About

About the Book

你是否曾經好奇駭客如何發現瀏覽器和 JavaScript 中的漏洞?本書分享了這些思考過程,並提供工具讓你自己找到漏洞。首先介紹 JavaScript 駭客攻擊的基礎知識,然後深入解釋如何構造不使用括號的 JavaScript 貨載。

  • 展示如何通過模糊測試發現漏洞,以及如何在幾秒鐘內快速測試數百萬個字符。
  • 想駭客攻擊 DOM 嗎?本書為你提供完整指南。
  • 詳細閱讀作者發現的各種瀏覽器 SOP 規避。
  • 對客戶端原型污染一無所知?這本書正適合你!
  • 想學習最新和最棒的 XSS 技術嗎?你需要購買這本書。
This book is a translation into Chinese (Traditional) of JavaScript for hackers which was originally written in English

Author

About the Authors

Gareth Heyes

PortSwigger researcher Gareth Heyes is probably best known for his work escaping JavaScript sandboxes, and creating super-elegant XSS vectors. When he's not co-authoring books (like the recent title, Web Application Obfuscation), Gareth is a father to two wonderful girls and husband to an amazing wife, as well as an ardent fan of Liverpool FC.

In his daily life at PortSwigger, Gareth can often be found creating new XSS vectors, researching new techniques to attack web applications, and preparing to speak at conferences around the globe. A recent highlight was his presentation "XSS Magic Tricks" at OWASP Allstars Amsterdam, 2019. He's also the author of PortSwigger's XSS Cheat Sheet. In his spare time he loves writing new BApp extensions (he's the creator of both Hackvertor and Taborator).

Leanpub Podcast

Episode 255

An Interview with Gareth Heyes

TranslateAI

Leanpub now has a TranslateAI service which uses AI to translate their book from English into up to 31 languages, or from one of those 31 languages into English. We also have a GlobalAuthor bundle which uses TranslateAI to translate English-language books into either 8 or 31 languages.

Leanpub exists to serve our authors. We want to help you reach as many readers as possible, in their preferred language. So, just as Leanpub automates the process of publishing a PDF and EPUB ebook, we've now automated the process of translating those books!

Contents

Table of Contents

    • 1:第一章 - 介紹
      • 1.1:關於作者
      • 1.2:熱情
      • 1.3:環境
      • 1.4:設定目標
      • 1.5:模糊測試
      • 1.6:堅持和運氣
      • 1.7:社交媒體
      • 1.8:基礎知識
      • 1.9:總結
    • 2:第二章 - 無括號的 JavaScript
      • 2.1:無括號呼叫函數
      • 2.2:不使用括號傳遞參數來調用函數
      • 2.3:Throw 表達式
      • 2.4:標記模板字符串
      • 2.5:Has instance 符號
      • 2.6:Summary
    • 3:第三章 - 模糊測試
      • 3.1:真相
      • 3.2:模糊測試 JavaScript 網址
      • 3.3:模糊測試 HTTP URL
      • 3.4:模糊測試 HTML
      • 3.5:模糊測試已知行為
      • 3.6:Fuzzing 逃逸字符
      • 3.7:總結
    • 4:第四章 - 黑客的 DOM
      • 4.1:我的視窗在哪裡?
      • 4.2:HTML 事件的範圍
      • 4.3:DOM 擊潰
      • 4.4:Summary
    • 5:第五章 - 瀏覽器漏洞
      • 5.1:介紹
      • 5.2:Firefox錯誤處理跨來源網址
      • 5.3:Safari 對跨來源主機名稱的指派
      • 5.4:Internet Explorer 完全 SOP 規避
      • 5.5:Chrome 部分 SOP 信息洩露
      • 5.6:Safari 完全 SOP 規避方法
      • 5.7:Opera SOP 繞過
      • 5.8:總結
    • 6:第六章 - 原型污染
      • 6.1:介紹
      • 6.2:客戶端原型污染
      • 6.3:伺服器端原型污染
      • 6.4:總結
    • 7:第七章 - 非字母數字 JavaScript
      • 7.1:編寫非字母數字 JavaScript
      • 7.2:無括號的非字母代碼
      • 7.3:六字符牆
      • 7.4:無限與更遠
      • 7.5:摘要
    • 8:第八章 - XSS
      • 8.1:關閉腳本
      • 8.2:腳本內的註解
      • 8.3:SVG 腳本中的 HTML 實體
      • 8.4:無需閉合的腳本
      • 8.5:視窗名稱載荷
      • 8.6:可指派的協議
      • 8.7:使用原始碼映射來建立回應
      • 8.8:新的重定向接收器
      • 8.9:JavaScript 註解
      • 8.10:新行
      • 8.11:空白字元
      • 8.12:動態導入
      • 8.13:XHTML命名空間在XML中
      • 8.14:SVG上傳
      • 8.15:SVG use 元素
      • 8.16:HTML實體
      • 8.17:事件
      • 8.18:隱藏輸入中的 XSS
      • 8.19:彈出視窗
      • 8.20:總結
    • 9:致謝

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub