Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos

Nmap Development: 4.22SOC8 bugs, or features?

4.22SOC8 bugs, or features?

From: majek04 <majek04+nmap-dev_at_gmail.com>
Date: Mon, 5 Nov 2007 21:41:14 +0100

#1. ubuntu 7.04 (maybe newer...)
$ ./configure && make
g++ -Llibpcap -Wl,-E -Lnbase -Lnsock/src/ -o nmap main.o nmap.o
targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o
output.o scan_engine.o timing.o charpool.o services.o protocols.o
nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o
FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o
nmap_tty.o nmap_dns.o traceroute.o portreasons.o nse_main.o
nse_auxiliar.o nse_nsock.o nse_init.o nse_nmaplib.o nse_debug.o
nse_pcrelib.o nse_string.o -lnbase -lnsock libpcre/libpcre.a -lpcap
libdnet-stripped/src/.libs/libdnet.a liblua/liblua.a
liblua/liblua.a(loadlib.o): In function `ll_loadfunc':
loadlib.c:(.text+0x907): undefined reference to `dlsym'
loadlib.c:(.text+0x914): undefined reference to `dlerror'
loadlib.c:(.text+0x9ec): undefined reference to `dlopen'
loadlib.c:(.text+0xa01): undefined reference to `dlerror'
liblua/liblua.a(loadlib.o): In function `gctm':
loadlib.c:(.text+0x100e): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [nmap] Błąd 1
make[1]: Opuszczenie katalogu `/dev/shm/nmap-4.22SOC8'
make: *** [all] Błąd 2

Adding -ldl to linking command works.
Shouldn't this be tested at ./configure level?

#2.
$ sudo ./nmap -sS -p- --script=ripe.nse 127.0.0.1
Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-05 18:36 CET
SCRIPT ENGINE: nse/ not a directory
SCRIPT ENGINE: Aborting script scan.

Bug or feature? Why he is looking at nse dir?? (and not scripts/)
After 'make install' it seems to be working.

Marek Majkowski

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Nov 05 2007

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]