initial commit
[browserman.git] / hoxy / hoxy-rules.txt
1 # THIS IS AN EXAMPLE FILE THAT CONTAINS EXAMPLE RULES FOR HOXY.
2 # UNCOMMENT TO ACTIVATE. SEE readme.markdown IN THIS DIR FOR SYNTAX HELP.
3
4 # add a visible banner alerting user of proxy
5 #response: if $content-type contains 'html', @banner("currently browsing through a web hacking proxy")
6
7 # log every request to a given host
8 #response: if $hostname eq 'example.com', $url.log()
9
10 # use css and js from the staging server
11 #request: if $ext eq "js" and $host eq "www.example.com", $host.set-to('www-stage.example.com:83')
12 #request: if $ext eq "css" and $host eq "www.example.com", $host.set-to('www-stage.example.com:83')
13
14 response: if $content-type contains 'html', @inject-evil()