Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #729
Difficulty: Medium
BASIC stands for Basic All-purpose Symbolic Instruction Code.
True or False?
Linux & Unix Commands - Search Man Pages

knocker(1) [debian man page]

KNOCKER(1)						      General Commands Manual							KNOCKER(1)

knocker - An easy to use network security port scanner SYNOPSIS
knocker --host <host> [OPTION] DESCRIPTION
knocker is a simple and easy to use TCP security port scanner written in C using pthreads which is able to analyze hosts and all of the different services started on them. OPTIONS
-H, --host host name or numeric Internet address to scan -P, --port port number to scan (single port scan only) -SP, --start-port port number to begin the scan from -EP, --end-port port number to end the scan at --last-host uses the last scanned host as target --last-scan performs again the last port scan -q, --quiet disable console output and logs to file. -lf, --logfile <logfile> log the results to a specified file. -nf, --no-fency disable fency output -nc, --no-colors disable colored output --configure let the user configure knocker -h, --help display this help and exit -v, --version output version information and exit EXAMPLES
To run this program the standard way type: knocker --host If you want to specify a port range to scan: knocker --host thehost --start-port 1 --end-port 2600 or knocker -H thehost -SP 1 -EP 2600 To scan a single port: knocker -H thehost --port 21 To run this program not using colors (if your terminal does not support colors): knocker --host --no-colors To run this program run in background and have the results written in a log file: knocker --host --quiet & AVAILABILTY
The latest version of this program can be found at BUGS
See the BUGS file in the knocker source package for a list of known bugs. Report bugs to <> AUTHOR
knocker is written by Gabriele Giorgetti <> COPYRIGHT
Copyright (C) 2001,2002 Gabriele Giorgetti This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. MAY 24, 2002 KNOCKER(1)

Check Out this Related Man Page

socket_from_name(3ncs)													    socket_from_name(3ncs)

       socket_from_name - convert a name and port number to a socket address

       #include <idl/c/socket.h>

       void socket_$from_name(family, name, nlength, port, sockaddr, slength,				status)
       unsigned long family;
       socket_$string_t name;
       unsigned long nlength;
       unsigned long port;
       socket_$addr_t *sockaddr;
       unsigned long *slength;
       status_$t *status;

       family The  integer  representation  of	an  address  family.   Value  can be socket_$internet or socket_$unspec If the family parameter is
	      socket_$unspec, then the name parameter is scanned for a prefix of family: (for example, ip:).

       name   A string in the format family:host[port], where family:, host, and [port] are all optional.  The family is an address  family.   The
	      only  valid  family  is  ip.   If  you specify a family as part of the name parameter, you must specify socket_$unspec in the family
	      parameter.  The host is a host name.  A leading number sign (#) can be used to indicate that  the  host  name  is  in  the  standard
	      numeric  form (for example, #	If host is omitted, the local host name is used.  The port is a port number.  If you spec-
	      ify a port as part of the name parameter, the port parameter is ignored.

	      The length, in bytes, of name.

       port   A port number.  If you specify a port number in the name parameter, this parameter is ignored.

	      A socket address.

	      The length, in bytes, of sockaddr.

       status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it was  success-

       The  routine converts a textual address family, host name, and port number to a socket address.	The address family and the port number can
       be either specified as separate parameters or included in the name parameter.

See Also
       intro(3ncs), socket_family_from_name(3ncs), socket_to_name(3ncs)


Featured Tech Videos