Mam problem, otóż muszę odzyskać bądź nadpisać hasło w bazie Mysql ale nie wiem jak to hasło jest szyfrowane
Jedno hasło wygląda tak: "36944e60570fc5ff" , a drugie tak : "1fb55ef30252c662"
abyście mieli jakieś podstawy to proszę
index.php w którym jest zawarta procedura porównywania haseł
function form_login($action,$login, $haslo) { <table border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td height='30' width='100'><p>Wpisz login:</p></td> <td><input type='text' name='login' value='".$login."'/></td> </tr> <tr> <td height='30'><p>Wpisz haslo:</p></td> <td><input type='password' name='haslo' value='".$haslo."'/></td> </tr> <tr> <td height='35' colspan='2' align='center'><input type='submit' value='Logowanie w Centrum Edycji' /></td> </tr> </table> </form>"; } if($login && $haslo) { include("funkcje/funkcje.php"); if(!user_baza()) { } else { $zapytanie=mysql_query("select * from user where login='".$login."' and haslo=password('".$haslo."') "); if(!$zapytanie) { echo"<p class='red'>Zapytanie do bazy danych nie powiodło się! ".weblink(index.php, wstecz, $styl)."</p>"; } { $prawid_uzyt=$login; } } } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" > <meta http-equiv="reply-to" content="biuro@pietia.pl" > <meta name="generator" content="WebSite PRO 4.3" /> <meta name="content-language" content="pl" > <meta name="author" content="Pietia Design Studio - Piotr Kaniowski www.pietia.pl" > <meta name="description" content="Panel Administracyjny" > <meta name="keywords" content="Panel Administracyjny" > <meta name="pragma" content="no-cache" > <LINK REL=stylesheet HREF="styl.css" TYPE="text/css"> <title>Panel Administracyjny</title> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <? { include("inc/naglowek.php"); ?> <br> <table border="0" cellspacing="0" cellpadding="0" width="760" align="center"> <tr> <td width="759"><table border="0" cellspacing="0" cellpadding="0" width="759"> <tr> <td class="tdokx" height="20" align="center"><a href="index.php" onMouseOver="self.status='start'; return true;" title="start" class="menu">start</a></td> <td class="tdok1" align="center"><a href="pomoc.php" onMouseOver="self.status='pomoc'; return true;" title="pomoc" class="menu">pomoc</a></td> </tr> </table></td><td width="1" bgcolor="#7F9DB9"></td> </tr> <tr> <td class="tdok" colspan="2" height="100">sds</td> </tr> </table> <?php } else { { include("inc/naglowek1.php"); echo"<br><br><h1 class='red'>Zalogowanie niemożliwe!</h1><p class='red'>Nalezy skontaktowac sie z administratorem serwisu.<br><a href='mailto:serwis@pietia.pl' title='administrator serwisu'>administrator serwisu</a></p>"; } else { include("inc/naglowek1.php"); echo"<br><br><h1 class='red'>Użytkownik nie zalogowany!</h1><p class='red'>Tylko użytkownicy zalogowani mogą przeglądać zawartość Centrum Edycji.<br></p>"; } form_login('index.php',$login, $haslo); } include("inc/stopka.php"); ?> </body> </html>