SimonF Posted April 3, 2022 Share Posted April 3, 2022 $password = isset($cfg['PASSWORD']) ? htmlspecialchars($cfg['PASSWORD']) : ''; $netopts = ($netsvc === 'enable') ? '--always-prefix -h '.escapeshellarg($ipaddr).' -u '.escapeshellarg($user).' -p '. escapeshellarg(base64_decode($password))." --session-timeout=5000 --retransmission-timeout=1000" : ''; This code in ipmi plugin is failing on RC4, maybe other 6.10RCs Works fine on 6.9.2 any idea on what would need to be change for it to work on 6.10? what should this be replace with? base64_decode($password) Quote Link to comment
SimonF Posted April 3, 2022 Author Share Posted April 3, 2022 fix is to remove the base64_decode but why would that change from 6.9.2 to 6.10RC4? Quote Link to comment
Squid Posted April 3, 2022 Share Posted April 3, 2022 https://stackoverflow.com/questions/23088725/base64-decode-produces-a-string-containing-null-characters ie: remove the null characters and see if it works Quote Link to comment
SimonF Posted April 3, 2022 Author Share Posted April 3, 2022 30 minutes ago, Squid said: https://stackoverflow.com/questions/23088725/base64-decode-produces-a-string-containing-null-characters ie: remove the null characters and see if it works Thanks will see if I can understand why it would change from 6.9.2 to 6.10 removing base64_decode( fixes the issue, but dont understand why. Quote Link to comment
SimonF Posted April 30, 2022 Author Share Posted April 30, 2022 HI @bonienl did update.php use to store passwords as base64 in config files? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.