Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metasm_shell error undefined method history_manager #18423

Closed
daniruiz opened this issue Oct 4, 2023 · 1 comment · Fixed by #18425
Closed

metasm_shell error undefined method history_manager #18423

daniruiz opened this issue Oct 4, 2023 · 1 comment · Fixed by #18425
Assignees
Labels

Comments

@daniruiz
Copy link

daniruiz commented Oct 4, 2023

image

msf-metasm_shell
type "exit" or "quit" to quit
use ";" or "\n" for newline
type "file <file>" to parse a GAS assembler source file

/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:180:in `ensure in run': undefined method `history_manager' for nil:NilClass (NoMethodError)
        from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:181:in `run'
        from /usr/share/metasploit-framework/tools/exploit/metasm_shell.rb:172:in `<main>'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in `run': undefined method `history_manager' for nil:NilClass (NoMethodError)
        from /usr/share/metasploit-framework/tools/exploit/metasm_shell.rb:172:in `<main>'

The bug was introduced by the following commit a60e048 . Reverting it makes the command work again.

For now I've included a patch in kali's package to fix it and be able push the latest version 6.3.36 to our repo

Metasploit version

6.3.36 but also with latest changes from this repo

@adfoster-r7
Copy link
Contributor

Thanks for raising the issue! This should be fixed in the next minor version that gets cut in ~35 minutes from now - version 6.3.37 I believe

If there's anything else that's come up, we'll try to get it sorted 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants