您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
DNS rebinding detection for 479
// ==UserScript== // @name DNS rebinding detection // @namespace http://anend.net // @version 0.2 // @description DNS rebinding detection for 479 // @author Anend Yan // @match * // @grant none // @require http://code.jquery.com/jquery-3.4.1.min.js /* globals $ */ // ==/UserScript== (function() { 'use strict'; var url = window.top.document.URL; var DNS="http://172.20.0.2:18180/host/" $.get(DNS+url.slice(url.indexOf("://")+3, url.indexOf(".")), function(data){ if(data.ttl<=60){ alert("ttl: " + data.ttl+ "DNS rebinding detected");} }); //alert(userIP); // Your code here... })();