Yes,
I have compiled nc110 with
GAPING_SECURITY_HOLE -DTELNET ,
but if I do nc -h , i still have no e-opion....
What can it be???????
(and yes i need nc -e <program>)
----------------------------------------------------
[natalijj@chello natalijj]$ mkdir nc
[natalijj@chello natalijj]$ cd nc
[natalijj@chello nc]$ tar zxf ../nc110.tgz
[natalijj@chello nc]$ make
Usage: make <systype> [options]
[natalijj@chello nc]$ make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/home/natalijj/nc'
cc -O -s -DGAPING_SECURITY_HOLE -DTELNET -DLINUX -static -o nc netcat.c
/tmp/ccLPcyw0.o(.text+0x15f7): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/home/natalijj/nc'
make: *** [linux] Error 2
[natalijj@chello nc]$ make
Usage: make <systype> [options]
[natalijj@chello nc]$ make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/home/natalijj/nc'
cc -O -s -DGAPING_SECURITY_HOLE -DTELNET -DLINUX -static -o nc netcat.c
make[1]: Leaving directory `/home/natalijj/nc'
[natalijj@chello nc]$ nc -h
[v1.10]
connect to somewhere: nc [-options] hostname port[s] [ports] ...
listen for inbound: nc -l -p port [-options] [hostname] [port]
options:
-g gateway source-routing hop point[s], up to 8
-G num source-routing pointer: 4, 8, 12, ...
-h this cruft
-i secs delay interval for lines sent, ports scanned
-l listen mode, for inbound connects
-n numeric-only IP addresses, no DNS
-o file hex dump of traffic
-p port local port number
-r randomize local and remote ports
-s addr local source address
-u UDP mode
-v verbose [use twice to be more verbose]
-w secs timeout for connects and final net reads
-z zero-I/O mode [used for scanning]
port numbers can be individual or ranges: lo-hi [inclusive]
[natalijj@chello nc]$
Last edited by igor8; 06-23-2004 at 04:26 AM.
|