[SOLVED] metasploit error;genfile not detected!!???...plz help
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
metasploit error;genfile not detected!!???...plz help
hi as many of you can see i am a newcommer on LQ and am trying to get some help.
the problem i have have is that i have installed metasploit(metasploit-framework-4.16.16+20171109102338.git.1.c5fd027~1rapid7-1.el6.x86_64) from the official metasploit repository using the automated linux installer and beore the recent update it used to work just fine , i was able to use its full functionality . but now i just get an error . is it because in the recent update there was one for metasploit too . i really don't know , i may be a learning ethical hacker but i am still new to linux .
it basically just gives me the same error (which can be seen below) :
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated ../../opt/metasploit/apps/pro/Gemfile.lock to version control.
If this is a development machine, remove the /opt/metasploit/apps/pro/Gemfile freeze
by running `bundle install --no-deployment`.
The list of sources changed
You have deleted from the Gemfile:
* source: source at `engine`
* source: source at `ui`
* metasploit-pro-engine
* metasploit-pro-ui
hi as many of you can see i am a newcommer on LQ and am trying to get some help.
the problem i have have is that i have installed metasploit(metasploit-framework-4.16.16+20171109102338.git.1.c5fd027~1rapid7-1.el6.x86_64) from the official metasploit repository using the automated linux installer and beore the recent update it used to work just fine , i was able to use its full functionality . but now i just get an error . is it because in the recent update there was one for metasploit too . i really don't know , i may be a learning ethical hacker but i am still new to linux . whenever i try to run commands like :
it basically just gives me the same error (which can be seen below) :
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated ../../opt/metasploit/apps/pro/Gemfile.lock to version control.
If this is a development machine, remove the /opt/metasploit/apps/pro/Gemfile freeze
by running `bundle install --no-deployment`.
The list of sources changed
You have deleted from the Gemfile:
* source: source at `engine`
* source: source at `ui`
* metasploit-pro-engine
* metasploit-pro-ui
.................................................................................................... .....
i don,t kn ow how to deal with this problem , a post with detailed help by anyone interested to help will be highly appreciated .
Ok, so did you try doing what the message SAID???? Did you run "bundle install"?? And you really need to read the LQ Rules and "Question Guidelines". Text-speak isn't a good thing to use here, and unless you provide details when asking questions, there's no way we can help. You don't tell us what version/distro of Linux, what has changed (since this WAS working), anything you've done/tried so far, etc.
Ok, so did you try doing what the message SAID???? Did you run "bundle install"?? And you really need to read the LQ Rules and "Question Guidelines". Text-speak isn't a good thing to use here, and unless you provide details when asking questions, there's no way we can help. You don't tell us what version/distro of Linux, what has changed (since this WAS working), anything you've done/tried so far, etc.
i have been using the same distro with a simple kernal version change from the point it was working to not-so-working .
was working : 4.13.11-200.fc26.x86_64 (on running uname -r)
is not working: 4.13.12-200.fc26.x86_64
when i am running the "bundle install" it simply says the following:
"Could not locate Gemfile"
i am not a expert in linux stuff and am new in LQ and will from next time definetly follow the rules .
Try: pwd
Did you run it "elsewhere"? (Use Google if don't know what something means.)
Also, have you spent=devoted at least a couple hours, to web-researching all the message output?
I find lots (but I'm spending my days on 32 bit efi, sorry, so I don't have any good help here).
p.p.s. (added since you haven't read my post yet, per username->ViewPublicProfile):
I might suggest (tho semi-OffTopic), since CEH will need to write high-quality reports,
that you painstakingly Edit #1 (for only gramatical errors; do not change content, as that would be considered 'cover-up'). I'm just trying to be helpful to your 'soft skills'.
Last edited by !!!; 11-19-2017 at 11:41 AM.
Reason: Corrected my SHOUTing rule-violation.
i have been using the same distro with a simple kernal version change from the point it was working to not-so-working .
was working : 4.13.11-200.fc26.x86_64 (on running uname -r)
is not working: 4.13.12-200.fc26.x86_64
when i am running the "bundle install" it simply says the following: "Could not locate Gemfile"
Still not telling us version/distro, but we can try to ASSUME you're using Fedora 26, right? And are you saying there has been a kernel update? And did you read/follow the Fedora instructions??? http://fedoraproject.org/wiki/Metasploit
Quote:
i am not a expert in linux stuff and am new in LQ and will from next time definetly follow the rules .
Reading the instructions should be the first thing you do with ANYTHING, not just Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.