0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ncコマンドを用いてポートスキャンニング(疎通確認)を行う

Last updated at Posted at 2021-11-27

ncのmanページの引用です。ncコマンド便利ですね。

コマンド

ホストhost.example.comの20~30番ポートの内、どのポートがどんな用途で開いているか確認する。

$ nc -z host.example.com 20-30
output
Connection to host.example.com 22 port [tcp/ssh] succeeded!
Connection to host.example.com 25 port [tcp/smtp] succeeded!

ref

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?