G
georg.heiss
Hi,
with:
$ netcat 192.168.1.254 23
i get this prompt:
??????!????Fritz!Box web password:
and after typing the password and
# ls
the telnet session works fine.
but with perl:
my $telnet = new Net::Telnet (Timeout => 55, Prompt => '/# /');
$telnet->open('192.168.1.254');
$telnet->login('root', 'passwd'); # user not needed only password is
requested
my @lines = $telnet->cmd("ls");
i get a timeout. Any Idea???
thanks
georg
with:
$ netcat 192.168.1.254 23
i get this prompt:
??????!????Fritz!Box web password:
and after typing the password and
# ls
the telnet session works fine.
but with perl:
my $telnet = new Net::Telnet (Timeout => 55, Prompt => '/# /');
$telnet->open('192.168.1.254');
$telnet->login('root', 'passwd'); # user not needed only password is
requested
my @lines = $telnet->cmd("ls");
i get a timeout. Any Idea???
thanks
georg