Created
January 6, 2015 10:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void AutoTamperResponseBefore(Session oSession) | |
{ | |
var value = Encoding.UTF8.GetString(oSession.ResponseBody); | |
value = value.Replace("<", "<").Replace(">", ">"); | |
oSession.oResponse.headers.Add("Response-Hijacked-By", "Fanie"); | |
oSession.ResponseBody = Encoding.UTF8.GetBytes(value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment