{"id":576,"date":"2018-05-24T20:09:08","date_gmt":"2018-05-24T11:09:08","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=576"},"modified":"2018-04-29T20:09:27","modified_gmt":"2018-04-29T11:09:27","slug":"%e3%80%90wsl%e3%80%91kali-linux%e3%82%92windows-10%e3%81%a7%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=576","title":{"rendered":"\u3010WSL\u3011kali Linux\u3092Windows 10\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><a href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/kali-linux\/9pkr34tncv07\">\u3053\u3061\u3089<\/a>\u306ewindows\u30b9\u30c8\u30a2\u304b\u3089\u3001Kali\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u304c\u3001\u65e2\u5b58\u306eBash on ubuntu on windows\u306eWSL\u3068\u7af6\u5408\u3057\u305f\u308a\u3057\u305f\u3089\u5acc\u3060\u3063\u305f\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u3067\u306f\u306a\u304f\u30b9\u30c8\u30a2\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30fc\u3068\u3044\u3046\u3084\u308a\u65b9\u3092\u30c1\u30e7\u30a4\u30b9\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001<\/p>\n<pre><code>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux\n<\/code><\/pre>\n<p>\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001<a href=\"https:\/\/docs.kali.org\/general-use\/kali-linux-sources-list-repositories\">The Kali Rolling Repository<\/a>\u304b\u3089\u6700\u65b0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001<br \/>\n<code>sources.list<\/code>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u63db\u3048\u308b\u4f5c\u696d\u304c\u5fc5\u8981\u307f\u305f\u3044\u3067\u3059\u304c\u3001\u50d5\u306e\u5834\u5408\u3053\u308c\u306f\u5fc5\u8981\u306a\u304b\u3063\u305f\u3067\u3059\u3002<br \/>\n\u30b9\u30c8\u30a2\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u5fc5\u8981\u306a\u3044\u306e\u304b\u306a\uff1f<\/p>\n<p>\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7de8\u96c6\u3002<\/p>\n<pre><code>sudo cp \/etc\/apt\/sources.list \/etc\/apt\/sources.list.bak\nsudo nano \/etc\/apt\/sources.list\n<\/code><\/pre>\n<p>Kali\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001Kali\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304c\u958b\u3044\u305f\u3089\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066Kali\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre><code>sudo su -\napt-get update\napt-get dist-upgrade\napt-get update\n<\/code><\/pre>\n<p>Kali\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u30da\u30fc\u30b9\u30c8\u306f\u3001ctrl+shift+v\u3084ctrl+v\u3067\u306f\u306a\u304f\u3001\u53f3\u30af\u30ea\u30c3\u30af\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u305f\u3089\u3001\u81ea\u5206\u306e\u597d\u304d\u306aKali\u306e\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u516c\u5f0f\u306b\u66f8\u3044\u3066\u3042\u308b\u306e\u306f\u3053\u308c\u3067\u3059\u304c\u3001<\/p>\n<pre><code>apt-get install metasploit-framework\n<\/code><\/pre>\n<p>\u50d5\u306f\u3084\u3063\u3071\u308a<code>wpscan<\/code>\u3067\u3002<\/p>\n<pre><code>apt-get wpscan\n<\/code><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001<code>wpscan --update<\/code>\u3002<\/p>\n<p>\u305d\u3057\u305f\u3089\u3001<\/p>\n<pre><code>wpscan -u yuis.org\/blog --enumerate u\n<\/code><\/pre>\n<p>\u307f\u305f\u3044\u306b\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u3002<\/p>\n<pre><code>[+] Identified the following 1 user\/s:\n    +----+-------+------------------+\n    | Id | Login | Name             |\n    +----+-------+------------------+\n    | 1  | fu    | fu\u3055\u3093\u306e\u8a18\u4e8b\u4e00\u89a7 |\n    +----+-------+------------------+\n\n[+] Finished: Sun Apr 29 19:22:17 2018\n[+] Requests Done: 70\n[+] Memory used: 95.504 MB\n[+] Elapsed time: 00:00:12\n<\/code><\/pre>\n<p>\u3044\u3051\u307e\u3057\u305f\u306d\u3002\u3084\u3063\u3071\u308a\u751fKali\u3060\u3068\u3001Ubuntu\u304b\u3089\u5b9f\u884c\u3059\u308bKali\u3088\u308a2\u500d\u4f4d\u65e9\u3044\u3067\u3059\u3002<\/p>\n<h2>\u53c2\u8003<\/h2>\n<p><a href=\"https:\/\/www.kali.org\/news\/kali-linux-in-the-windows-app-store\/\">https:\/\/www.kali.org\/news\/kali-linux-in-the-windows-app-store\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3061\u3089\u306ewindows\u30b9\u30c8\u30a2\u304b\u3089\u3001Kali\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u304c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-9i","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/576"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=576"}],"version-history":[{"count":1,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":577,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions\/577"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}