Jump to content

rdbell

Active Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

535 profile views

rdbell's Achievements

Newbie

Newbie (1/14)

  1. Hi, I'm testing out replacing content on a webpage with Ettercap, but having some issues. The example I'm testing with is from irongeek.com: 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"); } I'm getting it to display "Filter Ran" in the terminal when I load pages, but replacement never actually takes place. Has anyone else encountered this issue?
×
×
  • Create New...