msf-nasm_shell -- bug? #15566
Unanswered
CurtisSlone
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Was receiving following error when running msf-nasm_shell on ruby 2.5.7 and 2.7.4
Traceback (most recent call last):
4: from /usr/share/metasploit-framework/tools/exploit/nasm_shell.rb:44:in
<main>' 3: from /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in
run'2: from /usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:29:in
push_context' 1: from /usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:99:in
switch_context'/usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:63:in `clear_readline': uninitialized constant Readline (NameError)
I deleted line 133 and 134 in shell.rb of metasploit-framework/lib/rex/ui/text/shell.rb
It now works as expected.
I haven't tried developing the ruby script into something that word work based on y'alls work. Not sure of any other unforseen consequences of erasing this code other than history manager won't work correctly.
Beta Was this translation helpful? Give feedback.
All reactions