perl端口掃描

       端口掃描軟件通常是發送一個鏈接請求到目標主機和端口,檢測返回的鏈接狀態從而判斷目標主機端口是否打開socket 如下是perl的一個例子tcp use IO::Socket::INET; my $host= '127.0.0.1'; my $port= '8080'; my $proto='tcp'; $socket = new IO::Socket::INET( PeerHost
相關文章
相關標籤/搜索