I am trying to run metasploit on Android using Termux. I've already installed it but when i try to run msfconsole command i get this error:

ruby: No such file or directory -- /data/data/com.termux/files/home/metasploit-framework/msfconsole (LoadError)

Thanks for response



Second EDIT


  • Please Share a Screenshot of the Home Directory on your Termux Terminal....to do so... Simply Execute the following commands and Share the Screenshot of the result... cd ~ && ls – hewhomustnotbenamed Feb 28 '19 at 10:49
  • 1
    You should try to execute metasploit and then make the screenshot. How did you install metaspoit? – Robert Mar 1 '19 at 16:22
  • I installed it from this tutorial : null-byte.wonderhowto.com/forum/… Second screenshot added – martas1357 Mar 1 '19 at 20:02
  • If you're new to MetaSploit Framework, I strongly recomment against trying to run it on Android. MSF itself is meant for experts, and configuring it on non-GNU/Linux systems add another layer of complexity as well as requirement for previous knowledge in related subjects. – iBug Mar 2 '19 at 7:19
  • Also, the tutorial provided many ways of installation. Which one exactly did you follow? – iBug Mar 2 '19 at 7:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.