Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$msfconsole /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require': cannot load such file -- net/smtp (LoadError) #92

Closed
wildan444 opened this issue Feb 17, 2022 · 25 comments
Labels

Comments

@wildan444
Copy link

Important
Do not duplicate, search your issue before creating one!

Describe the bug
A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 8]
  • OS: [e.g. Android 10]
@ghost
Copy link

ghost commented Feb 20, 2022

Hi, I managed to solve the error by changing the repository.

termux-change-repo
I used the repository grimler so I managed to run msfconsole

@ghost
Copy link

ghost commented Feb 20, 2022

Screenshot_20220220-141429

@gushmazuko gushmazuko pinned this issue Feb 21, 2022
@wildan444
Copy link
Author

Screenshot_20220220-141429

Not work

@ghost
Copy link

ghost commented Feb 27, 2022

true uninstall termux to check if that was the solution but try and still get the error

@ghost
Copy link

ghost commented Feb 27, 2022

Screenshot_20220227-134607

@dedshit
Copy link
Contributor

dedshit commented Feb 28, 2022

add net-smtp in gemspec

@ghost
Copy link

ghost commented Feb 28, 2022

Screenshot_20220228-102941

Thank you

@srii15
Copy link

srii15 commented Feb 28, 2022

Bro how did you done that

@srii15
Copy link

srii15 commented Feb 28, 2022

I have same problem help me
I am so tired of this error

@ghost
Copy link

ghost commented Feb 28, 2022

I have same problem help me I am so tired of this error

https://github.com/dedshit/metasploit_in_termux

@srii15
Copy link

srii15 commented Feb 28, 2022

Again i need to install??

@skycat2216
Copy link

mikel/mail#1439

this might help

@dedshit
Copy link
Contributor

dedshit commented Mar 1, 2022

Again i need to install??

just check my pr then modify urself

@srii15
Copy link

srii15 commented Mar 1, 2022

Where do i get your program

@gushmazuko gushmazuko unpinned this issue Mar 4, 2022
@gushmazuko
Copy link
Owner

To this: #99 (comment)

@Prince01github
Copy link

Screenshot_20220228-102941

Thank you

How to solve this problem bro

@dedshit
Copy link
Contributor

dedshit commented Mar 6, 2022

Screenshot_20220228-102941
Thank you

How to solve this problem bro

seems no problem

@ghost
Copy link

ghost commented Mar 6, 2022

hello

To solve the error, although it will continue to give some errors, we can execute msfconsole and eliminate metasploit

rm -rf metasploit-framework

This only if they installed it previously, once metasploit is removed we will execute the script with dedshit solution

git clone https://github.com/dedshit/metasploit_in_termux
chmod 777 metasploit.sh
./metasploit.sh

when finished we can run msfconsole

@dedshit
Copy link
Contributor

dedshit commented Mar 7, 2022

hello

To solve the error, although it will continue to give some errors, we can execute msfconsole and eliminate metasploit

rm -rf metasploit-framework

This only if they installed it previously, once metasploit is removed we will execute the script with dedshit solution

git clone https://github.com/dedshit/metasploit_in_termux chmod 777 metasploit.sh ./metasploit.sh

when finished we can run msfconsole

Try my Gist

All warnings were removed gud luck

credit : gushmazuko

@ghost
Copy link

ghost commented Mar 7, 2022

hello

To solve the error, although it will continue to give some errors, we can execute msfconsole and eliminate metasploit

rm -rf metasploit-framework

This only if they installed it previously, once metasploit is removed we will execute the script with dedshit solution

git clone https://github.com/dedshit/metasploit_in_termux chmod 777 metasploit.sh ./metasploit.sh

when finished we can run msfconsole

Try my Gist

All warnings were removed gud luck

credit : gushmazuko

It worked, there is no warning anymore, I think this problem is already fixed

@dedshit
Copy link
Contributor

dedshit commented Mar 7, 2022

hello
To solve the error, although it will continue to give some errors, we can execute msfconsole and eliminate metasploit
rm -rf metasploit-framework
This only if they installed it previously, once metasploit is removed we will execute the script with dedshit solution
git clone https://github.com/dedshit/metasploit_in_termux chmod 777 metasploit.sh ./metasploit.sh
when finished we can run msfconsole

Try my Gist
All warnings were removed gud luck
credit : gushmazuko

It worked, there is no warning anymore, I think this problem is already fixed

during msfvenom payload generation & msfconsole exit weird error will occur

but not a problem its solved

@gushmazuko
Copy link
Owner

Fixed 280f656

@ghost
Copy link

ghost commented Sep 19, 2022

git clone https://github.com/dedshit/metasploit_in_termux
chmod 777 metasploit.sh
./metasploit.sh
I put this command but I don't get results

@ghost
Copy link

ghost commented Sep 19, 2022

I have uninstall termux and download again but same result

@gushmazuko
Copy link
Owner

In order to have updated Termux:

  • Purge all data of Termux in Android Settings
  • Uninstall and reinstall latest Termux version from F-Droid (Version on Play Store is outdated)
  • Then launch Termux to initialization, close it (force stop, not swap)
  • Reopen and execute:
source <(curl -fsSL https://kutt.it/msf)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants