Source: Heiji Forum
My friend's Internet cafe has an intranet movie server hacked into the homepage, causing all movies in the internet cafe to crash ~ Internet cafes
Most of the daily revenue comes from movie viewers ~~ In fact, the homepage of his internet cafe is hacked by me.
After learning the Tutorial "gradually becoming black", I went to the internet cafe without any experiment. I didn't expect it to be very smooth. I was too excited.
Back up its home page code, which makes it harder to restore it now ~~ I have consulted various experts, but now I am reluctant
Recovery ~~ So I wrote this article:
I. I suggest that you do not want to hack into other people's webpages ~~
2. After writing this article, let's take a look at it. Let's show you how to restore a hacker.
Webpage.
Now, go to the topic ~~ I used the Upload Vulnerability to intrude into the server and found the webpage homepage to delete his code and put it in my code.
This server is hacked by me. (here, you must pay attention to the hacker's home page code, which must be downloaded for backup or direct
Find a hidden corner on the server for backup ). I will not discuss how I intrude into it in detail. Here we will mainly talk about restoration ~~ Ah
~~ It's really difficult to recover ~ I hope you will never learn from me. Well, if you want to restore the home page, you have to find the Master
The ASP file on the page is INDEX. ASP open it with notepad and the code homepage code I put has been deleted by me (heartache ~)
After knowing the address for storing the code on the hacked home page, clear the code in it and put it in the Home Page code. The specific practices are as follows:
Find the ASP file of the home page backed up in recent months. The premise is that (the previous home page backup must be available). If not, I have no good solutions.
Redo the server Homepage ~ My server is backed up ~ So it can be recovered ~~ I open the backup home page to copy the code
Now, the home page has been cleared ~~ Save ~~ Hurry up and look at the homepage. Wow ~~ Most scars cannot be found
I re-opened the homepage code and changed the absolute path of the original image link to the absolute path of the current image under the connected statement.
As long as the images or addresses that are not displayed on the homepage are changed, you can see what images are stored on your server.
~~ Next is the movie page ..
Can I just click a movie to see if it can be connected ~~ The result is that the target does not exist ~~ Ah ~ There is no way to go to the background for management.
Add a new movie and go to the background logon page ~~ It depends on what the login page is designed by your server ~~ Here I am
After the admin_index.asp page is opened, enter the user name and password verification code ~ Dizzy administrator password unknown ~~ Ah ~~ If your administrator password does not exist
What about forgetting ~~ You can simply add a movie to restore it. It's actually very easy ~~ Haha, but if the administrator password is forgotten, it will be a little troublesome.
Please refer to step 2 ~~ Obtain the administrator password from the database ~~ First, you need to find the database on your server ~~ Go to the server to view the network
Every folder of the files on the website is flipped down, and there should be a conn file, which contains the path for writing the database, acess or SQL,
The path in my database is "dadtaby100.mdb". Find it and download a database browser. Browse and find the ADMIN table.
If there is no MD5 encryption in it, it will be the password. If there is MD5 encryption, it will be cracked, and it will be recorded in the database.
ID data value of each movie ~~ You can use the database editing tool in OFFICE 2000 to modify it ~~ Then overwrite the original database
It is best to add and modify the database on the management interface. The corresponding number of movie sets may not be correct or cannot be computed ~~ Added movie
The connection address is complete ~ It's that simple ~~
Well, I wrote this article. This is the whole process of my homepage restoration. It may not be very exciting, but it is all my own hopes to give you some inspiration ~~ At the same time, I would like to thank the moderator fengskier for telling me a lot about the dynamic network database so that I can slowly restore this homepage.