Bro sqli + xss sans paper

I am trying to add the two scripts for sqli and xss from this paper

but i get this error HTTP::c$http$first_chunk no such a field in record… Anyone knows what is happening?

Thanks in advanced.

Sorry for the slow reply, I hope that this is still useful after this

In any case, http$first_chunk was removed in Bro 2.2; the script needs to
be rewritten with the new http events.


Anyone knows how to change it? Thanks in advanced