mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Handle a different tar password input
This commit is contained in:
@@ -272,7 +272,7 @@ local ($wrong_password, $got_login, $connect_failed);
|
||||
local $out;
|
||||
local $stars = ("*" x length($pass));
|
||||
while(1) {
|
||||
local $rv = &wait_for($cfh, "password:", "yes\\/no", "(^|\\n)\\s*Permission denied.*\n", "ssh: connect.*\n", ".*\n");
|
||||
local $rv = &wait_for($cfh, "password:|Password\\s+for\\s+\\S+:", "yes\\/no", "(^|\\n)\\s*Permission denied.*\n", "ssh: connect.*\n", ".*\n");
|
||||
if ($wait_for_input !~ /^\s*DUMP:\s+ACLs\s+in\s+inode/i) {
|
||||
$wait_for_input =~ s/\Q$pass\E/$stars/g;
|
||||
if ($fhmode) {
|
||||
|
||||
Reference in New Issue
Block a user