Payload Rewriting Policies
Navigate to Policies :: Payload Rewriting
Create a new HTML Injection
An HTML Injection allows the operator to insert content into the body of the HTTP pages which transit the rXg. The rXg offers several recipes for injecting content into the page. The HTML injection does not become active until it is tied to a HTML Payload Rewrite record.
Virtual Frames: Place an iframe into the page in the position of your choice which contains your custom content.
Floating Overlay: Place a floating div onto the page in the position of your choice which contains your custom content.
Ad Element Overlay (beta): Position a floating element onto the page on top of existing advertisements, as determined by common well-known banner dimensions.
Click Create New in the HTML Injections scaffold.
Field | Value |
---|---|
Name | test injection |
position | top |
Recipe | floating overlay |
HTML | <h1>This is a test</h1> |
Create a new HTML Payload Rewrite
An HTML Payload Rewrite ties an HTML Injection or HTML Replacement record to a policy. Some sites may render incorrectly when an injection or replacement is performed. WAN Targets allow the operator to exclude specific sites from the payload rewrite.
Click Create New in the rXg Forwards scaffold.
Field | Value |
---|---|
Name | test injection |
Injection | test injection |
Policies | Free |