M
M
Mr Tails2019-04-21 23:32:20
linux
Mr Tails, 2019-04-21 23:32:20

Error installing Metasploit on Termux what to do???

I wanted to install Metasploit on Termux for tests and studies (It would be especially interesting to study the ElternalBlue vulnerability using my laptop as a target), but during installation I get the following error

Traceback (most recent call last):
<internal:gem_prelude>:4:in `<internal:gem_prelude>': undefined method `gem' for main:Object (NoMethodError)
        1: from <internal:gem_prelude>:3:in `<internal:gem_prelude>'
<internal:gem_prelude>:6:in `rescue in <internal:gem_prelude>': uninitialized constant Gem::LoadError (NameError)
dpkg: error processing package metasploit (--configure):
 installed metasploit package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 metasploit
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

I took the instructions from this page: https://wiki.termux.com/wiki/Metasploit_Framework
(Of course it would be easier to install metasploit on linux, for example, Kali Linux, but I have an old laptop with sis graphics and a 32 bit processor that linux no longer support, so I had to use termux)
I ask those who know to help, since I have probably been suffering with Termux for 3 weeks already ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Buffon_y, 2022-03-24
@Buffon_y

How did you solve this problem with this error?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question