Questions tagged [metasploit]

This tag is for questions about *programming* the Metasploit framework, not for using the framework or attacking a specific site.

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.

If your question is about using Metasploit, rather than programming with it, then it should probably go on our sister site Information Security.

If your question is about attacking a specific system, such questions are off-topic on Stack Overflow. They are also off-topic on Information Security unless they demonstrate an understanding of the concepts involved and clearly identify a specific problem.

Also, any issues resulting from using such tools without permission from the target are your own risk; we do not endorse such actions in any way.

228 questions
1
vote
1 answer

TF30063: You are not authorized to access xxx.visualstudio.com

When I am trying to connect to my project in TFS by login to my Microsoft account, I am getting some script error like below, it was working until yesterday, but I tried to do a Pen Test by installing MetaSploit from Rapid7 and uninstalled it after…
1
vote
1 answer

Difference between Stagers, stages and singles

Using msfconsole and searched for linux x64 payloads. I came across stagers, stages and singles? They all have 'reverse_tcp' in them which reverses the connection back to the attacker. However I tried looking up the differences between stagers,…
Jonathan
  • 29
  • 5
1
vote
0 answers

How do i send a mail in Ruby with the Gmail SMTP i need modify this plugin for metasploit

i have a problem with metasploit because i need send an email when the sessions will be opening, i'm trying to create an smtp server in kali but it does not work, my unique alternative is send the emails with this plugin for metasploit, but i need…
1
vote
1 answer

Error resource rc:3: syntax error, unexpected '<', expecting end-of-input

I am trying to execute a ruby script which should test some functionality of a honeypot: This is the script: version sleep(1) shellcodes = { 'download:exec' => { 'payload' => 'windows/download_exec', …
1
vote
1 answer

Can't create a Session with ms08_067_netapi

I have a small "lab" trying to pentest at home, and I have my main OS and on a VM I'm running Windows XP SP3 (ENG). I use the ms08_067_netapi and the reverse_tcp as a payload. When i use the exploit command this is what I get. [*] Started reverse…
marduc812
  • 1,177
  • 17
  • 26
1
vote
1 answer

Show payload options in msfvenom now that the -o flag no longer works

OS: Kali Linux 2.0 running as a virtual-machine (VirtualBox) inside of Ubuntu MATE running i3. This is a fairly straightforward question: now that the -o flag no longer presents payload options in msfvenom what has replaced it? I have looked at the…
Jjdt12
  • 13
  • 3
1
vote
2 answers

Metasploit created apk not installing on android device

I am trying to install a hacked apk on an android device (GT - 19300 and SGS Tab S 10.5). My problem is, that it is not installing that apk neither on my phone nor on my tab. It keeps saying, that the application could not be installed... Phone is…
Niemand
  • 21
  • 4
  • 8
1
vote
2 answers

Exploit Development - Shellcode Doesn't Work?

I am following corelan.be/index.php/2009/07/19/exploit-writing-tutorial-part-1-stack-based-overflows/ to reproduce the exploit. Firstly, I found the position of EIP was after the 26089 As (at 0016F454), and the ESP was 4 characters after EIP (at…
1
vote
0 answers

Is it possible to run metasploitable on a raspberry pi?

i was just wondering, is it possible to run metasploitable on a raspberry pi B+ to use as a target? i have looked for about an hour now and i cannot find any references to running the OS on the pi. if you can find anything, or any downloads for…
Harry Abbott
  • 37
  • 1
  • 3
1
vote
1 answer

android: custom metasploit apk

I tried to create a custom android apk to open a meterpreter shell session on metasploit, but it's not working. It connects to metasploit handler, but I don't have the meterpreter shell. public static void startAsync() { new Thread() { …
kaso naim
  • 61
  • 6
1
vote
1 answer

how to fix install network_interface gem on windows

when I want to run msfconsole I see this error : f:\metasploit\apps\pro\msf3>ruby msfconsole Could not find network_interface-0.0.1 in any of the sources Run bundle install to install missing gems. when I execute 'bundle' install…
unbl0ck3r
  • 371
  • 4
  • 16
1
vote
1 answer

Could not connect to database postgres pg_hba (OSX)

So I'm trying to set up PostgreSQL to be used with metasploit on my Mac 10.9 Mavericks machine. I'm trying to follow the instructions outlined on this page. http://www.darkoperator.com/installing-metasploit-framewor/ and I got to the command:…
scottybobby
  • 315
  • 3
  • 12
1
vote
1 answer

Gem bundles error stops metasploit from starting on my iDevice

hope you all doing good, so my problem is that I can't run metasploit on my iPhone and it's kind of frustrating since I'm sure I followed the installation steps carefully. When I type "ruby msfconsole" it says that Metasploit requires the bundler…
NourDine
  • 11
  • 1
1
vote
0 answers

How to create many virtual consoles for msfrpc plugin for python?

I am trying create several virtual consoles with the msfrpc plugin for python. However, whenever I create a new console, I get a back error_backtrace import msfrpc client = msfrpc.Msfrpc({}) client.login('msf','123') res =…
Abe
  • 757
  • 6
  • 15
1
vote
1 answer

gem install metasploit-framework-db -v '4.11.0.pre.dev

Trying to install Metasploit Framework on OS X Maverick following this guide. I got to step 15, but while running bundle install the installer gets stuck on trying to install metasploit-framework -v '4.10.1.pre.dev' with the following error:…
user4399111