{"id":19696,"date":"2017-09-06T06:10:10","date_gmt":"2017-09-05T22:10:10","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2017\/09\/06\/%e5%9c%a8-debian-kali-linux-%e4%b8%8a%e5%ae%89%e8%a3%9d-openvas\/"},"modified":"2021-03-18T17:25:09","modified_gmt":"2021-03-18T09:25:09","slug":"%e5%9c%a8-debian-kali-linux-%e4%b8%8a%e5%ae%89%e8%a3%9d-openvas","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2017\/09\/06\/%e5%9c%a8-debian-kali-linux-%e4%b8%8a%e5%ae%89%e8%a3%9d-openvas\/","title":{"rendered":"\u5728 Debian \/ Kali Linux \u4e0a\u5b89\u88dd OpenVAS"},"content":{"rendered":"<p>\u53c3\u8003\u7db2\u7ad9\uff1a<br \/><a href=\"https:\/\/www.kali.org\/penetration-testing\/openvas-vulnerability-scanning\/\" target=\"_blank\" rel=\"noopener noreferrer\">OpenVAS 8.0 Vulnerability Scanning | Kali Linux<\/a><\/p>\n<p>1. \u66f4\u65b0\u5957\u4ef6\u5eab\u53ca\u5957\u4ef6\u66f4\u65b0<br \/># <span style=\"color: #ff0000\">apt-get update;apt-get dist-upgrade<\/span><\/p>\n<p>2. \u5b89\u88dd OpenVAS<br \/># <span style=\"color: #ff0000\">apt-get install openvas<\/span><\/p>\n<p>3. \u8a2d\u5b9a<br \/># <span style=\"color: #ff0000\">\/usr\/bin\/openvas-setup<\/span><br \/><span style=\"color: #0000ff\">sha1sums<\/span><br \/><span style=\"color: #0000ff\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2,002 100%\u00a0\u00a0\u00a0 2.61kB\/s\u00a0\u00a0\u00a0 0:00:00 (xfr#33, to-chk=2\/36)<\/span><br \/><span style=\"color: #0000ff\">timestamp<\/span><br \/><span style=\"color: #0000ff\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 13 100%\u00a0\u00a0\u00a0 0.02kB\/s\u00a0\u00a0\u00a0 0:00:00 (xfr#34, to-chk=1\/36)<\/span><br \/><span style=\"color: #0000ff\">timestamp.asc<\/span><br \/><span style=\"color: #0000ff\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 181 100%\u00a0\u00a0\u00a0 0.24kB\/s\u00a0\u00a0\u00a0 0:00:00 (xfr#35, to-chk=0\/36)<\/span><\/p>\n<p><span style=\"color: #0000ff\">sent 719 bytes\u00a0 received 35,306,134 bytes\u00a0 659,941.18 bytes\/sec<\/span><br \/><span style=\"color: #0000ff\">total size is 35,295,201\u00a0 speedup is 1.00<\/span><br \/><span style=\"color: #0000ff\">\/usr\/sbin\/openvasmd<\/span><\/p>\n<p><span style=\"color: #0000ff\">User created with password &#8216;bf177576-d9b8-44ae-8b6a-492ac0796acc&#8217;.<\/span><\/p>\n<p>[@more@]4. \u8a2d\u5b9a\u7ba1\u7406\u8005\u5e33\u865f\u53ca\u5bc6\u78bc<br \/># <span style=\"color: #ff0000\">\/usr\/sbin\/openvasmd &#8211;user=admin &#8211;new-password=&lt;new-password&gt;<\/span><\/p>\n<p>5. \u4fee\u6539 <span style=\"color: #0000ff\">\/usr\/bin\/openvas-start<\/span><br \/># <span style=\"color: #ff0000\">vim \/usr\/bin\/openvas-start<\/span><br \/>\u628a<br \/><span style=\"color: #0000ff\">#!\/bin\/bash<\/span><br \/><span style=\"color: #0000ff\">echo &#8220;Starting OpenVas Services&#8221;<\/span><br \/><span style=\"color: #0000ff\">service greenbone-security-assistant start<\/span><br \/><span style=\"color: #0000ff\">service openvas-scanner start<\/span><br \/><span style=\"color: #0000ff\">service openvas-manager start<\/span><br \/>\u4fee\u6539\u6210<br \/><span style=\"color: #ff0000\">#!\/bin\/bash<\/span><br \/><span style=\"color: #ff0000\">echo &#8220;Starting OpenVas Services&#8221;<\/span><br \/><span style=\"color: #ff0000\">#service greenbone-security-assistant start<\/span><br \/><span style=\"color: #ff0000\">\/usr\/sbin\/gsad &#8211;listen=0.0.0.0 &#8211;port=9392 &#8211;no-redirect<\/span><br \/><span style=\"color: #ff0000\">service openvas-scanner start<\/span><br \/><span style=\"color: #ff0000\">#service openvas-manager start<\/span><br \/><span style=\"color: #ff0000\">\/usr\/sbin\/openvasmd &#8211;listen=0.0.0.0 &#8211;port=9390<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53c3\u8003\u7db2\u7ad9\uff1aOpenVAS 8.0 Vulnerability Scanning | Kali Linux 1. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2017\/09\/06\/%e5%9c%a8-debian-kali-linux-%e4%b8%8a%e5%ae%89%e8%a3%9d-openvas\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u5728 Debian \/ Kali Linux \u4e0a\u5b89\u88dd OpenVAS\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179,163],"tags":[],"class_list":["post-19696","post","type-post","status-publish","format-standard","hentry","category-c-87877","category-c-83745"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["691467"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19696"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=19696"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19696\/revisions"}],"predecessor-version":[{"id":21191,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19696\/revisions\/21191"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=19696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=19696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=19696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}