{"id":753,"date":"2010-09-22T12:47:46","date_gmt":"2010-09-22T16:47:46","guid":{"rendered":"http:\/\/www.braindeadprojects.com\/blog\/?p=753"},"modified":"2010-09-27T10:28:22","modified_gmt":"2010-09-27T14:28:22","slug":"fun-with-hotlink-spam","status":"publish","type":"post","link":"http:\/\/www.braindeadprojects.com\/blog\/what\/fun-with-hotlink-spam\/","title":{"rendered":"Fun with Hotlink Spam"},"content":{"rendered":"<p>I get a lot of hotlink spam to this site, and normally I don&#8217;t particularly care. But when <a href=\"http:\/\/www.mercadolibre.com.ec\/\" target=\"_blank\">Mercado Libre<\/a> (an online sales forum similar to<a href=\"http:\/\/ebay.com\" target=\"_blank\"> E-bay<\/a>) started using the pictures of one of the <a href=\"http:\/\/www.braindeadprojects.com\/blog\/braindeadtip\/ccna-certified\/\" target=\"_blank\">switches from my CCNA lab<\/a> for a posting &#8211; I decided I&#8217;d try my hand as a sales person.<\/p>\n<p>They could have at least resized the <a href=\"http:\/\/www.braindeadprojects.com\/img\/MyNewC2950.jpg\" target=\"_blank\">image<\/a> &#8211; but here&#8217;s a snippet of what the <a href=\"http:\/\/articulo.mercadolibre.com.ec\/MEC-7061548-switch-cisco-catalyst-2950-de-24-port-10100-administrable-_JM\" target=\"_blank\">posting<\/a> looked like (note: since modern browsers cache imagery, you&#8217;ll likely have to hold down the shift button and hit refresh when looking at that post):<\/p>\n<figure id=\"attachment_755\" aria-describedby=\"caption-attachment-755\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/before.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-755\" title=\"Before\" src=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/before-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/before-300x225.png 300w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/before.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-755\" class=\"wp-caption-text\">The actual switch is below the o-scope.<\/figcaption><\/figure>\n<p style=\"text-align: center;\">\n<p>A few quick rewrite rules to tamper with that HTTP Referrer:<\/p>\n<blockquote><p>RewriteEngine on<\/p>\n<p>RewriteCond %{HTTP_REFERER} !^$<br \/>\nRewriteCond %{HTTP_REFERER} ^.*articulo\\.mercadolibre\\.com\\.ec.*$<br \/>\nRewriteRule \\.(gif|jpg|jpeg|png)$ hotlinkers\/computer-thermite.jpg [L]<\/p><\/blockquote>\n<p>And voila &#8211;<\/p>\n<figure id=\"attachment_756\" aria-describedby=\"caption-attachment-756\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/after.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-756\" title=\"After\" src=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/after-300x213.png\" alt=\"\" width=\"300\" height=\"213\" srcset=\"http:\/\/www.braindeadprojects.com\/blog\/wp-content\/after-300x213.png 300w, http:\/\/www.braindeadprojects.com\/blog\/wp-content\/after.png 977w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-756\" class=\"wp-caption-text\">The perfect computer for arsonists.<\/figcaption><\/figure>\n<p>I hope I get a commission off the huge volume of sales this generates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I get a lot of hotlink spam to this site, and normally I don&#8217;t particularly care. But when Mercado Libre (an online sales forum similar to E-bay) started using the pictures of one of the switches from my CCNA lab for a posting &#8211; I decided I&#8217;d try my hand as a sales person. They &hellip; <a href=\"http:\/\/www.braindeadprojects.com\/blog\/what\/fun-with-hotlink-spam\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fun with Hotlink Spam<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,20,1],"tags":[],"class_list":["post-753","post","type-post","status-publish","format-standard","hentry","category-braindeadtip","category-cisco","category-what"],"_links":{"self":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts\/753"}],"collection":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/comments?post=753"}],"version-history":[{"count":12,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts\/753\/revisions"}],"predecessor-version":[{"id":824,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/posts\/753\/revisions\/824"}],"wp:attachment":[{"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/media?parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/categories?post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.braindeadprojects.com\/blog\/wp-json\/wp\/v2\/tags?post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}