
As discussed previously, we had successfully exploited a windows machine with Metasploit Framework and created an administrator user in targeted machine. Now in this article, we’ll another exploit which steals the Windows Product Key remotely.
Read Here: How to Hack Windows Machine with Metasploit Framework
For this methods, run the “NETAPI Exploit” (specially for Windows XP) in background mode by typing “exploit -j” command.
To view all hacked sessions, type “sessions” in same console.
Now we’ll use another exploit which steals the Microsoft Windows Product Key and for this, type “use post/windows/gather/enum_ms_product_keys” in same terminal.
Set the ID value of session which we hacked by typing “set session <ID>”
- Top 6 Advanced Techniques in Penetration Testing
- Top 4 Advanced Metasploit Techniques for Penetration Testers
- Exploit Writing for Beginners – A Step-by-Step Guide
- 15 Essential Windows Command Prompt Commands for Everyday Use
- Most Common DNS Record Types and Their Roles
- Top Skills Needed to Become a Cybersecurity Analyst
- Mastering Windows Management with WMIC Commands – Top 20 Examples
- Edit and Compile Code with the Best 5 Code Editors
- 50+ Top DevSecOps Tools You Need To Know
- Learn How to Add Proxy and Multiple Accounts in MoreLogin