My site is redirected to a porn site

Our discussions on Web Hosting that will tell you everything you need to know. Find advice, questions and answers on the who's, what's, when's and where's of the Web Hosting world.
Post Reply
carstarphen
Newbie
Posts: 3
Joined: Thu Oct 05, 2017 9:54 am

Thu Oct 05, 2017 9:57 am

Hello since this morning I have a problem with my accommodations.

Indeed I had the disagreeable vision of falling on a site of pornographic character, which is problematic from both a moral and commercial point of view.

Can you tell me what happened or what is happening? Can you help me? I have a commercial presentation tomorrow
and it is out of the question that my future customers will come across this kind of site, hoping that they have not been on my site this morning.

I thank you for your diligence
carstarphen


User avatar
edwin
Junior Member
Posts: 18
Joined: Thu Sep 28, 2017 6:17 pm

Thu Oct 05, 2017 10:08 am

Hello,

either the hacker has passed through a fault of your site, or directly on the server of the hosting provider.
  • changes all your passwords.
  • if you have a backup of your website, erase the current data via ftp and replace it by backup data.
  • verifies your scripts forms, insertion into database
  • it can be a piece of code (iframe) injected through a fault in the index files.
  • and / or a parasitic file that will automatically reinject the code in the files.
Also notify the host, in case the hack is on its side.
carstarphen
Newbie
Posts: 3
Joined: Thu Oct 05, 2017 9:54 am

Thu Oct 05, 2017 10:49 am

Hello,

Thanks @"edwin" for your reply,

I warned the host and he told me that he was in the process of solving this problem. For my script I went around quickly and I did not see anything bizarre.

Could you give me advice on the safety of my site or do you have a link to give me, and what should I check exactly because I have consulted all my part of my code and I have not seen anything very significant

carstarphen
User avatar
edwin
Junior Member
Posts: 18
Joined: Thu Sep 28, 2017 6:17 pm

Thu Oct 05, 2017 11:10 am

In your forms, simply try typing in the input / textarea:
Javascript code:

Code: Select all

<script>alert('ok');</script>
If the alert message is displayed (in popup), there is a big problem!
carstarphen
Newbie
Posts: 3
Joined: Thu Oct 05, 2017 9:54 am

Thu Oct 05, 2017 11:20 am

problem fix it is an attack on the server.
User avatar
larryrush
Junior Member
Posts: 13
Joined: Wed Sep 27, 2017 11:10 am

Thu Oct 05, 2017 11:27 am

This would be very useful, a tutorial on testing to do to prevent attacks.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests