I was using a vnc auxiliary module when my metasploit suddenly stopped and it exited. Now when I am running msfconsole it is howing the following error message
Could not find io-console-0.5.6 in any of the sources
Run bundle install to install missing gems.
When I am trying to run 'bundle install' it is showing the following error meassage
Could not locate Gemfile
I have googled alot then found out that I have to open metasploit-framework directory to run this command. so I went into the directory and then executed this command, but it is showing the following error message.
faizan@10:/usr/share/metasploit-framework$ bundle install
There was an error while trying to write to /usr/share/metasploit-framework/.bundle/config. It is likely that you need to grant write permissions for that path.
I am stretching my head for hours now, what could have gone wrong. Please help me
chmod on the config file is also not working and showing an error message.
bundle install needs to be executed from within the metasploit-framwork directory. It also requires elevated privileges.
sudo bundle install
Also, it looks like you're using the Metasploit package on Kali, in which case there is possibly an issue with the package as distributed by Kali.
You can also try:
sudo gem install io-console
bundle installneeds to be executed from within themetasploit-framworkdirectory. It also requires elevated privileges.sudo bundle install
Yes I was also trying it but it was saying that this would break the application for non-root users. Should I execute it? it is safe
Also, it looks like you're using the Metasploit package on Kali, in which case there is possibly an issue with the package as distributed by Kali.
You can also try:
sudo gem install io-console
Thank you Thank you Thank you!
You are an amazing legend, Thanks for the quick reply and help.
My problem is solved.
Thanks
I had the same issue but it worked out for me by downloading the rubylib in the metasploit-framework dir
apt-get install libruby2.7
bundle installneeds to be executed from within themetasploit-framworkdirectory. It also requires elevated privileges.sudo bundle installYes I was also trying it but it was saying that this would break the application for non-root users. Should I execute it? it is safe
yes u can....its just warn u bcoz u r using sudo command.
I had the same issue but it worked out for me by downloading the rubylib in the metasploit-framework dir
apt-get install libruby2.7
yeehhh...It worked for me too..Thanks dude
I had the same issue but it worked out for me by downloading the rubylib in the metasploit-framework dir
apt-get install libruby2.7
It worked, thanks!
Didn't work for me until I added:
apt-get install ruby2.7-dev
Didn't work for me until I added:
apt-get install ruby2.7-dev
Спасибо друг, именно ты меня и спас :)
No problem ,.. Happy to help
On Thu, 15 Oct 2020, 18:07 kpua, notifications@github.com wrote:
Didn't work for me until I added:
apt-get install ruby2.7-dev
Спасибо друг, именно ты меня и спас :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rapid7/metasploit-framework/issues/13744#issuecomment-709389380,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXECT524JYH2MYFY7CBGVDSK4FZLANCNFSM4ODSFGGA
.
Most helpful comment
I had the same issue but it worked out for me by downloading the rubylib in the metasploit-framework dir
apt-get install libruby2.7