diff options
author | David Timber <mieabby@gmail.com> | 2021-08-12 16:01:50 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-08-12 16:01:50 +1000 |
commit | a685a85d71e4948c61e811ca24c7b85d601bfcba (patch) | |
tree | 37a96e1f63a574cd80df73a41a9febc81376032b /src/inet.c | |
parent | bbd889f13f94d59a5b78f3c3bc93499d523b8264 (diff) |
Recon: use ICMPv6 echo instead of random SYN ...
* proone-htbtclient: mlock() tls password
* Recon
* Send ICMPv6 echo requests to discover IPv6 hosts in the link-local
network
* Check OS code as the implementation is heavily os-dependent
* Fix wrong II_UPDATE values
* Fix sending wrong number of SYN packets
Diffstat (limited to 'src/inet.c')
-rw-r--r-- | src/inet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ uint16_t prne_calc_tcp_chksum4 ( sum += prne_recmb_msb16( ih->daddr[2], ih->daddr[3]); - sum += 6; // IPPROTO_TCP + sum += ih->protocol; sum += (uint16_t)(th_len + data_len); // tcp header @@ -99,7 +99,7 @@ uint16_t prne_calc_tcp_chksum6 ( sum += (uint16_t)((tcp_length & 0xFFFF0000) >> 16); sum += (uint16_t)(tcp_length & 0xFFFF); - sum += 6; // IPPROTO_TCP + sum += ih->next_hdr; // tcp header while (th_len > 1) { |