Jump to content

Tentative de piratage Customer -> secure_key = -1 et Order -> secure_key = -1 AVEC VERSION 1.2.2


Recommended Posts

J'ai essayé les méthode de mettre ceci dans une page php et de lancer le script mais cela ne fonctionne pas ....

<?php

include('config/config.inc.php');

$customers = Db::getInstance()->ExecuteS('
SELECT c.id_customer
FROM '._DB_PREFIX_.'customer c');

foreach ($customers AS $customer){
   $secu=md5(uniqid(rand(), true));
   Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'customer SET secure_key = \''.$secu.'\' WHERE id_customer = '.intval($customer['id_customer']));
}
?> 



et ça

<?php

include('config/config.inc.php');

$customers = Db::getInstance()->ExecuteS('
SELECT c.id_customer
FROM '._DB_PREFIX_.'customer c');

foreach ($customers AS $customer){
   $secu=md5(uniqid(rand(), true));
   Db::getInstance()->Execute('UPDATE '._DB_PREFIX_.'customer SET secure_key = \''.$secu.'\' WHERE id_customer = '.intval($customer['id_customer']));
}
?> 



Mais je fais peut etre mal les chose.

Moi je mets ces scripts dans un fichier php client et l'autre commande, ensuite je vais dans www.site.com/client.php ou commande.php mais rien ne se passe et le pb est tjs là.................

MERCI DE M'AIDER

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