Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is JS hijacking? How to prevent and solve the problem?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

JS hijacking is when a search engine searches for keywords on your site, and if you enter a website, it jumps to another site, or sometimes you see that the domain name title of the site is yours, but you open a snapshot and find that it is not your site.

Iis7 website monitoring

Website opening speed query, DNS pollution, regional telecom hijacking and other problems detection.

For example, when we search for a certain content, we see the word "risk" behind the search results, which means your site has been hacked by someone else.

When you click in, you will find that he will not go directly to the site but will appear a risk prompt, if you click continue to visit, you will find that he will jump to another URL.

If you encounter this situation, don't worry, we enter the website first, if you can't, go to the source file behind the website, check it to find the relative code, and then delete it. The following picture is the JS hijacking code I found in the source file.

Of course, in addition to the JS hijacking code, other codes should also be deleted. If your snapshot is a hijacked snapshot, remember to give feedback.

To prevent JS hijacking, we must first do a good job in the security of our website. To buy a space server, it is best to choose a large platform such as Aliyun and Tencent Cloud. Remember to change all account passwords after modifying the website, and the website should be backed up frequently, so that your website can be overwritten and restored in a timely manner.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report