Jump to content
Nytro

Compiling Nmap for Android

Recommended Posts

Posted

[h=1]Compiling Nmap for Android[/h]

Compile Nmap for Android

This tutorial will show you how to compile the latest version of Nmap for your Android device starting with a standard Ubuntu install. I will offer instructions on how to obtain two versions of compiler that I’ve had success compiling software for Android. I will show the Android NDK and the free Lite ARM compiler from Mentor (formally Code Sorcery). Hopefully you can take this instruction to try and compile other tools for Android.

The build environment and instructions come from an auditor with strong technical skills but somebody who is not a programmer or developer so hopefully my view point can help other individuals who are also not developers. I’ve built cross-compile environments for Openwrt, Nokia Maemo, Familiar Linux (iPaq) in the past but always from piecing together instructions from multiple Google queues and forum searches. I’m creating this document so it will be helpful for someone somebody elses Google search.

After the Ubuntu installation here are ALL the steps you can/should take to compile Nmap for Android. I like vim as my command-line editor. You can use which ever editor you prefer.

Here is a quick rundown of what is done. Everything (almost) is done from a terminal window.

  1. I update all Ubuntu software and install all files and tools to compile software on Ubuntu
  2. I download the software required to compile for Android
  3. Setup the environment to compile for Android
  4. I create a source folder in the home directory for downloading and compiling the software.
  5. Download the software, patch, configure, and compile.
  6. Install Android SDK Platform Tools to copy files to your phone
  7. Copy files to the phone and set PATH environment variable.

(read more)

(download PDF)

Download:

http://www.jedge.com/docs/Compile%20Nmap%20for%20Android.pdf

Sursa: Compiling Nmap for Android

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...