Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 22 guests and 1 member online
Free Business and Tech Magazines and eBooks
You are here:
Home
Resources
Tutorials
I cant install MSF on my ubuntu 12.10
EH-Net
May 23, 2013, 07:07:30 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Resources
>
Tutorials
(Moderator:
don
) >
I cant install MSF on my ubuntu 12.10
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: I cant install MSF on my ubuntu 12.10 (Read 5979 times)
0 Members and 1 Guest are viewing this topic.
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
I cant install MSF on my ubuntu 12.10
«
on:
December 07, 2012, 05:41:02 AM »
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.
Logged
ICS Academy Network Security Certified
m0wgli
Full Member
Offline
Posts: 248
Re: I cant install MSF on my ubuntu 12.10
«
Reply #1 on:
December 07, 2012, 06:24:31 AM »
Have you tried it without the sudo su step?
Logged
Security + | OSWP | eCPPT | CSTA
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: I cant install MSF on my ubuntu 12.10
«
Reply #2 on:
December 07, 2012, 06:48:55 AM »
Quote from: m0wgli on December 07, 2012, 06:24:31 AM
Have you tried it without the sudo su step?
Yes i did that but i got the same error
Logged
ICS Academy Network Security Certified
hayabusa
Hero Member
Offline
Posts: 1633
Re: I cant install MSF on my ubuntu 12.10
«
Reply #3 on:
December 07, 2012, 06:54:51 AM »
What command is it barking about?
Also, if you're already sudo su, why are you sudo'ing the final command?
«
Last Edit: December 07, 2012, 06:56:49 AM by hayabusa
»
Logged
~ 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
Andrew Waite
Hero Member
Offline
Posts: 928
Re: I cant install MSF on my ubuntu 12.10
«
Reply #4 on:
December 07, 2012, 06:56:25 AM »
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.....
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: I cant install MSF on my ubuntu 12.10
«
Reply #5 on:
December 07, 2012, 06:59:49 AM »
Quote from: Andrew Waite on December 07, 2012, 06:56:25 AM
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
Logged
ICS Academy Network Security Certified
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: I cant install MSF on my ubuntu 12.10
«
Reply #6 on:
December 07, 2012, 07:06:49 AM »
Quote from: hayabusa on December 07, 2012, 06:54:51 AM
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
Logged
ICS Academy Network Security Certified
hayabusa
Hero Member
Offline
Posts: 1633
Re: I cant install MSF on my ubuntu 12.10
«
Reply #7 on:
December 07, 2012, 07:07:10 AM »
Try this (if you haven't already):
http://www.johanpaul.com/blog/2012/02/sudo-script-sh-command-not-found-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 Edit: December 07, 2012, 07:12:14 AM by hayabusa
»
Logged
~ 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
Andrew Waite
Hero Member
Offline
Posts: 928
Re: I cant install MSF on my ubuntu 12.10
«
Reply #8 on:
December 07, 2012, 07:08:02 AM »
Quote from: Cyber.spirit link=topic=9735.msg54320#msg54320
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.
Logged
--
http://www.infosanity.co.uk
--
http://blog.infosanity.co.uk
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: I cant install MSF on my ubuntu 12.10
«
Reply #9 on:
December 07, 2012, 07:29:09 AM »
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!!!
Logged
ICS Academy Network Security Certified
hayabusa
Hero Member
Offline
Posts: 1633
Re: I cant install MSF on my ubuntu 12.10
«
Reply #10 on:
December 07, 2012, 07:33:36 AM »
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/why-does-sudo-not-add-roots-path-with-ubuntu-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 Edit: December 07, 2012, 07:37:20 AM by hayabusa
»
Logged
~ 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
Full Member
Offline
Posts: 248
Re: I cant install MSF on my ubuntu 12.10
«
Reply #11 on:
December 07, 2012, 07:37:02 AM »
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?
Logged
Security + | OSWP | eCPPT | CSTA
hayabusa
Hero Member
Offline
Posts: 1633
Re: I cant install MSF on my ubuntu 12.10
«
Reply #12 on:
December 07, 2012, 07:38:43 AM »
Quote from: m0wgli on December 07, 2012, 07:37:02 AM
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...
Logged
~ 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
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: I cant install MSF on my ubuntu 12.10
«
Reply #13 on:
December 07, 2012, 07:39:25 AM »
Quote from: Andrew Waite on December 07, 2012, 07:08:02 AM
Quote from: Cyber.spirit link=topic=9735.msg54320#msg54320
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.
Logged
ICS Academy Network Security Certified
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: I cant install MSF on my ubuntu 12.10
«
Reply #14 on:
December 07, 2012, 07:41:38 AM »
Quote from: m0wgli on December 07, 2012, 07:37:02 AM
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
Logged
ICS Academy Network Security Certified
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(5) by
MrTuxracer
Greetings
: Hi from the UK
(4) by
MrTuxracer
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(0) by
prats84
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(27) by
don
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.