Nmap Development mailing list archives
Re: Like to build a static, small basic nmap
From: "Hans Nilsson" <hasse_gg () ftml net>
Date: Tue, 07 Nov 2006 11:08:32 -1100
Maybe you could try to use hping2, that has less features and is smaller so it might be easier to make a small static version of it. And it has a port scan feature. On Tue, 7 Nov 2006 14:36:39 +0100, "Dominik" <kermit () justmail de> said:
Hello, I'm just user and tried to build a small, static nmap. I like just to do normal (parallel) portscans over my internal class-c ip-ranges (192.168.*.*). I like to install nmap on my small router. I took nmap 4.11, but there are not very many things I can configure: I tried ./configure \ --without-nmapfe \ --without-openssl and tried out firstly with dynamic libs. I got a ~900kB binary, with many outside libs: `--> ldd nmap linux-gate.so.1 => (0xffffe000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb7f7f000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7ec5000) libm.so.6 => /lib/tls/libm.so.6 (0xb7ea0000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e95000) libc.so.6 => /lib/tls/libc.so.6 (0xb7d63000) /lib/ld-linux.so.2 (0xb7fcc000) Is there a way, to simply reduce functions of nmap to 'normal portscans' (TCP stealth or connect scans), to make small binaries, when I try to compile static (CFLAGS= -static)? Is there something like an 'options.h' to choose, what functions I basicly like to include or not? TIA, Dominik from germany (please excuse my bad english) _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
-- Hans Nilsson hasse_gg () ftml net -- http://www.fastmail.fm - Accessible with your email software or over the web _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Like to build a static, small basic nmap Dominik (Nov 07)
- Re: Like to build a static, small basic nmap Hans Nilsson (Nov 07)
- Re: Like to build a static, small basic nmap Fyodor (Nov 07)
- Re: Like to build a static, small basic nmap Dirk Loss (Nov 09)