mirror of
https://github.com/nmap/nmap.git
synced 2026-02-15 01:46:35 +00:00
The content of the TCP options for OS detection is represented in octal, which is not the most useful base to work with. This patch adds (as a comment) the hexadecimal representation of those TCP options.
This commit is contained in:
15
osscan2.cc
15
osscan2.cc
@@ -137,6 +137,21 @@ extern NmapOps o;
|
||||
* option 6: WScale (10), Nop, MSS (1460), SackP, Nop, Nop
|
||||
* option 7-11: WScale (10), Nop, MSS (265), T(0xFFFFFFFF,0x0), SackP
|
||||
* option 12: WScale (15), Nop, MSS (265), T(0xFFFFFFFF,0x0), SackP
|
||||
*
|
||||
* For convenience, here is the content of TCP options, represented in hexadecimal.
|
||||
* 0='\x03\x03\n\x01\x02\x04\x05\xb4\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
* 1='\x02\x04\x05x\x03\x03\x00\x04\x02\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x00'
|
||||
* 2='\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x01\x01\x03\x03\x05\x01\x02\x04\x02\x80'
|
||||
* 3='\x04\x02\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x03\x03\n\x00'
|
||||
* 4='\x02\x04\x02\x18\x04\x02\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x03\x03\n\x00'
|
||||
* 5='\x02\x04\x01\t\x04\x02\x08\n\xff\xff\xff\xff\x00\x00\x00\x00'
|
||||
* 6='\x03\x03\n\x01\x02\x04\x05\xb4\x04\x02\x01\x01'
|
||||
* 7='\x03\x03\n\x01\x02\x04\x01\t\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
* 8='\x03\x03\n\x01\x02\x04\x01\t\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
* 9='\x03\x03\n\x01\x02\x04\x01\t\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
* 10='\x03\x03\n\x01\x02\x04\x01\t\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
* 11='\x03\x03\n\x01\x02\x04\x01\t\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
* 12='\x03\x03\x0f\x01\x02\x04\x01\t\x08\n\xff\xff\xff\xff\x00\x00\x00\x00\x04\x02'
|
||||
*/
|
||||
static struct {
|
||||
u8* val;
|
||||
|
||||
Reference in New Issue
Block a user