Metasploit-framework: INFO command not working properly

Created on 28 Oct 2018  路  9Comments  路  Source: rapid7/metasploit-framework

Steps to reproduce

How'd you do it?

  1. open msf in kali
  2. use any module i.e. use exploit/multi/handler
  3. type info

Expected behavior

To show information of module

Current behavior

[-] Error while running command info: undefined method `notes' for #<Msf::Modules::Mod6578706c6f69742f6d756c74692f68616e646c6572::MetasploitModule:0x000055a499a51250>

Call stack:
/usr/share/metasploit-framework/lib/msf/core/module/side_effects.rb:7:in `side_effects'
/usr/share/metasploit-framework/lib/msf/core/module/side_effects.rb:12:in `side_effects'
/usr/share/metasploit-framework/lib/msf/base/serializer/readable_text.rb:161:in `dump_traits'
/usr/share/metasploit-framework/lib/msf/base/serializer/readable_text.rb:212:in `dump_exploit_module'
/usr/share/metasploit-framework/lib/msf/base/serializer/readable_text.rb:30:in `dump_module'
/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/modules.rb:134:in `cmd_info'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:501:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:453:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:447:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:447:in `run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:151:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:49:in `<main>'

System stuff

Metasploit version

Framework: 4.17.21-dev
Console : 4.17.21-dev

I installed Metasploit with:

  • [x] Kali package via apt

OS

Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: kali-rolling
Codename: kali-rolling
VERSION="2018.4"

bug library

Most helpful comment

Fixed by #10887

All 9 comments

Thanks for your feedback! It is definitely a bug on msf4, but not on msf5.
Maybe related #10870

My msfconsole appears this info error too!!
Any idea how to fix it?

@Green-m I think you are correct. It appears that some of the notes enhancement from #10563 may need to be backported as well.

Thanks for the catch @Green-m, PR with missed changes is up, will likely land shortly and push out with nightly updates.

Fixed by #10887

Thanks for reporting the issue @atombug!

your'e welcome @mkienow-r7

I have the same error. Is the fixed released yet. I did update but the error persist. just wanted to make sure my update worked

The fix was released 5 days ago to git. It may take a few days/weeks for your operating system to release an updated package which includes the fix.

Was this page helpful?
0 / 5 - 0 ratings