[4] Comentário enviado por
roberto_espreto em 12/04/2010 - 21:12h:
Bom artigo!
Só uma pequeníssima correção.
Quando você especifica o comando:
# nmap -v
(-v em minúsculo)
Este "-v" quer dizer modo verbose e não o comando "correto" para demonstrar a versão do nmap.
Se bem que, usando -v em minúsculo, também aparecerá a versão do mesmo.
Mais o correto seria:
# nmap -V
(Em maiúsculo)
Ou
# nmap -version
Isso não tira o brilho do artigo!
Abraços.
.
[6] Comentário enviado por
roberto_espreto em 13/04/2010 - 13:57h:
Não disse em nenhum momento que era um erro, e sim que a sintaxe não é a mais adequada para mostrar a versão!
OUTPUT:
-oN/-oX/-oS/-oG <file>: Output scan in normal, XML, s|<rIpt kIddi3,
and Grepable format, respectively, to the given filename.
-oA <basename>: Output in the three major formats at once
-v: Increase verbosity level (use twice or more for greater effect) <--------------- -v em minúsculo
-d[level]: Set or increase debugging level (Up to 9 is meaningful)
--open: Only show open (or possibly open) ports
--packet-trace: Show all packets sent and received
--iflist: Print host interfaces and routes (for debugging)
--log-errors: Log errors/warnings to the normal-format output file
--append-output: Append to rather than clobber specified output files
--resume <filename>: Resume an aborted scan
--stylesheet <path/URL>: XSL stylesheet to transform XML output to HTML
--webxml: Reference stylesheet from Insecure.Org for more portable XML
--no-stylesheet: Prevent associating of XSL stylesheet w/XML output
MISC:
-6: Enable IPv6 scanning
-A: Enables OS detection and Version detection, Script scanning and Traceroute
--datadir <dirname>: Specify custom Nmap data file location
--send-eth/--send-ip: Send using raw ethernet frames or IP packets
--privileged: Assume that the user is fully privileged
--unprivileged: Assume the user lacks raw socket privileges
-V: Print version number <---------------------------------------------------------------- -V em maiúsculo.
-h: Print this help summary page.
Com todas as opções do nmap aparecerá a versão do mesmo, após o termino do scanning.
nmap -V mostra "apenas" a versão do nmap sem apresentar o erro que apareceu quando voce especifica com -v (minúsculo), de WARNING: No targets were especified, so 0 hosts scanned. (ATENÇÃO: Não foram especificados os alvos, 0 hosts escaneados).
Acho que sou meio detalhista! :P
Abraços.
.