Jump to content

[hacking] fichier .htaccess


Recommended Posts

Salut j'ai été victime d'un hack, j'ai remarqué des fichiers .htaccess dans les repertoire de mon site prestashop 1.4.1.0 les quels faisant des redirections.
Voici a quoi ressemble le fichier .htaccess :

ErrorDocument 400 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 403 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 404 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 405 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 406 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 408 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 500 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 501 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 502 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 503 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 504 http://bowdencanton.co.cc/ht_er_docs/
ErrorDocument 505 http://bowdencanton.co.cc/ht_er_docs/
AddHandler application/x-httpd-php .html .htm
[...]


J'aimerais savoir comment securiser le script pour eviter ce genre de déconvenue (je connais le PHP)
Merci

Link to comment
Share on other sites

Bonjour, j'ai déjà vu sur le forum un sujet équivalent (piratage de htaccess) l'auteur avait en fait un virus sur son ordi qui envoyait les mots de passe et login du serveur enregistré sur filezilla... donc je te conseil de vérifier ton ordi, de changer les mots de passe ftp et de voir ensuite ce qui ce passe.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...