Thank you for the response but if you're referring to including this line of code
if (ip.proto == TCP && tcp.dst == 80) {
if (search(DATA.data, "Accept-Encoding")) {
replace("Accept-Encoding", "Accept-Rubbish!");
# note: replacement string is same length as original string
msg("zapped Accept-Encoding!\n");
}
I got the same results. Perhaps I should include more details. I'm running Kali, My ettercap is version 0.8.2, ip_forwarding is set to 1 and ettercap, when I run this code, tells me the filter has run however, no changes occur to the target computer. Any ideas on what the problem could be?