Sponsored Content
Top Forums UNIX for Advanced & Expert Users Please let me know Regarding Port Scan Post 302116643 by sysgate on Monday 7th of May 2007 10:14:48 AM
Old 05-07-2007
I've used it few times on a BSD server, the command was :
nmap -v -A -P0 10.10.1.1 (replaced by your actual IP) and it gives pretty good output like :
Quote:
Host my.host.tld (IP goes here) appears to be up ... good.
Interesting ports on my.host.tld (IP goes here):
Not shown: 1670 closed ports
PORT STATE SERVICE VERSION
21/tcp open ftp ProFTPD 1.2.10
22/tcp open ssh OpenSSH 4.2p1 (FreeBSD 20050903; protocol 1.99)
25/tcp open smtp qmail smtpd
53/tcp open domain
80/tcp open http Apache httpd 2.0.54
106/tcp open pop3pw poppassd
443/tcp open ssl/http Apache httpd 2.0.54
465/tcp open ssl/ssl OpenSSL
3306/tcp open mysql MySQL (unauthorized)
8443/tcp open http Apache httpd 1.3.33 ((FreeBSD) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/5.0.5)
No exact OS matches for host (If you know what OS is running on it, see http://www.insecure.org/cgi-bin/nmap-submit.cgi).
TCP/IP fingerprint:
+ much more....
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix program that can port scan a c block of ips for proxies

can anyone tell me a unix program that can port scan a c block of ips for proxies? a fast one, with reliable results, that can load an ip list, or set an ip range, and specify ports thanks! (1 Reply)
Discussion started by: user
1 Replies

2. Shell Programming and Scripting

port scan shell script

Hi, Can any one please suggest me commands for making port scan shell script. (3 Replies)
Discussion started by: nrbhole
3 Replies

3. Shell Programming and Scripting

Formatting port scan output

I need to format port scan output for input into another app. This is what I have; 1025/tcp 1521/tcp 2301/tcp 2381/tcp 3191/tcp 3389/tcp 5938/tcp 47001/tcp 54321/tcp 21/tcp 80/tcp 135/tcp 139/tcp 445/tcp 1025/tcp (4 Replies)
Discussion started by: lewk
4 Replies

4. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
tcp-env(1)                                                    General Commands Manual                                                   tcp-env(1)

NAME
tcp-env - set up TCP-related environment variables SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ] DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several environment variables as described in tcp-environ(5), and runs program with the given arguments. Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check whether the input is a TCP connection. OPTIONS
-r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host. -R Do not attempt to obtain TCPREMOTEINFO from the remote host. -ttimeout Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30. SEE ALSO
tcp-environ(5), inetd(8) tcp-env(1)
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy