blob: e13ba44c6b44fcce6306ff5c71e3490e615b1035 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
/***************************************
* Description:
* Autor: Robert Šmalc
* Created date: 16.11.2016
*****************************************/
include_once ("../function.php");
$geslo = 'admin';
global $pass_salt;
$password = base64_encode((hash(SHA256, $geslo .$pass_salt)));
sisplet_query("UPDATE users SET pass='".$password."' WHERE id=1045");
|