cancel
Showing results for 
Search instead for 
Did you mean: 
wiresharky
Level 7

change http response code (when virus found)

HI,

is it possible to change the http response code if a virus was found?

It's now http 403 VirusFound

I have a 'creative' contstruction where an application posts an uploaded file through our proxy to itself so it can be scanned for malware.

The application expects an http 200 (the construction is migrated from a bluecoat enviroment).

I know it's possible to change the response html if a virus whas found, but can't find the repsonse code.

0 Kudos
1 Reply
eelsasser
Level 15

Re: change http response code (when virus found)

Add the event

HTTP.SetStatus(200)

Capture.png

If you need to change the text of the response message, it is the filename of the block page. Unfortunately, it cannot have spaces.

Capture2.png

0 Kudos