Originally posted by: KiloBravo
The 2:7.60-3 build of nmap in the AIX ToolKit has version-specific dependencies it is not checking for and fails to operate until they are manually satisfied:
/* Original Functioning Environment: */
nmap.ppc 2:7.60-1
lua.ppc 5.3.3-1
pcre.ppc 8.33-1
# yum install ncat nmap nping
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ncat.ppc 2:7.60-3 will be installed
--> Processing Dependency: libpcap >= 1.9.0-1 for package: 2:ncat-7.60-3.ppc
---> Package nmap.ppc 2:7.60-1 will be updated
---> Package nmap.ppc 2:7.60-3 will be an update
---> Package nping.ppc 2:0.7.60-3 will be installed
--> Running transaction check
---> Package libpcap.ppc 0:1.8.1-1 will be updated
---> Package libpcap.ppc 0:1.9.0-1 will be an update
--> Processing Dependency: dbus >= 1.11.12-1 for package: libpcap-1.9.0-1.ppc
--> Processing Dependency: libdbus-1.a(libdbus-1.so.3) for package: libpcap-1.9.0-1.ppc
--> Running transaction check
---> Package dbus.ppc 0:1.12.10-1 will be installed
--> Processing Dependency: expat >= 2.2.4 for package: dbus-1.12.10-1.ppc
--> Running transaction check
---> Package expat.ppc 0:2.2.0-1 will be updated
---> Package expat.ppc 0:2.2.4-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
ncat ppc 2:7.60-3 PHS_AIX_Toolbox 343 k
nping ppc 2:0.7.60-3 PHS_AIX_Toolbox 505 k
Updating:
nmap ppc 2:7.60-3 PHS_AIX_Toolbox 6.8 M
Installing for dependencies:
dbus ppc 1.12.10-1 PHS_AIX_Toolbox 2.0 M
Updating for dependencies:
expat ppc 2.2.4-1 PHS_AIX_Toolbox 511 k
libpcap ppc 1.9.0-1 PHS_AIX_Toolbox 904 k
Transaction Summary
====================================================================================================================================
Install 3 Packages
Upgrade 3 Packages
Total download size: 11 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): dbus-1.12.10-1.aix6.1.ppc.rpm | 2.0 MB 00:00:00
(2/6): expat-2.2.4-1.aix6.1.ppc.rpm | 511 kB 00:00:00
(3/6): libpcap-1.9.0-1.aix6.1.ppc.rpm | 904 kB 00:00:00
(4/6): ncat-7.60-3.aix6.1.ppc.rpm | 343 kB 00:00:00
(5/6): nmap-7.60-3.aix6.1.ppc.rpm | 6.8 MB 00:00:00
(6/6): nping-0.7.60-3.aix6.1.ppc.rpm | 505 kB 00:00:00
------------------------------------------------------------------------------------------------------------------------------------
Total 9.7 MB/s | 11 MB 00:01
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : expat-2.2.4-1.ppc 1/9
Installing : dbus-1.12.10-1.ppc 2/9
Updating : libpcap-1.9.0-1.ppc 3/9
Updating : 2:nmap-7.60-3.ppc 4/9
Installing : 2:nping-0.7.60-3.ppc 5/9
Installing : 2:ncat-7.60-3.ppc 6/9
Cleanup : 2:nmap-7.60-1.ppc 7/9
Cleanup : libpcap-1.8.1-1.ppc 8/9
Cleanup : expat-2.2.0-1.ppc 9/9
Installed:
ncat.ppc 2:7.60-3 nping.ppc 2:0.7.60-3
Dependency Installed:
dbus.ppc 0:1.12.10-1
Updated:
nmap.ppc 2:7.60-3
Dependency Updated:
expat.ppc 0:2.2.4-1 libpcap.ppc 0:1.9.0-1
Complete!
# nmap -sS -O -vv -A --script vuln target
exec(): 0509-036 Cannot load program nmap because of the following errors:
0509-150 Dependent module /opt/freeware/lib/liblua.a(liblua-5.3.so) could not be loaded.
0509-152 Member liblua-5.3.so is not found in archive
# yum install lua
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lua.ppc 0:5.3.3-1 will be updated
---> Package lua.ppc 0:5.3.4-2 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Updating:
lua ppc 5.3.4-2 PHS_AIX_Toolbox 1.7 M
Transaction Summary
====================================================================================================================================
Upgrade 1 Package
Total download size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
lua-5.3.4-2.aix6.1.ppc.rpm | 1.7 MB 00:00:00
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : lua-5.3.4-2.ppc 1/2
Cleanup : lua-5.3.3-1.ppc 2/2
Updated:
lua.ppc 0:5.3.4-2
Complete!
# nmap -sS -O -vv -A --script vuln target
exec(): 0509-036 Cannot load program nmap_64 because of the following errors:
rtld: 0712-001 Symbol _GLOBAL__AIXI_libpcre_so was referenced
from module nmap_64(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol _GLOBAL__AIXD_libpcre_so was referenced
from module nmap_64(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.
# yum install pcre
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pcre.ppc 0:8.33-1 will be updated
---> Package pcre.ppc 0:8.42-1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Updating:
pcre ppc 8.42-1 PHS_AIX_Toolbox 716 k
Transaction Summary
====================================================================================================================================
Upgrade 1 Package
Total download size: 716 k
Is this ok [y/N]: y
Downloading Packages:
pcre-8.42-1.aix6.1.ppc.rpm | 716 kB 00:00:00
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : pcre-8.42-1.ppc 1/2
Cleanup : pcre-8.33-1.ppc 2/2
Updated:
pcre.ppc 0:8.42-1
Complete!
# nmap -sS -O -vv -A --script vuln ux9044
...functional output...