 |
 |
Porting Nmap to OS X
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2001
Location: USA
Status:
Offline
|
|
I want NMAP (http://www.insecure.org/nmap/) and I want it to run on OS X. The problem is that I've never really compiled a source distribution without step-by-step instructions. I tried with nmap but I don't think it will run on a PPC. Then again, I have no idea. I would appreciate ANY advice on how to get this thing running in command-line mode. Thanks.
------------------
"Govenment is not
reason; it is not
eloquence. It is force.
Like fire it is a
dangerous servant and
a fearful master."
- George
Washington
|
|
"None are more hopelessly enslaved than those who falsely believe they are free." - Goethe
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Sad King Billy's Monument on Hyperion
Status:
Offline
|
|
No porting needs to be done. It can run on Mac OS X with a straight recompile. I installed it on my computer just last week, in fact.
Here's a good resource to get you starting on compiling apps in Mac OS X:
http://www.macaddict.com/osx/xphiles/11_02_00.html
|
|
I abused my signature until she cried.
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: New York, NY USA
Status:
Offline
|
|
compiled and ran fine for me too. no proglems.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2001
Status:
Offline
|
|
Which nmap version did you try? I tried the latest stable from source and the latest beta from freebsd ports source and they both didnt compile. Thanks for info.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
A friend of mine just wrote a funky GUI to nmap, I'm currently writing an Objective-C wrapper for Security.framework so he can authenticate (some nmap functions need root privs, for some reason).
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2001
Location: USA
Status:
Offline
|
|
Yeah, I copied the config files from /usr/libexec/config.* into a couple directories and it worked fine. Thanks to whoever posted a link to macaddict's article.
|
|
"None are more hopelessly enslaved than those who falsely believe they are free." - Goethe
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2001
Status:
Offline
|
|
Originally posted by Chiznibitz:
Yeah, I copied the config files from /usr/libexec/config.* into a couple directories and it worked fine. Thanks to whoever posted a link to macaddict's article.
Do you have the article link, i copied only the guess.config or somethign liek thsat but it still bombs
also anyone try compiling dsniff yet?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
You'll notice that the link was posted higher up the thread. You'll need to copy config.guess AND config.sub, though.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2001
Status:
Offline
|
|
Originally posted by Angus_D:
You'll notice that the link was posted higher up the thread. You'll need to copy config.guess AND config.sub, though.
K, I see, I need config.sub, while on the subject og compiling, did anyone get dsniff or python to compile? You probably need X though for dsniff to get the webspy to work though.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2001
Status:
Offline
|
|
sorry, it still doesnt compile, dont know what im doing wrong(im a unix guy too)
history:
tar -xzvf nmap-2.53.tar.gz
cd nmap-2.53
cp /usr/libexec/config.* .
./configure
result is:
loading cache .././config.cache
checking host system type... configure: error: can not guess host type; you must specify one
configure: error: ./configure failed for libpcap-possiblymodified
I tried erasing config.cache and redoing but that didnt work, any suggestions?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
You'll probably need to cp the config.sub and config.guess files into the libpcap-mossiblymodified directory, too.
And yes, plenty of people have Python working. Python 2.1 compiles just-about-out-of-the-box, if you follow the instructions in the README (or is it INSTALL?  )
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|