Add hide remote port (#11)
Cast `v` argument in `hook_tcp4_seq_show()` to `struct inet_sock` instead of `sock`, and compare `inet_sport` and `inet_dport` fields for port `8080`. Remote connections on port 8080 now hidden as well as listening ports.
1 parent 1ce0db2 commit 15304817e912a526ce57336011a1cc71aea953b2
@h1zzz h1zzz authored on 5 Nov 2021
GitHub committed on 5 Nov 2021
Showing 1 changed file
View
3_RootkitTechniques/3.6_hiding_ports/rootkit.c