Nmap Development mailing list archives
Re: Nmap on Android
From: Vlatko Kosturjak <kost () linux hr>
Date: Mon, 26 Jul 2010 23:24:21 +0200
On 07/09/2010 05:18 AM, Vlatko Kosturjak wrote:
On 07/08/2010 10:26 PM, David Fifield wrote:On Thu, Jul 08, 2010 at 10:16:54PM +0200, Vlatko Kosturjak wrote:On 06/30/2010 04:19 PM, Vlatko Kosturjak wrote: Same note applies: * if you want to use all features - use rooted phone (i guess everyone who have android on this list have already done that :) - * tested on G1 (cyagenomod) * sometimes there's no output due to davlik's stdout/stderr handling, use -oA and --log-errors options ALWAYS when starting scan - and even calling something like --iflist (anyone aware how can this be fixed?Can you post cross-compiling instructions? What does someone need in order to build it? Just the Android SDK?
Here's the nmap 5.35DC1 port to Android. Everything is still the same and the problem with stdout/stderr remains. Still did not have time to properly investigate it. I had time only to identify problematic part: it is vfprintf in output.cc source (specifically in log_write & log_vwrite functions). It seems like vfprintf does not print anything. Have tested on plain C file and vfprintf works. Very strange, but have to investigate it further. If anyone can help and know the solution, it would be appreciated. DC1 binary is here: http://ftp.linux.hr/android/nmap/nmap-5.35DC1-android-bin.tar.bz2 DC1 patchset is here: http://ftp.linux.hr/android/nmap/nmap-android-fixes-5.35DC1.diff Kost _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: Nmap on Android Vlatko Kosturjak (Jul 08)
- Re: Nmap on Android David Fifield (Jul 08)
- Re: Nmap on Android Vlatko Kosturjak (Jul 08)
- Re: Nmap on Android Vlatko Kosturjak (Jul 26)
- Re: Nmap on Android: bitset David Fifield (Aug 14)
- Re: Nmap on Android: bitset Vlatko Kosturjak (Aug 19)
- Re: Nmap on Android: bitset David Fifield (Aug 19)
- Re: Nmap on Android: bitset Kris Katterjohn (Aug 19)
- Re: Nmap on Android: bitset Vlatko Kosturjak (Aug 20)
- Re: Nmap on Android: stdout/stderr issues David Fifield (Sep 06)
- Re: Nmap on Android Vlatko Kosturjak (Jul 08)
- Re: Nmap on Android: bitset Vlatko Kosturjak (Aug 20)
- Re: Nmap on Android: bitset Kris Katterjohn (Aug 20)
- Re: Nmap on Android: bitset Vlatko Kosturjak (Aug 20)
- Re: Nmap on Android: bitset Vlatko Kosturjak (Aug 20)
- Re: Nmap on Android David Fifield (Jul 08)