linux 用不用虚拟机,2018-06-10-不用虚拟机搭建Linux环境
发布日期:2021-10-27 11:20:43 浏览次数:9 分类:技术文章

本文共 3055 字,大约阅读时间需要 10 分钟。

前言

巨硬春季发布会的时候吹的“原生Windows系统下的unix环境”,结果开发者更新一直没出来,说是什么只10.4.1体验版才有,

结果昨天在Microsoft Store终于给我找到了,

a6e0c0ae98a0?from=singlemessage

妈耶竟然放出来了

妈耶,本来以为只有什么Ubuntu的支持之类的,结果一看.....

a6e0c0ae98a0?from=singlemessage

ubuntu也就算了,kali???

你这是要泛滥啊【害怕.jpg】

No, really…this isn’t clickbait. For the past few weeks, we’ve been working with the Microsoft WSL team to get Kali Linux introduced into the Microsoft App Store as an official WSL distribution and today we’re happy to announce the availability of the “Kali Linux” Windows application. For Windows 10 users, this means you can simply enable WSL, search for Kali in the Windows store, and install it with a single click. This is especially exciting news for penetration testers and security professionals who have limited toolsets due to enterprise compliance standards.

While running Kali on Windows has a few drawbacks to running it natively (such as the lack of raw socket support), it does bring in some very interesting possibilities, such as extending your security toolkit to include a whole bunch of command line tools that are present in Kali. We will update our blog with more news and updates regarding the development of this app as it’s released.

We’d like to take this opportunity to thank the WSL team at Microsoft, and specifically @tara_msft and @benhillis for all the assistance and guidance with which this feat would not be possible. We hope you enjoy WSL’d Kali on Windows 10!

And now, a quick guide on getting Kali installed from the Microsoft App Store!

本着不作死就不会死的精神下载了一个,今天就来配置一下。

a6e0c0ae98a0?from=singlemessage

Kali Linux in the Windows App Store

0x01 Getting Kali Linux Installed on WSL

首先升级你的win10系统,确保安装了最新的【其实只要春季开发者update】更新,点击设置,开启程序员模式备用【万一等会儿kali抽风了你会感谢我的】

设置->更新与安全->针对开发人员->开发者模式

接着使用管理员权限运行你的power shell,或者右键Windows徽标然后a,执行命令安装linux模块:

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

a6e0c0ae98a0?from=singlemessage

如果不出意外的话电脑应该会重启才是【没有重启?那就抽风了qwq】接下来就可以愉快的安装windows ump了,

打开Microsoft Store,搜索Linux,应该会找到我上面的两张图,选择其中一个你喜欢的进行安装吧~

a6e0c0ae98a0?from=singlemessage

0x02 Updating Kali Linux on WSL

更新全家桶,请!

apt-get update

apt-get dist-upgrade

并没有任何不同啊【官方的blog负责任的如是说】

Updating Kali Linux on WSL is no different from any other instance of Kali

a6e0c0ae98a0?from=singlemessage

偷张ubuntu的图占占位置噗嗤

0x03 装杀器!

For installing Penetration Testing tools on Kali,Installing tools from the Kali Linux repository is usually done via apt commands.

和正常的安装一样,只不过有时候有一些的软件装上去会让kali抽风,打都打不开,

原因是因为kali其实在Windows系统下创建了一个虚拟的环境,基于windows环境肯定就要服那些杀毒软件的管,打不开的话可以在设置里面设置kali的目录为防病毒异常模式,具体看这个视频:https://vimeo.com/258892544

快照?

或者说重置更好一点,把自己系统玩坏了怎么吹,直接开发者模式强恢就ok了,注意:所有的文件都会被删除【官方说了如果出BUG了就格吧嘻嘻嘻】

or even due to Kali or WSL bugs. If this happens, here is a quick recovery guide to get back on top of things【反正出了bug只管格】

具体看这个视频:https://vimeo.com/258835347

桌面环境!

这个很重要,不同于ubuntu的窗口,有一些kali的程序po出来的文件如果只能cat查看简直就是要命了,

官方推荐的是xfce4,可以直接local连接,丝滑般流畅~

首先安装xfce4到kali,

a6e0c0ae98a0?from=singlemessage

有一定的几率xfce4会爆炸,删除后重新安装即可,具体可以看官方的blog上面的视频:https://vimeo.com/255052199

安装完毕之后,$ sudo /etc/init.d/xrdp start,会提供连接的端口:

a6e0c0ae98a0?from=singlemessage

图中port=3390就是默认的连接端口,使用本地的远程连接输入:127.0.0.1:33910就可以连接了~

a6e0c0ae98a0?from=singlemessage

connet local kali.gif

后记

恭喜你,除了无线审计之外的其他工作你都可以在你的unit bash环境上完成了【网卡虚拟化连接的我一直搞不定,官网上没有这个介绍网上也找不到相关的资料qwq】

但是日常撸撸站破一破hash还是欧克的啦

最后的最后

转载地址:https://blog.csdn.net/weixin_34518190/article/details/116633665 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:linux运行core控制台程序,如何在Linux中从.NET Core 2.0创建可执行控制台应用程序?...
下一篇:linux脚本给变量赋多个值,shell for循环、循环变量值付给其他shell脚本的方法

发表评论

最新留言

留言是一种美德,欢迎回访!
[***.207.175.100]2024年03月14日 15时15分22秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

php 内存泄露检测工具,php - 诊断内存泄漏 - 允许#bytes的内存大小耗尽 2019-04-21
php sqlsrv 类,php5.*通过sqlsrv建立与mssql的连接 2019-04-21
php multi卡住,curl_multi_select解决curl_multi网页假死问题 2019-04-21
php在前端的作用,php在前端中的作用 2019-04-21
java最基础的几个编程模板,Java中的模板“元编程”是个好主意吗? 2019-04-21
javascript php 混合,Javascript和PHP的混合编程 2019-04-21
php 两个数组中不同的元素,PHP-查询两个数组中的不同元素 2019-04-21
java中哪个接口可以启用比较功能,Java集合知识测试--A卷 2019-04-21
php文章列表无限往下加载,给 Elementor 文章列表模块添加视频弹出和无限加载效果... 2019-04-21
linux锁定内核和dtd,[原]用DTD规范XML文档 2019-04-21
调整cst时间 linux,修改Linux系统时间EDT改为CST 2019-04-21
linux内核文件结构,linux内核的目录文件结构--详细 2019-04-21
linux 卸载pppoe,Linux ADSL拨号上网 2019-04-21
linux mysql密码错误,解决linux下mysql密码错误的问题 2019-04-21
linux内核为何不使用stl,STL之Vector(Linux内核)完整实现 2019-04-21
ubunty linux 恢复模式,Ubuntu 12.04系统如何关闭恢复模式 2019-04-21
linux sdk 窗口句柄,第三章 用SDK编译出第一个在Linux下的软件界面 2019-04-21
css3是什么 ptml_CSS3的animation属性 2019-04-21
imp 只导入索引_EXP IMP 导入导出 2019-04-21
linux修改lang环境变量,Linux系统配置环境变量 2019-04-21