if (pcre_regex(DATA.data, "username = [a-zA-Z]*&", "username=admin&")){ msg("DATA modified\n"); } msg("Filter Ran.\n"); } } }
if (ip.proto == TCP){ if (tcp.src ==80 || tcp.dst ==80){ log(DATA.data, "./http-logfile.log"); exec("./program"); } }
1 | initial version |
if (pcre_regex(DATA.data, "username = [a-zA-Z]*&", "username=admin&")){ msg("DATA modified\n"); } msg("Filter Ran.\n"); } } }
if (ip.proto == TCP){ if (tcp.src ==80 || tcp.dst ==80){ log(DATA.data, "./http-logfile.log"); exec("./program"); } }