mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix a bug reported by David Young. Nping set the SYN flag in all packets, no matter what was passed by the user through --flags. This patch was submitted by Josh Hunt
This commit is contained in:
parent
8be62726e5
commit
bf1de31d07
1 changed files with 1 additions and 0 deletions
|
|
@ -800,6 +800,7 @@ int ProbeMode::fillPacketTCP(NpingTarget *target, u16 port, u8 *buff, int buffle
|
|||
t.setOffset();
|
||||
t.setWindow( o.getTCPWindow() );
|
||||
t.setUrgPointer(0);
|
||||
t.setFlags(0);
|
||||
|
||||
/* Flags */
|
||||
if( o.getFlagTCP(FLAG_CWR) == 1 ) t.setCWR();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue