Hacking Linux Exposed

About
Authors
Contents
Reviews
Foreword
Purchase

Articles
Books
Sourcecode
Tools
Errata

Home

 


(view this code in a separate window)

crackerbox# rpcinfo -p target
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

crackerbox# nmap -sS -sR target
Starting Nmap V. 2.54BETA37 by fyodor@insecure.org (www.insecure.org/Nmap/)
Interesting ports on target (10.10.10.10):
Port	State	Protocol Service	(RPC)
21	open	tcp	 ftp
22	open	tcp	 ssh
80	open	tcp	 http
111    filtered	tcp	 sunrpc
139	open	tcp	 netbios-ssn
443	open	tcp	 https
1521	open	tcp	 ncube-lm
2049	open	tcp	 nfs	(nfs V2-3)
4045	open	tcp	 lockd	(nlockmgr V1-4)
32771	open	tcp	 sometimes-rpc5	(status	V1)
32772	open	tcp	 sometimes-rpc7 (mountd V1-3)