Jump to content

Prestashop was hacked?


SpringDay.com

Recommended Posts

if you are desperate please try this:
!!! you should at least know the admin email - if you don't go and check the database

go to classes/Employee.php
after:

public function getByemail($email, $passwd = NULL)
{


add:

$passwd = NULL;



then log in using your email and enter any password. after you solve your issues don't forget to change:
1. admin directory
2. revert the above changes

good luck!

Link to comment
Share on other sites

IF YOU STILL CONTROLING YOUR DATABASE ... AND HAVE DATABASE BACKUP

go to your phpmy admin page to check ps_employee table in your database.
You can see if something going wrong just like you said

Then you just have to restore your ps_employee table database backup

And ...
it will be more better if you have backup file : "setting.inc.php" that sycronize with your ps_employee database backup
so you can restore it too
just incase the hacker is also changging cookie key inside your "setting.inc.php" file


good luck !

Link to comment
Share on other sites

Are you sure that your site was "hacked"? A quick peek are your store link makes it appear that you might have a .htaccess problem (something messed with mod_rewrite rules) or perhaps you have paths off in your config file. If it was just a password problem here you would have not have the redirection mess you have now.

Example:

http://store.worldwideretro.com/admin/

leads to a 404:


Not Found

The requested URL /home/worldwid/public_html/index=shop&file=admin was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


So something is up with your settings, probably in a .htaccess file trying to rewrite the URI.

Cheers
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...