Warder

如何通过 js 代码获取系统上尽可能多的信息。分享一段代码

  •  
  •   Warder · Sep 14, 2016 · 2556 views
    This topic created in 3529 days ago, the information mentioned may be changed or developed.

    如何通过 js 代码获取系统上尽可能多的信息?
    记得很久之前看到一套面试体上问出这种问题,当时毫无头绪。
    刚刚看到一段 hack 代码,应该可以回答这个问题。

    with( document.createElement('a') ){ href='.jpg'; console.log(mimeType) }
    

    IE 和 Edge 上应该能看到你查看图片的应用程序是什么。
    Origin:
    https://twitter.com/magicmac2000/status/775878259603103744
    http://pastebin.com/8ezKBcVT
    https://www.proofpoint.com/us/threat-insight/post/Microsoft-Patches-Zero-Day-Exploited-By-AdGholas-GooNky-Malvertising

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4595 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:03 · PVG 09:03 · LAX 18:03 · JFK 21:03
    ♥ Do have faith in what you're doing.