NetCat nc [RESOLVIDO]

1. NetCat nc [RESOLVIDO]

Thiago
vendramel

(usa Debian)

Enviado em 14/12/2010 - 21:54h

Ae galera tudo q digito no nc aparece isso

thiago@vendramel:~$ nc -lnvp 45295
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]
[-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]
[-x proxy_address[:port]] [hostname] [port[s]]

thiago@vendramel:~$ nc -vvlp 45295
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]
[-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]
[-x proxy_address[:port]] [hostname] [port[s]]


thiago@vendramel:~$ nc -46DdhklnrStUuvzC 45295
OpenBSD netcat (Debian patchlevel 1.89-3ubuntu2)
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]
[-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]
[-x proxy_address[:port]] [hostname] [port[s]]



parece q ele n reconhece nenhum comando meu.

alguem sabe o q esta rolando ? , quero conectar nessa porta 45295


Obrigado ae




  


2. Re: NetCat nc [RESOLVIDO]

3. Re: NetCat nc [RESOLVIDO]

Daniel Miyagi
j4p0n3g0

(usa Debian)

Enviado em 24/01/2011 - 14:08h

No meu ubuntu instalei os 3 nc's disponiveis.

==============================
root@Miyagi:~# dpkg -l | grep netcat
ii netcat 1.10-38 TCP/IP swiss army knife -- transitional package
ii netcat-openbsd 1.89-3ubuntu2 TCP/IP swiss army knife
ii netcat-traditional 1.10-38 TCP/IP swiss army knife
==============================

esses parametros que vc quer utilizar existe no pacote nc.traditional.

==============================
root@Miyagi:~# nc.traditional -h
[v1.10-38]
connect to somewhere: nc [-options] hostname port[s] [ports] ...
listen for inbound: nc -l -p port [-options] [hostname] [port]
options:
-c shell commands as `-e'; use /bin/sh to exec [dangerous!!]
-e filename program to exec after connect [dangerous!!]
-b allow broadcasts
-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
-k set keepalive option on socket
-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
-q secs quit after EOF on stdin and delay of secs
-s addr local source address
-T tos set Type Of Service
-t answer TELNET negotiation
-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];
hyphens in port names must be backslash escaped (e.g. 'ftp\-data').
==============================



faloww






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts