diff --git a/docs/Knowledge_Base/OS/Linux/Debian/Commands/DNS_Lookup.md b/docs/Knowledge_Base/OS/Linux/Debian/Commands/DNS_Lookup.md index 863a0c01e..fd08544a0 100644 --- a/docs/Knowledge_Base/OS/Linux/Debian/Commands/DNS_Lookup.md +++ b/docs/Knowledge_Base/OS/Linux/Debian/Commands/DNS_Lookup.md @@ -10,9 +10,9 @@ When installing dnsutils, you will be able to use the following commands - - 'dig' - - 'nslookup' - - 'nsupdate' + - `dig` + - `nslookup` + - `nsupdate` ### Command syntax @@ -30,7 +30,6 @@ #reverse lookup dig -x 1.1.1.1 +short - ``` #### nslookup diff --git a/docs/Knowledge_Base/OS/Windows/Commands/WSL_Windows_Subsystem_Linux.md b/docs/Knowledge_Base/OS/Windows/Commands/WSL_Windows_Subsystem_Linux.md index 11d425e6b..f384cc333 100644 --- a/docs/Knowledge_Base/OS/Windows/Commands/WSL_Windows_Subsystem_Linux.md +++ b/docs/Knowledge_Base/OS/Windows/Commands/WSL_Windows_Subsystem_Linux.md @@ -1,28 +1,32 @@ -### Kali Linux WSL - [_Reference_](https://www.kali.org/docs/wsl/wsl-preparations/#dism) +!!! info "" + #### Enabling "WSL Windows Subsystem Linux" + + Run `cmd` as Admin -Run cmd as Admin + ```bash + dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart + dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all + ``` -```shell -dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart -dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all -`` + **Reboot** -Reboot + ```bash + wsl --set-default-version 2 -```shell -wsl --set-default-version 2 -``` + wsl --install --distribution kali-linux + #Setup the username and password + ``` -```shell -wsl --install --distribution kali-linux -#Setup the username and password -``` + #### Location to move files locally -### Location to move files locally + Change USER_PROFILE -Change USER_PROFILE + ```bash + cd /mnt/c/users/USER_PROFILE/downloads + ``` -```shell -cd /mnt/c/users/USER_PROFILE/downloads -``` +!!! info "" + + #### Reference(s) + - Kali Linux WSL - [Kali wsl-preparations](https://www.kali.org/docs/wsl/wsl-preparations/#dism)