Nagios3 history.cgi exploit

Nagios3 history.cgi exploit. Based on a blasty's working exploit (http://pastebin.com/FJUNyTaj) and added CentOS target.