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
6
votes
5 answers

Can't load Metasploit after installation

After istallation of Metaploit via darkoperator/MSF-Installer try to start the msfconsole and it return: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- /usr/local/bin/config/boot (LoadError) from…
5
votes
2 answers

Uninstall and Remove Metasploit framework on Mac OSX

I had serious problems with Metasploit since I installed it, so I want to uninstall it I did try /opt/metasploit-framework/uninstall but it doesn't work can you help me.
Karol Idarmi
  • 277
  • 1
  • 4
  • 14
5
votes
1 answer

"js_be", and "js_le" in msfvenom format types

I have a question about Msfvenom format types. msfvenom --help-formats Executable formats asp, aspx, aspx-exe, axis2, dll, elf, elf-so, exe, exe-only, exe-service, exe-small, hta-psh, jar, jsp, loop-vbs, macho, msi, msi-nouac, osx-app, psh,…
bobby789
  • 175
  • 1
  • 2
  • 7
4
votes
4 answers

Metasploit crashed after upgrade

I have recently upgraded metasploit framework and after doing it, when I try to launch it I get the next error: msfconsole Unable to find a spec satisfying metasploit-framework (>= 0) in the set. Perhaps the lockfile is corrupted? Run bundle install…
4
votes
4 answers

msfconsole pop-out an error : Bundler faild to load , cannot load such file -- bundler/setup

So l installed parrot OS on my PC hard drive , after that l updated hole system and tried to run MSFCONSOLE . After l execute that command l get this error : Bundler failed to load and return this error: cannot load such file -- bundler/setup you…
root
  • 35
  • 1
  • 1
  • 6
4
votes
0 answers

Executing metasploit commands using Java

I am trying to develop a UI based app in Java to use Metasploit (OS: Kali Linux). Basically I want to start a terminal and run the command "msfconsole" and then once the Metasploit Framework Console starts I want to execute commands in it. Using…
Vru26
  • 49
  • 2
4
votes
1 answer

cannot load such file -- rbconfig (LoadError) - rubygems

So I am pretty new to this, please don't overestimate me and explain my issue/solution in detail :) Basicly I tried installing metasploit on BackTrack 5, however when running the command "msfconsole" (or any command linked to metasploit) I get this…
aekramer
  • 95
  • 1
  • 2
  • 8
3
votes
1 answer

Understanding metasploits meterpreter payload

I would like to get more in-depth knowledge of how the meterpreter works. If you disassemble the payload windows/meterpreter/reverse_typ, created by msfpayload with the following commands: $ msfpayload windows/meterpreter/reverse_tcp…
Erik
  • 11,944
  • 18
  • 87
  • 126
3
votes
0 answers

Audio streaming using metasploit

I want to make a microphone audio stream in metasploit like webcam_stream,so I added some codes to the ruby script at : (/usr/share/metasploit-framework/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/webcam.rb), the added piece of…
mohamed
  • 231
  • 1
  • 13
3
votes
0 answers

How to launch a hidden application on Android with sh command?

In metasploit i already hide an application with hide_app_icon command. Im trying starting an application with these commands #!/bin/bash while true do am start --user 0 -a android.intent.action.MAIN -n com.metasploit.stage/.MainActivity sleep…
SeckinK
  • 31
  • 3
3
votes
1 answer

How can I pass arguments to msfconsole -r resource.rc

So everything is in the title. Is there a way I can pass arguments to : msf> resource path/to/resource.rc Or msfconsole -r resource.rc Those arguments would passed into the ruby resource code as follow: ip =…
dovakin94
  • 33
  • 5
3
votes
2 answers

Where does the "payload" in the "payload.encoded" come from in a metasploit's exploit?

I am analyzing a metasploit exploit here and I am trying to figure out where does the payload in payload.encoded come from on line 358. I am newbie to exploit development but basic programming rules say that payload should be initialized before…
TheRookierLearner
  • 3,643
  • 8
  • 35
  • 53
3
votes
3 answers

Trying to install metasploit

I am trying to install metasploit. I tried using bundle install, which produced the below output. I don't understand why I can't install metasploit, I have tried a lot of different methods. I am using Windows 7 X64 on a ThinkCentre Edge92z…
flipbeatz
  • 41
  • 4
3
votes
1 answer

no such file to load -- bundler (LoadError)

So I'm running backtrack 5 in a virtual machine. I'm trying to update metasploit. I downloaded the metasploit directory from github and removed the old svn directory exactly as the web told me to…
CodeBrewer
  • 161
  • 2
  • 9
3
votes
1 answer

Metasploit msfconsole method_missing on Fedora 19

I installed metasploit on my Fedora 19 using this guide from fedora. After finishing all the steps I run msfconsole and get the following error: /usr/local/share/ruby/site_ruby/rubygems/specification.rb:1888:in 'method_missing': undefined local…
tgroshon
  • 306
  • 2
  • 7
1
2 3
15 16