Questions tagged [metasploit]

Metasploit is an open source exploitation framework that acts as a tool for developing and executing exploit code against a remote target machine

The Metasploit Framework is an open-source project owned/sponsored by Rapid7 for vulnerability assessment, exploitation development, penetration testing, and many other computer and network security-related tasks.

Since version 3 of the Framework, Metasploit has been written primarily in Ruby. Version 2 and older were written in Perl. The various payloads, stagers, and shellcodes are primarily written in C, assembly, and Java.

Metasploit is developed on Github. Documentation and community forums are available on Rapid7's community site. Questions can also be asked in the #metasploit channel on Freenode.

37 questions
15
votes
2 answers

Vulnerability demonstration on Ubuntu 9.04

For a class on IT security, I want to demonstrate privilege escalation to the students. To do so, I looked through the exploit/linux/local list in the Metasploit Framework, finding (among others) exploit/linux/local/sock_sendpage from August 2009. I…
3
votes
1 answer

Redirect metasploit traffic through a compromised host

first of all I want to say that my issue is not about the 'Portfwd' option of the meterpreter: https://www.offensive-security.com/metasploit-unleashed/portfwd/ Lets say I have access to 2 computers: - Computer A is mine and is running linux. -…
Django
  • 33
  • 4
3
votes
1 answer

How to install Metasploit Community on a remote headless Debian box?

After attempting to get Metasploit to work nice with my desktop box (with limited success), I've decided to instead set it up on on separate box. However, it seems like the Metasploit community installer requires a GUI to install it, which I of…
2
votes
2 answers

VirtualBox (5.2) installation issue / guest additions for metasploitable3

I am having issues installing virtualbox on my kali-rolling dist (Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux). My main goal is to setup metasploitable3 (https://github.com/rapid7/metasploitable3). I have…
Alex Beam
  • 21
  • 2
2
votes
0 answers

Installing wpscan and metasploit

I installed metasploit and all dependencies following the instructions here: sudo apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev openjdk-7-jre git-core autoconf postgresql pgadmin3…
2
votes
1 answer

Installing VMware tools on Metasploitable2

I'm learning Linux. I have installed Metasploitable2 on VMware workstation. I am unable to install VMware tools on my VM, so I can do copying/pasting etc. How can this be done? I know I first need to mount the virtual drive but after that I'm…
JakeP
  • 123
  • 1
  • 4
2
votes
1 answer

Postgresql wont start after reboot. Kali linux Raspberry Pi 2

I have been trying for days to get postgresql to work and it did briefly before a restart. How to I set the correct permissions? This is the error I get when I try to start the service after a reboot. root@kali:~# service postgresql start [....]…
Hani Umer
  • 45
  • 1
  • 6
2
votes
2 answers

How to achieve root privilege in Metasploitable 2 Linux?

Suppose, I have just entered the Metasploitable 2 Linux like the following command: username : msfadmin password : msfadmin Now, I need to gain 'root' privilege so that I do not need to use 'sudo' - command again and again. For example, in order to…
user109285
1
vote
1 answer

Metasploitable file system error (fsck); and msfadmin root password not working

encountered this on Metasploitable 2 Give root password for maintenance (or type Control-D to continue): The default root password of msfadmin isn't working. It keeps saying login incorrect. Please what is the correct password and how do I resolve…
1
vote
1 answer

Using Metasploit with 3G USB modem

I have a computer with Linux BackTrack 5 as host and Windows XP as guest on virtual box. I am using Host-Only-Adapter to create virtual LAN and to share USB modem internet as well so that both host and guest are simultaneously connected to internet…
ron.sgh
  • 11
  • 3
1
vote
1 answer

How do I properly add a python shell to the shells file under /etc/shells?

I would also like to do the same for metasploit. I know that using Kali would be more practical but my PC isn't good enough to run it on VB.
Sidney Upton
  • 33
  • 1
  • 6
1
vote
0 answers

Manually setting environment variables for Metasploit

How do I set manually environment variables for Metasploit, when I execute db_driver I get this message: [*] No Active Driver [*] Available: [*] DB Support: Enable the postgresql driver with the following command: [*] …
SIFE
  • 156
  • 6
1
vote
2 answers

How to run msfconsole within any directory?

I just installed metasploit. The issue is I can only run ./msfconsole in installation directory which is /opt/framework/metasploit-framework. When I run msfconsole in another directory, I get this error: Could not find rake-10.4.2 in any of the…
1
vote
2 answers

Metasploit Directory Doesn't Run Executables Without ./

I have Metasploit installed on OSX in /usr/local/share/msf Metasploit's executables can't be run outside it's directory thus would give a command not found error. msfbinscan msfconsole msfd msfelfscan msfmachscan msfpescan msfrop msfrpc…
user139056
1
vote
1 answer

Kali linux starting and initializing the database errors

I have been trying to use Armitage and I have been following this tutorial, and at step 2.2, I get these errors: root@Xeno:~# service postgresql start [....] Starting PostgreSQL 9.1 database server: main[....] perl: warning: Setting locale…
XenoWad
  • 23
  • 1
  • 2
  • 10
1
2 3