|
|
|
14-03-26
|
조회 660
|
|
|
|
14-03-25
|
조회 729
|
|
|
|
14-03-24
|
조회 899
|
|
|
|
14-03-24
|
조회 765
|
|
|
|
14-03-22
|
조회 722
|
|
|
|
14-03-21
|
조회 750
|
|
|
|
14-03-19
|
조회 1,059
|
|
|
|
14-03-18
|
조회 2,884
|
|
|
|
14-03-18
|
조회 666
|
|
|
|
14-03-17
|
조회 693
|
|
|
|
14-03-17
|
조회 769
|
|
|
|
14-03-16
|
조회 1,103
|
|
|
|
14-03-15
|
조회 598
|
|
|
|
14-03-13
|
조회 1,441
|
|
|
|
14-03-13
|
조회 7,676
|
|
|
|
14-03-13
|
조회 1,390
|
|
|
|
14-03-13
|
조회 1,026
|
|
|
|
14-03-13
|
조회 938
|
|
|
|
14-03-11
|
조회 842
|
|
|
|
14-03-07
|
조회 1,402
|
|
|
|
14-03-07
|
조회 752
|
|
|
|
14-03-06
|
조회 1,162
|
|
|
|
14-03-06
|
조회 806
|
|
|
|
14-03-04
|
조회 823
|
|
|
|
14-03-04
|
조회 988
|
댓글 2개
$ports = array(21, 25, 80, 81, 110, 443, 3306);
foreach ($ports as $port)
{
$connection = @fsockopen($host, $port);
if (is_resource($connection))
{
echo '<h2>' . $host . ':' . $port . ' ' . '(' . getservbyport($port, 'tcp') . ') is open.</h2>' . "\n";
fclose($connection);
}
else
{
echo '<h2>' . $host . ':' . $port . ' is not responding.</h2>' . "\n";
}
}
php 로 포트 확인하고 결과물을 html 로 보여주는거죠.
아래 접속자 IP 보여주는 거는
echo $_SERVER['REMOTE_ADDR'];