TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: My one-page HTML site was hacked

8 点作者 parisianka超过 4 年前
Hello, Need help figuring out how to get rid of a rubbish description on my website. When I use google to search for this website, under the link for the home page - there&#x27;s a text that&#x27;s not actually on the web page (looks like ads):<p>https:&#x2F;&#x2F;hostrider.com<p>It&#x27;s a one-page site in Html, how can static Html be hacked by hackers? What can I do, as I already reuploaded everything, including the .htaccess file.<p>Thank you.

4 条评论

Abishek_Muthian超过 4 年前
&gt; When I use google to search for this website, under the link for the home page - there&#x27;s a text that&#x27;s not actually on the web page (looks like ads)<p>Most likely stale cache from previous owner of your domain, of which there has been plenty[1] or was parked in-between.<p>Setup google webmaster tools for your domain.<p>&gt;It&#x27;s a one-page site in Html, how can static Html be hacked by hackers?<p>Plenty of ways, the source in your computer to the server which hosts your website. Using static website just <i>limits</i> the attack surface from the website itself.<p>[1]<a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;*&#x2F;https:&#x2F;&#x2F;hostrider.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;*&#x2F;https:&#x2F;&#x2F;hostrider.com&#x2F;</a>
评论 #25968576 未加载
seanwilson超过 4 年前
When did you buy the domain and update the website?<p>If there was a website there before, it could just be that Google hasn&#x27;t updated their search index.<p>Adding your site to Google Search Console can help, so you can request for the page to be reindexed.
评论 #25970081 未加载
blackcats超过 4 年前
Your server can be compromised. If you are lazy just drop it in a CDN like netlify<p>Check which JavaScript is loaded. There can be malicious js in a static site<p>Verify with Google Search Console
评论 #25968868 未加载
dfraser992超过 4 年前
Hi, I forget what the exact cause was, but awhile back, I noticed that for The Guardian in Bing, the description blurb started out with &quot;The Guardian, a far left wingnut rag...&quot; - I told them about it and they had this recurring problem fixed. It was some sort of cache poisoning somewhere that is out of your control. So if you are sure you have not been hacked...<p>Google Webmaster Tools might have some help pages - do you have an account for managing your domain? IIRC, there might be a field somewhere where you can set this description. I know you can manually set this in some fashion... You have to prove you own the domain etc first. And check or get a Bing Webmaster type account as well.
评论 #25968611 未加载