{"id":94,"date":"2010-07-14T10:36:32","date_gmt":"2010-07-14T09:36:32","guid":{"rendered":"http:\/\/www.floyd.ch\/?p=94"},"modified":"2022-02-09T10:46:55","modified_gmt":"2022-02-09T09:46:55","slug":"rick-rolld","status":"publish","type":"post","link":"https:\/\/www.floyd.ch\/?p=94","title":{"rendered":"Rick Roll&#8217;d (Google auto redirect)"},"content":{"rendered":"<p>Ever been <a href=\"https:\/\/de.wikipedia.org\/wiki\/Rickrolling\">Rick Roll&#8217;d<\/a> by Google? How does this link look like?<\/p>\n<p><a href=\"http:\/\/www.google.ch\/search?hl=de&amp;source=hp&amp;q=%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%72%69%63%6b%2b%72%6f%6c%6c%27%64%2b%73%69%74%65%3a%79%6f%75%74%75%62%65%2e%63%6f%6d&amp;btnI=%41%75%66%20%67%75%74%20%47%6c%c3%bc%63%6b%21%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\">http:\/\/www.google.ch<\/a><\/p>\n<p>Credit goes to Marshall Whittaker, see <a href=\"https:\/\/seclists.org\/fulldisclosure\/2010\/Jul\/188\">http:\/\/seclists.org\/fulldisclosure\/2010\/Jul\/188<\/a>.<\/p>\n<p>The technique behind it is quite simple:<br \/>\n1. Find a Google query that shows your desired page on top. With query modifiers like intitle: inurl: site: it&#8217;s quite easy<br \/>\n2. Construct a Google URL to send a &#8220;I&#8217;m Feeling Lucky&#8221; query<br \/>\n3. Percent encode your Google query from 1 and the button name (&#8220;&#8216;I&#8217;m Feeling Lucky&#8221;) to obfuscate<br \/>\n4. Prepend your Google query with a lot of %20 to fool the browser URL preview in the footer. Hovering over the link will not show the percent decoded URL!<\/p>\n<p>Update: The Google query was additionally appended with %20, so it looks the same in Firefox 5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever been Rick Roll&#8217;d by Google? How does this link look like? http:\/\/www.google.ch Credit goes to Marshall Whittaker, see http:\/\/seclists.org\/fulldisclosure\/2010\/Jul\/188. The technique behind it is quite simple: 1. Find a Google query that shows your desired page on top. With &hellip; <a href=\"https:\/\/www.floyd.ch\/?p=94\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-web-penetration-testing"],"_links":{"self":[{"href":"https:\/\/www.floyd.ch\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.floyd.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.floyd.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.floyd.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.floyd.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":12,"href":"https:\/\/www.floyd.ch\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":1222,"href":"https:\/\/www.floyd.ch\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/1222"}],"wp:attachment":[{"href":"https:\/\/www.floyd.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.floyd.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.floyd.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}