bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash complete.c


From: Vincent Leduc
Subject: Re: bash complete.c
Date: Fri, 26 Dec 2014 22:15:19 +0000 (UTC)

Another way to do it.

 printf "\x9\x9sssh \$ENid" | ssh localhost bash -i

Regards.



De : Vincent Leduc <address@hidden>
À : "address@hidden" <address@hidden>
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 this threw bash -i.

# grep "Display all" lib/readline/complete.c
      fprintf (rl_outstream, "Display all %d possibilities? (y or n)", len);

sh-3.2# ssh localhost bash -i 2>/dev/null
address@hidden's password:
[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]