Hi, Issue On Opening MsfConsole.
UPMMASTER opened this issue · comments
but how to use this command $PREFIX/opt/metasploit-framework
??
i used and it says : "Is a directory"
.
then i cant use this command
sed -i '0,/"/etc/resolv.conf"/s//"/data/data/com.termux/files/usr/etc/resolv.conf"/' $(find . -name 'resolver.rb')
because of error "no input files"
i should run $PREFIX/opt/metasploit-framework but i dont know how and where to run.
Can You Help Me?
Sorry to bother you.
[*] Starting the MetasPloit Framework consol/data/data/com.termux/files/usr/opt/metasploit-framework/lib/net/dns/resolver.rb:1087:in foreach': No such file or directory @ rb_sysopen - /etc/resolv.conf (Errno::ENOENT) from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/net/dns/resolver.rb:1087:in
parse_config_file'
from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/resolver.rb:66:in initialize' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/cached_resolver.rb:25:in
initialize'
from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/msf/ui/console/driver.rb:83:in new' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/msf/ui/console/driver.rb:83:in
initialize'
from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in new' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in
driver'
from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in start' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in
start'
from
/data/data/com.termux/files/usr/bin/msfconsole:23:in `
@Rkcoder0425 Let me tell you how.
thank to dev, i got some knowledge, type these in termux.
cd /data/data/com.termux/files/usr/opt/metasploit-framework
and this
sed -i '0,/"/etc/resolv.conf"/s//"/data/data/com.termux/files/usr/etc/resolv.conf"/' $(find . -name 'resolver.rb')