{"id":1675,"date":"2021-07-13T08:17:42","date_gmt":"2021-07-12T23:17:42","guid":{"rendered":"https:\/\/sirius10.net\/blog\/wordpress\/?p=1675"},"modified":"2021-07-13T08:17:44","modified_gmt":"2021-07-12T23:17:44","slug":"post-1675","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/07\/13\/1675\/","title":{"rendered":"Censys \u3082 ufw \u3067\u5f3e\u304f"},"content":{"rendered":"\n<p>\u3000\u60aa\u610f\u306f\u306a\u304f\u3066\u3082\u30dd\u30fc\u30c8\u30b9\u30ad\u30e3\u30f3\u3055\u308c\u308b\u3068\u3001\u30ed\u30b0\u306b\u6b8b\u308a\u307e\u3059\u3002\u672c\u5f53\u306e\u653b\u6483\u304c\u7d1b\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000Censys\uff08censys-scanner.com\uff09\u3082\u5ea6\u3005\u5f53\u30b5\u30a4\u30c8\u3078\u30b9\u30ad\u30e3\u30f3\u3057\u306b\u6765\u308b\u3088\u3046\u3067\u3059\u3002\u591a\u6570\u306e\u30db\u30b9\u30c8\u3092\u64c1\u3059\u308b\u3059\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30c9\u30ec\u30b9\u3067\u5f3e\u3044\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u307e\u3068\u3082\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306a\u306e\u3067\u3001<a href=\"https:\/\/support.censys.io\/hc\/en-us\/articles\/360038378552-Frequently-Asked-Questions\">Frequently Asked Questions<\/a> \u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30c9\u30ec\u30b9\u306e\u8a18\u8f09\u304c\u3042\u308a\u307e\u3059\u3002ufw \u3092\u4f7f\u3044\u3001\u5f3e\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001SHELL \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted file\">#!\/bin\/bash\n\nwhile\n    read network\ndo\n    echo \"UFW: ${network} deny.\"\n    sudo ufw deny from \"${network}\"\ndone &lt;&lt; EOF\n74.120.14.0\/24\n162.142.125.0\/24\n167.248.133.0\/24\n192.35.168.0\/23\nEOF\n\nsudo service ufw restart<\/pre>\n\n\n\n<p>\u3000\u3067\u3082\u3001\u672c\u5f53\u306e\u30af\u30e9\u30c3\u30ab\u30fc\u306f\u5225\u306a\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3046\u3067\u3057\u3087\u3046\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u60aa\u610f\u306f\u306a\u304f\u3066\u3082\u30dd\u30fc\u30c8\u30b9\u30ad\u30e3\u30f3\u3055\u308c\u308b\u3068\u3001\u30ed\u30b0\u306b\u6b8b\u308a\u307e\u3059\u3002\u672c\u5f53\u306e\u653b\u6483\u304c\u7d1b\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002 \u3000Censys\uff08censys-scanner.com\uff09\u3082\u5ea6\u3005\u5f53\u30b5\u30a4\u30c8\u3078\u30b9\u30ad\u30e3\u30f3\u3057\u306b\u6765\u308b\u3088\u3046\u3067\u3059\u3002\u591a\u6570\u306e\u30db\u30b9\u30c8\u3092\u64c1\u3059\u308b\u3059\u308b\u3088 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1675","post","type-post","status-publish","format-standard","hentry","category-server-config"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=1675"}],"version-history":[{"count":5,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1675\/revisions"}],"predecessor-version":[{"id":1687,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1675\/revisions\/1687"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=1675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=1675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=1675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}