Get new password without email

If you have database access,of course you have because it is localhost.
You can update password(MD5) in database.

Or if you have not access.You can try code in function.php only one time.

<?php
$user_id = 1;
$password = 'HelloWorld';
wp_set_password( $password, $user_id );
?>