Kind of a hacker question... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Kind of a hacker question...

Does anyone know how to install Metaploit on windows 10 Subsystem for Linux, like an easy way ? Follow up, is it possible to open and type in the Linux Subsystem using an automatic python Script ? I would like it to open up each time I just press a button. Thanks

25th Sep 2018, 12:16 AM
Carson
Carson - avatar
15 Answers
- 1
You can install Kali Linux from Microsoft store and then follow this guide: https://securityonline.info/install-metasploit-on-ubuntu-linux-mint/ If you want to just press a button and make it start, you can create an alias for 'msfconsole' command. But, let me just tell you that though it will install, it will be almost useless in WSL environment. WSL is highly restricted in terms of functionality. For instance, you cannot run a ping command. Good luck trying to run useful Metasploit commands. I think it will be easier for you to install a Kali vertual machine and use Metasploit there. If your computer cannot handle the vertual machine, try dual booting windows and kali.
1st Oct 2018, 4:21 PM
Teddy Okello
Teddy Okello - avatar
0
thanks so much !!
1st Oct 2018, 9:40 PM
Carson
Carson - avatar
0
But from the dual-boot or kali vertual machine, could I use Python to open it and run metasploit ?
1st Oct 2018, 10:46 PM
Carson
Carson - avatar
0
Like if I dual-booted kali linix, could I open the terminal and run commands from a python script ?
1st Oct 2018, 10:50 PM
Carson
Carson - avatar
0
Okay, and can a python script open a terminal, and run commands in the terminal ?
1st Oct 2018, 10:56 PM
Carson
Carson - avatar
0
Thanks so much !! :)
1st Oct 2018, 11:00 PM
Carson
Carson - avatar
0
Another Thing, Does Metasploit Come Pre-Installed With the Linux System on a Dual-Boot ?
17th Oct 2018, 3:35 AM
Carson
Carson - avatar
0
So metaplsoit does come in the dual boot / primary / virtual box ?
17th Oct 2018, 12:34 PM
Carson
Carson - avatar
0
like which ones of those does it come in ?
17th Oct 2018, 12:34 PM
Carson
Carson - avatar
0
Thank you so much
18th Oct 2018, 1:02 PM
Carson
Carson - avatar
- 1
A virtual machine does everything a real machine and and a dualbooted one does. Its like running the actual linux only difference is you have to open windows first then virual machine then Kali. So yes you can run whatever script you want there.
1st Oct 2018, 10:50 PM
Teddy Okello
Teddy Okello - avatar
- 1
Dualbooting simply means you install two operating systems on one physical machine. At startup, you choose which way you want to go. If you go the Kali route, it will be like kali is the only os there. Same is true for Windows.
1st Oct 2018, 10:55 PM
Teddy Okello
Teddy Okello - avatar
- 1
Yes. you just need to import os module
1st Oct 2018, 10:57 PM
Teddy Okello
Teddy Okello - avatar
- 1
If you install the standard kali linux, or parrot OS, you will find it there. there is a list of all tools kali: https://tools.kali.org/tools-listing. Like I said before dual booting means you have two OS in your drive. What ever you install, it will come with everything that the OS needs.
17th Oct 2018, 7:29 AM
Teddy Okello
Teddy Okello - avatar
- 1
the only one that does not have metasploit is a wsl kali linux. the one you find on the Microsoft Store. Dual boot, primary and VB are all full installations of kali linux. The only difference is how you start it.
18th Oct 2018, 11:48 AM
Teddy Okello
Teddy Okello - avatar