PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

MSF Metasploit Framework For Linux Ubuntu Setup

Go down

MSF Metasploit Framework For Linux Ubuntu Setup Empty MSF Metasploit Framework For Linux Ubuntu Setup

Post by jamied_uk 25th September 2024, 11:54

!st

add export line with correct directory to path


Code:
sudo gedit ~/.bashrc



Code:
export PATH="/home/$USER/Documents/Scripts/HACKING/MSF/metasploit-framework:$PATH"


Code:
sudo chmod +x *.sh



Code:
./Setup.sh



Code:
#!/bin/bash
# https://jnet.forumotion.com/t2041-msf-metasploit-framework-for-linux-ubuntu-setup#3168

echo "MSF For Ubuntu Setup By J~Net (c) 2024"
echo ""

sudo apt install -y build-essential zlib1g zlib1g-dev libxml2 libxml2-dev libxslt-dev locate libreadline6-dev libcurl4-openssl-dev git-core autoconf curl postgresql postgresql-contrib libpq-dev libapr1 libaprutil1 libsvn1 libpcap-dev bundler

sudo gem install bundler

sudo bundle install --gemfile /home/jay/Documents/Scripts/HACKING/MSF/metasploit-framework/Gemfile


git clone https://github.com/rapid7/metasploit-framework.git

cd metasploit-framework

sudo bash -c 'for MSF in $(ls msf*); do ln -s /usr/local/src/metasploit-framework/$MSF /usr/local/bin/$MSF;done'

# Update MSF
sudo service postgresql start
metasploit-framework/msfdb init

# Load MSF
msfconsole
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum