- or download this
stty -isig
stty ignbrk
...
trap "" stop
trap "" quit
. $HOME/menu.sh
- or download this
echo '\t +---------------------------------------------------------+
+'
echo '\t | Operation Menu |'
echo '\t | ======================================================= |
+'
echo '\t | |
+'
..... ...
- or download this
....login successfully .... < 0x00460: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2
+d 2d 0d 0a 4c 61 73 -----------..Las
< 0x00470: 74 20 75 6e 73 75 63 63 65 73 73 66 75 6c 20 6c t unsuc
+cessful l
< 0x00480: 6f 67 69 6e 3a 20 54 68 75 20 41 70 72 20 31 37 ogin: T
+hu Apr 17
...
< 0x00510: 0d 0a 0d 0a ....
> 0x00000: 64 66 0d 0a df..
- or download this
user1
pAssword123
df
- or download this
----------------------------------------------------------------------
+----------
- or download this
use Net::Telnet ();
$username = "user1";
...
$t->login($username, $passwd);
@lines = $t->cmd("df");
print @lines;