问题原文
原帖链接 · thruun · CC BY-SA 3.0
I am trying to investigate a weird attack on a Joomla 3.6.5 website: If you access the website directly through its URL, everything works as expected. However, if you search for the website using Google and use the search result (showing the exact same URL that works fine) you end up being redirected to another (scam) website.
How could someone facilitate this? Would taking control of the Google Webmaster tools be sufficient to setup such redirects?
社区高分解答
原帖链接 · MrWhite · CC BY-SA 3.0
How could someone facilitate this?
Compromising any part of the PHP/Joomla/Plugin code could be enough to implement such a redirect.
However, these attacks are commonly achieved by writing malicious code to the .htaccess file that then checks the HTTP Referer and redirects the user visiting from the Google SERPs.
Would taking control of the Google Webmaster tools be sufficient to setup such redirects?
No - you can't implement such a redirect within Google Search Console (formerly Webmaster Tools)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
