Install Ubuntu & Metasploit in your termux application without a rooted device (2023) No Error.



Install Ubuntu  & Metasploit in your termux application without a rooted device (2023) No Error.

Installation steps
Update termux:

apt-get update && apt-get upgrade -y

Install wget:

apt-get install wget -y

Install proot:

apt-get install proot -y

Install git:

apt-get install git -y

Go to HOME folder:

cd ~

Download script:

git clone https://github.com/MFDGaming/ubuntu-in-termux.git

Go to script folder:

cd ubuntu-in-termux

Give execution permission:

chmod +x ubuntu.sh

Run the script:

./ubuntu.sh -y

Now just start ubuntu:

./startubuntu.sh

Installing Metasploit From Source
Why would you want to compile and install Metasploit from the source? Maybe you want the latest features that have not yet been released in the shell script. Or maybe you are developing a new module for Metasploit and need to test it.

But, this method requires manually downloading and compiling the source code, which can be a bit tedious. Follow the steps below to compile and install Metasploit from the source on your Ubuntu system.

1. Run the apt command below to update your package list to ensure you have the latest versions.

apt update -y

2. Install all of the required dependencies for building and installing Metasploit.

apt install gpgv2 autoconf bison build-essential postgresql libaprutil1 libgmp3-dev libpcap-dev openssl libpq-dev libreadline6-dev libsqlite3-dev libssl-dev locate libsvn1 libtool libxml2 libxml2-dev libxslt-dev wget libyaml-dev ncurses-dev  postgresql-contrib xsel zlib1g zlib1g-dev -y
apt install curl

Next, download the Metasploit source code by running the following command. This command saves the Metasploit source code to a file named msfinstall in your current working directory.

curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall

4. List the file to confirm you’ve downloaded the file successfully.

ls -la msfinstall

5. Before you can run and compile the source code, you must ensure that msfinstall is executable.

chmod 755 msfinstall
6. Finally, run the code to start the Metasploit installation.

./msfinstall

The installation process could last several minutes, depending on your system resources.

7. Access the Metasploit console and start using it.

msfconsole



Install Ubuntu & Metasploit in your termux application without a rooted device (2023) No Error. Install Ubuntu  & Metasploit in your termux application without a rooted device (2023) No Error. Reviewed by Surjeet Roy on March 03, 2023 Rating: 5

No comments:

To insert a short code, use & lt; i rel = & quot; code & quot; & gt; ... CODE ... & lt; / i & gt;
To insert a long code, use & lt; i rel = & quot; pre & quot; & gt; ... CODE ... & lt; / i & gt;
To insert an image, use & lt; i rel = & quot; image & quot; & gt; ... PICTURE URL ... & lt; / i & gt;

Powered by Blogger.