{"id":1219,"date":"2019-09-07T22:43:47","date_gmt":"2019-09-07T14:43:47","guid":{"rendered":"http:\/\/van-yzt.com\/?p=1219"},"modified":"2019-09-07T22:43:47","modified_gmt":"2019-09-07T14:43:47","slug":"bandit-level-13-%e2%86%92-level-14","status":"publish","type":"post","link":"https:\/\/huzi-baozi.com\/?p=1219","title":{"rendered":"Bandit Level 13 \u2192 Level 14"},"content":{"rendered":"<p>The password for the next level is stored in \/etc\/bandit_pass\/bandit14 and can only be read by user bandit14. For this level, you don\u2019t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you are working on<\/p>\n<h2>\n\u89e3\u5bc6<\/h2>\n<pre><code class=\"language-shell\">bandit13@bandit:~$ ssh -i sshkey.private bandit14@localhost\nCould not create directory '\/home\/bandit13\/.ssh'.\nThe authenticity of host 'localhost (127.0.0.1)' can't be established.\nECDSA key fingerprint is SHA256:98UL0ZWr85496EtCRkKlo20X3OPnyPSB5tB5RPbhczc.\nAre you sure you want to continue connecting (yes\/no)? yes\n\n...\n<\/code><\/pre>\n<h2>\n\u77e5\u8bc6\u70b9<\/h2>\n<ol>\n<li>\n<code>ssh<\/code>\u547d\u4ee4<code>-i<\/code>\u53c2\u6570\u6307\u5b9a\u79c1\u94a5<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The password for the next level is stored in \/etc\/bandit_pass\/bandit14 and can only be read by user bandit14. For this level, you don\u2019t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/huzi-baozi.com\/?p=1219\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Bandit Level 13 \u2192 Level 14&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1219","post","type-post","status-publish","format-standard","hentry","category-bandit"],"_links":{"self":[{"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts\/1219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1219"}],"version-history":[{"count":1,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts\/1219\/revisions"}],"predecessor-version":[{"id":1220,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts\/1219\/revisions\/1220"}],"wp:attachment":[{"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}