Last night, DD saw a friend in the wechat group (click to join) who said that he wanted to go to Vue official website to read Chinese documents, but accidentally wrote cn in the wrong position, so he entered xx website…

Veteran drivers know the website at cn.vuejs.org/

How did the whistleblower get it wrong? He put cn last and visited the address

Shy websites emerged as a result… In the spirit of truth seeking, I gave it a try, and it really…

Here is a little magic, refresh a few times, the page is not the same, sometimes like the above a little temptation a little fresh, sometimes it is very explicit, such as the following… It’s too explicit, obviously not suitable, it’s all painted…

I would love to know who did this, but most of them are old hands, so it’s hard to find out.

But curiosity still conveniently checked the next domain name, found this person:

Continue to reverse check, my god!!

Sure enough is an old hand, a lot of stations, but also this content…

Well, this za is not professional, do not continue to check, see the small partner to report together, for purification of the network out of a component!

Finally, there is a technical issue that is a little curious, and that is the issue of not having a fixed page when visiting. Continue to research the curiosity of laying this egg…

Analysis from the results page is not found what, because it is already the results!

If you look closely, you can see how many times the page jumps when you go in, and you can probably imagine redirects and jumps?

Open the browser debugging tool and observe the Network. Its general logic is as follows:

  1. Redirect 301 to index.php:

  1. Index.php actually has nothing in it, just these two js

  1. If you look at these two js, you will find the following:

  1. Unfortunately, the request doesn’t see much in the browser.

  1. Do you want to curl the following url?

Here is the complete code for this page.

The red part is why it jumps to two different pages:

It prepares two target sites and uses random numbers to figure out which one to point to, so you get what I said at the beginning, different people see different pages, or you refresh a few times and you see different pages.

I got some more information here, but a second look didn’t turn up much.

It’s too late to go on

In other words, technology-related sites into XX sites have also happened before, such as: Go standard library source code pornography sites.

DD is not very familiar with the things in this doorway. There must be a great interest relationship, right?

Can you leave a message for me?

Welcome to pay attention to my public number: program ape DD. Learn cutting-edge industry news, share in-depth technical know-how, and obtain high-quality learning resources at the first time