echo >/dev/tcp/$hostname/$port とするとことで、bashからTCPポートスキャンが可能。まじかー。知らなかった。/dev/tcpが存在しなくてもok。でも閉じてるポートでtimeoutしない…

tmatsuutmatsuu のブックマーク 2012/09/01 14:15

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

TCP Port Scanner in Bash

    I just had this quick idea to write a tcp port scanner in bash. Bash supports a special /dev/tcp/host/port file that you can read/write. Writing to this special file makes bash open a tcp connectio...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう