やりたい事とか ・RAID ・LPIC-201 ・自転車を買う(買っちゃった~) ・サイト作成

2009年8月6日木曜日

nc…ポートスキャンだったり、通信状態を確認できる

v … 詳細な。
z … ポートスキャンをする
u … UDPポートも(できなかったんだけどなぁ・・・?)

# nc -vz 192.168.1.10 1-1000
nc: connect to 192.168.1.10 port 1 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 2 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 3 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 4 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 5 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 6 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 7 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 8 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 9 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 10 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 11 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 12 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 13 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 14 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 15 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 16 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 17 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 18 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 19 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 20 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 21 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 22 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 23 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 24 (tcp) failed: Connection refused
Connection to 192.168.1.10 25 port [tcp/smtp] succeeded!
nc: connect to 192.168.1.10 port 26 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 27 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 28 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 29 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 30 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 31 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 32 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 33 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 34 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 35 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 36 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 37 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 38 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 39 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 40 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 41 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 42 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 43 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 44 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 45 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 46 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 47 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 48 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 49 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 50 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 51 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 52 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 53 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 54 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 55 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 56 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 57 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 58 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 59 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 60 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 61 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 62 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 63 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 64 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 65 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 66 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 67 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 68 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 69 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 70 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 71 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 72 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 73 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 74 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 75 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 76 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 77 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 78 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 79 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 80 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 81 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 82 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 83 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 84 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 85 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 86 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 87 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 88 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 89 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 90 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 91 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 92 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 93 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 94 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 95 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 96 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 97 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 98 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 99 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 100 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 101 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 102 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 103 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 104 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 105 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 106 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 107 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 108 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 109 (tcp) failed: Connection refused
Connection to 192.168.1.10 110 port [tcp/pop3] succeeded!
nc: connect to 192.168.1.10 port 111 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 112 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 113 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 114 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 115 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 116 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 117 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 118 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 119 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 120 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 121 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 122 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 123 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 124 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 125 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 126 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 127 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 128 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 129 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 130 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 131 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 132 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 133 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 134 (tcp) failed: Connection refused
Connection to 192.168.1.10 135 port [tcp/epmap] succeeded!
nc: connect to 192.168.1.10 port 136 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 137 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 138 (tcp) failed: Connection refused
Connection to 192.168.1.10 139 port [tcp/netbios-ssn] succeeded!
nc: connect to 192.168.1.10 port 140 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 141 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 142 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 143 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 144 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 145 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 146 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 147 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 148 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 149 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 150 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 151 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 152 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 153 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 154 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 155 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 156 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 157 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 158 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 159 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 160 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 161 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 162 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 163 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 164 (tcp) failed: Connection refused
nc: connect to 192.168.1.10 port 165 (tcp) failed: Connection refused


おほほおぉ…
他のパソコンの空いてているポートまるわかりですかぁ…

0 件のコメント:

コメントを投稿

フォロワー

ブログ アーカイブ