WordPress.org

Ready to get started?Download WordPress

Forums

Hacklog Down As PDF
[resolved] Down As PDF (4 posts)

  1. k_nitin_r
    Member
    Posted 3 years ago #

    I tried the Down As PDF plugin 2.2.0 on WordPress 3.3 but I get a "Please do not leech".

    A video of the error, right from the plugin installation, is at: http://youtu.be/i1-4Mqp70TU

    http://wordpress.org/extend/plugins/down-as-pdf/

  2. k_nitin_r
    Member
    Posted 3 years ago #

    The "Please do not leech" message occurs at line 41 of generate.php. When checking for a valid referrer, the URL "www.your-domain.com" is hardcoded into the source code on line 39. If you skip the execution of the conditional from line 40 to line 42, the PDF does get generated.

  3. k_nitin_r
    Member
    Posted 3 years ago #

    As suggested in my previous post, the fix involves seting the domain name in generate.php, line 39. I created a video on making the fix to the plugin at:
    http://www.n4express.com/blog/?p=158

  4. ihacklog
    Member
    Plugin Author

    Posted 3 years ago #

    by default,the plugin try to protect your site and avoid other site link to the pdf generate page on your site.
    If you visit the pdf generate page directly,you'll get "Please do not leech" .
    the plugin was designed to limit visitors to click the pdf generate link only via your own site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic