The usefulness could be debated but this sure was fun to accomplish. The result is a PowerShell Core console inside a Kali Linux terminal running in a Windows PowerShell console. Pictures follow.
First I followed the instructions from the Kali blog here:
Installing Kali Linux on Windows 10 Using the Linux Subsystem
Next within that Kali subsystem I followed the instructions from Microsoft here:
Installing PowerShell Core On macOS and Linux
I scrolled down to the section:
Installation via Package Repository - Debian 9
But...
Ran into a DNS issue. This is solved by using nano editor in linux to change the DNS file:
nano /etc/resolv.conf
then Ctrl+O to save and Ctrl+X to exit
I then had no trouble following the instructions and once done...BAM!
PowerShell Core inside Kali Linux inside Windows PowerShell on Windows 10
Why did I do it? Because I could. If we don't test it, we won't break it. If we don't break it, we miss an opportunity to learn.
First I followed the instructions from the Kali blog here:
Installing Kali Linux on Windows 10 Using the Linux Subsystem
Next within that Kali subsystem I followed the instructions from Microsoft here:
Installing PowerShell Core On macOS and Linux
I scrolled down to the section:
Installation via Package Repository - Debian 9
But...
Ran into a DNS issue. This is solved by using nano editor in linux to change the DNS file:
nano /etc/resolv.conf
then Ctrl+O to save and Ctrl+X to exit
I then had no trouble following the instructions and once done...BAM!
PowerShell Core inside Kali Linux inside Windows PowerShell on Windows 10
Why did I do it? Because I could. If we don't test it, we won't break it. If we don't break it, we miss an opportunity to learn.
RSS Feed