WP XSS Reciprocal Links with Relevant Anchor Text

Here you go. A simple, little hack to get reciprocal links to all your blog pages via XSS link-injection.

Simply add the code below to the sidebar.php/single.php/footer.php file of your WP blogs.

WP has screwed-up the code, so I’ve placed it in a zipped text file: http://www.contentgeneration.org/xsslink.zip



12 Comments so far

  1. Mike on November 15th, 2007

    So what exactly does it do beside sitting in your blog’s footer?

    Sorry if it’s not so obvious to me.

  2. Brad on November 16th, 2007

    Answer: “A simple, little hack to get reciprocal links to all your blog pages via XSS link-injection.”

  3. acco on November 18th, 2007

    Sorry for my noob
    I got this error, placed the code on my footer

    Parse error: syntax error, unexpected ‘

  4. Utah Search Engine Optimization on November 18th, 2007

    Interesting. I’ll check it out. Thanks.

  5. discodog on December 17th, 2007

    Hi Brad,
    thx for the trick:D
    Does it work only with WP or can i use it with joomla to( marvelous for white seo with hacks)

  6. Dav on December 21st, 2007

    I too get a parse error as well. I also placed it in my footer.php. Any help here for this?

  7. Dave on December 21st, 2007

    I’m guessing that some characters were mangled during cutting and pasting this snippet. I ran the code thru an online syntax checker and its not fond of the “‘ near the end of the snippet. Of course, I’m not that certain what I just typed will show up properly either.

  8. Brad on December 21st, 2007

    Dave, yep! I’ve zipped it in a text file, above.

  9. Dave on December 21st, 2007

    Much thanks Brad for the correction!

    A couple of interesting things though. I thought it best for testing purposes to fool around with this by editing single.php on a very lightly trafficked blog of mine.

    First off, in Firefox this appears to render differently. In Ff you do not get a live link at the bottom of the post. What is actually seen is this:

    one of these guys: ‘
    then a “close tag” symbol, which I can’t type
    and the word “link”, without the quotes

    And the word “link” is not clickable.

    In IE7, this renders the same way, BUT all of those characters are clickable. Ff tries hard to let you know what is going wrong if you View Source.

    I guess clicking this is supposed to generate a permanent link in the target page’s acronym list, but I didn’t see that happen.

  10. Brad on December 21st, 2007

    Dave, it works fine in IE and FF. Click ‘link’ top right of this blog, for an example.

  11. discodog on December 28th, 2007

    the tips works nice now but it seems the .gouv website is down…
    How make it work with another TR juicy website?:)

  12. discodog on December 28th, 2007

    it works with this website! ;D

    ID) . “>” . $post->post_title . “‘>link“; ?>

Leave a reply

*
To prove you're a person (and not a spam bot - although we do like cute bots round here), type the security word shown in the picture.
Anti-Spam Image