Another way to do it.
printf "\x9\x9sssh \$ENid" | ssh localhost bash -i
Regards.
De : Vincent Leduc
À : "bug-bash@gnu.org"
Envoyé le : Vendredi 26 décembre 2014 15h08
Objet : bash complete.c
Hi,
Dont know if it's the right place to post, just saw thi
ssword:
[tab][tab][enter]
Display all 1797 possibilities? (y or n)[enter]
$ENsh
bash --version ;
GNU bash, version 3.2.57(1)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.
Regards,
Vincent Leduc.
The null redirect was used for the /etc/issue to not be shown here. I mean
although we dont have any tty attached, i assume the builtin should not do
this. I only tested it with an older release, as you said, it seems to be
corrected.
Vincent
De : Bob Proulx
À : Vincent Leduc
Cc
$
[
Display all 1066 possibilities? (y or n)
a
b
c
d;id;ls; (nothing)
exit (control-D)
Vincent.
De : Bob Proulx
À : Vincent Leduc
Cc : "bug-bash@gnu.org"
Envoyé le : Samedi 27 décembre 2014 12h08
Objet : Re: bash complete.c
Vincent Leduc wrote:
> The null redirect was
apropos mysql_tableinfo
ar mysql_waitpid
arch mzip
as namei
ascii-xfr nano
--More--
Regards.
De : Vincent Leduc
À : "bug-bash@gnu.org"
Envoyé
Could someone try this one ?
[root@test ~]# echo -e "\x9\x9 /bin/home/foo/sh" | ssh localhost bash -i 2>&1 |
grep foo
root@localhost's password:
[root@test ~]# foo
[root@test ~]# cat /home/foo/sh
echo foo
De : Vincent Leduc
À : "bug-bash@gnu.org"
En