In this video I show you exactly how a reverse shell works from writing the code, compiling it into an EXE, all the way to getting full command-line access on a Windows machine using Kali Linux.
This is one of the most important concepts in ethical hacking and penetration testing.
What you'll learn in this video:
→ What a reverse shell is and how it works
→ How to write a reverse shell payload in C
→ How to cross-compile a Windows EXE payload from Linux using mingw-gcc
→ How to set up a netcat listener using nc -lvp 4444
→ How to catch the shell and get full access to a Windows PC
→ Live demo: browsing files, opening Notepad — all remotely
Tools used:
→ Kali Linux (attacker machine)
→ mingw-w64 compiler (sudo apt install mingw-w64)
→ Netcat (nc) — the hacker's Swiss Army knife
→ Windows 10/11 (victim machine)
This video is for educational purposes only. Only test on machines you own or have explicit permission to test. Unauthorized access is illegal.
───────
Get the Code
Join my Discord to get the full source code → / discord
Links:
• Linux Manual Enumaration for PrivEsc
• Gathering information about Network
• Advanced Linux Privileges Escalation Course
• Advanced Windows Privileges Escalation COURSE
Chapters
0:00 – What is a Reverse Shell?
0:41 – Setting Up the Payload Code
1:02 – Understanding the Code (IP + Port)
1:24 – Finding Your Attacker IP (ifconfig)
1:46 – What is a Compiler? (and why you need one)
1:54 – Installing mingw-w64 on Kali Linux
2:16 – Compiling the EXE Payload
2:54 – Setting Up Netcat Listener (nc -lvp 4444)
3:15 – Executing the Payload on Windows
3:21 – Getting the Reverse Shell LIVE
3:28 – Browsing Victim Files Remotely
3:31 – Opening Notepad on Victim PC Remotely
3:39 – Outro + Get the Code
──────
no f***ing way this worked
dude wtf — I have full control of this windows pc
Related Topics
reverse shell tutorial, ethical hacking for beginners, kali linux tutorial 2026, netcat hacking, how hackers get into windows, penetration testing basics, payload creation, mingw compiler linux, nc lvp listener, windows hacking tutorial, cybersecurity tutorial, hacking windows from linux, reverse tcp shell, metasploit alternative, offensive security basics penetration testing for beginners,oscp tutorial,ceh tutorial,offensive security,reverse tcp shell,reverse shell demo,how hackers get into your pc,how hackers hack windows,cybersecurity tutorial,cybersecurity for beginners,infosec tutorial,bug bounty basics,hacking tutorial 2026,linux hacking,attacker machine kali,victim machine windows,metasploit alternative,shell access windows,remote shell windows,command shell hacking,hacking demo,ethical hacking demo
#ethicalhacking #reverseShell #kalilinux #cybersecurity #hacking #penetrationtesting #netcat #hackingwindows #infosec #bugbounty