ley73 / https-github.com-Hax4us-Metasploit_termux

0 stars 0 forks source link

Issues with metasploit.sh #1

Open Rehan587 opened 2 years ago

Rehan587 commented 2 years ago

ruby: no Ruby script found in input (LoadError) I'm getting this issue when I am trying to run msfconsole. Before this, i had an issue which was:-

/data/data/com.termux/files/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.

Which i solved with:-

command -v msfconsole $PREFIX/bin/msfvenom

/data/data/com.termux/files/usr/bin/msfconsole
/data/data/com.termux/files/usr/bin/msfvenom

But even after fixing this, i still can't use msfconsole.

# msfconsole
ruby: no Ruby script found in input (LoadError)

How do I solve this?

Here is my termux-info output :-

Application version:
0.117
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.org/apt/termux-main/ stable main
Updatable packages:
All packages up to date
Android version:
11
Kernel build information:
Linux localhost 4.14.186-g4f65b02ee-dirty #1 SMP PREEMPT Thu Dec 16 18:28:32 CST 2021 aarch64 Android
Device manufacturer:
vivo
Device model:
vivo 1915

Pls help

Rehan587 commented 2 years ago

In closing this as I realised I need Ruby 2.7.0 for this. For anyone who needs a solution.. Please use ABhacker Repo to install it.