Welcome! Log In Create A New Profile

Advanced

Re: Shellshock protection using nginx ?

September 26, 2014 05:14AM
Untested but should work;

between http {}
map $request $shellshockblock {
default 0;
~*\:\; 1;
~*ping 1;
~*\/bash 1;
}

inside location {} if ($shellshockblock) { return 412; }

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Shellshock protection using nginx ?

Anonymous User September 26, 2014 04:02AM

Re: Shellshock protection using nginx ?

itpp2012 September 26, 2014 05:14AM

Re: Shellshock protection using nginx ?

mex September 26, 2014 05:23AM

Re: Shellshock protection using nginx ?

mex September 26, 2014 05:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready