Lua turned out to be quite entertaining so I have spent some time coding some more scripts for Nmap. The first script I finished was nfs-showmount.nse which can be used to query a remote server for any NFS shares:
|
nmap --script nfs-showmount -p 111 192.168.56.50 |
Interesting ports on yoda.localdomain (192.168.56.50):
PORT STATE SERVICE
111/tcp open rpcbind
Host script results:
| nfs-showmount:
| /home/storage/backup 192.168.56.0/255.255.255.0 192.168.56.66/255.255.255.255
|_ /home 192.168.56.0/255.255.255.0
The next one citrix-published-applications, queries a Citrix server for any published applications:
|
sudo nmap -sU --script citrix-published-applications -p 1604 192.168.56.5 |
Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-24 22:09 CET
Interesting ports on 192.168.56.5:
PORT STATE SERVICE
1604/udp open unknown
| citrix-published-applications:
| Notepad
| iexplorer
|_ registry editor