{"description":"#!/bin/sh #portck.sh HostName PortNumber [PortNumber...] host=$1 shift while [ -n \"$1\" ]; do if nmap $host -p $1 | grep \" open \" > /dev/null; then mopen=\"$mopen$1 \" else mclose=\"$mclose$1 \" fi shift done [ -n \"$mopen\" ] && echo \"$host\u306e\u958b\u3044\u3066\u3044\u308b\u30dd\u30fc\u30c8: $mopen\" [ -n \"$mclose\" ] && echo \"$host\u306e\u9589\u3058\u3066\u3044\u308b\u30dd\u30fc\u30c8: $mclo\u2026","version":"1.0","title":"\u30dd\u30fc\u30c8\u306e\u72b6\u6cc1\u3092\u8abf\u3079\u308b","categories":["UNIX/Linux"],"author_name":"anmino","height":"190","image_url":null,"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/anmino/","width":"100%","blog_url":"https://anmino.hatenadiary.org/","type":"rich","provider_name":"Hatena Blog","blog_title":"\u3042\u3093\u307f\u306e\u306e\u5099\u5fd8\u9332","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanmino.hatenadiary.org%2Fentry%2F20100411%2F1270951466\" title=\"\u30dd\u30fc\u30c8\u306e\u72b6\u6cc1\u3092\u8abf\u3079\u308b - \u3042\u3093\u307f\u306e\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://anmino.hatenadiary.org/entry/20100411/1270951466","published":"2010-04-11 11:04:26"}