黑基网 首页 IT教程 信息安全 查看内容

安全渗透测试工具Kali Linux可以直接安装在Windows 10上啦

2018-1-22 12:47| 投稿: xiaotiger |来自: 互联网

摘要: Windows 10中引入了一个令人兴奋的新功能Windows Subsystem for Linux (WSL),一个能在Windows 10上原生运行Linux二进制可执行文件(ELF格式)的兼容层。这个功能使在Windows 10上直接安装Kali Linux成为可能,虽然 ...

Windows 10中引入了一个令人兴奋的新功能Windows Subsystem for Linux (WSL),一个能在Windows 10上原生运行Linux二进制可执行文件(ELF格式)的兼容层。

这个功能使在Windows 10上直接安装Kali Linux成为可能,虽然由于各种环境限制(如缺少原始套接字以及缺少定制的Kali内核),在Windows上安装Kali并不是最佳选择。但在很多情况下,将Kali Linux与Windows 10整合在一起使用会觉得更方便,尤其当Windows是我们的主要工作环境时。其他有用的情况是标准化工具和脚本,以跨多个环境运行,将Linux渗透测试命令行工具快速移植到Windows等。例如,下面是从Kali Linux上通过WSL运行Metasploit框架。

安装步骤

  1. 确保你的Windows 10的版本为Windows build 16215 或更高。打开一个管理PowerShell窗口,并使用下面的命令行安装Windows子系统。完成后重新启动。

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

2. 重新启动后,打开命令行shell并运行以下命令来安装默认的Ubuntu环境,这为我们安装Kali奠定基础。

lxrun / install

3. 下载并安装WSL Switcher,然后下载一个Kali镜像,将其提取到磁盘:

git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git

cd WSL-Distribution-Switcher

python get-prebuilt.py kalilinux/kali-linux-docker

python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz

lxrun /setdefaultuser root

4.现在,Kali已经安装在Windows 10机器上,可以通过运行“bash”命令来与之交互:

bash

5. 此时,你已位于Kali内部,可以像平常一样使用它 - 安装软件包,使用工具等。强烈建议首先运行更新和升级:

exportLANG=C

apt-get update

apt-get dist-upgrade

更详细的情况可访问Kali Linux官方网站,网站上有安装演示视频,不过国内可能播放不了。

, groupId: 6511677309445997059, itemId: 6511677309445997059, type: 2, subInfo: { isOriginal: false, source: 安全编程笔记, time: 2018-01-17 00:23:41 }, tagInfo: { tags: [{"name":"Windows"},{"name":"Linux"},{"name":"Windows 10"},{"name":"Ubuntu"},{"name":"Git"}], groupId: 6511677309445997059, itemId: 6511677309445997059, repin: 0, }, has_extern_link: 0 }, commentInfo: { groupId: 6511677309445997059, itemId: 6511677309445997059, comments_count: 9, ban_comment: 0 }, mediaInfo: { uid: 63164396264, name: 安全编程笔记, avatar: //p1.pstatp.com/large/46e500041bef9b0abcae, openUrl: /c/user/63164396264/, follow: false }, pgcInfo: {"media_info":{"open_url":"/c/user/63164396264/","avatar_url":"https://p1.pstatp.com/large/46e500041bef9b0abcae","media_id":1584319914986510,"name":"安全编程笔记","user_verified":false},"articles":[{"item_id":"6513526786859483661","url":"/item/6513526786859483661","title":"在有些国家,白帽黑客的收入是软件工程师的16倍"},{"item_id":"6513184519468614147","url":"/item/6513184519468614147","title":"这款恶意软件竟然窥探了苹果Mac用户13年"},{"item_id":"6513169859893789188","url":"/item/6513169859893789188","title":"免费赠送的U盘你敢要吗?"},{"item_id":"6512747285791638030","url":"/item/6512747285791638030","title":"果粉注意了,一条文字信息就能让你的iphone崩溃,苹果下周才修复"}]}, feedInfo: { url: /api/pc/feed/, category: __all__, initList: [{"comments_count":7,"media_avatar_url":"//p1.pstatp.com/large/1353000b93157def4640","is_feed_ad":false,"is_diversion_page":false,"title":"Python字典很鸡肋容易学?那你肯定没学好!史上最精炼的字典教材","single_mode":true,"gallary_image_count":25,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6512279758842102285/","source":"潭州python","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p3.pstatp.com/list/190x124/59430002ce925152e61b","group_id":"6512279758842102285","is_related":true,"media_url":"/c/user/53337110638/"},{"comments_count":0,"media_avatar_url":"//p1.pstatp.com/large/53e50002500792bb5456","is_feed_ad":false,"is_diversion_page":false,"title":"Spring Cloud微服务框架","single_mode":true,"gallary_image_count":3,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6512290630075417101/","source":"Geek工厂","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p1.pstatp.com/list/190x124/593c0005eb5798b6b474","group_id":"6512290630075417101","is_related":true,"media_url":"/c/user/64445625460/"},{"comments_count":12,"media_avatar_url":"//p1.pstatp.com/large/13550018a452238fb80f","is_feed_ad":false,"is_diversion_page":false,"title":"Excel中最常用的12个函数|职场人做报表加速神器","single_mode":true,"gallary_image_count":15,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513344440013160973/","source":"耀说","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":18,"image_url":"//p3.pstatp.com/list/190x124/5b40000195cc5d0baaac","group_id":"6513344440013160973","is_related":true,"media_url":"/c/user/54829141290/"},{"comments_count":5,"media_avatar_url":"//p1.pstatp.com/large/568b0004194995013564","is_feed_ad":false,"is_diversion_page":false,"title":"你还在苦苦寻找Python编辑器?不用了!PyCharm安装包一步到位!","single_mode":true,"gallary_image_count":14,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513567242662183432/","source":"幸福小老鼠","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p1.pstatp.com/list/190x124/5b400003738ace40e57b","group_id":"6513567242662183432","is_related":true,"media_url":"/c/user/85020599635/"},{"comments_count":6,"media_avatar_url":"//p3.pstatp.com/large/1090/439273757","is_feed_ad":false,"is_diversion_page":false,"title":"Linux手机Librem 5开发更新:i.MX8方案处理器","single_mode":true,"gallary_image_count":2,"middle_mode":true,"has_video":false,"video_duration_str":null,"source_url":"/group/6512298910109663752/","source":"太平洋电脑网","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p1.pstatp.com/list/190x124/59590006b9e2174207f4","group_id":"6512298910109663752","is_related":true,"media_url":"/c/user/3389144301/"},{"comments_count":3,"media_avatar_url":"//p1.pstatp.com/large/17820006bed6f23ec1dd","is_feed_ad":false,"is_diversion_page":false,"title":"python学习之路(12):连接 Mysql 数据库及简单的增删改查回滚操作","single_mode":true,"gallary_image_count":13,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513163636993688077/","source":"山顶洞洞人","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":2,"image_url":"//p3.pstatp.com/list/190x124/5945000523faf9cf38c8","group_id":"6513163636993688077","is_related":true,"media_url":"/c/user/52468413927/"},{"comments_count":2,"is_related":true,"is_feed_ad":false,"is_diversion_page":false,"title":"怎么确认Linux系统是否已经打上Meltdown和Spectre漏洞?","single_mode":true,"gallary_image_count":1,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6512175195527053581/","source":"悟空问答","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p3.pstatp.com/list/190x124/50ec0009ad7b3a351a62","group_id":"6512175195527053581"},{"comments_count":50,"media_avatar_url":"//p8.pstatp.com/large/567e0005eab85b5a0e97","is_feed_ad":false,"is_diversion_page":false,"title":"不需要任何代码知识的开发工具—GrapesJS","single_mode":true,"gallary_image_count":8,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513199014341509635/","source":"大大里","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":81,"image_url":"//p3.pstatp.com/list/190x124/594500053d731ad15214","group_id":"6513199014341509635","is_related":true,"media_url":"/c/user/60795876833/"},{"comments_count":103,"media_avatar_url":"//p1.pstatp.com/large/5681000337fd888b62d8","is_feed_ad":false,"is_diversion_page":false,"title":"数据恢复2:U盘坏了怎么办,我的方法可能可以起死回生","single_mode":true,"gallary_image_count":11,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6511545438816961038/","source":"奇凡想当然","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":22,"image_url":"//p1.pstatp.com/list/190x124/59390004618a1715b21d","group_id":"6511545438816961038","is_related":true,"media_url":"/c/user/1437070467/"},{"comments_count":6,"media_avatar_url":"//p9.pstatp.com/large/437800039b0f3a103a9e","is_feed_ad":false,"is_diversion_page":false,"title":"Excel技巧之——“Ctrl”+“Shift” 快捷键系列","single_mode":true,"gallary_image_count":25,"middle_mode":true,"has_video":false,"video_duration_str":null,"source_url":"/group/6513416391532478984/","source":"Excel学习与提高","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":1,"image_url":"//p1.pstatp.com/list/190x124/5b42000079e0e432f6c8","group_id":"6513416391532478984","is_related":true,"media_url":"/c/user/75006861051/"},{"comments_count":12,"media_avatar_url":"//p3.pstatp.com/large/2c6a0008798195f0c6f9","is_feed_ad":false,"is_diversion_page":false,"title":"win10电脑的“快速启动”模式你知多少?","single_mode":true,"gallary_image_count":10,"middle_mode":true,"has_video":false,"video_duration_str":null,"source_url":"/group/6511708754092753416/","source":"钰翔数码","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p3.pstatp.com/list/190x124/593f000016e0da32e605","group_id":"6511708754092753416","is_related":true,"media_url":"/c/user/62988720962/"},{"comments_count":33,"media_avatar_url":"//p1.pstatp.com/large/1319/7015158772","is_feed_ad":false,"is_diversion_page":false,"title":"BIOS和UEFI 你真的认识?","single_mode":true,"gallary_image_count":7,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6511844760469111299/","source":"电脑爱好者","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":3,"image_url":"//p3.pstatp.com/list/190x124/594000014f63a60ae5af","group_id":"6511844760469111299","is_related":true,"media_url":"/c/user/3377004366/"},{"media_avatar_url":"//p4.pstatp.com/large/54ed001edc597a4db8e7","is_feed_ad":false,"is_diversion_page":false,"title":"这里有一百道Linux笔试题,能拿90分以上的都去了BAT","single_mode":false,"gallary_image_count":0,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6511809188065182215/","source":"IT小明","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"comments_count":63,"group_id":"6511809188065182215","is_related":true,"media_url":"/c/user/74887486145/"},{"comments_count":20,"media_avatar_url":"//p3.pstatp.com/large/4719000084e185e23e84","is_feed_ad":false,"is_diversion_page":false,"title":"干货!Excel 表格的所有公式的操作方法看这篇就够了!","single_mode":true,"gallary_image_count":15,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513323927610065411/","source":"office技巧分享","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":9,"image_url":"//p1.pstatp.com/list/190x124/5b3f0001acfc2eab9d3e","group_id":"6513323927610065411","is_related":true,"media_url":"/c/user/77371300393/"},{"comments_count":4,"media_avatar_url":"//p1.pstatp.com/large/470f000287b98cf2ec34","is_feed_ad":false,"is_diversion_page":false,"title":"教你使用Vue.js的DevTools来调试你的vue项目","single_mode":true,"gallary_image_count":20,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513145880340595203/","source":"webstack前端栈","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":2,"image_url":"//p3.pstatp.com/list/190x124/5b3f00011b245a51c648","group_id":"6513145880340595203","is_related":true,"media_url":"/c/user/63539245567/"},{"comments_count":15,"media_avatar_url":"//p7.pstatp.com/large/56840001b2cb36bca139","is_feed_ad":false,"is_diversion_page":false,"title":"Excel还能这么用?输入数据后,自动输入当前时间,新手必会!","single_mode":true,"gallary_image_count":4,"middle_mode":true,"has_video":false,"video_duration_str":null,"source_url":"/group/6513456333511983624/","source":"每日易学2018","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":5,"image_url":"//p3.pstatp.com/list/190x124/5b3f0002eb4a12053bf9","group_id":"6513456333511983624","is_related":true,"media_url":"/c/user/15693819663/"},{"comments_count":2,"media_avatar_url":"//p9.pstatp.com/large/2c65000c5d05ea367691","is_feed_ad":false,"is_diversion_page":false,"title":"Linux运维常用网络抓包工具tcpdump的介绍和使用","single_mode":true,"gallary_image_count":6,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6513409187966353927/","source":"海渊haiyuan","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":1,"image_url":"//p1.pstatp.com/list/190x124/5b42000065b85feda3ae","group_id":"6513409187966353927","is_related":true,"media_url":"/c/user/5797167091/"},{"comments_count":2,"media_avatar_url":"//p1.pstatp.com/large/1bf40004aa925e5840cc","is_feed_ad":false,"is_diversion_page":false,"title":"前端开发CSS快速入门的3种方法,CSS游戏化编程很有趣!","single_mode":true,"gallary_image_count":4,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6512345881616843267/","source":"W3Cschool","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p1.pstatp.com/list/190x124/594800000e893641d687","group_id":"6512345881616843267","is_related":true,"media_url":"/c/user/50001408756/"},{"comments_count":0,"is_related":true,"is_feed_ad":false,"is_diversion_page":false,"title":"苹果和微软,谁厉害?","single_mode":true,"gallary_image_count":0,"middle_mode":false,"has_video":false,"video_duration_str":null,"source_url":"/group/6510155996529164557/","source":"悟空问答","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":0,"image_url":"//p1.pstatp.com/list/190x124/54ee0010b7067ea08f8a","group_id":"6510155996529164557"},{"comments_count":15,"media_avatar_url":"//p3.pstatp.com/large/4e730003c577e572e799","is_feed_ad":false,"is_diversion_page":false,"title":"用Python3写一款轻量级的zip压缩的破解工具,一共25行代码","single_mode":true,"gallary_image_count":2,"middle_mode":true,"has_video":false,"video_duration_str":null,"source_url":"/group/6513172911786820104/","source":"曝光黑客的那些小伎俩","more_mode":null,"article_genre":"article","has_gallery":false,"video_play_count":19,"image_url":"//p9.pstatp.com/list/190x124/59450005303282f74934","group_id":"6513172911786820104","is_related":true,"media_url":"/c/user/52488504507/"}] }, shareInfo: { shareUrl: https://m.toutiao.com/item/6511677309445997059/, abstract: Windows 10中引入了一个令人兴奋的新功能Windows Subsystem for Linux (WSL),一个能在Windows 10上原生运行Linux二进制可执行文件(ELF格式)的兼容层。
小编推荐:欲学习电脑技术、系统维护、网络管理、编程开发和安全攻防等高端IT技术,请 点击这里 注册黑基账号,公开课频道价值万元IT培训教程免费学,让您少走弯路、事半功倍,好工作升职加薪!



免责声明:本文由投稿者转载自互联网,版权归原作者所有,文中所述不代表本站观点,若有侵权或转载等不当之处请联系我们处理,让我们一起为维护良好的互联网秩序而努力!联系方式见网站首页右下角。


鲜花

握手

雷人

路过

鸡蛋

相关阅读

发表评论

最新评论

引用 游客 2018-5-12 01:53
第七十二章 中转
网络棋牌室变相赌博 http://www.bjjdwx.com/athrq5gk5/
引用 游客 2018-5-2 21:46
至少已经不是最后一名了。
棋牌制作内部本钱多少 http://www.bjjdwx.com/athr6exf0/
引用 游客 2018-2-2 18:22
Z posad do zakwalifikowania postpowania powoda jako bezprawne postpowanie penomocnictwa osobistego oraz przeznaczenia art. 5 KC. Eksperymentowanie za porednictwem uczestnika skrtu medykamentów na realizacj modelu, jakiego trwaoci pozwana nie umoliwiaby, nie istnieje przekornego sporód zasadami wspóistnienia niekomunalnego, rozumianymi jak takie zachowanie, w uzysku jakiego wyniknie obowizek lub uprawienie wstrzymane za spraw zasad grzeczn czy te suce osigniciu poziomu idei podlegajcego pejora ...

查看全部评论(3)


新出炉

返回顶部