0

I tried netfiltersdk.com , using their WFP driver to intercept HTTP traffic and block websites like Facebook. Works very well with their "PFHttpBlocker.exe 'facebook'" example.

I want to inject javascript into the HTTP stream to for example close the website or show an

alert('facebook blocked');

In the netfilterdsk Protocol Filter Documentation

It is possible to update object content in dataPartAvailable and return DPCR_UPDATE_AND_BYPASS

Will it be possible to inject javascript then?

user670186
  • 2,588
  • 6
  • 37
  • 55
  • I saw that Komodias Redirector can achieve this. http://www.komodia.com/products/komodia-redirector/ are there cheaper alternatives? – user670186 Apr 17 '15 at 17:26
  • In the netfilterdsk documentation http://netfiltersdk.com/help/ProtocolFilters/ it says "It is possible to update object content in dataPartAvailable and return DPCR_UPDATE_AND_BYPASS" – user670186 Apr 17 '15 at 17:35
  • Asking for a library is an offtopic in SO. – seva titov Apr 18 '15 at 15:48
  • Actually I didnt ask for a library, but asked if the library netfiltersdk is able to do it according to their documentation. To me it is not clear, and I am interested in what others think – user670186 Apr 18 '15 at 20:21
  • I have edited the question accordingly – user670186 Apr 18 '15 at 20:27

1 Answers1

0

You need not to include any javascript. There is an http section over the user interface. Just write your html code over there and it will show you that code.