.

I cant install MSF on my ubuntu 12.10

<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 6:41 am

I cant install MSF on my ubuntu 12.10

Hi there,
For some reasons i can't use backtrack for a month and i decided to use ubuntu 12.10. i downloaded the "metasploit-latest-linux-installer.run" file and i did these commands:

sudo su
chmod +X metasploit-latest-linux-installer.run
sudo ./metasploit-latest-linux-installer.run

but it gives me command not found error can you help me?? i dont wannna install it online using apt-get command.
ICS Academy Network Security Certified
<<

m0wgli

User avatar

Sr. Member
Sr. Member

Posts: 308

Joined: Fri Jul 20, 2012 3:34 pm

Post Fri Dec 07, 2012 7:24 am

Re: I cant install MSF on my ubuntu 12.10

Have you tried it without the sudo su step?
Security + | OSWP | eCPPT (Silver & Gold) | CSTA
<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 7:48 am

Re: I cant install MSF on my ubuntu 12.10

m0wgli wrote:Have you tried it without the sudo su step?


Yes i did that but i got the same error
ICS Academy Network Security Certified
<<

hayabusa

User avatar

Hero Member
Hero Member

Posts: 1662

Joined: Mon Jan 29, 2007 2:59 pm

Post Fri Dec 07, 2012 7:54 am

Re: I cant install MSF on my ubuntu 12.10

What command is it barking about?

Also, if you're already sudo su, why are you sudo'ing the final command?
Last edited by hayabusa on Fri Dec 07, 2012 7:56 am, edited 1 time in total.
~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
<<

RoleReversal

User avatar

Hero Member
Hero Member

Posts: 928

Joined: Fri Jan 04, 2008 8:54 am

Location: UK

Post Fri Dec 07, 2012 7:56 am

Re: I cant install MSF on my ubuntu 12.10

Could be many things, have you checked all the usual candidates? download checksums? File/user permissions? etc?

Possible stupid (and/or insulting - not intended) question, you are in same directory as the *.run installer when issuing the ./*.run command?

I'm running on 12.10 and MSF running perfectly my end.....
<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 7:59 am

Re: I cant install MSF on my ubuntu 12.10

Andrew Waite wrote:Could be many things, have you checked all the usual candidates? download checksums? File/user permissions? etc?

Possible stupid (and/or insulting - not intended) question, you are in same directory as the *.run installer when issuing the ./*.run command?

I'm running on 12.10 and MSF running perfectly my end.....


If i can rename it del it and make it executable through terminal it means i have enough perms and my path is correct im not new on linux
ICS Academy Network Security Certified
<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 8:06 am

Re: I cant install MSF on my ubuntu 12.10

hayabusa wrote:What command is it barking about?

Also, if you're already sudo su, why are you sudo'ing the final command?


Yeah ur right i'm wondering too however i used sudo su but if i dont use sudo for my command it gives me perm denied error
ICS Academy Network Security Certified
<<

hayabusa

User avatar

Hero Member
Hero Member

Posts: 1662

Joined: Mon Jan 29, 2007 2:59 pm

Post Fri Dec 07, 2012 8:07 am

Re: I cant install MSF on my ubuntu 12.10

Try this (if you haven't already):

http://www.johanpaul.com/blog/2012/02/s ... on-ubuntu/

Edit -

The actual 'fix' from that post:

"Update: Seem Björn's blog is down, so I'll post the solution here. Put the following line to your $HOME/.bashrc file:

alias sudo='sudo env PATH=$PATH $@'
And the run source $HOME/.bashrc (this will not be necessary on subsequent boots or starts of the terminal). You should again be able to run your scripts with sudo.

This will enable the fix only for me, as I put the alias in my .bashrc file, so it's not even a terrible security risk. And that's fine."
Last edited by hayabusa on Fri Dec 07, 2012 8:12 am, edited 1 time in total.
~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
<<

RoleReversal

User avatar

Hero Member
Hero Member

Posts: 928

Joined: Fri Jan 04, 2008 8:54 am

Location: UK

Post Fri Dec 07, 2012 8:08 am

Re: I cant install MSF on my ubuntu 12.10

Cyber.spirit wrote:im not new on linux


Hence my attempted caveat. But you are having problems, and you did ask for help; which I was trying to provide. Won't bother next time.
<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 8:29 am

Re: I cant install MSF on my ubuntu 12.10

hayabusa the problem was so stupid!
When i used chmod +x it won't make executable. I just used chmod 777 and msf is installing now!!!
ICS Academy Network Security Certified
<<

hayabusa

User avatar

Hero Member
Hero Member

Posts: 1662

Joined: Mon Jan 29, 2007 2:59 pm

Post Fri Dec 07, 2012 8:33 am

Re: I cant install MSF on my ubuntu 12.10

OK, well, with regard to my other reply (the thread about the paths), it might be something to keep in mind.

To THAT end, here's a bit more about that issue:

http://askubuntu.com/questions/146869/w ... untu-12-04

Glad you got it working.   :)

<Edit> (again) -

I'd be curious if the "sudo ./metasploit-latest-linux-installer.run" would've worked properly, if you HADN'T already been sudo su, without the aformentioned PATH workarounds. Maybe I'll test it out, if time permits (not likely, the way this morning's shaking out.)  Anyway, again, glad it works.

</edit>
Last edited by hayabusa on Fri Dec 07, 2012 8:37 am, edited 1 time in total.
~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
<<

m0wgli

User avatar

Sr. Member
Sr. Member

Posts: 308

Joined: Fri Jul 20, 2012 3:34 pm

Post Fri Dec 07, 2012 8:37 am

Re: I cant install MSF on my ubuntu 12.10

I just noticed in your first post that you had a capital X which won't change it, but your last post has a lowercase x. Just interested to know, do you still get that problem if use a lowercase x?
Security + | OSWP | eCPPT (Silver & Gold) | CSTA
<<

hayabusa

User avatar

Hero Member
Hero Member

Posts: 1662

Joined: Mon Jan 29, 2007 2:59 pm

Post Fri Dec 07, 2012 8:38 am

Re: I cant install MSF on my ubuntu 12.10

m0wgli wrote:I just noticed in your first post that you had a capital X which won't change it, but your last post has a lowercase x. Just interested to know, do you still get that problem if use a lowercase x?


...and then there's that...
~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 8:39 am

Re: I cant install MSF on my ubuntu 12.10

Andrew Waite wrote:
Cyber.spirit wrote:im not new on linux


Hence my attempted caveat. But you are having problems, and you did ask for help; which I was trying to provide. Won't bother next time.


Andrew man your not bothering me i just wanted to mention my situation. please don't be sad of my reply.
ICS Academy Network Security Certified
<<

cyber.spirit

User avatar

Sr. Member
Sr. Member

Posts: 356

Joined: Sun Feb 26, 2012 8:07 am

Location: in your heart!

Post Fri Dec 07, 2012 8:41 am

Re: I cant install MSF on my ubuntu 12.10

m0wgli wrote:I just noticed in your first post that you had a capital X which won't change it, but your last post has a lowercase x. Just interested to know, do you still get that problem if use a lowercase x?


No No it was just wrong type here i know x must be lower case and i typed lower case in ternminal but it didn't work!!!!!!!!!!!!!!!!!!!!!!!!!!1
ICS Academy Network Security Certified

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software