Skip to content

Instantly share code, notes, and snippets.

@heyalexej
Created October 1, 2014 13:54
Show Gist options
  • Save heyalexej/680ba4589507d1194543 to your computer and use it in GitHub Desktop.
Save heyalexej/680ba4589507d1194543 to your computer and use it in GitHub Desktop.
cloaking, still works like a charm. https://www.google.com/search?q=buy+cialis
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36' -H 'Accept-Language: en-US,en;q=0.8,de;q=0.6,th;q=0.4,ru;q=0.2' -H 'Referer: http://google.com' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' -I -L http://www.johnkay.com/purchase-cialis/
HTTP/1.1 302 Moved Temporarily
Date: Wed, 01 Oct 2014 13:16:42 GMT
Server: Apache
X-Powered-By: PHP/5.4.32
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Location: http://online-stats24.com/r.pl?niche=nch&page=aHR0cDovL3d3dy5qb2hua2F5LmNvbS9wdXJjaGFzZS1jaWFsaXMv&ref=http%3A%2F%2Fgoogle.com
Keep-Alive: timeout=2, max=200
Connection: Keep-Alive
Content-Type: text/html
HTTP/1.1 302 Found
Date: Wed, 01 Oct 2014 13:16:44 GMT
Server: Apache/2.2.22 (Ubuntu)
Set-Cookie: visited=1; path=/; expires=Thu, 02-Oct-2014 13:16:44 GMT
Set-Cookie: nch=1; path=/; expires=Thu, 02-Oct-2014 13:16:44 GMT
Location: http://www.canadapharmacy24h.com/catalog/Erectile_Dysfunction/Viagra.htm?refid=499
Vary: Accept-Encoding
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Wed, 01 Oct 2014 13:25:36 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.3.8
Set-Cookie: PHPSESSID=etsk9mkhs7jpkqgkp4hfjosv72; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ref_id=499; expires=Thu, 01-Oct-2015 13:25:36 GMT; path=/
Set-Cookie: auto_detect_country=en; expires=Thu, 02-Oct-2014 13:25:36 GMT; path=/
Set-Cookie: auto_currency=0; expires=Thu, 02-Oct-2014 13:25:36 GMT; path=/
Set-Cookie: currency=0; expires=Thu, 01-Oct-2015 13:25:36 GMT; path=/
Set-Cookie: uniqflag=1; expires=Thu, 02-Oct-2014 13:25:36 GMT; path=/
Set-Cookie: referer=%2F0DYjwJ5X1ocZfUU2%2FMPucxPmIIBVT3h3pYm9zWALck%3D; expires=Thu, 01-Oct-2015 13:25:36 GMT; path=/
Set-Cookie: lastVisit=1412169936; expires=Thu, 01-Oct-2015 13:25:36 GMT; path=/
Location: /catalog/Erectile_Dysfunction/Viagra.htm
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 01 Oct 2014 13:25:37 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.3.8
Set-Cookie: PHPSESSID=f7pv1q4ald79n7vta1hdsqa4f0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: auto_detect_country=en; expires=Thu, 02-Oct-2014 13:25:37 GMT; path=/
Set-Cookie: auto_currency=0; expires=Thu, 02-Oct-2014 13:25:37 GMT; path=/
Set-Cookie: currency=0; expires=Thu, 01-Oct-2015 13:25:37 GMT; path=/
Set-Cookie: uniqflag=1; expires=Thu, 02-Oct-2014 13:25:37 GMT; path=/
Set-Cookie: referer=%2F0DYjwJ5X1ocZfUU2%2FMPucxPmIIBVT3h3pYm9zWALck%3D; expires=Thu, 01-Oct-2015 13:25:37 GMT; path=/
Set-Cookie: lastVisit=1412169937; expires=Thu, 01-Oct-2015 13:25:37 GMT; path=/
Set-Cookie: history=a%3A1%3A%7Bs%3A6%3A%22Viagra%22%3Ba%3A4%3A%7Bs%3A4%3A%22name%22%3Bs%3A6%3A%22Viagra%22%3Bs%3A11%3A%22cache_price%22%3Bs%3A8%3A%220.339375%22%3Bs%3A6%3A%22parent%22%3Bs%3A20%3A%22Erectile_Dysfunction%22%3Bs%3A9%3A%22drug_path%22%3Bs%3A6%3A%22Viagra%22%3B%7D%7D; expires=Thu, 01-Oct-2015 13:25:37 GMT; path=/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment