#!/usr/bin/perl use strict; use Net::Telnet; my $p = Net::Telnet->new(); my $h = shift || "www.chinaunix.net"; $p->open ( Host => $h, Port => 80 ); $p->print ( "GET /\n" ); while ( my $line = $p->getline() ) { print $line; } exit 0;
by: 发表于:2017-09-11 11:52:23 顶(0) | 踩(0) 回复
??
by: 发表于:2017-09-11 11:52:23 顶(0) | 踩(0) 回复
??
回复评论