Bypass Login to View Content

GeekThis remains completely ad-free with zero trackers for your convenience and privacy. If you would like to support the site, please consider giving a small contribution at Buy Me a Coffee.

Every so often I will need to Google a question that will most likely appear inside of forums instead of blog posts. Because of this, I found a really simple way to bypass the “You are Required to Login to View This Post”. If you have never seen this type of page, you’re so lucky.

Bypass Forum (and other) Logins to View Content

The way this works is really simple. A lot of forum software adds a useragent check to detect spiders and bots (such as Google). Since they want Google to see the content on their site to rank better in the search results, Google is allowed to see the content without logging in. This is why when you search for a topic you will see relevant results but may be blocked out of those pages.

View Google Cache

The first method is to view the cached version of the page. This is the easiest way and quickest if you found the results via Google and don’t need to view anything else on the website. Next to the URL on the Google Results is a drop down arrow. Clicking this arrow will show a “Cache” option.

Change Useragent

Since a lot of sites only detect bots by using their user-agent, modifying your user-agent to mimic a bot is a good bet to allow you to surf the site without having to login or create an account. Some bots now allow you to setup specialized accounts for the bots to sign into your site with though, which renders this method useless. For instance you can create custom authorization methods for Google’s Bot.

I use Chrome Developer Tools to modify my useragent under “Emulation” in the Drawer. There are other methods and it depends on what web browser you use. Most of them will give you an option to change your useragent under the settings pages.

A few common useragents you can use are as follows. You can also check out UserAgentStrings.com Crawlerlist for even more useragents.

Googlebot/2.1; +http://www.google.com/bot.html
Googlebot
ia_archiver/8.9 (Linux 1.0; en-US;)
msnbot/2.1
Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)

Changing the useragent may not always work since some sites will detect bots on a specific IP range, and if you are outside of this range it won’t work. Also, “Login required to download” and various methods similar to this are still blocked to Search Engines.

Using Publicly Available Logins

If the forum is popular enough, people would have made fake accounts for the site and posted the details online for others to use. If you are ever to make a fake account, don’t associate it with any passwords, usernames, emails you use. You can always get free anonymous emails online with no setup. To get a list of public login details, you can try the website service of Bug Me Not. The site will list account details for specific websites which you can use to login to such sites without ever having to create an account.

Related Posts

Monitor Website Status with Twitter

Add another monitoring method for your site by monitoring Twitter in real time. This small Go script will display all tweets that mention any of the terms you want to track.

Website Admin Panel on Private Network

Split your website into two parts, administrative and public access. This post talks a little about having your website's control panel on your private network as apposed to publicly available.

How to Separately Handle Multiple Website Deployments

Learn how to configure your computer to run multiple website deployments with rsync and multiple Linux accounts.

Backup Evolution using the Terminal

Learn how to backup all of your Evolution data through the terminal by using a simple command. There is no longer a need to open Evolution to perform backups.