Closed 1bharath-yadav closed 9 months ago
cat /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/resolver.rb > r.rb; cp r.rb /sdcard
run it and send that r.rb file
Wait I reinstalling
Wait I reinstalling
for what ?
Msf console new curl link
On Thu, 25 Jan, 2024, 10:15 pm dedshit, @.***> wrote:
Wait I reinstalling
for what ?
— Reply to this email directly, view it on GitHub https://github.com/gushmazuko/metasploit_in_termux/issues/270#issuecomment-1910591471, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBOPGZGVLIF6OTNZ52V6XJLYQKD35AVCNFSM6AAAAABCK2IBDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGU4TCNBXGE . You are receiving this because you authored the thread.Message ID: @.***>
source <(curl -fsSL https://kutt.it/msf)
In metasploit folder = sed -i '0,/\"\/etc\/resolv.conf\"/s//\"\/data\/data\/com.termux\/files\/usr\/etc\/resolv.conf\"/' $(find . -name 'resolver.rb')
Solved
Solved
ok
source <(curl -fsSL https://kutt.it/msf)
In metasploit folder = sed -i '0,/"/etc/resolv.conf"/s//"/data/data/com.termux/files/usr/etc/resolv.conf"/' $(find . -name 'resolver.rb')
Solved
without escaping slash it wont work
also is this answer for me or someone else ?
Thanks anyway
On Thu, 25 Jan, 2024, 10:28 pm dedshit, @.***> wrote:
ok
— Reply to this email directly, view it on GitHub https://github.com/gushmazuko/metasploit_in_termux/issues/270#issuecomment-1910615622, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBOPGZGGTPEP2J7V5XE3CI3YQKFMZAVCNFSM6AAAAABCK2IBDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGYYTKNRSGI . You are receiving this because you modified the open/close state.Message ID: @.***>
no prob :)
Metasploit tip: Use the analyze command to suggest runnable modules for hosts /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/resolver.rb:14:in'
from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/resolver.rb:7:in '
from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/cached_resolver.rb:6:in '
<module:DNS>': uninitialized constant Net::DNS (NameError) from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/resolver.rb:8:in
<module:Rex>' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/resolver.rb:6:in
<top (required)>' from <internal:/data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:inrequire' from <internal:/data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in
require' from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:inrequire' from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:30:in
require' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/cached_resolver.rb:13:in<module:DNS>' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/cached_resolver.rb:7:in
<module:Rex>' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/rex/proto/dns/cached_resolver.rb:5:in
<top (required)>' from <internal:/data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:inrequire' from <internal:/data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in
require' from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:inrequire' from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:30:in
require' from /data/data/com.termux/files/usr/opt/metasploit-framework/lib/msf/ui/console/driver.rb:83:ininitialize' 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:indriver' 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:instart' from /data/data/com.termux/files/usr/bin/msfconsole:23:in