{"id":1255,"date":"2019-09-11T23:59:25","date_gmt":"2019-09-11T15:59:25","guid":{"rendered":"http:\/\/van-yzt.com\/?p=1255"},"modified":"2019-09-11T23:59:25","modified_gmt":"2019-09-11T15:59:25","slug":"bandit-level-27-%e2%86%92-level-28","status":"publish","type":"post","link":"https:\/\/huzi-baozi.com\/?p=1255","title":{"rendered":"Bandit Level 27 \u2192 Level 28"},"content":{"rendered":"<p>There is a git repository at ssh:\/\/bandit27-git@localhost\/home\/bandit27-git\/repo. The password for the user bandit27-git is the same as for the user bandit27.<\/p>\n<p>Clone the repository and find the password for the next level.<\/p>\n<h2>\n\u89e3\u5bc6<\/h2>\n<pre><code class=\"language-shell\">bandit27@bandit:~$ mktemp -d\n\/tmp\/tmp.RG0BBbh379\nbandit27@bandit:~$ cd \/tmp\/tmp.RG0BBbh379\nbandit27@bandit:\/tmp\/tmp.RG0BBbh379$ git clone ssh:\/\/bandit27-git@localhost\/home\/bandit27-git\/repo\nCloning into 'repo'...\nCould not create directory '\/home\/bandit27\/.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\nFailed to add the host to the list of known hosts (\/home\/bandit27\/.ssh\/known_hosts).\nThis is a OverTheWire game server. More information on http:\/\/www.overthewire.org\/wargames\n\nbandit27-git@localhost's password:\n\nremote: Counting objects: 3, done.\nremote: Compressing objects: 100% (2\/2), done.\nremote: Total 3 (delta 0), reused 0 (delta 0)\nReceiving objects: 100% (3\/3), done.\nbandit27@bandit:\/tmp\/tmp.RG0BBbh379$ cd repo\/\nbandit27@bandit:\/tmp\/tmp.RG0BBbh379\/repo$ ls\nREADME\nbandit27@bandit:\/tmp\/tmp.RG0BBbh379\/repo$ cat README\nThe password to the next level is: 0ef186ac70e04ea33b4c1853d2526fa2\n<\/code><\/pre>\n<h2>\n\u77e5\u8bc6\u70b9<\/h2>\n<ol>\n<li>\n<code>git<\/code>\u7248\u672c\u8ffd\u8e2a\u5de5\u5177\u57fa\u672c\u547d\u4ee4<code>clone<\/code>\uff1b<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>There is a git repository at ssh:\/\/bandit27-git@localhost\/home\/bandit27-git\/repo. The password for the user bandit27-git is the same as for the user bandit27. Clone the repository and find the password for the next level. \u89e3\u5bc6 bandit27@bandit:~$ mktemp -d \/tmp\/tmp.RG0BBbh379 bandit27@bandit:~$ cd \/tmp\/tmp.RG0BBbh379 bandit27@bandit:\/tmp\/tmp.RG0BBbh379$ git clone ssh:\/\/bandit27-git@localhost\/home\/bandit27-git\/repo Cloning into &#8216;repo&#8217;&#8230; Could not create directory &#8216;\/home\/bandit27\/.ssh&#8217;. The authenticity of &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/huzi-baozi.com\/?p=1255\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Bandit Level 27 \u2192 Level 28&#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-1255","post","type-post","status-publish","format-standard","hentry","category-bandit"],"_links":{"self":[{"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts\/1255","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=1255"}],"version-history":[{"count":1,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts\/1255\/revisions"}],"predecessor-version":[{"id":1256,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=\/wp\/v2\/posts\/1255\/revisions\/1256"}],"wp:attachment":[{"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/huzi-baozi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}