optimized regex performance on airpwn plugin, added support for ignore field in config

This commit is contained in:
byt3bl33d3r 2014-10-31 13:55:17 +01:00
parent fb45e40bd6
commit 51a4b65e26
2 changed files with 41 additions and 22 deletions

View file

@ -2,8 +2,5 @@
[site_hijack]
match = ^(GET|POST).*
response = ./config_files/airpwn_templates/site_hijack
#[puppy_jpg]
#match = ^GET [^ ]+\.(?i:jpg|jpeg|gif|png)
#response = ./config_files/airpwn_templates/puppy_jpg
ignore = (^GET [^ ?]+\.(?:jpg|jpeg|gif|png|ico|css)|(?:host: .*google.com))
response = ./config_files/airpwn_templates/site_hijack