April 3, 20224 yr $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)
April 3, 20224 yr Author fix is to remove the base64_decode but why would that change from 6.9.2 to 6.10RC4?
April 3, 20224 yr https://stackoverflow.com/questions/23088725/base64-decode-produces-a-string-containing-null-characters ie: remove the null characters and see if it works
April 3, 20224 yr Author 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.
April 30, 20224 yr Author HI @bonienl did update.php use to store passwords as base64 in config files?
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.