Bypass surveys *CPAlead*

Results 1 to 1 of 1
  1. #1
    Enthusiast Apolva is offline
    MemberRank
    Apr 2010 Join Date
    37Posts

    Bypass surveys *CPAlead*

    I got fed up with various sites wanting me to answer a survey before seeing a "funny" video/pic.

    This site is designed to block surveys from CPAlead on any site which has them.

    http://apolva.co.cc/other/surveybypass/

    Currently, it blocks most of the surveys and still allows the site to be used. Details can be found below.

    How it works:
    Spoiler:

    The PHP backend downloads the requested page.

    It then adds a <base href="http://site.com/" /> to the top of the source (not very standard compliant, I know). This means that any external content at runtime will be loaded from the original site, rather than apolva.co.cc.

    Any relative URLs are then rewritten to be the full address, so they won't be broken. (eg. /image.png => http://site.com/image.png).

    Any links on the same subdomain are then rewritten so that they are bypassed when clicked.

    Finally it replaces the survey script URL with a fake one, and modifies some of the survey loading script so that it accepts it.

    Finally it removes the <noscript> redirect, so you don't need javascript enabled to visit the page.


    May release source in the future :)
    Last edited by Apolva; 21-04-10 at 12:54 AM.




Advertisement