{"id":45,"date":"2008-08-24T13:45:13","date_gmt":"2008-08-24T18:45:13","guid":{"rendered":"http:\/\/webadminblog.com\/?p=45"},"modified":"2008-09-26T15:36:19","modified_gmt":"2008-09-26T20:36:19","slug":"two-simple-ways-to-read-restricted-website-content","status":"publish","type":"post","link":"https:\/\/www.webadminblog.com\/index.php\/2008\/08\/24\/two-simple-ways-to-read-restricted-website-content\/","title":{"rendered":"Two Simple Ways to Read Restricted Website Content"},"content":{"rendered":"<p>Have you ever had a problem that you used a search engine to try to find the solution?\u00a0 Did that search bring you results from a site that then forced you to register in order to see the content?\u00a0 This happened to me all of the time before I found two simple ways to display that content without me having to register at all.<\/p>\n<p>Let me begin by explaining the why before I tell you the how.\u00a0 In order for a search engine to index a site&#8217;s content, it needs to be able to see that content.\u00a0 The webmasters of that site are eager to let the search engine see the content as they know it will drive additional visitors to their site.\u00a0 The end result is that they have to find a way for the search engine to see the content, while at the same time obscuring it from the view of the average user.\u00a0 Most of the time they do this by keying off of the browser&#8217;s USER AGENT.\u00a0 This creates a loophole for us to exploit since if Google is able to see the search engine results, then so can we.\u00a0 Here&#8217;s my two tricks to see the restricted content:<\/p>\n<p><!--more--><\/p>\n<ul>\n<li><strong><span style=\"text-decoration: underline;\">Trick #1:<\/span> Change the user agent!<\/strong> In Firefox, this can be done rather easily by entering &#8220;about:config&#8221; as an address in the address bar.\u00a0 Click the right mouse button to get the context menu and then select New-&gt;String.\u00a0 Enter the preference name &#8220;general.useragent.override&#8221;.\u00a0 Now simply enter the name of the new user agent string that you want to use.\u00a0 If you want to cloak yourself as Google and see what they see, try using the string &#8220;Googlebot\/2.1 (+http:\/\/www.googlebot.com\/bot.html)&#8221;.\u00a0 You can check the current value by just entering &#8220;about:&#8221; in the address bar.<\/li>\n<li><strong><span style=\"text-decoration: underline;\">Trick #2:<\/span> Check Google&#8217;s cache!<\/strong> If you don&#8217;t want to go about mucking with your browser&#8217;s preferences, there&#8217;s an even easier trick for you to use.\u00a0 Go to http:\/\/www.google.com and enter the restricted URL, but prepend &#8220;cache:&#8221; before it.\u00a0 This allows you to pull the site&#8217;s indexed content out of Google&#8217;s cache instead of from the site itself, bypassing the access restrictions entirely.<\/li>\n<\/ul>\n<p>So, there you have it.\u00a0 Two simple ways to read restricted website content without ever having to register an account with the site.\u00a0 Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever had a problem that you used a search engine to try to find the solution?\u00a0 Did that search bring you results from a site that then forced you to register in order to see the content?\u00a0 This happened to me all of the time before I found two simple ways to display [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[189,4],"tags":[115,121,114,112,113,50,119,100,116,630,120,117],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-popular","category-web-app-sec","tag-access","tag-agent","tag-browser","tag-cache","tag-cloaking","tag-content","tag-engine","tag-google","tag-restriced","tag-search","tag-user","tag-website"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pfI0c-J","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":5,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webadminblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}