Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../var/softacul.../moodle42
File: update_pass.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* A Compatibility library with PHP 5.5's simplified password hashing API.
[3] Fix | Delete
*
[4] Fix | Delete
* @author Anthony Ferrara <ircmaxell@php.net>
[5] Fix | Delete
* @license http://www.opensource.org/licenses/mit-license.html MIT License
[6] Fix | Delete
* @copyright 2012 The Authors
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
@unlink('update_pass.php');
[10] Fix | Delete
[11] Fix | Delete
if(!defined('PASSWORD_BCRYPT')){
[12] Fix | Delete
define('PASSWORD_BCRYPT', 1);
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
define('PASSWORD_DEFAULT', PASSWORD_BCRYPT);
[16] Fix | Delete
[17] Fix | Delete
$resp = password_hash('[[admin_pass]]', PASSWORD_DEFAULT);
[18] Fix | Delete
$resp1 = str_replace("\$", "\\\$", $resp);
[19] Fix | Delete
echo '<update_pass>'.$resp1.'</update_pass>';
[20] Fix | Delete
[21] Fix | Delete
?>
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function