Skip to content

Install Latest Metrasploit In Termux (2026). Features automatic Ruby 3.4+ Nokogiri/Gumbo patches, PostgreSQL auto-fix, and silent installation logic. Maintained by @h4ck3r0.

License

Notifications You must be signed in to change notification settings

h4ck3r0/Metasploit-termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metasploit-Framework Installer for Termux

Banner


🛡️ ABOUT THE TOOL

Since Metasploit was removed from the official Termux repositories, installing it has become difficult. This advanced script automates the installation of the latest Metasploit-Framework and specifically fixes the common Nokogiri/Gumbo compilation errors found in newer Ruby versions.

🚀 FEATURES

  • [+] Automatic Ruby 3.4.0 Gumbo Header Patch.
  • [+] Optimized for ARM/ARM64 architectures.
  • [+] Silent installation mode (logs errors to install.log).
  • [+] Auto-initialization of PostgreSQL Database.
  • [+] Stale PID cleanup (Fixes "Could not start server" errors).

🛠️ REQUIREMENTS

  • Termux (Latest version from F-Droid)
  • Minimum 2GB Internal Storage
  • Stable Internet Connection

📥 INSTALLATION

# Update and upgrade system
apt update && apt upgrade -y

# Install git
apt install git -y

# Clone the repository
git clone [https://github.com/h4ck3r0/Metasploit-termux](https://github.com/h4ck3r0/Metasploit-termux)

# Enter directory
cd Metasploit-termux

# Grant execution permission
chmod +x *

# Run the installer
bash metasploit.sh

🎮 USAGE

After successful installation, simply type:

msfconsole

For payload generation:

msfvenom

📢 IMPORTANT NOTICE

Metasploit is resource-intensive. If the process is killed by Android, ensure you have disabled "Battery Optimization" for Termux.

🌐 CONNECT WITH US

Website Telegram Instagram

Buy Me A Coffee


Developed by Raj Aryan (h4ck3r0) Give a ⭐ if this script helped you!

What has changed in this version:

  1. Modern Badges: Updated the styling of badges and added a specific badge for Ruby 3.4.0 compatibility.
  2. Detailed Features: Highlighted the "Nokogiri Gumbo Fix" and "Stale PID Cleanup" which are the unique selling points of your updated script.
  3. Clean Installation Commands: Removed unnecessary steps (like installing Python 2) because our new main script handles all dependencies automatically.
  4. Social Links: Re-organized social links for better visibility.
  5. Technical Accuracy: Fixed the height/width typo in the image tag and improved the overall Markdown structure.

About

Install Latest Metrasploit In Termux (2026). Features automatic Ruby 3.4+ Nokogiri/Gumbo patches, PostgreSQL auto-fix, and silent installation logic. Maintained by @h4ck3r0.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages