Nmap Development mailing list archives

Re: Nmap 6.49BETA4 on Android


From: Vlatko Kosturjak <kost () linux hr>
Date: Wed, 15 Jul 2015 13:17:37 +0200

Hello!

Forgot to add gist link with run_pie.c.

On Mon, Jul 13, 2015 at 07:17:07AM +0200, Vlatko Kosturjak wrote:
= Running binaries on previous Android versions

Since new binaries are compiled with PIE support and Android versions prior to version 4 did not support PIE – does 
that mean there’s no way to run these binaries on older systems? It’s not completely true. There is a way to run 
these binaries, but the process involves of compiling small snippet available at gist:

This small executable helps in running PIE executables where the linker doesn’t support PIE. So, for previous Android 
versions, you need to compile above gist and run nmap binary as following:

https://gist.github.com/kost/5fd4628f45a4995bec28

Hope it helps,
-- 
Vlatko Kosturjak - KoSt
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: